import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
import { Observable } from 'rxjs';
import { BranchService } from 'src/app/core/service/settings/branch.service';
import { TestingInformationService } from 'src/app/core/service/testing-information/testing-information.service';

@Component({
  selector: 'app-print-exam-card',
  templateUrl: './print-exam-card.container.html',
  styleUrls: ['./print-exam-card.container.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class PrintExamCardContainer implements OnInit {
  testingInfo$ = new Observable()
  branch$ = new Observable()
  constructor(
    private testingInfoSV: TestingInformationService,
    private branchSV: BranchService
  ) { }

  ngOnInit(): void {
    this.testingInfo$ = this.testingInfoSV.getAll()
    this.branch$ = this.branchSV.getAll()
  }

}
