Forráskód Böngészése

Pra imprimir factura legal rellenado funam.

SEBAS 1 hónapja
szülő
commit
cee28dd10b
2 módosított fájl, 20 hozzáadás és 8 törlés
  1. 15 7
      factura_venta_funam.xml
  2. 5 1
      factura_venta_funam1.xml

+ 15 - 7
factura_venta_funam.xml

@@ -121,7 +121,7 @@
                             clear: both;
                         }
                         .articulos{
-                            height: 2.55cm;
+                            height: 2.25cm;
                         }
                         .art-col1{
                             width:1cm;
@@ -148,12 +148,12 @@
                             text-align: right;
                         }
 						           .logo1{
-                            height: 3.50cm;
+                            height: 3.70cm;
                             width: 100%;
                             top: 0px;
                         }
                         .logo2{
-                             height: 3.50cm;
+                             height: 3.70cm;
                              width: 100%;
                              top: 0px;
                          }
@@ -162,7 +162,7 @@
                             float: left;
                             padding-top: 0.002cm;
                             padding-left: 2.3cm;
-                            min-height: 0.3cm;
+                            min-height: 0.4cm;
                         }
                         .subtotal_excentas{
                             width: 6cm;
@@ -194,14 +194,14 @@
                             float: left;
                             padding-top: 0.01mm;
                             padding-left: 4.8cm;
-                            min-height: 0.4cm;
+                            min-height: 0.6cm;
                         }
                         .total_pagar{
                             width: 2.3cm;
                             float: right;
                             padding-top: 0.01mm;
                             padding-left: 0.8cm;
-                            min-height: 0.4cm;
+                            min-height: 0.6cm;
                         }
                         .iva_5_data{
                             width: 5cm;
@@ -227,7 +227,15 @@
                         <div class="pagina">
                             <div class="logo"> </div>
                             <div class="linea1">
-                                <div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/></div>
+                              <!--<div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/></div>-->
+                               <div class="fecha_emision_data" style="top:0.2cm; left:3.9cm;">
+                                  <t t-set="meses" t-value="['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']"/>
+                                  <span t-esc="str(time.localtime().tm_mday) + ' de ' + meses[time.localtime().tm_mon-1] + ' de ' + str(time.localtime().tm_year)"/>
+                                </div>
+                                <div class="credito_x">
+                                    <t t-if="o.credito == True">Crédito</t>
+                                    <t t-if="o.credito == False">Contado</t>
+                                </div>
                             </div>
 
                             <div class="linea2">

+ 5 - 1
factura_venta_funam1.xml

@@ -225,7 +225,11 @@
                         <div class="pagina">
                             <div class="logo"> </div>
                             <div class="linea1">
-                                <div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/></div>
+                                <!--<div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/></div>-->
+                                <div class="fecha_emision_data" style="top:0.2cm; left:3.9cm;">
+                                    <t t-set="meses" t-value="['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre']"/>
+                                    <span t-esc="str(time.localtime().tm_mday) + ' de ' + meses[time.localtime().tm_mon-1] + ' de ' + str(time.localtime().tm_year)"/>
+                                </div>
                             <!--    <div class="contado_x">
                                     <t t-if="o.contado == True">X</t>
                                     <t t-if="o.contado == False"></t>