diff --git a/accounting/templates/accounting/accounts/index.html b/accounting/templates/accounting/accounts/index.html index aa6f07b..8fda04b 100644 --- a/accounting/templates/accounting/accounts/index.html +++ b/accounting/templates/accounting/accounts/index.html @@ -37,7 +37,6 @@ First written: 2020/7/1 {{ _("New")|force_escape }} - {% report_url as reports %} {% with current_report_icon="fas fa-list-ol" current_report_title=_("Accounts") %} {% include "accounting/include/report-chooser.html" %} {% endwith %} diff --git a/accounting/templates/accounting/balance-sheet.html b/accounting/templates/accounting/balance-sheet.html index a98d6bb..8caab1a 100644 --- a/accounting/templates/accounting/balance-sheet.html +++ b/accounting/templates/accounting/balance-sheet.html @@ -53,7 +53,7 @@ First written: 2020/7/20 - {% with current_report_icon="fas fa-balance-scale" current_report_title=_("Balance Sheet") %} + {% with current_report_icon="fas fa-balance-scale" current_report_title=_("Balance Sheet") period=period %} {% include "accounting/include/report-chooser.html" %} {% endwith %} + {% report_url cash_account=cash_account ledger_account=ledger_account period=period as report_url %} - {% with current_report_icon="fas fa-file-invoice" current_report_title=_("Income Statement") %} + {% with current_report_icon="fas fa-file-invoice" current_report_title=_("Income Statement") period=period %} {% include "accounting/include/report-chooser.html" %} {% endwith %}