summaryrefslogtreecommitdiff
path: root/addons/pos_restaurant/static/src/xml/floors.xml
diff options
context:
space:
mode:
authorFrederic van der Essen <fva@openerp.com / fvdessen+o@gmail.com>2014-11-17 15:37:21 +0100
committerFrédéric van der Essen <fvdessen@gmail.com>2014-11-26 12:11:57 +0100
commit301ba1b4e40e1084c2b2acba804853ae200bb6f3 (patch)
tree62d451ae847dbb7df9e84909db974f5e0cfd797f /addons/pos_restaurant/static/src/xml/floors.xml
parent7f40375f6b1c4a6b92595be910f80cbc06fbb12e (diff)
[IMP] pos_restaurant: add table information to the bill and the payment receipt
Diffstat (limited to 'addons/pos_restaurant/static/src/xml/floors.xml')
-rw-r--r--addons/pos_restaurant/static/src/xml/floors.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/pos_restaurant/static/src/xml/floors.xml b/addons/pos_restaurant/static/src/xml/floors.xml
index ba90d433f56..dc8ba35eccb 100644
--- a/addons/pos_restaurant/static/src/xml/floors.xml
+++ b/addons/pos_restaurant/static/src/xml/floors.xml
@@ -1,6 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
+ <t t-extend="XmlReceipt">
+ <t t-jquery='.cashier' t-operation='append'>
+ <t t-if='receipt.table'>
+ at table <t t-esc='receipt.table' />
+ </t>
+ </t>
+ </t>
+
+ <t t-extend="BillReceipt">
+ <t t-jquery='.cashier' t-operation='append'>
+ <t t-if='receipt.table'>
+ at table <t t-esc='receipt.table' />
+ </t>
+ </t>
+ </t>
+
<t t-name="TableWidget">
<t t-if='!widget.selected'>
<div class='table' t-att-style='widget.table_style_str()'>