|
@@ -15,35 +15,29 @@
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<br />
|
|
</t>
|
|
</t>
|
|
- <t t-esc="widget.pos.company.phone || ''"/> <br/>
|
|
|
|
|
|
+ <p>=============================</p>
|
|
|
|
+ <br/>
|
|
|
|
+ Tel: <t t-esc="widget.pos.company.phone || ''"/> <br/>
|
|
Vendedor: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/>
|
|
Vendedor: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/>
|
|
<t t-if="order.attributes.client">
|
|
<t t-if="order.attributes.client">
|
|
<br/>
|
|
<br/>
|
|
Cliente: <t t-esc="order.attributes.client.name ? order.attributes.client.name : ''"/><br/>
|
|
Cliente: <t t-esc="order.attributes.client.name ? order.attributes.client.name : ''"/><br/>
|
|
Tel: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br/><br/>
|
|
Tel: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br/><br/>
|
|
</t>
|
|
</t>
|
|
|
|
+ <p>=============================</p>
|
|
|
|
+ <br/>
|
|
<table class="table table-condensed">
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <th>Producto</th>
|
|
|
|
- <th class="text-right">Cant.</th>
|
|
|
|
- <th class="text-right">Precio</th>
|
|
|
|
|
|
+ <th>Producto </th>
|
|
|
|
+ <th class="text-right">Cant. </th>
|
|
|
|
+ <th class="text-right">Precio </th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
- <colgroup>
|
|
|
|
- <col width='50%'/>
|
|
|
|
- <col width='20%'/>
|
|
|
|
- <col width='30%'/>
|
|
|
|
- </colgroup>
|
|
|
|
<tr t-foreach="orderlines" t-as="orderline">
|
|
<tr t-foreach="orderlines" t-as="orderline">
|
|
<td>
|
|
<td>
|
|
<t t-esc="orderline.get_product().display_name"/>
|
|
<t t-esc="orderline.get_product().display_name"/>
|
|
- <!-- <t t-if="orderline.get_discount() > 0">
|
|
|
|
- <div class="pos-disc-font">
|
|
|
|
- Con <t t-esc="orderline.get_discount()"/>% descuento
|
|
|
|
- </div>
|
|
|
|
- </t> -->
|
|
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<t t-esc="orderline.get_quantity_str_with_unit()"/>
|
|
<t t-esc="orderline.get_quantity_str_with_unit()"/>
|
|
@@ -55,35 +49,31 @@
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
<br />
|
|
<br />
|
|
|
|
+ <p>=============================</p>
|
|
|
|
+ <br/>
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
- <td>Subtotal:</td>
|
|
|
|
|
|
+ <td>Subtotal: </td>
|
|
<td class="pos-right-align">
|
|
<td class="pos-right-align">
|
|
<t t-esc="widget.format_currency(order.getTotalTaxExcluded())"/>
|
|
<t t-esc="widget.format_currency(order.getTotalTaxExcluded())"/>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<t t-foreach="order.getTaxDetails()" t-as="taxdetail">
|
|
<t t-foreach="order.getTaxDetails()" t-as="taxdetail">
|
|
<tr>
|
|
<tr>
|
|
- <td><t t-esc="taxdetail.name" /></td>
|
|
|
|
|
|
+ <td><t t-esc="taxdetail.name" />: </td>
|
|
<td class="pos-right-align">
|
|
<td class="pos-right-align">
|
|
<t t-esc="widget.format_currency(taxdetail.amount)"/>
|
|
<t t-esc="widget.format_currency(taxdetail.amount)"/>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</t>
|
|
</t>
|
|
- <tr>
|
|
|
|
- <td>Descuento:</td>
|
|
|
|
- <td class="pos-right-align">
|
|
|
|
- <t t-esc="widget.format_currency(order.getDiscountTotal())"/>
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
<tr class="emph">
|
|
<tr class="emph">
|
|
- <td>Total:</td>
|
|
|
|
|
|
+ <td>Total: </td>
|
|
<td class="pos-right-align" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 20px;'>
|
|
<td class="pos-right-align" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 20px;'>
|
|
<t t-esc="widget.format_currency(order.getTotalTaxIncluded())"/>
|
|
<t t-esc="widget.format_currency(order.getTotalTaxIncluded())"/>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
- <br/>
|
|
|
|
|
|
+ <p>=============================</p>
|
|
<table>
|
|
<table>
|
|
<tr t-foreach="paymentlines" t-as="line">
|
|
<tr t-foreach="paymentlines" t-as="line">
|
|
<td>
|
|
<td>
|
|
@@ -95,7 +85,7 @@
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
<table>
|
|
<table>
|
|
- <tr><td>Change:</td><td class="pos-right-align">
|
|
|
|
|
|
+ <tr><td>Change: </td><td class="pos-right-align">
|
|
<t t-esc="widget.format_currency(order.getChange())"/>
|
|
<t t-esc="widget.format_currency(order.getChange())"/>
|
|
</td></tr>
|
|
</td></tr>
|
|
</table>
|
|
</table>
|