1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="report_payslipdetails">
5 <t t-call="report.html_container">
6 <t t-foreach="docs" t-as="o">
7 <t t-call="report.external_layout">
12 <table class="table table-condensed table-bordered">
14 <td><strong>Name</strong></td>
15 <td><span t-field="o.employee_id"/></td>
16 <td><strong>Designation</strong></td>
17 <td><span t-field="o.employee_id.job_id"/></td>
20 <td><strong>Address</strong></td>
22 <div t-field="o.employee_id.address_home_id"
23 t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/>
27 <td><strong>Email</strong></td>
28 <td><span t-field="o.employee_id.work_email"/></td>
29 <td><strong>Identification No</strong></td>
30 <td><span t-field="o.employee_id.job_id"/></td>
33 <td><strong>Reference</strong></td>
34 <td><span t-field="o.number"/></td>
35 <td><strong>Bank Account</strong></td>
36 <td><span t-field="o.employee_id.otherid"/></td>
39 <td><strong>Date From</strong></td>
40 <td><span t-field="o.date_from"/></td>
41 <td><strong>Date To</strong></td>
42 <td><span t-field="o.date_to"/></td>
46 <h3>Details by Salary Rule Category</h3>
47 <table class="table table-condensed mb32">
51 <th>Salary Rule Category</th>
56 <tr t-foreach="get_details_by_rule_category(o.details_by_salary_rule_category)" t-as="h">
58 <span t-esc="h['code']"/>
61 <span t-esc="'..'*h['level']"/><span t-esc="h['rule_category']"/>
64 <span t-esc="formatLang(h['total'], currency_obj=o.company_id.currency_id)"/>
70 <h3>Payslip Lines by Contribution Register</h3>
71 <table class="table table-condensed mt32">
76 <th>Quantity/rate</th>
82 <tr t-foreach="get_lines_by_contribution_register(o.line_ids)" t-as="p">
83 <td><span t-esc="p.get('code', '')"/></td>
84 <td><span t-esc="p.get('name', '')"/></td>
85 <td><span t-esc="p.get('quantity', '')"/></td>
86 <td><span t-esc="formatLang(p.get('amount', 0))"/></td>
87 <td><span t-esc="formatLang(p.get('total', 0), currency_obj=o.company_id.currency_id)"/></td>
92 <p class="text-right"><strong>Authorized signature</strong></p>