{% set equipments = {} %} {% for vehicleSelling in sellingData.vehicleSellings %} {% set isVN = vehicleSelling.vehicleData.voVnType == 'VN' %} {% if isVN == true %} {% for item in vehicleSelling.vehicleData.equipmentsTypeIsEnabled.option_optional %} {% set equipments = equipments|merge({0:item}) %} {% endfor %} {% endif %} {% endfor %} {% if equipments|length > 0 %}
- {{ equipments[cptFirstTd] }} | {% endif %} {% if equipments[cptSecondTd] is defined %}- {{ equipments[cptSecondTd] }} | {% endif %}