{% for campo in campos %} {% if campo.nombre not in ["PROGRESS","DOWNLOAD"] %} {% endif %} {% if campo.nombre == "PROGRESS" %} {% endif %} {% if campo.nombre == "DOWNLOAD" %} {% endif %} {% endfor %} {% for ticket in tickets%} {% for campo in campos %} {% if campo.nombre not in ["PROGRESS","DOWNLOAD"] %} {% if campo.tabla != 'ticket_datos' %} {% elseif campo.tabla == 'ticket_datos' %} {% if ticket.ticketDatos %} {% set ticketDatos = ticket.ticketDatos|split(',') %} {% set valor = 0 %} {% for ticketDato in ticketDatos %} {% set datos = ticketDato|split('/') %} {% if campo.nameBD == datos.0 %} {% set valor = 1 %} {% endif %} {% endfor %} {% if valor == 0 %} {% endif %} {% else %} {% endif %} {% endif %} {% endif %} {% if campo.nombre == "PROGRESS" %} {% endif %} {% if campo.nombre == "DOWNLOAD" %} {% endif %} {% endfor %} {% endfor %}
{{campo.nombre | trans}}{{'inbox.accion' | trans}}