Also show closing balance in report currency in Account Transactions with commodities
This commit is contained in:
parent
d3cd7eebaa
commit
05d503e2f4
@ -90,5 +90,16 @@
|
|||||||
<td>{% if amount >= 0 %}Dr{% else %}Cr{% endif %}</td>
|
<td>{% if amount >= 0 %}Dr{% else %}Cr{% endif %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
<tr class="total">
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
{% set closing_balance = closing_balance.exchange(report_currency, True) %}
|
||||||
|
<td style="text-align: right;"><span title="{{ closing_balance.tostr(False) }}">{{ closing_balance|abs|bc }}</span></td>
|
||||||
|
<td></td>
|
||||||
|
<td>{% if closing_balance >= 0 %}Dr{% else %}Cr{% endif %}</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user