diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-09-05 15:28:22 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-09-05 15:28:22 +0200 |
| commit | 31bf30d2d0eb78baaa36360b99fe58bf7cd4c9e7 (patch) | |
| tree | d7be61ecd6bb4c8b5552e39b03e2a64eebbbf323 /addons/pos_restaurant/static/src/xml/multiprint.xml | |
| parent | afba9e8817c458640ae446ac7aaaab79be4fe1e9 (diff) | |
| parent | ed1c173971968eaa96693cb4e1547efa6e6c34e0 (diff) | |
[MERGE] forward port of branch 8.0 up to ed1c173
Diffstat (limited to 'addons/pos_restaurant/static/src/xml/multiprint.xml')
| -rw-r--r-- | addons/pos_restaurant/static/src/xml/multiprint.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/addons/pos_restaurant/static/src/xml/multiprint.xml b/addons/pos_restaurant/static/src/xml/multiprint.xml new file mode 100644 index 00000000000..8f3027dd552 --- /dev/null +++ b/addons/pos_restaurant/static/src/xml/multiprint.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates id="template" xml:space="preserve"> + + <t t-name="SubmitOrderButton"> + <span class="control-button order-submit"> + <i class="fa fa-cutlery"></i> + Order + </span> + </t> + + <t t-name="OrderChangeReceipt"> + <receipt + align='center' + width='40' + size='double-height' + line-ratio='0.6' + value-decimals='3' + value-thousands-separator='' + value-autoint='on' + > + <div><t t-esc="changes.name" /></div> + <br /> + <br /> + <t t-if="changes.cancelled.length > 0"> + <div color='red'> + <div bold='on' size='double'>CANCELLED</div> + <br /> + <br /> + <t t-foreach="changes.cancelled" t-as="change"> + <line> + <left><t t-esc="change.name" /></left> + <right><value><t t-esc="change.quantity" /></value></right> + </line> + </t> + <br /> + <br /> + </div> + </t> + <t t-if="changes.new.length > 0"> + <div bold='on' size='double'>NEW</div> + <br /> + <br /> + <t t-foreach="changes.new" t-as="change"> + <line> + <left><t t-esc="change.name" /></left> + <right><value><t t-esc="change.quantity" /></value></right> + </line> + </t> + <br /> + <br /> + </t> + </receipt> + </t> + +</templates> |
