From 6e1d35eda4a58c6bbfd303bb478392004b8eca9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 8 Mar 2023 07:51:48 +0800 Subject: [PATCH] Revised the report-chooser.html template to simplify the reports. --- .../templates/accounting/report/balance-sheet.html | 8 ++------ .../accounting/report/include/report-chooser.html | 4 ++-- .../templates/accounting/report/income-expenses.html | 8 ++------ .../templates/accounting/report/income-statement.html | 8 ++------ src/accounting/templates/accounting/report/journal.html | 8 ++------ src/accounting/templates/accounting/report/ledger.html | 8 ++------ src/accounting/templates/accounting/report/search.html | 8 ++------ .../templates/accounting/report/trial-balance.html | 8 ++------ 8 files changed, 16 insertions(+), 44 deletions(-) diff --git a/src/accounting/templates/accounting/report/balance-sheet.html b/src/accounting/templates/accounting/report/balance-sheet.html index 70d1228..7d66cd9 100644 --- a/src/accounting/templates/accounting/report/balance-sheet.html +++ b/src/accounting/templates/accounting/report/balance-sheet.html @@ -56,9 +56,7 @@ First written: 2023/3/7 {% endif %} - {% with report_chooser = report.report_chooser %} - {% include "accounting/report/include/report-chooser.html" %} - {% endwith %} + {% include "accounting/report/include/report-chooser.html" %} {% include "accounting/report/include/currency-chooser.html" %} {% endif %} - {% with report_chooser = report.report_chooser %} - {% include "accounting/report/include/report-chooser.html" %} - {% endwith %} + {% include "accounting/report/include/report-chooser.html" %} {% include "accounting/report/include/currency-chooser.html" %}
{% endif %} - {% with report_chooser = report.report_chooser %} - {% include "accounting/report/include/report-chooser.html" %} - {% endwith %} + {% include "accounting/report/include/report-chooser.html" %} {% include "accounting/report/include/currency-chooser.html" %}