{% set batchGrPend = [] %} {% for goldenRulePend in allPendingGoldenRules %} {% set batchGrPend = batchGrPend|merge([goldenRulePend.id ~ ':' ~ goldenRulePend.type]) %} {% endfor %} {% set standarWidth = "20" %}{% set colspan = "7" %} {% if grArrayData.type == "product" %} {% set standarWidth = "10" %}{% set colspan = "8" %} {% endif %} {% for gr in grArrayData.goldenRulesList %} {% if (gr.current != 1) %} {% endif %} {% else %} {% endfor %}
Canal {{ grArrayData.title }} MarkupPrecio especĂ­ficoFecha inicial Fecha final Estado Acciones
{{ gr.mkpConfigName }} {{ gr.mkpConfigName }} {% if gr.type == 'product' %} ({{ gr.productSku }}) {{ gr.productName }} {% elseif gr.type == 'tag' %} {{ gr.tagName }} {% elseif gr.type == 'brand' %} (id: {{ gr.brandId }}) {{ gr.brandName }} {% elseif gr.type == 'category' %} ({{ gr.categoryCode }}) {{ gr.categoryName }} {% elseif gr.type == 'publicationOptions' %} {{ gr.publicationOptions }} {% else %} {{ gr.name }} {% endif %} {{ gr.markup is not empty ? gr.markup~'%' : '' }} {{ gr.specificPrice is not empty ? '$' ~ gr.specificPrice : '' }} {{ gr.startDate.date | date('d-m-Y H:i:s') }} {% if gr.endDate is not null %}{{ gr.endDate.date | date('d-m-Y H:i:s') }}{% endif %} {% if gr.status %}Activa{% else %}No activa{% endif %}
{% if goldenRules.error is defined %}{{ goldenRules.message }}{% else %}No existen golden rules por {{ grArrayData.title|lower }}.{% endif %}