|
@@ -15,119 +15,200 @@
|
|
|
<t t-foreach="[1]" t-as="i">
|
|
|
<div class="page">
|
|
|
<style type="text/css">
|
|
|
- body{
|
|
|
- font-size: 3mm;
|
|
|
+ body{
|
|
|
+ font-size: 3.0mm;
|
|
|
|
|
|
- font-family: Arial, Helvetica, sans-serif;
|
|
|
- }
|
|
|
- div{
|
|
|
- padding: 0px;
|
|
|
- }
|
|
|
- .pagina{
|
|
|
- width:19.3cm;
|
|
|
- }
|
|
|
- .logo{
|
|
|
- height: 4.2cm;
|
|
|
- width: 100%;
|
|
|
- top: 0px;
|
|
|
- }
|
|
|
- .logo1{
|
|
|
- height: 4.7cm;
|
|
|
- width: 100%;
|
|
|
- top: 0px;
|
|
|
- }
|
|
|
- .fecha_emision_data{
|
|
|
- width: 11.7cm;
|
|
|
- padding-left:2.8cm;
|
|
|
- float: left;
|
|
|
- min-height: 0.9cm;
|
|
|
- }
|
|
|
- .contado_x{
|
|
|
- width: 1cm;
|
|
|
- float: left;
|
|
|
- padding-left: 2.45cm;
|
|
|
- min-height: 0.9cm;
|
|
|
- }
|
|
|
- .credito_x{
|
|
|
- width: 1cm;
|
|
|
- float: left;
|
|
|
- padding-left: 0.9cm;
|
|
|
- min-height: 0.9cm;
|
|
|
- }
|
|
|
- .razon_data{
|
|
|
- width: 11.7cm;
|
|
|
- float: left;
|
|
|
- padding-left: 3.8cm;
|
|
|
- min-height: 0.9cm;
|
|
|
- }
|
|
|
- .ruc_data{
|
|
|
- width: 5cm;
|
|
|
- float: right;
|
|
|
- padding-left: 3.35cm;
|
|
|
- min-height: 0.6cm;
|
|
|
- }
|
|
|
- .direccion_data{
|
|
|
- width: 13.5cm;
|
|
|
- float: left;
|
|
|
- padding-left:2.7cm;
|
|
|
- min-height: 0.6cm;
|
|
|
- }
|
|
|
- .telefono_data{
|
|
|
- width: 3.5cm;
|
|
|
- float: right;
|
|
|
- padding-left: 0.1mm;
|
|
|
- min-height: 0.6cm;
|
|
|
- }
|
|
|
- .nota_remision_data{
|
|
|
- width: 13cm;
|
|
|
- float: left;
|
|
|
- padding-left: 2.8cm;
|
|
|
- min-height: 0cm;
|
|
|
- }
|
|
|
- .dias_credito{
|
|
|
- width: 5cm;
|
|
|
- float: left;
|
|
|
- padding-left: 0.8cm;
|
|
|
- min-height: 0cm;
|
|
|
- }
|
|
|
- .cab-articulos{
|
|
|
- height: 1.35cm;
|
|
|
- clear: both;
|
|
|
- }
|
|
|
- .divisoria1{
|
|
|
- height: 2.1cm;
|
|
|
- width: 100%;
|
|
|
- top: 0px;
|
|
|
- }
|
|
|
+ font-family: Arial;
|
|
|
+ }
|
|
|
+ div{
|
|
|
+ padding: 0px;
|
|
|
+ }
|
|
|
+ .pagina{
|
|
|
+ width:19.3cm;
|
|
|
+ }
|
|
|
+ .logo{
|
|
|
+ height: 3.9cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+ .logo1{
|
|
|
+ height: 4.4cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+ .articulos{
|
|
|
+ height: 3.385cm;
|
|
|
+ }
|
|
|
+ .art-col11{
|
|
|
+ padding-left: 0.2mm;
|
|
|
+ width:3.8cm;
|
|
|
+ font-size: 2.9mm;
|
|
|
+ text-align: center;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+ }
|
|
|
+ .art-col13{
|
|
|
+ padding-left: 0.5cm;
|
|
|
+ font-size: 3.0mm;
|
|
|
+ width:1.4cm;
|
|
|
+ text-align: left;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+ }
|
|
|
+ .art-col14{
|
|
|
+ width:3.3cm;
|
|
|
+ font-size: 3mm;
|
|
|
+ padding-left: 0.8mm;
|
|
|
+ text-align: center;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
|
|
|
- .borderless td, .borderless th {
|
|
|
- border: none !important;
|
|
|
- }
|
|
|
- .table-condensed>tbody>tr>td {
|
|
|
- padding: 1px !important;
|
|
|
- }
|
|
|
- .table-super-condensed>tbody>tr>td {
|
|
|
- padding: 5px !important;
|
|
|
- }
|
|
|
- .table-condensed2>tbody>tr>td {
|
|
|
- padding: 2.5px !important;
|
|
|
- }
|
|
|
+ }
|
|
|
+ .art-col12{
|
|
|
+ padding-left: 0.2mm;
|
|
|
+ width:2.35cm;
|
|
|
+ font-size: 3mm;
|
|
|
+ text-align: right;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+ }
|
|
|
+ .art-col15{
|
|
|
+ width:3.72cm;
|
|
|
+ font-size: 2.9mm;
|
|
|
+ text-align: right;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .art-col16{
|
|
|
+ width:2.4cm;
|
|
|
+ font-size: 3mm;
|
|
|
+ vertical-align: top;
|
|
|
+ text-align: right;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
+ }
|
|
|
+ .art-col17{
|
|
|
+ width:3.2cm;
|
|
|
+ font-size: 3.5mm;
|
|
|
+ text-align: right;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
+ }
|
|
|
+ .fecha_emision_data{
|
|
|
+ width: 11.1cm;
|
|
|
+ padding-left:2.8cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0.9cm;
|
|
|
+ }
|
|
|
+ .contado_x{
|
|
|
+ width: 2cm;
|
|
|
+ float: right;
|
|
|
+ padding-left: 2.45cm;
|
|
|
+ min-height: 0.9cm;
|
|
|
+ }
|
|
|
+ .credito_x{
|
|
|
+ width:2.5cm;
|
|
|
+ float: left;
|
|
|
+ padding-left: 1.0cm;
|
|
|
+ min-height: 0.9cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .razon_data{
|
|
|
+ width: 11.7cm;
|
|
|
+ float: left;
|
|
|
+ padding-left: 3.8cm;
|
|
|
+ min-height: 0.8cm;
|
|
|
+ }
|
|
|
+ .ruc_data{
|
|
|
+ width: 5cm;
|
|
|
+ float: right;
|
|
|
+ padding-left: 2.35cm;
|
|
|
+ min-height: 0.8cm;
|
|
|
+ }
|
|
|
+ .direccion_data{
|
|
|
+ width: 13.5cm;
|
|
|
+ float: left;
|
|
|
+ padding-left:2.7cm;
|
|
|
+ min-height: 0.8m;
|
|
|
+ }
|
|
|
+ .telefono_data{
|
|
|
+ width: 3.5cm;
|
|
|
+ float: right;
|
|
|
+ padding-left: 0.1mm;
|
|
|
+ min-height: 0.8;
|
|
|
+ }
|
|
|
+ .nota_remision_data{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ padding-left: 2.8cm;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .dias_credito{
|
|
|
+ width: 5cm;
|
|
|
+ float: left;
|
|
|
+ padding-left: 0.8cm;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .cab-articulos{
|
|
|
+ height: 1.35cm;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ .divisoria1{
|
|
|
+ height: 6.6cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+ .cab-articulos2{
|
|
|
+ height: 0.2cm;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+
|
|
|
+ .borderless td, .borderless th {
|
|
|
+ border: none !important;
|
|
|
+ }
|
|
|
+ .table-condensed>tbody>tr>td {
|
|
|
+ padding: 1px !important;
|
|
|
+ }
|
|
|
+ .table-super-condensed>tbody>tr>td {
|
|
|
+ padding: 5px !important;
|
|
|
+ }
|
|
|
+ .table-condensed2>tbody>tr>td {
|
|
|
+ padding: 2.5px !important;
|
|
|
+ }
|
|
|
|
|
|
</style>
|
|
|
<t t-foreach="docs" t-as="o">
|
|
|
<div class="pagina">
|
|
|
- <div class="logo"> </div>
|
|
|
- <tr>
|
|
|
- <div class="fecha_emision_data"><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></div>
|
|
|
- <div class="contado_x">
|
|
|
- <t t-if="o.contado == True">x</t>
|
|
|
- </div>
|
|
|
- <div class="contado_x">
|
|
|
- <t t-if="o.credito == True">x</t>
|
|
|
- </div>
|
|
|
+ <div class="logo"> </div>
|
|
|
+ <table class="tab-articulos2">
|
|
|
+ <td class="art-col11"> </td>
|
|
|
+ <td class="art-col13">
|
|
|
+ <span t-field="o.date_order" t-field-options='{"format": "dd"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col14">
|
|
|
+ <span t-field="o.date_order" t-field-options='{"format": "MMMM"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col12">
|
|
|
+ <span t-field="o.date_order" t-field-options='{"format": "yy"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col15">
|
|
|
|
|
|
- </tr>
|
|
|
+ </td>
|
|
|
|
|
|
+ <td class="art-col16">
|
|
|
+ <div class="contado_x">
|
|
|
+ <t t-if="o.contado == True">x</t>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="art-col17">
|
|
|
+ <div class="credito_x">
|
|
|
+ <t t-if="o.credito == True">x</t>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </table>
|
|
|
<tr>
|
|
|
<div class="razon_data"><span t-field="o.partner_id.name"/></div>
|
|
|
<div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|