123456789101112131415161718192021222324252627282930313233343536 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <template id="report_receipt"
- inherit_id="point_of_sale.report_receipt"
- name="Add taxes detail">
- <xpath expr="//div[@class='page']" position="inside">
- <table class="table table-condensed">
- <thead>
- <tr>
- <th>Tax</th>
- <th class="text-right">Base</th>
- <th class="text-right">Amount</th>
- </tr>
- </thead>
- <tbody>
- <tr t-foreach="o.taxes" t-as="tax">
- <td>
- <span t-esc="tax.name"/>
- </td>
- <td class="text-right">
- <span t-esc="formatLang(tax.base, currency_obj=res_company.currency_id)"/>
- </td>
- <td class="text-right">
- <span t-esc="formatLang(tax.amount, currency_obj=res_company.currency_id)"/>
- </td>
- </tr>
- </tbody>
- </table>
- </xpath>
- </template>
- </data>
- </openerp>
|