feat: pass printBillActionTriggered flag to printReceipt method in action pad
This commit is contained in:
parent
0fee144295
commit
1d3190cc5a
@ -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"
|
<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"
|
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-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
|
<i class="fa fa-print me-2"/> Table Checker
|
||||||
</button>
|
</button>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user