|
@@ -27,7 +27,7 @@
|
|
|
<template id="report_factura_athletic">
|
|
|
<t t-call="report.html_container">
|
|
|
<t t-call="report.external_layout">
|
|
|
- <t t-foreach="[1,2,3]" t-as="i">
|
|
|
+ <t t-foreach="[1,2]" t-as="i">
|
|
|
<div class="page">
|
|
|
<style type="text/css">
|
|
|
body{
|
|
@@ -41,7 +41,7 @@
|
|
|
width:19.3cm;
|
|
|
}
|
|
|
.logo{
|
|
|
- height: 0.1cm;
|
|
|
+ height: 3.1cm;
|
|
|
width: 100%;
|
|
|
top: 0px;
|
|
|
}
|
|
@@ -54,7 +54,7 @@
|
|
|
.contado_x{
|
|
|
width: 1.8cm;
|
|
|
float: right;
|
|
|
- padding-left: 14cm;
|
|
|
+ padding-left: 5cm;
|
|
|
min-height: 0.55cm;
|
|
|
}
|
|
|
.linea2{
|
|
@@ -63,7 +63,7 @@
|
|
|
min-height: 0.5cm;
|
|
|
}
|
|
|
.razon_data{
|
|
|
- width: 15cm;
|
|
|
+ width: 13cm;
|
|
|
float: left;
|
|
|
padding-left: 6.9cm;
|
|
|
min-height: 0.4cm;
|
|
@@ -113,7 +113,7 @@
|
|
|
clear: both;
|
|
|
}
|
|
|
.articulos{
|
|
|
- height: 4.91cm;
|
|
|
+ height: 6.91cm;
|
|
|
}
|
|
|
.art-col1{
|
|
|
width:0.9cm;
|
|
@@ -150,7 +150,7 @@
|
|
|
top: 0px;
|
|
|
}
|
|
|
.logo2{
|
|
|
- height: 1.38cm;
|
|
|
+ height: 3.38cm;
|
|
|
width: 100%;
|
|
|
top: 0px;
|
|
|
}
|
|
@@ -259,34 +259,36 @@
|
|
|
<div class="logo"> </div>
|
|
|
<div class="linea1">
|
|
|
<div class="fecha_emision_data">Ciudad del Este,<span t-field="o.date_invoice" t-field-options='{"format": "dd MMMM yyyy"}'/></div>
|
|
|
- <div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|
|
|
+ <div class="contado_x">
|
|
|
+ <t t-if="o.contado">Contado</t><t t-if="o.credito">Crédito</t>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<div class="linea2">
|
|
|
<div class="razon_data"><span t-field="o.partner_id.name"/></div>
|
|
|
+ <div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|
|
|
</div>
|
|
|
|
|
|
<div class="linea3">
|
|
|
<div class="direccion_data">
|
|
|
<t t-f="o.partner_id.street"><span t-field="o.partner_id.street"/> <span t-field="o.partner_id.street2"/></t>
|
|
|
<t t-f="not o.partner_id.street"> </t>
|
|
|
+ <div class="telefono_data"><span t-field="o.partner_id.phone"/></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="linea4">
|
|
|
- <div class="telefono_data"><span t-field="o.partner_id.phone"/></div>
|
|
|
+
|
|
|
</div>
|
|
|
<div class="linea5">
|
|
|
- <div class="contado_x">
|
|
|
- <t t-if="o.contado"> </t><t t-if="o.credito"> </t>
|
|
|
- </div>
|
|
|
+
|
|
|
</div>
|
|
|
<div class="cab-articulos"> </div>
|
|
|
<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>
|
|
|
+ <td class="art-col1"></td>
|
|
|
+ <td class="art-col2"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></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-col5"> </td>
|
|
@@ -332,9 +334,6 @@
|
|
|
<t t-if="i == 1">
|
|
|
<div class="logo1"> </div>
|
|
|
</t>
|
|
|
- <t t-if="i == 2">
|
|
|
- <div class="logo2"> </div>
|
|
|
- </t>
|
|
|
|
|
|
</t>
|
|
|
</div>
|