|
@@ -18,12 +18,16 @@
|
|
|
</div>
|
|
|
<br />
|
|
|
</t>
|
|
|
- Phone: <t t-esc="widget.pos.company.phone || ''"/><br />
|
|
|
- User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/><br />
|
|
|
- <p>--------------------------------------------</p>
|
|
|
- Cliente: <t t-esc="order.changed.client.name"/><br/>
|
|
|
- Teléfono: <t t-esc="order.changed.client.phone"/><br/>
|
|
|
- Dirección: <t t-esc="order.changed.client.address"/><br/>
|
|
|
+ Phone: <t t-esc="widget.pos.company.phone || ''"/>
|
|
|
+ <br/>
|
|
|
+ User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/>
|
|
|
+ <br/>
|
|
|
+ <t t-if="order.attributes.client">
|
|
|
+ <p>--------------------------------------------</p>
|
|
|
+ Cliente: <t t-esc="order.attributes.client.name ? order.attributes.client.name : ''"/><br />
|
|
|
+ Teléfono: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br />
|
|
|
+ Dirección: <t t-esc="order.attributes.client.address ? order.attributes.client.address : ''"/>
|
|
|
+ </t>
|
|
|
<p>--------------------------------------------</p>
|
|
|
<table class="table table-condensed">
|
|
|
<thead>
|
|
@@ -35,9 +39,9 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
|
- <col width='50%' />
|
|
|
- <col width='20%' />
|
|
|
- <col width='30%' />
|
|
|
+ <col width='50%'/>
|
|
|
+ <col width='20%'/>
|
|
|
+ <col width='30%'/>
|
|
|
</colgroup>
|
|
|
<tr t-foreach="orderlines" t-as="orderline">
|
|
|
<td>
|
|
@@ -87,7 +91,6 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
- <!-- <br /> -->
|
|
|
<p>--------------------------------------------</p>
|
|
|
<table>
|
|
|
<tr t-foreach="paymentlines" t-as="line">
|
|
@@ -105,9 +108,7 @@
|
|
|
<t t-esc="widget.format_currency(order.getChange())"/>
|
|
|
</td></tr>
|
|
|
</table>
|
|
|
-
|
|
|
- <!-- -->
|
|
|
- <br />
|
|
|
+ <br/>
|
|
|
<t t-if="widget.pos.config.receipt_footer">
|
|
|
<br />
|
|
|
<div style='text-align:center'>
|