{% form_theme formArticle 'bootstrap_3_layout.html.twig' %}
{% if elemento is defined and elemento is not null %}

{{ elemento.getBrand() }}

{{ elemento.getArticleModel() }} - {{ elemento.getArticleColor() }}

{% endif %}
{{ form_row(formArticle.articleModel, { 'attr': {'tabindex': '2'} }) }} {{ form_row(formArticle.articleColor, { 'attr': {'tabindex': '3'} }) }}
{{ form_row(formArticle.articleColorAssistant, { 'attr': {'tabindex': '3'} }) }}
{{ form_row(formArticle.dealer, { 'attr': {'tabindex': '4'} }) }}
{{ form_row(formArticle.brand, { 'attr': {'tabindex': '5'} }) }}
{% if orderId is defined and orderId is not null %} {% if article.id is not defined or article.id is null %} {{ form_row(formArticle.season, { 'value' : render(controller('CoreBundle:OrderArticle:getSeasonFromOrder', { 'orderId' : orderId })) }) }} {% else %} {{ form_row(formArticle.season , { 'attr': {'tabindex': '6'} }) }} {% endif %} {% else %} {{ form_row(formArticle.season , { 'attr': {'tabindex': '6'} }) }} {% endif %}
{% if order.dealer.defaultSerie is defined and order.dealer.defaultSerie is not null %} {{ form_row(formArticle.serie , { 'attr': {'tabindex': '7'}, 'value' : order.dealer.defaultSerie.id }) }} {% else %} {{ form_row(formArticle.serie , { 'attr': {'tabindex': '7'} }) }} {% endif %}
{{ form_row(formArticle.typeArticle, { 'attr': {'tabindex': '8'} }) }}
{{ form_row(formArticle.section , { 'attr': {'tabindex': '10'} }) }}
{{ form_row(formArticle.category , { 'attr': {'tabindex': '11'} }) }}
{{ form_row(formArticle.subcategory , { 'attr': {'tabindex': '12'} }) }}
{{ form_row(formArticle.ref, { 'attr': {'tabindex': '12'} }) }}
{{ form_row(formArticle.shoeLast , { 'attr': {'tabindex': '14'} }) }}
{{ form_row(formArticle.shoeLine , { 'attr': {'tabindex': '15'} }) }}
{{ form_row(formArticle.shoeHeel , { 'attr': {'tabindex': '16'} }) }}
{{ form_row(formArticle.shoeSole , { 'attr': {'tabindex': '17'} }) }}
{{ form_row(formArticle.shoeInsole , { 'attr': {'tabindex': '18'} }) }}
{{ form_row(formArticle.shoeLining , { 'attr': {'tabindex': '19'} }) }}
{{ form_row(formArticle.shoeSkin , { 'attr': {'tabindex': '20'} }) }}
{{ form_row(formArticle.externalSoftwareId , { 'attr': {'tabindex': '20'} }) }}

{% if article is defined %} {% endif %}
{{ form_row(formArticle.descriptionLabel , { 'attr': {'tabindex': '21'} }) }}
{{ form_row(formArticle.detail , { 'attr': {'tabindex': '21'} }) }}
{{ form_widget(formArticle.file, { 'attr': {'tabindex': '22'} }) }}

Atributos extra de artículos

Impuestos especiales de artículo

{{ form_row(formArticle.taxes , { 'attr': {'tabindex': '7'} }) }}
{{ form_row(formArticle.taxSupported , { 'attr': {'tabindex': '7'} }) }}