Fix: Ledger and product ledger on init would fail because account/product ledger was null. Fixed
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user