|
@@ -11,7 +11,7 @@
|
|
|
<t t-name="KitchenTicketButton">
|
|
|
<span class="control-button order-printbill">
|
|
|
<i class="fa fa-print"></i>
|
|
|
- Cocina
|
|
|
+ Ticket
|
|
|
</span>
|
|
|
</t>
|
|
|
<t t-name="KitchenTicket">
|
|
@@ -23,46 +23,82 @@
|
|
|
</div>
|
|
|
<br/>
|
|
|
<t t-if="widget.pos.company.name">
|
|
|
- <strong><t t-esc="widget.pos.company.name"/></strong><br />
|
|
|
+ <strong><center><t t-esc="widget.pos.company.name"/></center></strong> <br/>
|
|
|
</t>
|
|
|
- User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/>
|
|
|
+ <t t-if="widget.pos.company.name">
|
|
|
+ <strong><center><t t-esc="widget.pos.company.phone"/></center></strong> <br/>
|
|
|
+ </t>
|
|
|
+ User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/>
|
|
|
<t t-if="order.attributes.client">
|
|
|
<br/>
|
|
|
- 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/><br/>
|
|
|
+ Cliente: <t t-esc="order.attributes.client.name ? order.attributes.client.name : ''"/><br />
|
|
|
+ R.U.C. Nª: <t t-esc="order.attributes.client.ruc ? order.attributes.client.ruc : ''"/><br />
|
|
|
+ Tel: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br/>
|
|
|
+ <t t-if="order.attributes.client.address">
|
|
|
+ Dir.: <t t-esc="order.attributes.client.address"/><br/>
|
|
|
+ </t>
|
|
|
+ <t t-if="order.attributes.table">
|
|
|
+ <t t-if="order.attributes.table.type =='table'">
|
|
|
+ Mesa: <t t-esc="order.attributes.table.name"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="order.attributes.table.type =='delivery'">
|
|
|
+ Delivery: <t t-esc="order.attributes.table.name"/>
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
</t>
|
|
|
<br />
|
|
|
- <div class="pos-center-align" style="font-size:25px;font-weight:bold">Cocina</div>
|
|
|
+ <div class="pos-center-align" style="font-size:25px;font-weight:bold">Ticket</div>
|
|
|
<p>--------------------------------------------</p>
|
|
|
- <table style="font-size:18px;">
|
|
|
+ <table style="font-size:16px;">
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
|
- <col width='80%' />
|
|
|
- <col width='20%' />
|
|
|
+ <col width='13%'/>
|
|
|
+ <col width='38%'/>
|
|
|
+ <col width='25%'/>
|
|
|
+ <col width='25%'/>
|
|
|
</colgroup>
|
|
|
<t t-foreach="filterLines" t-as="item">
|
|
|
<tr>
|
|
|
- <td>
|
|
|
- <t t-esc="item.name"/>
|
|
|
- </td>
|
|
|
- <td class="pos-right-align">
|
|
|
- <t t-esc="item.quantity"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><p>-----------------------------------</p></td>
|
|
|
- <td><p>--------</p></td>
|
|
|
+ <td>
|
|
|
+ <t t-esc="item.quantity"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <t t-esc="item.name"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <t t-esc="item.price"/>
|
|
|
+ </td>
|
|
|
+ <td class="pos-right-align">
|
|
|
+ <t t-esc="(item.price*item.quantity)"/>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
+
|
|
|
</t>
|
|
|
+
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- <div class="pos-center-align" style="font-size:22px;font-weight:bold"><t t-esc="floor"/> / <t t-esc="table"/></div><br/>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td><p>---------------------------------</p></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="emph">
|
|
|
+ <br />
|
|
|
+ <td>Total:</td>
|
|
|
+ <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())"/>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+
|
|
|
+ <br/>
|
|
|
<t t-if="widget.pos.config.receipt_footer">
|
|
|
<br />
|
|
|
<div style='text-align:center'>
|
|
|
<t t-esc="widget.pos.config.receipt_footer" />
|
|
|
</div>
|
|
|
</t>
|
|
|
+
|
|
|
</div>
|
|
|
</t>
|
|
|
</templates>
|