|
@@ -21,36 +21,32 @@
|
|
|
<br/>
|
|
|
<t t-esc="order.get('name')"/>
|
|
|
</div>
|
|
|
- <!-- <br/>
|
|
|
- <t t-esc="widget.pos.company.name"/> -->
|
|
|
<br/>
|
|
|
User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/><br/>
|
|
|
<br />
|
|
|
- <div class="pos-center-align" style="font-size:25pt;font-weight:bold">Cocina</div>
|
|
|
- <!-- <br /> -->
|
|
|
- <table>
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th>Producto</th>
|
|
|
- <th>Cantidad</th>
|
|
|
- </tr>
|
|
|
- <p>--------------------------------------------</p>
|
|
|
- </thead>
|
|
|
+ <div class="pos-center-align" style="font-size:25px;font-weight:bold">Cocina</div>
|
|
|
+ <p>--------------------------------------------</p>
|
|
|
+ <table style="font-size:18px;">
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
|
<col width='80%' />
|
|
|
<col width='20%' />
|
|
|
</colgroup>
|
|
|
- <tr t-foreach="orderlines" t-as="orderline">
|
|
|
- <td>
|
|
|
- <t t-esc="orderline.get_product().display_name"/>
|
|
|
- </td>
|
|
|
- <td class="pos-right-align">
|
|
|
- <t t-esc="orderline.get_quantity_str_with_unit()"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
+ <t t-foreach="orderlines" t-as="orderline">
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <t t-esc="orderline.get_product().display_name"/>
|
|
|
+ </td>
|
|
|
+ <td class="pos-right-align">
|
|
|
+ <t t-esc="orderline.get_quantity_str_with_unit()"/>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><p>-----------------------------------</p></td>
|
|
|
+ <td><p>--------</p></td>
|
|
|
+ </tr>
|
|
|
+ </t>
|
|
|
</tbody>
|
|
|
-
|
|
|
</table>
|
|
|
<br />
|
|
|
<t t-if="widget.pos.config.receipt_footer">
|
|
@@ -61,4 +57,4 @@
|
|
|
</t>
|
|
|
</div>
|
|
|
</t>
|
|
|
-</templates>
|
|
|
+</templates>
|