{{ticket.ref}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{{ticket.prioridad | trans}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.idtipoProceso == 1 %}
{{ticket.tipoProceso}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endif %}
{%if is_granted("ROLE_COORDINADOR") == false%}
{{ ticket.nombre}}
{%endif%}
{%if is_granted("ROLE_COORDINADOR")%}{{ticket.padre | trans |upper}}{%else%}{{ticket.estado | trans}}{%endif%}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.idSitio == 1 %}
{{ticket.codigo}}
{{ticket.sitio | upper}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{{ticket.direccion | upper}}
{{ticket.region}}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.userExtSolicita == 1 %}
{{ticket.userExtSolicita}}
{{ticket.tlfExtSolicita}}
{{ticket.emailExtSolicita}}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.fechaFalla == 1 %}
{{ticket.fechaFalla|date('Y-m-d H:i:s')}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.idtipofallas == 1 %}
{{ticket.tipoFallas}}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.idfallas == 1 %}
{{ticket.fallas}}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.fechaInicioAct == 1 %}
{{ticket.fechaInicioAct|date('Y-m-d H:i:s')}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endif %}
{% if is_granted('ROLE_COORDINADOR') %}
{% endif %}
{% if proyectoDatosOpen == true %}
{% if proyectoDatosOpen.fechaFinPro == 1 %}
{{ticket.fechaFinPro|date('Y-m-d H:i:s')}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.fechaInicioAct == 1 and proyectoDatosOpen.fechaFinPro == 1 %}
{{ticket.duracion}}
{% endif %}
{% endif %}
{% if is_granted('ROLE_COORDINADOR') %}
{# Total dias>{{ticket.resta}}-Ericsson>{{ticket.diasEricsson}}-Cliente>{{ticket.diasCliente}}-Otros>{{ticket.diasOtros}}-ASP>{{ticket.diasAsp}}#}
{{ticket.tiempoEfectivo}}
{{ticket.tiempoEfectivoCSR}}
{{ticket.tiempoEfectivoASP}}
{% endif %}
{% for ticketsDato in ticketsDatos %}
{% if ticketsDato.type == "selectData"%}
{{ticketsDato.selectDato}}
{% if ticketsDato.descr2 == 1%}
Descripcion: {{ticketsDato.descr}}
{% endif %}
{% if ticketsDato.costo2 == 1%}Costo: {{ticketsDato.costo|number_format(2,',','.')}}
{% endif %}
{%elseif(ticketsDato.type == "date") %}
{{ticketsDato.valor }}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{%elseif(ticketsDato.type == "datetime") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{%elseif(ticketsDato.type == "text") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% elseif(ticketsDato.type == "textarea") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{%elseif(ticketsDato.type == "select") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{%elseif(ticketsDato.type == "longSelect") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% elseif(ticketsDato.type == "number") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% elseif(ticketsDato.type == "time") %}
{{ticketsDato.valor}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endfor %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.observacion == 1 %}
{{ticket.observacion}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.comentario == 1 %}
{{ticket.cometarios}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}
{% endif %}
{% endif %}
{% if proyectoDatosOpen == true%}
{% if proyectoDatosOpen.recomendacion == 1 %}
{{ticket.Recomendaciones}}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{% endif %}