<?xml version="1.0" encoding="UTF-8"?> <templates id="pos" xml:space="preserve"> <t t-name="Separator"> <p class="separator">------------------------------------</p> </t> <t t-name="EiruPosTicket"> <div class="eiru_pos_ticket"> <p class="company"><t t-esc="company" /></p> <p class="street"><t t-esc="street" /></p> <p class="country"><t t-esc="city" /> - <t t-esc="country" /></p> <t t-call="Separator" /> <div class="items_wrapper"> <table class="items"> <thead> <tr> <th>DESCRIPCION</th> <th style="text-align: right;">PRECIO</th> <th style="text-align: right;">CANT.</th> <th style="text-align: right;">SUBTOTAL</th> </tr> </thead> <tbody> <t t-foreach="items" t-as="i"> <tr> <td colspan="4"><t t-esc="i.name" /></td> </tr> <tr> <td></td> <td style="text-align: right;"><t t-esc="i.price" /></td> <td style="text-align: right;"><t t-esc="i.quantity" /></td> <td style="text-align: right;"><t t-esc="i.subtotal" /></td> </tr> </t> </tbody> </table> </div> <t t-call="Separator" /> <div class="details_wrapper"> <table class="details"> <tbody> <tr> <td>TOTAL</td> <td style="text-align: right;"><t t-esc="total" /></td> </tr> <tr> <td>ENTREGADO</td> <td style="text-align: right;"><t t-esc="received" /></td> </tr> <tr> <td>VUELTO</td> <td style="text-align: right;"><t t-esc="residual" /></td> </tr> </tbody> </table> </div> <t t-call="Separator" /> <p class="date">Cliente: <t t-esc="customer" /></p> <p class="date">Fecha: <t t-esc="date" /></p> <p class="salesman">Vendedor: <t t-esc="user" /></p> <t t-call="Separator" /> <p style="font-size: 8pt; text-align: center;">GRACIAS POR SU PREFERENCIA!!!</p> </div> </t> </templates>