babf264b1ba2f29afba29061481c277c04b0b587
[odoo/odoo.git] / addons / pos_restaurant / static / src / xml / multiprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <templates id="template" xml:space="preserve">
3
4     <t t-name="SubmitOrderButton">
5         <span class="control-button order-submit">
6             <i class="fa fa-cutlery"></i>
7             Order
8         </span>
9     </t>
10
11     <t t-name="OrderChangeReceipt">
12         <receipt 
13             align='center' 
14             width='40' 
15             size='double-height' 
16             line-ratio='0.4' 
17             value-decimals='3' 
18             value-thousands-separator=''
19             value-autoint='on' 
20         >
21             <div size='normal' ><t t-esc="changes.name" /></div>
22             <t t-if="changes.floor || changes.table">
23                 <br />
24                 <div><span><t t-esc="changes.floor" /></span> / <span bold='on' size='double'><t t-esc="changes.table"/></span></div>
25             </t>
26             <br />
27             <br />
28             <t t-if="changes.cancelled.length > 0">
29                 <div color='red'>
30                     <div bold='on' size='double'>CANCELLED <span bold='off' size='double-height'><t t-esc='changes.time.hours' />:<t t-esc='changes.time.minutes' /></span> </div>
31                     <br />
32                     <br />
33                     <t t-foreach="changes.cancelled" t-as="change">
34                         <line>
35                             <left><value><t t-esc="change.qty" /></value></left>
36                             <right><t t-esc="change.name" /></right>
37                         </line>
38                         <t t-if="change.note">
39                             <line font='b' bold='off' indent='1' line-ratio='1'>
40                                 <left>
41                                     <span>---</span> <span><t t-esc="change.note" /></span>
42                                 </left>
43                             </line>
44                         </t>
45                     </t>
46                     <br />
47                     <br />
48                 </div>
49             </t>
50             <t t-if="changes.new.length > 0">
51                 <div bold='on' size='double'>NEW <span bold='off' size='double-height'><t t-esc='changes.time.hours' />:<t t-esc='changes.time.minutes' /></span> </div>
52                 <br />
53                 <br />
54                 <t t-foreach="changes.new" t-as="change">
55                     <line>
56                         <left><value><t t-esc="change.qty" /></value></left>
57                         <right><t t-esc="change.name" /></right>
58                     </line>
59                     <t t-if="change.note">
60                         <line font='b' bold='off' indent='1' line-ratio='1'>
61                             <left>
62                                 <span>---</span> <span><t t-esc="change.note" /></span>
63                             </left>
64                         </line>
65                     </t>
66                 </t>
67                 <br />
68                 <br />
69             </t>
70         </receipt>
71     </t>
72
73 </templates>