|
@@ -21,11 +21,11 @@
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
}
|
|
|
|
|
|
- .veh_tbody{
|
|
|
+ .veh_tbody{
|
|
|
font-size: 2.8mm;
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
}
|
|
|
- .taxtotal{
|
|
|
+ .taxtotal{
|
|
|
font-size: 2.8mm;
|
|
|
}
|
|
|
.total{
|
|
@@ -54,37 +54,33 @@
|
|
|
<table class="table table-bordered">
|
|
|
<thead class="crm_tcab">
|
|
|
<tr class="active">
|
|
|
- <th class="text-center">Referencia</th>
|
|
|
- <th class="text-center">Fecha</th>
|
|
|
+ <th class="text-center">N° Factura</th>
|
|
|
+ <th class="text-center">Fecha</th>
|
|
|
<th class="text-center">R.U.C.</th>
|
|
|
- <th class="text-center">Cliente/Proveedor</th>
|
|
|
- <th class="text-center">Monto c/ IVA</th>
|
|
|
- <th class="text-center">M.Pagado</th>
|
|
|
- <th class="text-center">Saldo</th>
|
|
|
- <th class="text-center">Moneda</th>
|
|
|
- <th class="text-center">Empresa</th>
|
|
|
+ <th class="text-center">Cliente</th>
|
|
|
+ <th class="text-center">Total</th>
|
|
|
+ <th class="text-center">Pagado</th>
|
|
|
+ <th class="text-center">Saldo</th>
|
|
|
<th class="text-center">Vendedor</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<t t-foreach="docs" t-as="o">
|
|
|
<tbody>
|
|
|
- <tr>
|
|
|
- <td><span t-esc="o.number"/></td>
|
|
|
- <td><span t-field="o.date_invoice"/></td>
|
|
|
- <td><span t-esc="o.partner_id.ruc"/></td>
|
|
|
- <td><span t-esc="o.partner_id.name"/></td>
|
|
|
- <td class="text-right">
|
|
|
- <span t-field="o.amount_total"/>
|
|
|
+ <tr>
|
|
|
+ <td><span t-esc="o.supplier_invoice_number"/></td>
|
|
|
+ <td><span t-field="o.date_invoice"/></td>
|
|
|
+ <td><span t-esc="o.partner_id.ruc"/></td>
|
|
|
+ <td><span t-esc="o.partner_id.name"/></td>
|
|
|
+ <td class="text-right">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
|
</td>
|
|
|
- <td class="text-right">
|
|
|
- <span t-esc="o.amount_total-o.residual"/>
|
|
|
+ <td class="text-right">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(o.amount_total-o.residual)"/>
|
|
|
</td>
|
|
|
- <td class="text-right">
|
|
|
- <span t-field="o.residual"/>
|
|
|
+ <td class="text-right">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(o.residual)"/>
|
|
|
</td>
|
|
|
- <td><span t-field="o.currency_id.name"/></td>
|
|
|
- <td><span t-field="o.company_id.name"/></td>
|
|
|
- <td><span t-field="o.user_id.name"/></td>
|
|
|
+ <td><span t-field="o.user_id.name"/></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</t>
|
|
@@ -95,15 +91,15 @@
|
|
|
<td colspan="4">Total:</td>
|
|
|
<td class="text-right">
|
|
|
<t t-set="total" t-value="sum([x.amount_total for x in docs])"/>
|
|
|
- <span t-esc="total"/>
|
|
|
+ <span t-esc="'{0:,.0f}'.format(total)"/>
|
|
|
</td>
|
|
|
<td class="text-right">
|
|
|
<t t-set="total2" t-value="sum([x.amount_total-x.residual for x in docs])"/>
|
|
|
- <span t-esc="total2"/>
|
|
|
+ <span t-esc="'{0:,.0f}'.format(total2)"/>
|
|
|
</td>
|
|
|
<td class="text-right">
|
|
|
<t t-set="total3" t-value="sum([x.residual for x in docs])"/>
|
|
|
- <span t-esc="total3"/>
|
|
|
+ <span t-esc="'{0:,.0f}'.format(total3)"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|