From cd53b84d0aa237409fdc40e102f93bb19a1c5f2d Mon Sep 17 00:00:00 2001 From: karthik Date: Sat, 9 Aug 2025 12:59:56 +0530 Subject: [PATCH] fix : hides print if confrim is not there --- .../components/middle-section/middle-section.component.ts | 5 +++++ 1 file changed, 5 insertions(+) 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;