Przeglądaj źródła

Agregar descuento en ticket de smile

sebas 4 lat temu
rodzic
commit
6167ce2819
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      ticket_venta_smileguide.xml

+ 2 - 2
ticket_venta_smileguide.xml

@@ -158,11 +158,11 @@
                                                 </td>
                                                 <!-- PRECIO UNITARIO -->
                                                 <td style="font-size:10px;font-family: Arial;width:1.7cm;overflow: auto; text-align: right;">
-                                                    <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
+                                                    <span t-esc="'{0:,.0f}'.format(o.amount_total+o.amount_discount)"/>
                                                 </td>
                                            </tr>
                                            <tr>
-                                               <td style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: left;">
+                                               <td style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: right;">
                                                     <b>Descuento: </b><span t-esc="'{0:,.0f}'.format(o.amount_discount)"/>
                                                </td>