[I18N] Update translation templates with latest term changes
[odoo/odoo.git] / addons / hr_payroll / views / report_payslipdetails.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3 <data>
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">
8                 <div class="page">
9                     <h2>Pay Slip</h2>
10                     <p t-field="o.name"/>
11
12                     <table class="table table-condensed table-bordered">
13                         <tr>
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>
18                         </tr>
19                         <tr>
20                             <td><strong>Address</strong></td>
21                             <td colspan="3">
22                                 <div t-field="o.employee_id.address_home_id"
23                                     t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/>
24                             </td>
25                         </tr>
26                         <tr>
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>
31                         </tr>
32                         <tr>
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>
37                         </tr>
38                         <tr>
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>
43                         </tr>
44                     </table>
45
46                     <h3>Details by Salary Rule Category</h3>
47                     <table class="table table-condensed mb32">
48                         <thead>
49                             <tr>
50                                 <th>Code</th>
51                                 <th>Salary Rule Category</th>
52                                 <th>Total</th>
53                             </tr>
54                         </thead>
55                         <tbody>
56                             <tr t-foreach="get_details_by_rule_category(o.details_by_salary_rule_category)" t-as="h">
57                                 <td>
58                                     <span t-esc="h['code']"/>
59                                 </td>
60                                 <td>
61                                     <span t-esc="'..'*h['level']"/><span t-esc="h['rule_category']"/>
62                                 </td>
63                                 <td>
64                                     <span t-esc="formatLang(h['total'], currency_obj=o.company_id.currency_id)"/>
65                                 </td>
66                             </tr>
67                         </tbody>
68                     </table>
69
70                     <h3>Payslip Lines by Contribution Register</h3>
71                     <table class="table table-condensed mt32">
72                         <thead>
73                             <tr>
74                                 <th>Code</th>
75                                 <th>Name</th>
76                                 <th>Quantity/rate</th>
77                                 <th>Amount</th>
78                                 <th>Total</th>
79                             </tr>
80                         </thead>
81                         <tbody>
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>
88                             </tr>
89                         </tbody>
90                     </table>
91
92                     <p class="text-right"><strong>Authorized signature</strong></p>
93                 </div>
94             </t>
95         </t>
96     </t>
97 </template>
98 </data>
99 </openerp>