| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 | <?xml version="1.0" encoding="UTF-8"?><templates id="template" xml:space="preserve">    <t t-name="KitchenTicketScreenWidget">        <div class="receipt-screen screen touch-scrollable" >            <div class="pos-step-container">                <div class="pos-receipt-container">                </div>            </div>        </div>    </t>    <t t-name="KitchenTicketButton">        <span class="control-button order-printbill">            <i class="fa fa-print"></i>            Ticket        </span>    </t>    <t t-name="KitchenTicket">        <div class="pos-sale-ticket" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 15px;'>            <div class="pos-center-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +                Date.CultureInfo.formatPatterns.longTime)"/>                <br/>                <t t-esc="order.get('name')"/>            </div>            <br/>            <t t-if="widget.pos.company.name">                <strong><center><t t-esc="widget.pos.company.name"/></center></strong> <br/>            </t>            <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 />               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">Ticket</div>            <p>--------------------------------------------</p>            <table style="font-size:16px;">                <tbody>                    <colgroup>                      <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.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>              <p>--------------------------------------------</p>            <table>                <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="kitchenlines.length > 0">                <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'>                        <h3>Cocina</h3>                    </div> -->                    <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>                        </tbody>                    </table>                </div>            </t>            <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>
 |