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:40:33 +05:30
parent 836858deb1
commit e02cdfbe9c
10 changed files with 27 additions and 25 deletions

View File

@ -57,7 +57,7 @@ export class IssueDialogComponent implements OnInit {
}
batchSelected(event: MatAutocompleteSelectedEvent): void {
this.batch = event.option.value;
this.batch = event.option.value as Batch;
}
accept(): void {

View File

@ -331,7 +331,7 @@ export class IssueComponent implements OnInit, AfterViewInit, OnDestroy {
}
batchSelected(event: MatAutocompleteSelectedEvent): void {
this.batch = event.option.value;
this.batch = event.option.value as Batch;
}
goToVoucher(id: string) {