feat: add order name display to POS receipt contact block
This commit is contained in:
parent
2c23e5818a
commit
b446a2d54c
@ -15,6 +15,13 @@
|
||||
</span>
|
||||
</xpath>
|
||||
|
||||
<!-- Render order name in receipt contact block -->
|
||||
<xpath expr="//div[hasclass('pos-receipt-contact')]" position="inside">
|
||||
<div t-if="order.getName()" class="order-name fs-2 fw-bolder mt-1 text-center" style="font-size: 140%; font-weight: bold; width: 100%;">
|
||||
Order: <t t-esc="order.getName()"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
</t>
|
||||
|
||||
<!-- Hide Address, Phone, Email, and Powered By from Receipt Footer -->
|
||||
@ -36,6 +43,9 @@
|
||||
</div>
|
||||
<div class="d-flex flex-column align-items-center mb-3">
|
||||
<div class="pos-receipt-contact">
|
||||
<div t-if="order.getName()" class="order-name fs-2 fw-bolder mt-1 mb-2 text-center" style="font-size: 140%; font-weight: bold; width: 100%;">
|
||||
Order: <t t-esc="order.getName()"/>
|
||||
</div>
|
||||
<div t-if="order?.getCashierName()" class="cashier">
|
||||
Served by: <t t-esc="order.getCashierName()" />
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user