|
@@ -17,7 +17,7 @@
|
|
|
<div class="page">
|
|
|
<style>
|
|
|
.logo{
|
|
|
- height: 1.20cm;
|
|
|
+ height: 1.26cm;
|
|
|
width: 100%;
|
|
|
top: 0px;
|
|
|
}
|
|
@@ -29,7 +29,12 @@
|
|
|
border: none !important;
|
|
|
}
|
|
|
.logo1{
|
|
|
- height: 3.9cm;
|
|
|
+ height: 3.8cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+ .logo2{
|
|
|
+ height: 3.6cm;
|
|
|
width: 100%;
|
|
|
top: 0px;
|
|
|
}
|
|
@@ -353,139 +358,19 @@
|
|
|
</t>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- </div>
|
|
|
- <!-- <div style="height:1.7cm;padding-right:0.6cm;">
|
|
|
- <table class="table table-condensed table-bordered">
|
|
|
-
|
|
|
- <col style="width:30%;"/>
|
|
|
- <col style="width:52%;"/>
|
|
|
- <col style="width:18%;"/>
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b>TOTAL A PAGAR: (en letra) </b>
|
|
|
- </th>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/>
|
|
|
- </th>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: right;">
|
|
|
- <t t-if="o.currency_id.id == 166">
|
|
|
- <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
|
- </t>
|
|
|
- <t t-if="o.currency_id.id != 166">
|
|
|
- <span t-esc="'{0:,.2f}'.format(o.amount_total)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <t t-if="o.currency_id.id == 166">
|
|
|
- <div>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b>LIQUIDACIÓN DEL IVA (5%): </b>
|
|
|
- <t t-if="iva_5 != 0">
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_5)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
-
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b>IVA 10%: </b>
|
|
|
- <t t-if="iva_10 != 0">
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_10)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b> TOTAL IVA: </b>
|
|
|
- <t>
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_5+iva_10)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
- </div>
|
|
|
- </t>
|
|
|
- <t t-if="o.currency_id.id != 166">
|
|
|
- <div>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b>LIQUIDACIÓN DEL IVA (5%): </b>
|
|
|
- <t t-if="iva_5 != 0">
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_5)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
-
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b>IVA 10%: </b>
|
|
|
- <t t-if="iva_10 != 0">
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_10)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
- <th style="height:0.6cm;font-size:10px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <b> TOTAL IVA: </b>
|
|
|
- <t>
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_5+iva_10)"/>
|
|
|
- </t>
|
|
|
- </th>
|
|
|
- </div>
|
|
|
- </t>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div> -->
|
|
|
-
|
|
|
- <!-- <div style="height:1cm;padding-right:0.6cm;">
|
|
|
- <table class="table table-condensed table-bordered">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <td style="font-size:11px;font-family: Arial;overflow: auto; text-align: left;">
|
|
|
- <t t-if="o.currency_id.id == 166">
|
|
|
- <div>
|
|
|
-
|
|
|
- <td style="font-size:11px;font-family: Arial;width:15cm;overflow: auto; text-align: left;">
|
|
|
- <b>LIQUIDACIÓN DEL IVA (5%): </b>
|
|
|
- <t t-if="iva_5 != 0">
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_5)"/>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- <td style="font-size:11px;font-family: Arial;width:5cm;overflow: auto; text-align: center;">
|
|
|
- <b>IVA 10%: </b>
|
|
|
- <t t-if="iva_10 != 0">
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_10)"/>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- <td style="font-size:11px;font-family: Arial;width:7cm;overflow: auto; text-align: center;">
|
|
|
- <b> TOTAL IVA: </b>
|
|
|
- <t>
|
|
|
- <span t-esc="'{0:,.0f}'.format(iva_5+iva_10)"/>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- </div>
|
|
|
- </t>
|
|
|
- <t t-if="o.currency_id.id != 166">
|
|
|
- <td style="font-size:11px;font-family: Arial;width:15cm;overflow: auto; text-align: left;">
|
|
|
- <b>LIQUIDACIÓN DEL IVA (5%): </b>
|
|
|
- <t t-if="iva_5 != 0">
|
|
|
- <span t-esc="'{0:,.2f}'.format(iva_5)"/>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- <td style="font-size:11px;font-family: Arial;width:5cm;overflow: auto; text-align: center;">
|
|
|
- <b>IVA 10%: </b>
|
|
|
- <t t-if="iva_10 != 0">
|
|
|
- <span t-esc="'{0:,.2f}'.format(iva_10)"/>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- <td style="font-size:11px;font-family: Arial;width:7cm;overflow: auto; text-align: center;">
|
|
|
- <b> TOTAL IVA: </b>
|
|
|
- <t>
|
|
|
- <span t-esc="'{0:,.2f}'.format(iva_5+iva_10)"/>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
- </t>
|
|
|
- </td>
|
|
|
+ </div>
|
|
|
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div> -->
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</t>
|
|
|
+ <t t-if="i == 1">
|
|
|
<div class="logo1"> </div>
|
|
|
+ </t>
|
|
|
+ <t t-if="i == 2">
|
|
|
+ <div class="logo1"> </div>
|
|
|
+ </t>
|
|
|
+
|
|
|
</div>
|
|
|
</t>
|
|
|
</t>
|