{% block stylesheets %} {% endblock %}
{% set foo = 1 %} {% if startLabelFromWhereToPrint > 0 %} {% for i in 1..startLabelFromWhereToPrint %} {% if foo == 1 %}
{% endif %}
{% if foo == numberOfLabelsPerPage %}
{% set foo = 1 %} {% else %} {% set foo = foo + 1 %} {% endif %} {% endfor %} {% endif %} {% for article in articles %} {% for i in 1..numberOfLabelsToPrint %} {% if foo == 1 %}
{% endif %}
TALLAS
PVP
{% for key, priceCommon in commmonPrice[article.id] %}
{% set arraySizes = priceCommon|sort %} {% if arraySizes | length > 1 %} {{ arraySizes|slice(0,1)|join(" ") }} - {{ arraySizes|slice(arraySizes|length-1,1)|join(" ") }} {% else %} {{ arraySizes|slice(0,1)|join(" ") }} {% endif %}
{{ key }}€
{% endfor %}
{% if article.getAbsolutePathBarcode() %}
{{ article.getalias }}
{% endif %}
{% if foo == numberOfLabelsPerPage %}
{% set foo = 1 %} {% else %} {% set foo = foo + 1 %} {% endif %} {% endfor %} {% endfor %}
{% include 'CoreBundle:Default:components.html.twig' %} {% include 'CoreBundle:Default:style-pdf.html.twig' %}