74 lines
4.1 KiB
XML
74 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<template id="report_hrsalarybymonth">
|
|
<t t-call="report.html_container">
|
|
<t t-call="report.internal_layout">
|
|
<div class="page">
|
|
<div class="text-center">
|
|
<h4 class="text-center"><strong>Yearly Salary Details</strong></h4>
|
|
<h5>From <u><span t-esc="formatLang(data['form']['start_date'], date=True)"/></u> To <u><span t-esc="formatLang(data['form']['end_date'], date=True)"/></u> of <u><span t-esc="data['form']['category_id'][1]"/></u> Category</h5>
|
|
</div>
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<tr style="border-top: 1px solid black">
|
|
<th>Name</th>
|
|
<t t-foreach="get_periods(data['form'])" t-as="m">
|
|
<th class="text-right" t-esc="m[0]" />
|
|
<th class="text-right" t-esc="m[1]" />
|
|
<th class="text-right" t-esc="m[2]" />
|
|
<th class="text-right" t-esc="m[3]" />
|
|
<th class="text-right" t-esc="m[4]" />
|
|
<th class="text-right" t-esc="m[5]" />
|
|
<th class="text-right" t-esc="m[6]" />
|
|
<th class="text-right" t-esc="m[7]" />
|
|
<th class="text-right" t-esc="m[8]" />
|
|
<th class="text-right" t-esc="m[9]" />
|
|
<th class="text-right" t-esc="m[10]" />
|
|
<th class="text-right" t-esc="m[11]" />
|
|
</t>
|
|
<th class="text-right">Total</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<t t-foreach="get_employee(data['form'])" t-as="e">
|
|
<tr>
|
|
<td t-esc="e[0]" />
|
|
<td class="text-right" t-esc="e[1]" />
|
|
<td class="text-right" t-esc="e[2]" />
|
|
<td class="text-right" t-esc="e[3]" />
|
|
<td class="text-right" t-esc="e[4]" />
|
|
<td class="text-right" t-esc="e[5]" />
|
|
<td class="text-right" t-esc="e[6]" />
|
|
<td class="text-right" t-esc="e[7]" />
|
|
<td class="text-right" t-esc="e[8]" />
|
|
<td class="text-right" t-esc="e[9]" />
|
|
<td class="text-right" t-esc="e[10]" />
|
|
<td class="text-right" t-esc="e[11]" />
|
|
<td class="text-right" t-esc="e[12]" />
|
|
<td class="text-right" t-esc="formatLang(e[13],currency_obj= company.currency_id)" />
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr class="border-black">
|
|
<t t-foreach="get_months_tol()" t-as="t">
|
|
<t t-foreach="t" t-as="tdata">
|
|
<t t-if="tdata=='Total'">
|
|
<td><strong><span>Total</span></strong></td>
|
|
</t>
|
|
<t t-if="tdata!='Total'">
|
|
<td class="text-right"><strong><span t-esc="formatLang(tdata, currency_obj=company.currency_id)"/></strong></td>
|
|
</t>
|
|
</t>
|
|
<td class="text-right"><strong><span t-esc="formatLang(get_total(), currency_obj=company.currency_id)" /></strong></td>
|
|
</t>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</data>
|
|
</openerp> |