Fix incorrect variable check
This commit is contained in:
parent
2f34a43b28
commit
42f12a2d27
@ -23,7 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% for form in form %}
|
{% for form in form %}
|
||||||
<div class="object__item object__item--col4">
|
<div class="object__item object__item--col4">
|
||||||
{% if item.variant %}
|
{% if form.instance.variant %}
|
||||||
{% with product=form.instance.variant.product %}
|
{% with product=form.instance.variant.product %}
|
||||||
{{form.id}}
|
{{form.id}}
|
||||||
<figure class="item__figure">
|
<figure class="item__figure">
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<span>{{form.quantity_fulfilled}} / {{form.instance.quantity}}</span>
|
<span>{{form.quantity_fulfilled}} / {{form.instance.quantity}}</span>
|
||||||
<span>{{form.instance.customer_note}}</span>
|
<span>{{form.instance.customer_note}}</span>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% elif item.product %}
|
{% elif form.instance.product %}
|
||||||
{% with product=form.instance.product %}
|
{% with product=form.instance.product %}
|
||||||
{{form.id}}
|
{{form.id}}
|
||||||
<figure class="item__figure">
|
<figure class="item__figure">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user