diff --git a/btc-UI/src/app/components/middle-section/middle-section.component.ts b/btc-UI/src/app/components/middle-section/middle-section.component.ts index f7a33bb..34d7f43 100755 --- a/btc-UI/src/app/components/middle-section/middle-section.component.ts +++ b/btc-UI/src/app/components/middle-section/middle-section.component.ts @@ -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;