diff --git a/src/accounting/templates/accounting/journal-entry/disbursement/include/form.html b/src/accounting/templates/accounting/journal-entry/disbursement/include/form.html index 2cd2ebc..9c2c98c 100644 --- a/src/accounting/templates/accounting/journal-entry/disbursement/include/form.html +++ b/src/accounting/templates/accounting/journal-entry/disbursement/include/form.html @@ -32,7 +32,7 @@ First written: 2023/2/25 currency_code_is_locked = currency_form.is_code_locked, debit_forms = currency_form.debit, debit_errors = currency_form.debit_errors, - debit_total = currency_form.form.debit_total|accounting_format_amount %} + debit_total = currency_form.debit_total|accounting_format_amount %} {% include "accounting/journal-entry/disbursement/include/form-currency.html" %} {% endwith %} {% endfor %} diff --git a/src/accounting/templates/accounting/journal-entry/receipt/include/form.html b/src/accounting/templates/accounting/journal-entry/receipt/include/form.html index 2b44a41..b62f9e2 100644 --- a/src/accounting/templates/accounting/journal-entry/receipt/include/form.html +++ b/src/accounting/templates/accounting/journal-entry/receipt/include/form.html @@ -32,7 +32,7 @@ First written: 2023/2/25 currency_code_is_locked = currency_form.is_code_locked, credit_forms = currency_form.credit, credit_errors = currency_form.credit_errors, - credit_total = currency_form.form.credit_total|accounting_format_amount %} + credit_total = currency_form.credit_total|accounting_format_amount %} {% include "accounting/journal-entry/receipt/include/form-currency.html" %} {% endwith %} {% endfor %} diff --git a/src/accounting/templates/accounting/journal-entry/transfer/include/form.html b/src/accounting/templates/accounting/journal-entry/transfer/include/form.html index f6a3246..efcc7b9 100644 --- a/src/accounting/templates/accounting/journal-entry/transfer/include/form.html +++ b/src/accounting/templates/accounting/journal-entry/transfer/include/form.html @@ -32,10 +32,10 @@ First written: 2023/2/25 currency_code_is_locked = currency_form.is_code_locked, debit_forms = currency_form.debit, debit_errors = currency_form.debit_errors, - debit_total = currency_form.form.debit_total|accounting_format_amount, + debit_total = currency_form.debit_total|accounting_format_amount, credit_forms = currency_form.credit, credit_errors = currency_form.credit_errors, - credit_total = currency_form.form.credit_total|accounting_format_amount %} + credit_total = currency_form.credit_total|accounting_format_amount %} {% include "accounting/journal-entry/transfer/include/form-currency.html" %} {% endwith %} {% endfor %}