summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-10-09 08:05:17 +0000
committerJoseph Caburnay <jcb@odoo.com>2020-10-09 08:21:42 +0000
commitb87e210d87e71e40d88b0d9f4ca824651651bd8b (patch)
tree687e67cff96f693047b457f85b2dbf07d8324d4a
parent731b3eb2c5a45fcd7cb80625ddf9f30f4feb9848 (diff)
[FIX] pos_restaurant: table and guests in the receipt
-rw-r--r--addons/pos_restaurant/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/pos_restaurant/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml b/addons/pos_restaurant/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml
index 0beb8498ee8..94a8e45e697 100644
--- a/addons/pos_restaurant/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml
+++ b/addons/pos_restaurant/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml
@@ -10,6 +10,14 @@
<xpath expr="//div[hasclass('receipt-change')]" position="attributes">
<attribute name="t-if">!props.isBill</attribute>
</xpath>
+ <xpath expr="//div[hasclass('cashier')]" position="after">
+ <t t-if="receipt.table">
+ at table <t t-esc="receipt.table" />
+ </t>
+ <t t-if="receipt.table and receipt.customer_count">
+ <div>Guests: <t t-esc="receipt.customer_count" /></div>
+ </t>
+ </xpath>
<xpath expr="//div[hasclass('before-footer')]" position="after">
<t t-if="props.isBill and env.pos.config.set_tip_after_payment">
<div class="tip-form">