1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="report_contributionregister">
5 <t t-call="report.html_container">
6 <t t-foreach="docs" t-as="o">
7 <t t-call="report.external_layout">
9 <h2>PaySlip Lines by Contribution Register</h2>
12 <div class="row mt32 mb32">
13 <div class="col-xs-3">
14 <strong>Register Name:</strong>
17 <div class="col-xs-3">
18 <strong>Date From:</strong>
19 <p t-esc="data['form']['date_from']"/>
21 <div class="col-xs-3">
22 <strong>Date To:</strong>
23 <p t-esc="data['form']['date_to']"/>
27 <table class="table table-condensed">
33 <th>Quantity/Rate</th>
39 <tr t-foreach="get_payslip_lines(o)" t-as="r">
40 <td><span t-esc="r.get('payslip_name')"/></td>
41 <td><span t-esc="r['code']"/></td>
42 <td><span t-esc="r['name']"/></td>
43 <td><span t-esc="formatLang(r['quantity'])"/></td>
44 <td><span t-esc="formatLang(r['amount'])"/></td>
45 <td><span t-esc=" formatLang(r['total'], currency_obj=o.company_id and o.company_id.currency_id)"/></td>
51 <div class="col-xs-4 pull-right">
52 <table class="table table-condensed">
53 <tr class="border-black">
54 <td><strong>Total</strong></td>
55 <td class="text-right">
56 <span t-esc="formatLang(sum_total(), currency_obj = o.company_id and o.company_id.currency_id)"/>