{% if actions is defined %} {% for action in actions %}
{% endfor %} {% endif %} {% set totalCount = 0 %} {% set activeCount = 0 %} {% for categorie, items in groupedTypes %} {% for item in items %} {% set totalCount = totalCount + 1 %} {% set currentValue = matrix[item.nom][convention.formule.nom]|default('') %} {% if currentValue is not empty %} {% set activeCount = activeCount + 1 %} {% endif %} {% endfor %} {% endfor %}