69 lines
2.6 KiB
XML
69 lines
2.6 KiB
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<template id="report_payslip_ken" inherit_id="hr_payroll.report_payslip" primary="True">
|
|
<div id="infos_table" position="inside">
|
|
<table class="table table-sm table-borderless">
|
|
<thead class="o_black_border">
|
|
<tr>
|
|
<th>National ID</th>
|
|
<th>KRA PIN</th>
|
|
<th>NSSF Number</th>
|
|
<th>SHIF Number</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span t-field="o.version_id.identification_id"/></td>
|
|
<td><span t-field="o.employee_id.l10n_ke_kra_pin"/></td>
|
|
<td><span t-field="o.employee_id.l10n_ke_nssf_number"/></td>
|
|
<td><span t-field="o.employee_id.l10n_ke_shif_number"/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="to_pay" position="replace"/>
|
|
</template>
|
|
|
|
<template id="report_payslip_ken_lang">
|
|
<t t-call="web.html_container">
|
|
<t t-foreach="docs" t-as="o">
|
|
<t t-set="o" t-value="o.with_context(lang=o.employee_id.lang or o.env.lang)"/>
|
|
<t t-call="l10n_ke_hr_payroll.report_payslip_ken" t-lang="o.env.lang"/>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
|
|
<template id="report_light_payslip_ken" inherit_id="hr_payroll.report_light_payslip" primary="True">
|
|
<div id="to_pay" position="replace">
|
|
<table class="table table-sm table-borderless">
|
|
<thead class="o_black_border">
|
|
<tr>
|
|
<th><strong>National ID</strong></th>
|
|
<th><strong>KRA PIN</strong></th>
|
|
<th><strong>NSSF Number</strong></th>
|
|
<th><strong>SHIF Number</strong></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span t-field="o.version_id.identification_id"/></td>
|
|
<td><span t-field="o.employee_id.l10n_ke_kra_pin"/></td>
|
|
<td><span t-field="o.employee_id.l10n_ke_nssf_number"/></td>
|
|
<td><span t-field="o.employee_id.l10n_ke_shif_number"/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="report_light_payslip_ken_lang">
|
|
<t t-call="web.html_container">
|
|
<t t-foreach="docs" t-as="o">
|
|
<t t-set="o" t-value="o.with_context(lang=o.employee_id.lang or o.env.lang)"/>
|
|
<t t-call="l10n_ke_hr_payroll.report_light_payslip_ken" t-lang="o.env.lang"/>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</odoo>
|