{% for ano in anos %}
    {% for key,badge in totales[ano.ano]|slice(1) %}
  • {{badge}}
    {{key|humanize}}
  • {% endfor %}

{% for mes in meses %} {% set id = ano.ano ~ mes.id %} {% if data[id] is defined %} {% for item in data[id] %}
{{mes.name}} {{item.diaTotal}}
Venta: {{item.diaVenta}}
Indemnización: {{item.diaIndemnizacion}}
Periodo: {{item.periodo}}

{{item.diaInicio}} a {{item.diaFin}}

{{item.consideracion}}
{% endfor %} {% endif %} {% endfor %}
{% endfor %}