{% 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 stock in stocks %} {% if foo == 1 %}
{% endif %}
{{ stock.article.ref }}
{% set typeSize = stock.typeSize.description|split(' ') %} {% if typeSize | length == 1 %} {{ stock.typeSize.description }} {% endif %} {% if typeSize | length == 2 %} {{ typeSize[0] }} {{ typeSize[1] }} {% endif %}
{{ stock.article.articleModel.description | slice(0, 23) }}
{{ stock.article.articleColor.description | slice(0, 23) }}
{{ stock.article.alias }}
{% if stocksCheckDiscountArray[stock.id] is not defined %}
{{ stocksCheckDiscountCommondPriceArray[stock.id] | number_format(2, ',', '.')}}
{% else %}
{{ stocksCheckDiscountLabelArray[stock.id] }} {{ stocksCheckDiscountArray[stock.id] | number_format(2, ',', '.')}}
{% endif %}
{% if stock.getWebPathBarcode() %}
{{ arrayOfBarcodes[stock.id]|raw }}
{% if isLite == false %}
{{ stock.alias }} {% if stock.shopOwner.nameForLabels != "" %} | {{ stock.shopOwner.nameForLabels }} {% endif %}
{% else %}
{{ stocksHashCodes[stock.aliasLowDensity] }} {% if stock.shopOwner.nameForLabels != "" %} | {{ stock.shopOwner.nameForLabels }} {% endif %}
{% endif %} {% endif %}
{% if foo == numberOfLabelsPerPage %}
{% set foo = 1 %} {% else %} {% set foo = foo + 1 %} {% endif %} {% endfor %}
{% include 'CoreBundle:Default:components.html.twig' %} {% include 'CoreBundle:Default:style-pdf.html.twig' %}