fix : hides print if confrim is not there
This commit is contained in:
parent
5372d9b046
commit
cd53b84d0a
@ -71,6 +71,11 @@ export class MiddleSectionComponent implements OnInit, OnDestroy {
|
||||
this.showConfirmButton = this.showRepeatTicket && this.filledRows.some(
|
||||
row => row.label && row.numbers && row.numbers.length > 0
|
||||
);
|
||||
|
||||
// Hide Print button if Confirm is hidden
|
||||
if (!this.showConfirmButton) {
|
||||
this.showPrintButton = false;
|
||||
}
|
||||
}
|
||||
showSalesTotal: boolean = false;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user