Fixed the parameter passed to the credit line item subform in the transfer voucher form.
This commit is contained in:
parent
e4cc61552e
commit
d7d6929bf2
@ -82,7 +82,7 @@ First written: 2023/2/25
|
|||||||
{% with currency_index = currency_index,
|
{% with currency_index = currency_index,
|
||||||
side = "credit",
|
side = "credit",
|
||||||
line_item_index = loop.index,
|
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 %}
|
form = line_item_form.form %}
|
||||||
{% include "accounting/voucher/include/form-line-item.html" %}
|
{% include "accounting/voucher/include/form-line-item.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
Loading…
Reference in New Issue
Block a user