123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="report_diarioacc3"
- model="diarioacc.voucher"
- string="Listado de Entrada y Salida"
- report_type="qweb-pdf"
- name="analisis_accountvoucher.informe_diarioacc_por_fecha"
- file="analisis_accountvoucher.informe_diarioacc_por_fecha"
- />
- <template id="informe_diarioacc_por_fecha">
- <t t-call="report.html_container">
- <t t-call="report.external_layout">
- <div class="page">
- <style type="text/css">
- .crm_tcab{
- font-size: 3mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- .crm_tbody{
- font-size: 2.8mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- .logo1{
- width: 100%;
- top: 1.5cm;
- }
- .total1{
- font-size: 2.8mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- </style>
- <h3 class="text-center">Listado de Entrada y Salida</h3>
- <div class="logo1" />
- <table class="table table-condensed" style="width: 100%">
- <thead class="crm_tcad">
- <tr class="active">
- <th class="text-left"><u>Debe</u></th>
- <th class="text-right"><u>Habe</u></th>
- </tr>
- </thead>
- </table>
- <table class="table table-condensed" style="width: 100%">
- <thead class="crm_tcab">
- <tr class="active">
- <th class="text-left" style="width: 20%">Referencia</th>
- <th class="text-left" style="width: 15%">Moneda</th>
- <th class="text-center" style="border-right-style: solid">Entrada</th>
- <th class="text-left" style="width: 10%">Reg.Cobro</th>
- <th class="text-left" style="width: 15%"> </th>
- <th class="text-right" style="width: 20%">Salida</th>
- </tr>
- </thead>
- <t t-foreach="docs" t-as="o">
- <tbody>
- <tr>
- <td class="text-left" style="width: 20%">
- <span t-esc="o.reference"/>
- </td>
- <td class="text-left" style="width: 15%">
- <span t-esc="o.currency_id.name"/>
- </td>
- <td class="text-right" style="border-right-style: solid">
- <span t-field="o.amount_entrada"/>
- </td>
- <td class="text-right" style="width: 10%;">
- <span t-field="o.invoice_id"/>
- </td>
- <td class="text-right" style="width: 15%">
- <li> </li>
- </td>
- <td class="text-right" style="width: 20%">
- <span t-field="o.amount_salida"/>
- </td>
- </tr>
- </tbody>
- </t>
- <tr>
- <td colspan="6"></td>
- </tr>
- <tr class="border-black">
- <td colspan="1">Total:</td>
- <td class="text-right">
- <t t-set="totalent" t-value="sum([x.amount_entrada for x in docs])"/>
- <span t-esc="totalent" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
- </td>
- <td colspan="4"></td>
- <td class="text-right">
- <t t-set="totalsal" t-value="sum([x.amount_salida for x in docs])"/>
- <span t-esc="totalsal" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
- </td>
- </tr>
- <tr>
- <td colspan="1">Diferencia/Saldo:</td>
- <td colspan="5"></td>
- <td class="text-right">
- <t t-set="tsaldo" t-value="sum([x.saldo for x in docs])"/>
- <span t-esc="tsaldo" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
- </td>
- </tr>
- </table>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|