import { Component, OnInit } from '@angular/core';
@Component({
  selector: 'app-course-master',
  templateUrl: 'course-master.component.html',
  styleUrls: ['./course-master.component.scss']
})
export class CourseMasterComponent implements OnInit {
  hideCourseMasterC: boolean;
  viewSemYearCard: boolean;
  hideMaster:boolean;
  showAddSemYearC: boolean;
  showAddSubjectC: boolean;
  constructor() {
   }

  ngOnInit() {
    this.hideCourseMasterC= true;
    this.hideMaster= true;
    this.viewSemYearCard= false;
    this.showAddSemYearC= true;
    this.showAddSubjectC= true;
  }
   // load addsem year fees component
   loadAddSemYearFees() {
    this.hideCourseMasterC= false;
    this.showAddSubjectC= false;
    this.showAddSemYearC= true;
  }
  // hide all child components
  hideAllChildComponent() {
    this.hideCourseMasterC= true;
    this.showAddSemYearC= false;
    this.showAddSubjectC= true;
  }
   // load course add subject
 loadAddSubject() {
  this.hideCourseMasterC= false;
  this.showAddSemYearC= false;
  this.showAddSubjectC= true;
}
}
