Articulo nº {{ loop }}
COD-Artículo
{{ article.alias }}
Modelo
{{ article.articleModel | upper }}
Color
{{ article.articleColor | upper }}
Marca
{{ article.brand | upper }}
Temp
{{ article.season | upper}}
Sección
{{ article.section | upper}}
Horma
{{ article.shoeLast | upper}}
Línea
{{ article.shoeLine | upper }}
Tacón
{{ article.shoeHeel | upper }}
Forro
{{ article.shoeLining | upper}}
Piso
{{ article.shoeSole | upper}}
Piel
{{ article.shoeSkin | upper}}
{% if valoration == "distro" %}
{% else %}
Costo Ud.
{% endif %}
{% if valoration == "distro" %}
{% else %} {% if checkUniqueCostPrice %}
{{ stock[0].costPrice | number_format(2, ',', '.') }}€
{% else %}
Precio por talla
{% endif %} {% endif %}
{% if valoration == "distro" %}
{% else %}
Costo Total
{% endif %}
{% if valoration == "distro" %}
{% else %}
{{ totalCost }}€
{% endif %}
{#
Total de descuento
-{{ render(controller('CoreBundle:OrderArticle:getSumOfDiscountForArticle', { 'orderId' : order.id, 'articleId' : article.id })) | round(2, 'floor') }}€
#} {% set totalDiscount = 0 %} {% if articleDiscounts is defined and articleDiscounts is not null %} {% for discount in articleDiscounts %} {% set totalDiscount = totalDiscount + (totalCost * discount.discount.value / 100) %} {% if valoration == "distro" %}
{% else %}
Dto. ({{ discount.discount.value }}%) - {{ discount.discount.description }}
-{{ (totalCost * discount.discount.value / 100) | number_format(2, '.', '') }}€
{% endif %} {% endfor %} {% endif %} {% if customArticleDiscounts is defined and customArticleDiscounts is not null %} {% for customDiscount in customArticleDiscounts %} {% set totalDiscount = totalDiscount + (totalCost * customDiscount.discount.value / 100) %} {% if valoration == "distro" %}
{% else %}
Dto. ({{ customDiscount.discount.value }}%)
-{{ (totalCost * customDiscount.discount.value / 100) | number_format(2, '.', '') }}€
{% endif %} {% endfor %} {% endif %}
{% if valoration == "distro" %}
{% else %}
Total Artículo
{% endif %}
{% if valoration == "distro" %}
{% else %}
{{ (totalCost - totalDiscount) | number_format(2, '.', '') }}€
{% endif %}
Detalle
{{ article.detail | upper}}
{#
Serie: {{ article.serie }}
#} {% if order.group.groupConfiguration.isLite %} {% include '@Core/Prints/standard_detail_print_distribution_table_lite.html.twig' %} {% else %} {% include '@Core/Prints/standard_detail_print_distribution_table.html.twig' %} {% endif %}