瀏覽代碼

Modificar factura

root 2 年之前
父節點
當前提交
6bacc49c8b
共有 1 個文件被更改,包括 14 次插入6 次删除
  1. 14 6
      factura_venta_eiru.xml

+ 14 - 6
factura_venta_eiru.xml

@@ -200,11 +200,18 @@
                             min-height: 0.2cm;
                         }
                         .total_pagar_data{
-                            width: 17.5cm;
+                            width: 16.4cm;
                             float: left;
-                            padding-top: 0.01mm;
+                            padding-top: 0.06mm;
                             padding-left: 5cm;
-                            min-height: 0.3cm;
+                            min-height: 0.37cm;
+                        }
+                        .total_pagar{
+                            width: 2.3cm;
+                            float: right;
+                            padding-top: 0.06mm;
+                            padding-left: 0.8cm;
+                            min-height: 0.37cm;
                         }
                         .iva_5_data{
                             width: 5cm;
@@ -270,7 +277,8 @@
                                         <td class="art-col1"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></td>
                                         <td class="art-col2"></td>
                                         <td class="art-col3"><span t-field="l.name"/></td>
-                                        <td class="art-col4"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></td>
+                                        <td class="art-col4"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
+                                        </td>
                                         <td class="art-col5"> </td>
                                         <td class="art-col6"> </td>
                                         <td class="art-col7"><span t-esc="'{0:,.0f}'.format(l.price_unit*l.quantity)"/></td>
@@ -284,8 +292,8 @@
                              <td style="font-size:10px;">
                                 <div class="subtotal_10"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
                             </td>
-                             <div class="total_pagar_data"><span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
-
+                            <div class="total_pagar_data"><span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
+                             <div class="total_pagar"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
                              <div class="iva_5_data"> </div>
                              <div class="iva_10_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>
                              <div class="iva_total_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>