{% form_theme form _self %} {% block _DispatchNote_dispatchNoteItems_widget %} {% set hidden = (form.vars.value.dispatchNote is defined and form.parent.vars.value.havePurchase) ? false : true %}
# | {{ 'purchase.product'|trans({}, 'admin') }} | {{ 'purchase.pending'|trans({}, 'admin') }} | {{ 'purchase.quantity'|trans({}, 'admin') }} |
---|---|---|---|
{{ dispatchNoteItem.id }} | {% if dispatchNoteItem.ProductVariant is not null %} {{ dispatchNoteItem.ProductVariant.sku }} {% else %} {{ dispatchNoteItem.Product.sku }} {% endif %} | {{ dispatchNoteItem.pending }} | {{ dispatchNoteItem.quantity }} |