Simplified the logic to test the total row in the ledger and income and expenses.

This commit is contained in:
imacat committed 2023-03-09 06:37:16 +08:00
1 parent 22bae7f766
commit e797cfeb8c
2 files changed
+2 -2

No files matched your search

@@ -183,7 +183,7 @@ First written: 2023/3/5
{% endif %}
{% endfor %}
</div>
{% if report.total_row is not none %}
{% if report.total_row %}
<div class="accounting-report-table-footer">
<div class="accounting-report-table-row">
<div>{{ A_("Total") }}</div>
@@ -180,7 +180,7 @@ First written: 2023/3/5
{% endif %}
{% endfor %}
</div>
{% if report.total_row is not none %}
{% if report.total_row %}
<div class="accounting-report-table-footer">
<div class="accounting-report-table-row">
<div>{{ A_("Total") }}</div>