123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="report_cabventa3"
- model="cabventa.report"
- string="Listado de Ventas"
- report_type="qweb-pdf"
- name="report_analisiscabventa.informe_cabventa_por_fecha"
- file="report_analisiscabventa.informe_cabventa_por_fecha"
- />
- <template id="informe_cabventa_por_fecha">
- <t t-call="report.html_container">
- <t t-call="report.external_layout">
- <div class="page">
- <div class="row">
- <div class="col-xs-12 col-sm-12">
- <div class="panel panel-info">
- <div class="panel-heading text-center">
- <h4 class="text-center">Listado de Ventas</h4>
- </div>
- <table class="table table-condenced table-bordered">
- <thead>
- <tr class="active">
- <th class="text-center">Fecha</th>
- <th class="text-center">Nro Venta</th>
- <th class="text-center">Cliente</th>
- <th class="text-center">Total Gs</th>
- <th class="text-center">Total $</th>
- <th class="text-center">Moneda</th>
- <th class="text-center">Sucursal</th>
- </tr>
- </thead>
- <tbody>
- <t t-foreach="docs" t-as="o">
- <tr>
- <td class="text-left">
- <span t-field="o.date" t-field-options='{"widget": "date"}'/>
- </td>
- <td class="text-left">
- <span t-esc="o.origin"/>
- </td>
- <td class="text-left">
- <span t-esc="o.partner_id.name"/>
- </td>
- <td class="text-right success">
- <span t-esc="'{0:,.0f}'.format(round(float(o.amount_total), 0))"/>
- </td>
- <td class="text-right success">
- <span t-esc="'{0:,.2f}'.format(round(float(o.amount_totald), 0))"/>
- </td>
- <td class="text-center">
- <span t-field="o.currency_id"/>
- </td>
- <td class="text-left">
- <span t-field="o.section_id"/>
- </td>
- </tr>
- </t>
- </tbody>
- </table>
- <div class="panel-footer text-right">
- <strong>Total Gs. : <t t-set="tsaldo" t-value="sum([x.amount_total for x in docs])"/>
- <span t-esc="'{0:,.0f}'.format(round(float(tsaldo), 0))"/>
- </strong>
- </div>
- <div class="panel-footer text-right">
- <strong>Total $.: <t t-set="tsaldod" t-value="sum([x.amount_totald for x in docs])"/>
- <span t-esc="'{0:,.2f}'.format(round(float(tsaldod), 0))"/>
- </strong>
- </div>
- </div>
- </div>
- </div>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|