Removed redundant code in the templates of the journal entry form.
This commit is contained in:
parent
592910187b
commit
2f3ad99467
@ -32,7 +32,7 @@ First written: 2023/2/25
|
|||||||
currency_code_is_locked = currency_form.is_code_locked,
|
currency_code_is_locked = currency_form.is_code_locked,
|
||||||
debit_forms = currency_form.debit,
|
debit_forms = currency_form.debit,
|
||||||
debit_errors = currency_form.debit_errors,
|
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" %}
|
{% include "accounting/journal-entry/disbursement/include/form-currency.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -32,7 +32,7 @@ First written: 2023/2/25
|
|||||||
currency_code_is_locked = currency_form.is_code_locked,
|
currency_code_is_locked = currency_form.is_code_locked,
|
||||||
credit_forms = currency_form.credit,
|
credit_forms = currency_form.credit,
|
||||||
credit_errors = currency_form.credit_errors,
|
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" %}
|
{% include "accounting/journal-entry/receipt/include/form-currency.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -32,10 +32,10 @@ First written: 2023/2/25
|
|||||||
currency_code_is_locked = currency_form.is_code_locked,
|
currency_code_is_locked = currency_form.is_code_locked,
|
||||||
debit_forms = currency_form.debit,
|
debit_forms = currency_form.debit,
|
||||||
debit_errors = currency_form.debit_errors,
|
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_forms = currency_form.credit,
|
||||||
credit_errors = currency_form.credit_errors,
|
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" %}
|
{% include "accounting/journal-entry/transfer/include/form-currency.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user