Browse Source

Ajuste sin muchos detalles

sebastian 5 years ago
parent
commit
4d2ce45e29
1 changed files with 12 additions and 20 deletions
  1. 12 20
      static/src/xml/pos.xml

+ 12 - 20
static/src/xml/pos.xml

@@ -2,11 +2,11 @@
 <templates>
     <t t-extend="PosTicket">
         <t t-jquery="div.pos-sale-ticket" t-operation="replace">
-            <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;'>
                 <!-- <div id="company_logo">
                     <img t-att-src="logo" style="width:100%;"/>
                 </div> -->
-                <center>GRACIA DE DIOS</center>
+                <center>COMEDOR LEONI</center>
                 <br/>
                 <div class="pos-center-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
                     Date.CultureInfo.formatPatterns.longTime)"/>
@@ -20,18 +20,14 @@
                     </div>
                     <br />
                 </t>
-                Phone: <t t-esc="widget.pos.company.phone || ''"/>
-                <br/>
+
                 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 />
+
                     Cliente: <t t-esc="order.attributes.client.name ? order.attributes.client.name : ''"/><br />
-                    N° de legajo: <t t-esc="order.attributes.client.fax ? order.attributes.client.fax : ''"/><br />
-                    Teléfono: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br />
-                    Dirección: <t t-esc="order.attributes.client.address ? order.attributes.client.address : ''"/>
+                    N° de legajo: <t t-esc="order.attributes.client.fax ? order.attributes.client.fax : ''"/>
                 </t>
-                <p>========================</p>
+
                 <table class="table table-condensed" style="font-size: 12px;">
                     <thead>
                         <tr>
@@ -64,19 +60,15 @@
                                 </td>
                             </tr>
                             <tr>
-                                <td>********</td>
-                                <td>******************</td>
-                                <td>*************</td>
-                                <td>*************</td>
+                                <td></td>
+                                <td></td>
                             </tr>
                         </t>
                     </tbody>
                 </table>
-                <p>========================</p>
-                <strong>Total de itenes: <t t-esc="quantity"/></strong>
-                <p>========================</p>
+
                 <table>
-                    <tr>
+                    <!-- <tr>
                         <td>Subtotal:</td>
                         <td class="pos-right-align">
                             <t t-esc="widget.format_currency(order.getTotalTaxExcluded())"/>
@@ -95,7 +87,7 @@
                         <td class="pos-right-align">
                             <t t-esc="widget.format_currency(order.getDiscountTotal())"/>
                         </td>
-                    </tr>
+                    </tr> -->
                     <tr class="emph">
                         <td>Total:</td>
                         <td class="pos-right-align" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 20px;'>
@@ -103,7 +95,7 @@
                         </td>
                     </tr>
                 </table>
-                <p>========================</p>
+
                 <table>
                     <tr t-foreach="paymentlines" t-as="line">
                         <td>