[I18N] Update translation templates with latest term changes
[odoo/odoo.git] / addons / hr_payroll / views / report_payslip.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3 <data>
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">
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                     <table class="table table-condensed">
47                         <thead>
48                             <tr>
49                                 <th>Code</th>
50                                 <th>Name</th>
51                                 <th>Quantity/rate</th>
52                                 <th>Amount</th>
53                                 <th>Total</th>
54                             </tr>
55                         </thead>
56                         <tbody>
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>
63                             </tr>
64                         </tbody>
65                     </table>
66
67                     <p class="text-right"><strong>Authorized signature</strong></p>
68                 </div>
69             </t>
70         </t>
71     </t>
72 </template>
73 </data>
74 </openerp>