Simplified the logic to test the total row in the ledger and income and expenses.
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user