{% set etapaReached = false %} {% for id, etap in etapasArray() %} {% set stripped = '' %} {% if caso.etapa < id %} {% set stripped = 'progress-bar-striped' %} {% set etapaReached = true %} {% set colorBack = '#a8a4a4' %} {% set fontColor = '#FFF' %} {% set opacity = 'opacity:1' %} {% else %} {% set opacity = 'opacity:1' %} {% if id < caso.etapa %} {% set stripped = '' %} {% set opacity = 'opacity:0.4' %} {% endif %} {% set colorBack = etap.color %} {% set fontColor = etap.fontColor %} {% endif %} {% if id != constant('App\\Utils\\Etapas::ETAPA_JUICIO_INICIO') and id != constant('App\\Utils\\Etapas::ETAPA_IMPORTADO') %}
{{ etapaString(id) }}
{% endif %} {% endfor %}