| 1 |
<odoo> |
| 2 |
<template inherit_id="account.report_payment_receipt_document" id="report_payment_receipt_document"> |
| 3 |
<xpath expr="//table[@name='invoices']" position="before"> |
| 4 |
<t t-if="o.l10n_ar_withholding_ids"> |
| 5 |
<table id="l10n_ar_withholding" class="table table-sm"> |
| 6 |
<thead> |
| 7 |
<tr> |
| 8 |
<th><span>Tax</span></th> |
| 9 |
<th><span>Withholding number</span></th> |
| 10 |
<th><span>Base</span></th> |
| 11 |
<th><span>Amount</span></th> |
| 12 |
</tr> |
| 13 |
</thead> |
| 14 |
<tbody> |
| 15 |
<t t-foreach="o.l10n_ar_withholding_ids" t-as="line"> |
| 16 |
<tr> |
| 17 |
<td> |
| 18 |
<span t-field='line.tax_line_id.name'/> |
| 19 |
</td> |
| 20 |
<td> |
| 21 |
<span t-field='line.name'/> |
| 22 |
</td> |
| 23 |
<td class="text-end"> |
| 24 |
<span t-out="abs(line.tax_base_amount)" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/> |
| 25 |
</td> |
| 26 |
<td class="text-end"> |
| 27 |
<span t-out="abs(line.amount_currency)" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/> |
| 28 |
</td> |
| 29 |
</tr> |
| 30 |
</t> |
| 31 |
</tbody> |
| 32 |
</table> |
| 33 |
</t> |
| 34 |
</xpath> |
| 35 |
</template> |
| 36 |
</odoo> |