1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="report_payslip">
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 <table class="table table-condensed">
51 <th>Quantity/rate</th>
57 <tr t-foreach="get_payslip_lines(o.line_ids)" t-as="p">
58 <td><span t-field="p.code"/></td>
59 <td><span t-field="p.name"/></td>
60 <td><span t-field="p.quantity"/></td>
61 <td><span t-esc="formatLang(p.amount, currency_obj=o.company_id.currency_id)"/></td>
62 <td><span t-esc="formatLang(p.total, currency_obj=o.company_id.currency_id)"/></td>
67 <p class="text-right"><strong>Authorized signature</strong></p>