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

@Component({
  templateUrl: 'study-material.component.html'
})

export class StudyMaterialComponent implements OnInit {
  show = false;
  closed = false;
  public myModal;
  public myModalData;
  studyMaterialDetails: any;
  constructor() { }
  ngOnInit(){
       this.studyMaterialDetails = [
      {
        applicationId: '1',
        details: 'xyz',
        univ: 'kr university',
        course: 'B.com',
        total: '12',
        status: '1'
      },
      {
        applicationId: '2',
        details: 'xyz',
        univ: 'kr university',
        course: 'B.Sc',
        total: '12',
        status: '1'
      },
      {
        applicationId: '3',
        details: 'xyz',
        univ: 'kr university',
        course: 'MCA',
        total: '12',
        status: '0'
      }
    ]
  }

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

}
