import { Component, OnInit } from '@angular/core';

@Component({
  templateUrl: 'documents.component.html',
  styleUrls: ['./documents.component.scss']
})

export class DocumentsComponent implements OnInit {
  show = false;
  closed = false;
  public myModal;
  public myModalData;
  documentsDetails: any;
  constructor() { }
  ngOnInit(){
       this.documentsDetails = [
      {
        entrollemntId: '0001',
        studentName: 'xyz',
        mobile: '+91 9999999999',
        course: 'B.Com'
      },
      {
        entrollemntId: '0002',
        studentName: 'svs',
        mobile: '+91 9999911111',
        course: 'BSc'
      },
      {
        entrollemntId: '0003',
        studentName: 'pns',
        mobile: '+91 9999900000',
        course: 'MCA'
      }
    ]
  }

  getModelWindowDetails(stuCent) {
    this.myModalData = stuCent||null;
  }
  editDocuments(){
     this.show = !this.show;
  }

}
