Simplified the logic to test the total row in the ledger and income and expenses.
This commit is contained in:
parent
22bae7f766
commit
e797cfeb8c
@ -183,7 +183,7 @@ First written: 2023/3/5
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% if report.total_row is not none %}
|
{% if report.total_row %}
|
||||||
<div class="accounting-report-table-footer">
|
<div class="accounting-report-table-footer">
|
||||||
<div class="accounting-report-table-row">
|
<div class="accounting-report-table-row">
|
||||||
<div>{{ A_("Total") }}</div>
|
<div>{{ A_("Total") }}</div>
|
||||||
|
@ -180,7 +180,7 @@ First written: 2023/3/5
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% if report.total_row is not none %}
|
{% if report.total_row %}
|
||||||
<div class="accounting-report-table-footer">
|
<div class="accounting-report-table-footer">
|
||||||
<div class="accounting-report-table-row">
|
<div class="accounting-report-table-row">
|
||||||
<div>{{ A_("Total") }}</div>
|
<div>{{ A_("Total") }}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user