Actualizando esta campaña de rebajas. Quedan {{ threads | length }} artículos por incluir/excluir de esta campaña.
{% endif %}
{% if discount is defined %}
{% endif %}
{% if roleRight == true %}
{% endif %}
{% if discount is defined %}
{% endif %}
{% for flash_message in app.session.flashBag.get('success') %}
{{ discount.name }}
{{ flash_message }}
{% endfor %}
{{ form_label(form.name) }}
{{ form_widget(form.name) }}
{{ form_label(form.dateStart) }}
{{ form_widget(form.dateStart) }}
{{ form_label(form.nameForLabels) }}
{{ form_widget(form.nameForLabels) }}
{{ form_label(form.dateEnd) }}
{{ form_widget(form.dateEnd) }}
{{ form_label(form.shops) }}
{{ form_row(form.avoidTextAndHideDiscount, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(form.isAvailableOnWebsite, { 'attr': {'tabindex': '6'} }) }}
{{ form_label(form.labelWebsiteName) }}
{{ form_widget(form.labelWebsiteName) }}
{% if articlesIntoDiscount | length > 0 %}
{% if roleRight %}
{% endif %}
{% endif %}
{% set isTredico = group.groupConfiguration.trendico %}
{% set showReference = group.groupConfiguration.showReference %}
{% set useLocator = group.groupConfiguration.useLocator %}
{% set useLocatorAlias = group.groupConfiguration.useLocatorAlias %}
{% set showAutoincrementNumberForArticle = group.groupConfiguration.showAutoincrementNumberForArticle %}
{% set removeColumnsWith0UnitsInDiscounts = group.groupConfiguration.removeColumnsWith0UnitsInDiscounts %}
{% set showCostPriceWithoutTaxes = group.groupConfiguration.showCostPriceWithoutTaxes %}
COD-Artículo | {% if useLocator %} {% if useLocatorAlias %}Alias Localizador |
{% else %}
Localizador | {% endif %} {% endif %} {% if showAutoincrementNumberForArticle %}Nº Orden | {% endif %}Modelo | Color | Temporada | Proveedor | Marca | Sección | {% if isTredico or showReference %}Ref | {% endif %}Tipo de artículo |
Descripción etiqueta |
{% if roleRight == true %}
P.Coste | {% endif %}PVP | {% if groupConfiguration.articleExtraPricesSectionEnabled %}Tarifa extra | {% endif %}Inclusión en campaña | Descuento | Precio rebajas | Disponible | {% if roleRight == true %}Eliminar artículo | {% endif %}||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{% if 'amazonaws' in obj["articleWebPath"] %} {% set urlFilename = obj["articleWebPath"] %} {% else %} {% set urlFilename = 'uploads/' ~ obj["articleWebPath"] %} {% endif %} |
|
{% set textsAlias = obj["alias"]|split('-') %}
{{ textsAlias[1] }} | {% if useLocator %} {% if useLocatorAlias %}{{ obj["locatorAlias"] }} | {% else %}{{ obj["locator"] }} | {% endif %} {% endif %} {% if showAutoincrementNumberForArticle %}{{ obj["autoIncrement"] }} | {% endif %}{{ obj["articleModel"] }} | {{ obj["articleColor"] }} | {{ obj["season"] }} | {{ obj["dealer"] }} | {{ obj["brand"] }} | {{ obj["section"] }} | {% if isTredico or showReference %}{{ obj["ref"] }} | {% endif %}{% if obj["typeArticle"] is defined %}{{ obj["typeArticle"] }}{% endif %} | {{ obj["description_label"] }} | {% if roleRight == true %} {% if showCostPriceWithoutTaxes %} {% if obj["isBySizes"] == "1" %}{{ obj["defaultCostPrice"] }} | {% else %}{{ obj["stats_pc_resume_no_taxes"] | raw }} | {% endif %} {% endif %} {% else %} {% if obj["isBySizes"] == "1" %}{{ obj["defaultCostPrice"] }} | {% else %}{{ obj["stats_pc_resume"] | raw }} | {% endif %} {% endif %} {% endif %} {% endif %} {% if obj["isBySizes"] == "1" %}{{ obj["defaultPVP"] }}€ | {% else %}{{ obj["stats_pvp_resume"] | raw }} | {% endif %} {% endif %} {% if groupConfiguration.articleExtraPricesSectionEnabled %}{% if discount.typeArticlePrice %} {% set typeArticlePriceId = discount.typeArticlePrice.id %} {% if typeArticlePriceId == 1 %} {{ obj["price1"] }}{% if obj["price1"] %}€{% endif %} {% elseif typeArticlePriceId == 2 %} {{ obj["price2"] }}{% if obj["price2"] %}€{% endif %} {% elseif typeArticlePriceId == 10 %} {{ obj["price3"] }}{% if obj["price3"] %}€{% endif %} {% elseif typeArticlePriceId == 11 %} {{ obj["price4"] }}{% if obj["price4"] %}€{% endif %} {% elseif typeArticlePriceId == 12 %} {{ obj["price5"] }}{% if obj["price5"] %}€{% endif %} {% endif %} {% endif %} | {% endif %}{{ obj[0]["createdAt"] | date("d/m/Y H:i") }} | {% if (obj["typeDiscount"] == constant('CoreBundle\\Entity\\TypeDiscount::TYPE_DISCOUNT_AMOUNT') )%}Importe | {{ obj[0]["amount"] }}€ | {% endif %} {% if (obj["typeDiscount"] == constant('CoreBundle\\Entity\\TypeDiscount::TYPE_DISCOUNT_PERCENTAGE') )%}Porcentaje | ({{ obj[0]["amount"] }}%)
{% set priceRound = (obj[0]["pvp"] - ( (obj[0]["pvp"] * obj[0]["amount"] ) / 100 ) ) %} {{ priceRound | rounded_price(obj[0]["roundJson"]) | number_format(2, ',', '.') }}€ {% if obj[0]["roundJson"] != "" %} {{ rounded_info(obj[0]["roundJson"])|raw }} {% endif %} |
{% endif %}
{% if (obj["typeDiscount"] == "0" )%}
{{ obj[0]["amount"] }} | {% endif %} {% set articleAvailable = obj["stats_available"] %} {% if articleAvailable > 0 %}{% else %} | {% endif %} {% if roleRight == true %} | {% endif %} |