|
@@ -285,14 +285,14 @@
|
|
|
|
|
|
|
|
|
<div class="divisoria"> </div>
|
|
|
-
|
|
|
- <h2>
|
|
|
- <center>
|
|
|
- <span>PRESUPUESTO N° </span>
|
|
|
- <span t-field="o.name"/>
|
|
|
- </center>
|
|
|
- </h2>
|
|
|
-
|
|
|
+ <div class="col-xs-12" style="padding-left: 0.01mm; padding-top: 0.01mm; padding-bottom: 0.15mm; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
|
|
|
+ <h2>
|
|
|
+ <center>
|
|
|
+ <span>PRESUPUESTO N° </span>
|
|
|
+ <span t-field="o.name"/>
|
|
|
+ </center>
|
|
|
+ </h2>
|
|
|
+ </div>
|
|
|
<table class="table table-condensed table-bordered">
|
|
|
<tr>
|
|
|
<td class="fecha_emision_data"><b>Fecha: </b><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></td>
|
|
@@ -315,32 +315,27 @@
|
|
|
|
|
|
<div class="divisoria"> </div>
|
|
|
|
|
|
- <table>
|
|
|
- <thead>
|
|
|
+ <table style="border-collapse: collapse; width: 100%;" class="product">
|
|
|
+
|
|
|
<tr>
|
|
|
- <th class="art-col1">Cantidad</th>
|
|
|
- <th class="art-col2">Descripción</th>
|
|
|
- <th class="art-col3">Precio Unitario</th>
|
|
|
- <th class="art-col4">Sub Total</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody class="sale_tbody">
|
|
|
- <tr t-foreach="o.order_line" t-as="l">
|
|
|
- <td class="art-col1">
|
|
|
- <span t-esc="'%.0f'%l.product_uom_qty"/>
|
|
|
- </td>
|
|
|
- <td class="art-col2">
|
|
|
- <span t-field="l.name"/>
|
|
|
- </td>
|
|
|
- <td class="art-col3">
|
|
|
- <span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
|
- </td>
|
|
|
- <td class="art-col4">
|
|
|
- <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
|
|
|
- </td>
|
|
|
+ <th style="padding: 0.2cm; width:10%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Cant.</th>
|
|
|
+ <th style="padding: 0.2cm; width:55%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Descripción</th>
|
|
|
+ <th style="padding: 0.2cm; width:15%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Precio Unit.</th>
|
|
|
+ <th style="padding: 0.2cm; width:20%; border-collapse: collapse; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;" class="text-center">Sub Total</th>
|
|
|
</tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <div style="height: 8.60cm;border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
|
|
|
+ <table style="border-collapse: collapse; width: 100%; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;">
|
|
|
+ <tr t-foreach="o.order_line" t-as="l">
|
|
|
+ <td style="text-align: center; padding: 0.1cm; width: 10%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-esc="'{0:,.0f}'.format(l.product_uom_qty)"/></td>
|
|
|
+ <td style="text-align: left; padding: 0.1cm; width:55%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-field="l.product_id.name"/></td>
|
|
|
+ <td style="text-align: right; padding: 0.1cm; width:15%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></td>
|
|
|
+ <td style="text-align: right; padding: 0.1cm; width:20%; border-collapse: collapse; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 2px solid #ddd; border-right: 2px solid #ddd;"><span t-esc="'{0:,.0f}'.format((l.product_uom_qty * l.price_unit))"/></td>
|
|
|
+ </tr>
|
|
|
+ <!-- Inserta más filas aquí -->
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
<div class="divisoria"> </div>
|
|
|
<div class="row">
|