Преглед на файлове

Módulo para impresión de por su pollo

sebas преди 3 години
родител
ревизия
40497bf0fa
променени са 1 файла, в които са добавени 6 реда и са изтрити 5 реда
  1. 6 5
      static/src/xml/pos.xml

+ 6 - 5
static/src/xml/pos.xml

@@ -10,7 +10,7 @@
                 <!-- <t t-esc="&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;widget.pos.company.phone || ''"/> <br/> -->
                 <center>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(0973) 558806</center><br/>
                 <center>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;www.porsupollo.com.py</center><br/>
-                  <center>---------------------------------------------</center><br/>
+                  <center>----------------------------------------</center><br/>
                 <div class="pos-center-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
                     Date.CultureInfo.formatPatterns.longTime)"/>
                     <br/>
@@ -29,7 +29,7 @@
                 </t>
                 <br/>
                 <br />
-                <center>---------------------------------------------</center><br/>
+                <center>----------------------------------------</center><br/>
                 <table class="table table-condensed" style="font-size: 12px;">
                     <thead>
                         <tr>
@@ -55,10 +55,11 @@
                                     <t t-esc="orderline.get_product().display_name&#160;&#160;"/>
                                 </td>
                                 <td>
-                                    <t t-esc="widget.format_currency(orderline.price)"/>
+                                    <t t-esc="orderline.price"/>
                                 </td>
                                 <td class="pos-right-align">
-                                    <t t-esc="widget.format_currency(orderline.get_display_price())"/>
+                                    <t t-esc="orderline.price*orderline.quantity"/>
+                                    <!-- <t t-esc="widget.format_currency(orderline.get_display_price())"/> -->
                                 </td>
                             </tr>
                             <tr>
@@ -90,7 +91,7 @@
                             <t t-esc="widget.format_currency(order.getDiscountTotal())"/>
                         </td>
                     </tr> -->
-                    <center>---------------------------------------------</center><br/>
+                    <center>----------------------------------------</center><br/>
                     <tr class="emph">
                         <br />
                         <td>Total:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>