Fix: Ledger and product ledger on init would fail because account/product ledger was null. Fixed

This commit is contained in:
2022-07-18 23:41:09 +05:30
parent 836858deb1
commit e02cdfbe9c
10 changed files with 27 additions and 25 deletions
@@ -106,7 +106,7 @@ export class EmployeeAttendanceComponent implements OnInit, AfterViewInit {
}
selected(event: MatAutocompleteSelectedEvent): void {
this.info.employee = event.option.value;
this.info.employee = event.option.value as Employee;
}
getClass(index: number) {