{% 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 %}
{{ datos.2 }}
{% endif %}
{% endfor %}
{% if valor == 0 %}
{% endif %}
{% else %}
{% endif %}
{% endif %}
{% endfor %}
{% if ticket.adjuntos %}
{% set archivos = ticket.adjuntos|split(',') %}
{% for archivo in archivos %}
{% set datos = archivo|split('/') %}
{% set tipo = datos.0|split('.')%}
{{datos.3}}
{% endfor %}
{% endif %}
{% set archivo = "one,two,three"|split(',') %}
{% if ticket.idUltimoEstado != ticket.idestados or is_granted('ROLE_SUPER_ADMIN') or is_granted("ROLE_DISPACTH_1")%}
{% if ( (idUser == ticket.IdUserAsignado or idUser == ticket.userOpen) )or(is_granted('ROLE_DISPACTH_1')) %}
{% if ticket.rol %}
{% set acciones = ticket.rol|split(',') %}
{% for accion in acciones %}
{% set datos = accion|split('/') %}
{% if (is_granted(datos.0)) %}