diff --git a/src/accounting/templates/accounting/report/balance-sheet.html b/src/accounting/templates/accounting/report/balance-sheet.html index 2a6aa91..8108dca 100644 --- a/src/accounting/templates/accounting/report/balance-sheet.html +++ b/src/accounting/templates/accounting/report/balance-sheet.html @@ -51,9 +51,7 @@ First written: 2023/3/7 {% endwith %} -{% with period = report.period, period_chooser = report.period_chooser %} - {% include "accounting/report/include/period-chooser.html" %} -{% endwith %} +{% include "accounting/report/include/period-chooser.html" %} {% include "accounting/report/include/search-modal.html" %} diff --git a/src/accounting/templates/accounting/report/include/period-chooser.html b/src/accounting/templates/accounting/report/include/period-chooser.html index 345cab3..6bf59e8 100644 --- a/src/accounting/templates/accounting/report/include/period-chooser.html +++ b/src/accounting/templates/accounting/report/include/period-chooser.html @@ -19,7 +19,7 @@ period-chooser.html: The period chooser Author: imacat@mail.imacat.idv.tw (imacat) First written: 2023/3/4 #} -