1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report
- id="report_hr_contrato_id"
- string="Gastos HR Contratos"
- model="hr.contract"
- report_type="qweb-pdf"
- name="informes_hr_contrato.report_contrato1"
- file="informes_hr_contrato.report_contrato1"
- />
- <template id="report_contrato1">
- <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;
- }
-
- .sale_tbody{
- font-size: 2.8mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- .taxtotal{
- font-size: 2.8mm;
- }
- .total{
- font-size: 2.8mm;
- }
- .untotal{
- font-size: 2.8mm;
- }
- .logo1{
- width: 100%;
- top: 1.5cm;
- }
-
- </style>
- <h4 class="text-center">Listado de HR Contratos</h4>
- <div class="logo1"> </div>
- <table class="table table-bordered">
- <thead class="crm_tcab">
- <tr class="active">
- <th class="text-center">Descripción</th>
- <th class="text-center">Empleado/a</th>
- <th class="text-center">Tipo</th>
- <th class="text-center">Cargo</th>
- <th class="text-right">Salario</th>
- <th class="text-center">Fecha</th>
- </tr>
- </thead>
- <t t-foreach="docs" t-as="o">
- <tbody class="sale_tbody">
- <td class="text-left">
- <span t-field="o.name"/>
- </td>
- <td class="text-left">
- <span t-field="o.employee_id.name"/>
- </td>
- <td class="text-left">
- <span t-field="o.type_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.job_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.wage"/>
- </td>
- <td class="text-right">
- <span t-field="o.create_date" t-field-options='{"widget": "date"}'/>
- </td>
- </tbody>
- </t>
- <tr>
- <td colspan="6"></td>
- </tr>
- <tr class="border-black">
- <td colspan="3">Total:</td>
- <td class="text-right">
- <t t-set="total" t-value="sum([x.wage for x in docs])"/>
- <span t-esc="total" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
- </td>
- </tr>
-
-
- </table>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|