feat: pass printBillActionTriggered flag to printReceipt method in action pad

This commit is contained in:
Suherdy Yacob 2026-05-26 11:37:01 +07:00
parent 0fee144295
commit 1d3190cc5a

View File

@ -12,7 +12,7 @@
<button t-if="(this.pos.cashier.pos_role == 'waiter' or this.pos.cashier.pos_role == 'cashier') and this.pos.config.basic_receipt"
class="button btn btn-secondary btn-lg py-3 d-flex align-items-center justify-content-center flex-fill"
t-att-class="{'col-3': showFastPaymentMethods}"
t-on-click="() => this.pos.printReceipt({ order: this.currentOrder, basic: true })">
t-on-click="() => this.pos.printReceipt({ order: this.currentOrder, basic: true, printBillActionTriggered: true })">
<i class="fa fa-print me-2"/> Table Checker
</button>
</xpath>