|
|
|
|
|
|
|
|
<select class="product-list-component-select" name="product-component"> |
|
|
<select class="product-list-component-select" name="product-component"> |
|
|
<option value="0-x">Kérem válasszon</option> |
|
|
<option value="0-x">Kérem válasszon</option> |
|
|
{% for component in components %} |
|
|
{% for component in components %} |
|
|
<option value="{{ component.parentManufacturerId }}-{{ component.id }}" |
|
|
|
|
|
{% if product.parentComponentId is same as(component.id) %} selected {% endif %} |
|
|
|
|
|
{% if product.correctStatus is same as('CORRECT_IMPORTED') %} disabled="true" |
|
|
|
|
|
{% endif %}>{{ componentManufacturers[component.id] }} ({{ component.axicoIdName }}) {{ component.name }}</option> |
|
|
|
|
|
|
|
|
<option value="{{ component.parentManufacturerId }}-{{ component.id }}" {% if product.parentComponentId is same as(component.id) %} selected {% endif %}> |
|
|
|
|
|
{{ componentManufacturers[component.id] }} ({{ component.axicoIdName }}) {{ component.name }} |
|
|
|
|
|
</option> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% if product.axicoId|length is not same as(0) and product.correctStatus is not same as('CORRECT_IMPORTED') %} |
|
|
|
|
|
<option data-field-attr-mid="-1" |
|
|
|
|
|
value="0-0-revokeAxicoId" |
|
|
|
|
|
{% if product.correctStatus is same as('CORRECT_IMPORTED') %} disabled="true"{% endif %}>Cikkszám visszavonása</option> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
<option data-field-attr-mid="-1" value="0-0-revokeAxicoId">Cikkszám visszavonása</option> |
|
|
</select> |
|
|
</select> |
|
|
</td> |
|
|
</td> |
|
|
{% endif %} |
|
|
{% endif %} |