fix: presentation currency in statement of accounts (#25367)
This commit is contained in:
parent
fbc0d16d8b
commit
18c7815a1b
@ -38,22 +38,22 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
{{ frappe.utils.fmt_money(row.debit, filters.presentation_currency) }}</td>
|
{{ frappe.utils.fmt_money(row.debit, currency=filters.presentation_currency) }}</td>
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
{{ frappe.utils.fmt_money(row.credit, filters.presentation_currency) }}</td>
|
{{ frappe.utils.fmt_money(row.credit, currency=filters.presentation_currency) }}</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><b>{{ frappe.format(row.account, {fieldtype: "Link"}) or " " }}</b></td>
|
<td><b>{{ frappe.format(row.account, {fieldtype: "Link"}) or " " }}</b></td>
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
{{ row.account and frappe.utils.fmt_money(row.debit, filters.presentation_currency) }}
|
{{ row.account and frappe.utils.fmt_money(row.debit, currency=filters.presentation_currency) }}
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
{{ row.account and frappe.utils.fmt_money(row.credit, filters.presentation_currency) }}
|
{{ row.account and frappe.utils.fmt_money(row.credit, currency=filters.presentation_currency) }}
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
{{ frappe.utils.fmt_money(row.balance, filters.presentation_currency) }}
|
{{ frappe.utils.fmt_money(row.balance, currency=filters.presentation_currency) }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user