{% set estado = 0 %} {% for ultimo in ultimoEstado %} {% if ultimo.idestados == tickets.0.idestados %} {% set estado = 1 %} {% endif %} {% endfor %}
{% if estado == 0 or is_granted('ROLE_SUPER_ADMIN') or is_granted("ROLE_DISPACTH_1")%}

{{'ticketDetail.option' | trans}}

{% for consulta in ticketOpciones %} {% if consulta.path != 'ticketDetalle' and is_granted(consulta.rol)%} {{consulta.accion | trans}} {% endif %} {% endfor %}
{% endif %}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5")%} {% endif %}

{{'ticketDetail.general' | trans}}

{% for ticket in tickets%}
{{ticket.ticket}}
{{ticket.proceso}}
{{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 is_granted("ROLE_COORDINADOR")%}
{%if ticket.estado != ticket.padre%}{{ticket.estado | upper}}{%endif%}
{%endif%}
{{ticket.userAsignado | upper}}
{% 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') %}
{%if ticket.fechaInicioReal!=''%}{{ticket.fechaInicioReal|date('Y-m-d H:i:s')}} {%else%}N/A{%endif%}
{%if ticket.fechaTerminacion!=''%}{{ticket.fechaTerminacion|date('Y-m-d H:i:s')}}{%else%}N/A{%endif%}
{% 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 %}
{% endif %} {% endif %}
{%if idproyectos == 27%}
Día1 EC / Día2 EC / Día3 EC / Día4 EC /
{%endif%} {% if estado != 1 or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{# {% if is_granted('ROLE_COORDINADOR') %} {% endif %} #}
{% if is_granted('ROLE_COORDINADOR') %} {% endif %}
{% endif %}
{% endfor %}

{{'ticketDetail.trackingactivities' | trans}}

{{'ticketDetail.trackingassignment' | trans}}

{{'ticketDetail.trackingdepartament' | trans}}

{% if is_granted('ROLE_COORDINADOR') %}
% {{'ticketDetail.progress' | trans}}
0 0% Complete (success)
{% endif %}

Site Info

{{ tickets.0.sitio }}
{{ sitioDatos.0.nombre }}
{{ sitioDatos.0.centroCosto }}
{{ sitioDatos.0.acceso }}
{{ sitioDatos.0.tipoAcceso }}
{{ sitioDatos.0.comoIngresar }}
{% for usuariosSitio in usuariosSitios %} {% endfor %}
Nombre Tecnico Telefono Especialidad
{{ usuariosSitio.nombre }} {{ usuariosSitio.telefono }} {{ usuariosSitio.especialidad }}

{{'ticketDetail.comments' | trans}}

{% if estado != 1 or is_granted("ROLE_SUPER_ADMIN") %}
{% endif %}

{{'ticketDetail.reassignment' | trans}}

{% if estado != 1 or is_granted("ROLE_SUPER_ADMIN")%}
{% endif %}
{% if is_granted('ROLE_COORDINADOR') %}

{{'ticketDetail.issueasp' | trans}}

{{'ticketDetail.escalation' | trans}}


*{{'ticketDetail.escalationprocess' | trans}}
{% endif %}
{%for field in fieldForm%} {{ form_start(form,{'attr': {'id': field.getGrupoid.nombre |replace({' ': ''})}}) }}

{{field.getGrupoid.nombre}}

{%if field.getGrupoid.template is null%} {%for campos in field.getGrupoid.camposDatosRecibo%}
{{form_widget(form.children[campos.label])}}
{%endfor%} {%else%} {%include field.getGrupoid.template %} {%endif%}
{{ form_end(form) }} {%endfor%}
{% if is_granted('ROLE_COORDINADOR') %} {{'ticketDetail.status.activities' | trans}} {% endif %}