apollosc/src/app/views/status/documents/documents.component.ts
2018-07-30 09:50:04 +05:30

58 lines
1.2 KiB
TypeScript

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 = [
{
formId: '0001',
studentName: 'xyz',
fatherName: 'SSS',
mobile: '+91 9999999999',
course: 'B.Com',
sem: '2',
batch: 'Jun 2017',
status: 'Sent to SC'
},
{
formId: '0002',
studentName: 'svs',
fatherName: 'MMM',
mobile: '+91 9999911111',
course: 'BSc',
sem: '3',
batch: 'Jun 2017',
status: 'Sent to SC'
},
{
formId: '0003',
studentName: 'pns',
fatherName: 'VVV',
mobile: '+91 9999900000',
course: 'MCA',
sem: '1',
batch: 'Jun 2017',
status: 'Sent to SC'
}
]
}
getModelWindowDetails(stuCent) {
this.myModalData = stuCent||null;
}
editDocuments(){
this.show = !this.show;
}
}