Fixed the parameter passed to the credit line item subform in the transfer voucher form.

This commit is contained in:
依瑪貓 2023-03-20 18:53:16 +08:00
parent e4cc61552e
commit d7d6929bf2

View File

@ -82,7 +82,7 @@ First written: 2023/2/25
{% with currency_index = currency_index,
side = "credit",
line_item_index = loop.index,
only_one_line_item_form = debit_forms|length == 1,
only_one_line_item_form = credit_forms|length == 1,
form = line_item_form.form %}
{% include "accounting/voucher/include/form-line-item.html" %}
{% endwith %}