|
@@ -89,43 +89,41 @@
|
|
|
</table>
|
|
|
|
|
|
<br/>
|
|
|
- <t t-if="kitchenlines.length > 0">
|
|
|
- <div class="pos-sale-ticket" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 15px;'>
|
|
|
+ <!-- >
|
|
|
+ <div class="pos-sale-ticket" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 15px;'> -->
|
|
|
|
|
|
- <!-- <p style="page-break-after: always;"></p> -->
|
|
|
- <!-- <div style='text-align:center'>
|
|
|
+ <p style="page-break-after: always;"></p>
|
|
|
+ <div style='text-align:center'>
|
|
|
<h3>Cocina</h3>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
|
|
|
- <table>
|
|
|
+ <table>
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
|
<col width='80%'/>
|
|
|
<col width='20%'/>
|
|
|
</colgroup>
|
|
|
- <t t-foreach="kitchenlines" t-as="kitchenline">
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <t t-esc="kitchenline.product_name"/>
|
|
|
- <t t-foreach="kitchenline.product_pack_lines" t-as="item">
|
|
|
- <ul>
|
|
|
- <li><t t-esc="item.product_name"/></li>
|
|
|
- </ul>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- <!-- <td>
|
|
|
- <t t-esc="kitchenline.product_qty"/>
|
|
|
- </td> -->
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>-----------------------------------</td>
|
|
|
- <td></td>
|
|
|
- </tr>
|
|
|
+ <t t-foreach="filterLines" t-as="kitchenline">
|
|
|
+ <!-- <t t-if="kitchenline.length > 0" -->
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <t t-esc="kitchenline.name"/>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <t t-esc="kitchenline.qty"/>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>-</td>
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+ <!-- </t> -->
|
|
|
</t>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- </div>
|
|
|
- </t>
|
|
|
+ <!-- </div>
|
|
|
+ </t> -->
|
|
|
|
|
|
<br/>
|
|
|
<t t-if="widget.pos.config.receipt_footer">
|