{{'ticketDetail.inbox' | trans}}
{% set estado = 0 %} {% for ultimo in ultimoEstado %} {% if ultimo.idestados == tickets.0.idestados %} {% set estado = 1 %} {% endif %} {% endfor %} {% set adjuntos = "" %} {% set adjuntos = tickets.0.adjuntos %}
{% if estado == 0 or is_granted('ROLE_SUPER_ADMIN') or is_granted("ROLE_DISPACTH_1") %} {% if (ticketOpciones == true and ticketOpciones|length >1 )or (idproyectos ==6 and tickets.0.idestados == 161 and is_granted('ROLE_CONTROL_CALIDAD') and (tickets.0.idproceso ==1 or tickets.0.idproceso ==2 or tickets.0.idproceso ==4 or tickets.0.idproceso ==61 ))%}

{% if idproyectos ==6 and (tickets.0.idproceso ==1 or tickets.0.idproceso ==2 or tickets.0.idproceso ==4 or tickets.0.idproceso ==61) and is_granted('ROLE_CONTROL_CALIDAD') and tickets.0.idestados == 161 %} Validar Q/A {% endif %} {% for consulta in ticketOpciones %} {% if consulta.path != 'ticketDetalleNew' and is_granted(consulta.rol) %} {{consulta.accion | trans}} {% endif %} {% endfor %}
{% endif %} {% endif %} {% if tickets.0.linkdescarga %}

{{'inbox.attachment' | trans}}

{% endif %}
{% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}

  • {{'ticketDetail.legend' | trans}}
  • {{'ticketDetail.edit' | trans}}
  • {{'ticketDetail.save' | trans}}
  • {{'ticketDetail.cancel' | trans}}
{% endif %}

{{'ticketDetail.general' | trans}}


{% for ticket in tickets%}
{{ticket.ticket}}
{{ticket.proceso}} - {{ ticket.tipoProceso }}
{{ticket.ref}} {% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %}
{{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 siteTicket is not null %}

{{ siteTicket.ticket }}
{#
#}
{% 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 %}
{% if ticket.fechaFinPro == true %} {{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 %} {% endif %} {% if proyectoDatosOpen == true%} {% if proyectoDatosOpen.fechaInicioAct == 1 and proyectoDatosOpen.fechaFinPro == 1 %}
{{ticket.duracion}}
{% endif %} {% endif %} {% if is_granted('ROLE_COORDINADOR') and idproyectos != 44 %}
{# 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%} {{'ticketDetail.datos.descripcion' | trans}}: {{ticketsDato.descr}} {% endif %} {% if ticketsDato.costo2 == 1%} {{'ticketDetail.datos.costo' | trans}}: {{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") %} {% if red == true and idproceso == 16 and ticketsDato.idetiquetas == 13 %} {% else %} {% endif %} {% 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 == "selectMultiple") %} {{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 %} {% elseif(ticketsDato.type == "logTime") %} {{ticketsDato.valor}} {% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %} {% set tiempoLongTime = ticketsDato.valor|split(':') %}
: :
{% 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 %}

{% endfor %}

{{'ticketDetail.trackingactivities' | trans}}

{{'ticketDetail.trackingassignment' | trans}}

{{'ticketDetail.trackingdepartament' | trans}}

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

SLA
{% endif %}
{{ 'inbox.accion' | trans }}

SITE INFO

  • {{ tickets.0.sitio }}
  • {{ sitioDatos.0.categoria }}
  • {{ sitioDatos.0.nombre }}
  • {{ sitioDatos.0.ciudadBase1 }}
  • {{ sitioDatos.0.ciudadBase2 }}
  • {{ sitioDatos.0.acceso }}
  • {{ sitioDatos.0.tipoAcceso }}
  • {{ sitioDatos.0.comoIngresar }}
{% for usuariosSitio in usuariosSitios %} {% endfor %}
{{'user.name' | trans}} {{'user.phone' | trans}} {{'ticketDetail.datos.depar' | trans}} {{'ticketDetail.datos.turnoE' | trans}} {{'ticketDetail.datos.cmtto' | trans}}
{{ usuariosSitio.nombre }} {{ usuariosSitio.telefono }} {{ usuariosSitio.especialidad }} {{ usuariosSitio.turno }} {{ usuariosSitio.ciudadBase }}

{{'ticketDetail.comments' | trans}}

{% if estado != 1 %}
{% endif %}

{{'ticketDetail.reassignment' | trans}}

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

{{'ticketDetail.issueasp' | trans}}

{{'ticketDetail.escalationtrack' | trans}}


*{{'ticketDetail.escalationprocess' | trans}}

CHECK

{% 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%}