Selaa lähdekoodia

Retocar impresión factura legal anillos

SEBAS 2 vuotta sitten
vanhempi
commit
af37aba8a1
1 muutettua tiedostoa jossa 44 lisäystä ja 43 poistoa
  1. 44 43
      factura_venta_anillos.xml

+ 44 - 43
factura_venta_anillos.xml

@@ -47,7 +47,7 @@
                         }
                         .fecha_emision_data{
                             width: 11.5cm;
-                            padding-left: 6.55cm;
+                            padding-left: 6.49cm;
                             float: left;
                             min-height: 0.55cm;
                         }
@@ -65,7 +65,7 @@
                         .razon_data{
                             width: 15cm;
                             float: left;
-                            padding-left: 7.0cm;
+                            padding-left: 6.9cm;
                             min-height: 0.4cm;
                         }
                         .ruc_data{
@@ -82,7 +82,7 @@
                         .direccion_data{
                             width: 14cm;
                             float: left;
-                            padding-left: 7.6cm;
+                            padding-left: 7cm;
                             min-height: 0.5cm;
                         }
                         .linea4{
@@ -113,7 +113,7 @@
                             clear: both;
                         }
                         .articulos{
-                            height: 8,85cm;
+                            height: 4.95cm;
                         }
                         .art-col1{
                             width:0.9cm;
@@ -137,34 +137,29 @@
                             text-align: right;
                         }
                         .art-col6{
-                            width:2.3cm;
+                            width:2.2cm;
                             text-align: right;
                         }
                         .art-col7{
-                            width:3.0cm;
+                            width:1.7cm;
                             text-align: right;
                         }
 						           .logo1{
-                            height: 1.54cm;
+                            height: 1.80cm;
                             width: 100%;
                             top: 0px;
                         }
-
                         .logo2{
-                             height: 1.38cm;
+                             height: 1.75cm;
+                             width: 100%;
+                             top: 0px;
+                         }
+
+                        .logo3{
+                             height: 0.2cm;
                              width: 100%;
                              top: 0px;
                          }
-                         .logo3{
-                              height: 0.28cm;
-                              width: 100%;
-                              top: 0px;
-                          }
-                          .logo4{
-                               height: 2.30cm;
-                               width: 100%;
-                               top: 0px;
-                           }
 
                         .subtotal_excentas{
                             width: 1cm;
@@ -206,24 +201,24 @@
                         }
 
                         .iva_5_data{
-                            width:10cm;
-                            float: right;
+                            width:7cm;
+                            float: left;
                             padding-top: 0.5cm;
-                            padding-left: 4.8cm;
+                            padding-left: 6.3cm;
                             min-height: 0.25cm;
                         }
                         .iva_10_data{
-                            width: 4.8cm;
-                            float: right;
+                            width: 5.0cm;
+                            float: left;
                             padding-top: 0.5cm;
-                            padding-left: 1.8cm;
+                            padding-left: 1.5cm;
                             min-height: 0.25cm;
                         }
                         .iva_total_data{
                             width: 4.2cm;
-                            float: right;
+                            float: left;
                             padding-top: 0.5cm;
-                            padding-left: 2.9cm;
+                            padding-left: 0.5cm;
                             min-height: 0.25cm;
                         }
 
@@ -256,8 +251,8 @@
                                 </div>
                             </div>
                             <div class="cab-articulos"> </div>
-                            <!-- <div class="articulos"> -->
-                                <table style="height: 8,85cm;">
+                            <div class="articulos">
+                                <table class="tab-articulos">
                                     <tr t-foreach="o.invoice_line" t-as="l">
                                         <td class="art-col1"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></td>
                                         <td class="art-col2"></td>
@@ -268,9 +263,9 @@
                                         <td class="art-col7"><span t-esc="'{0:,.0f}'.format(l.price_unit*l.quantity)"/></td>
                                    </tr>
                                 </table>
-                            <!-- </div> -->
+                            </div>
+
 
-                              <div class="logo4"> </div>
                                 <table class="tab-articulos">
                                         <td class="art-col1"> </td>
                                         <td class="art-col2"> </td>
@@ -291,20 +286,27 @@
                                         <td class="art-col7"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></td>
                                 </table>
 
-                                <div class="logo3"> </div>
-                                <table class="tab-articulos">
-                                        <td class="art-col1"> </td>
-                                        <td class="art-col2"> </td>
-                                        <td class="art-col3"> </td>
-                                        <td class="art-col4"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></td>
-                                        <td class="art-col5"> </td>
-                                        <td class="art-col6"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></td>
-                                        <td class="art-col7"> </td>
-                                </table>
 
 
-                         </div>
+                             <!-- <div class="subtotal_excentas"> </div>
+                             <div class="subtotal_5"> </div>
+                             <td style="font-size:10px;">
+                                <div class="subtotal_10"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
+                            </td> -->
 
+                            <!-- <table class="tab-articulos2">
+                               <td class="total_pagar_data">
+                                  <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/>
+                               </td>
+                               <td class="total_pagar">
+                                 <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
+                               </td>
+                            </table> -->
+                             <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>
+
+                         </div>
                          <t t-if="i == 1">
                               <div class="logo1"> </div>
                           </t>
@@ -312,7 +314,6 @@
                               <div class="logo2"> </div>
                           </t>
 
-
                     </t>
                 </div>
 				</t>