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

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

export class AnswerBookletComponent implements OnInit {
  show = false;
  closed = false;
  public myModal;
  public myModalData;
  applicationDetails: any;
  constructor() { }
  ngOnInit(){
     this.applicationDetails = [
      {
        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;
  }

}
