{% macro startCard(col, zone = "default", card ='primary', fullWidth = false ) %} {% if col > 0 %}
{% endif %}

{% set label = "group."~zone %} {{ label|trans({}, 'lcshop')|raw }}

{% endmacro %} {% macro endCard(noCol = false) %}
{% if noCol == false %}
{% endif %} {% endmacro %} {% macro productField(colspan, field, fieldName, fieldDisplay = false, displaySuffix="",attr="") %} {% if fieldDisplay == false %}{% set fieldDisplay = fieldName %}{% endif %}
{% verbatim %}{{ {% endverbatim %}{{ fieldDisplay }} {% verbatim %}}}{% endverbatim %}{{ displaySuffix }}
{% verbatim %}{{ productFamily.{% endverbatim %}{{ fieldDisplay }} {% verbatim %}}}{% endverbatim %}{{ displaySuffix }}
{{ form_widget(field, {'attr' : {'v-model' : fieldName , 'v-on:focusout': fieldName~'Inherited = false', '@change' : fieldName~'Updated'}}) }}
{% endmacro %} {% macro priceField(field, fieldTax, fieldName, behaviorPriceValue) %}
{{ form_label(field) }}
{{ form_widget(field, {'attr' : {'v-model': fieldName, '@change' : fieldName~'Updated'}}) }}
€ HT {% if behaviorPriceValue == 'by-reference-unit' %}/ ${ unitReference }{% endif %}
{{ form_widget(fieldTax, {'attr' : {'v-model': fieldName ~ 'WithTax', '@change' : fieldName~'WithTaxUpdated'}}) }}
€ TTC {% if behaviorPriceValue == 'by-reference-unit' %}/ ${ unitReference }{% endif %}
{% endmacro %}