diff --git a/src/accounting/templates/accounting/transaction/expense/include/form.html b/src/accounting/templates/accounting/transaction/expense/include/form.html index da106f3..42bcac4 100644 --- a/src/accounting/templates/accounting/transaction/expense/include/form.html +++ b/src/accounting/templates/accounting/transaction/expense/include/form.html @@ -45,7 +45,7 @@ First written: 2023/2/25 {% endif %} {% endblock %} -{% block account_selector_modals %} +{% block form_modals %} {% with summary_helper = form.summary_helper.debit %} {% include "accounting/transaction/include/summary-helper-modal.html" %} {% endwith %} diff --git a/src/accounting/templates/accounting/transaction/include/form.html b/src/accounting/templates/accounting/transaction/include/form.html index d89a091..2ff482c 100644 --- a/src/accounting/templates/accounting/transaction/include/form.html +++ b/src/accounting/templates/accounting/transaction/include/form.html @@ -86,6 +86,6 @@ First written: 2023/2/26 {% include "accounting/transaction/include/entry-form-modal.html" %} -{% block account_selector_modals %}{% endblock %} +{% block form_modals %}{% endblock %} {% endblock %} diff --git a/src/accounting/templates/accounting/transaction/income/include/form.html b/src/accounting/templates/accounting/transaction/income/include/form.html index 73a9bdc..0e1b36d 100644 --- a/src/accounting/templates/accounting/transaction/income/include/form.html +++ b/src/accounting/templates/accounting/transaction/income/include/form.html @@ -45,7 +45,7 @@ First written: 2023/2/25 {% endif %} {% endblock %} -{% block account_selector_modals %} +{% block form_modals %} {% with summary_helper = form.summary_helper.credit %} {% include "accounting/transaction/include/summary-helper-modal.html" %} {% endwith %} diff --git a/src/accounting/templates/accounting/transaction/transfer/include/form.html b/src/accounting/templates/accounting/transaction/transfer/include/form.html index fad2b00..70bcdab 100644 --- a/src/accounting/templates/accounting/transaction/transfer/include/form.html +++ b/src/accounting/templates/accounting/transaction/transfer/include/form.html @@ -49,7 +49,7 @@ First written: 2023/2/25 {% endif %} {% endblock %} -{% block account_selector_modals %} +{% block form_modals %} {% with summary_helper = form.summary_helper.debit %} {% include "accounting/transaction/include/summary-helper-modal.html" %} {% endwith %}