|
@@ -146,68 +146,7 @@
|
|
|
</td></tr>
|
|
|
</table>
|
|
|
<br/>
|
|
|
- <br/><br/>
|
|
|
- <div class="pos-center-align" style="font-size:20pt;font-weight:bold">Cocina</div>
|
|
|
- User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/>
|
|
|
- <t t-if="order.attributes.client">
|
|
|
- <p>========================</p>
|
|
|
- <!-- RUC: <t t-esc="order.attributes.client.ruc ? order.attributes.client.ruc : ''"/><br /> -->
|
|
|
- <t t-if="order.attributes.client.name">
|
|
|
- Cliente: <t t-esc="order.attributes.client.name"/><br />
|
|
|
- </t>
|
|
|
- <t t-if="order.attributes.client.fax">
|
|
|
- N° de legajo: <t t-esc="order.attributes.client.fax"/><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>
|
|
|
- <p>========================</p>
|
|
|
- <table class="table table-condensed" style="font-size: 12px;">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="text-right">Cant.</th>
|
|
|
- <th>Producto</th>
|
|
|
- <th class="text-right">Precio</th>
|
|
|
- <th class="text-right">Sub-total</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <colgroup>
|
|
|
- <col width='15%'/>
|
|
|
- <col width='35%'/>
|
|
|
- <col width='25%'/>
|
|
|
- <col width='25%'/>
|
|
|
- </colgroup>
|
|
|
- <t t-foreach="orderlines" t-as="orderline">
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <t t-esc="orderline.quantity"/>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <t t-esc="orderline.get_product().display_name"/>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <t t-esc="widget.format_currency(orderline.price)"/>
|
|
|
- </td>
|
|
|
- <td class="pos-right-align">
|
|
|
- <t t-esc="widget.format_currency(orderline.get_display_price())"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>********</td>
|
|
|
- <td>******************</td>
|
|
|
- <td>*************</td>
|
|
|
- <td>*************</td>
|
|
|
- </tr>
|
|
|
- </t>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+
|
|
|
|
|
|
|
|
|
<t t-if="widget.pos.config.receipt_footer">
|