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