{{'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' | trans}} Q/A {% endif %} {% for consulta in ticketOpciones %} {% if consulta.path != 'ticketDetalle' and is_granted(consulta.rol) %} {{consulta.accion | trans}} {% endif %} {% endfor %}
{% endif %} {% endif %} {% if tickets.0.adjuntos == true %}

{{'inbox.attachment' | trans}}

{% set archivos = adjuntos|split(',') %} {% for archivo in archivos %} {% set datos = archivo|split('/') %} {% set tipo = datos.0|split('.')%} {{datos.3}} {% endfor %}
{% 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.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}} {% if (is_granted('ROLE_DISPACTH_1') and estado == 0) or is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_CONTROL_CASOS_5") %} {% endif %}
{{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 %}
{% 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.descr22 == 1%} {{'ticketDetail.datos.descripcion' | trans}}: {{ticketsDato.descr2}} {% 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 %}
{% 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') and is_granted('ROLE_CONTROL_ASP') == false %} {% if idproceso!=64 and idproceso!=82 %} {% endif %} {% endif %} {% if is_granted('ROLE_COORDINADOR') and is_granted('ROLE_CONTROL_ASP') == false %} {% if idproceso!=64 and idproceso!=82 %} {%endif %} {% endif %} {% if idproyectos!=52%}
{%endif %} {% if idproceso == 4 and idproyectos == 10 %} {% endif %} {% if idproyectos == 52%}
{%endif %} {% if is_granted('ROLE_MEXICO') and (idproyectos == 11)%} {% endif %} {% if is_granted('ROLE_MEXICO') and (idproyectos == 60)%} {% endif %} {% if is_granted('ROLE_MS_HONDURAS') and (idproyectos ==226 or idproyectos ==30 or idproyectos == 32 or idproyectos == 39 or idproyectos == 35 or idproyectos == 36 or idproyectos == 38 or idproyectos == 31 or idproyectos == 34 or idproyectos == 37 or idproyectos == 41 or idproyectos ==57) %}
{% endif %} {% if idproyectos == 44 and idproceso==64%} {% endif %} {# if is_granted('ROLE_CAJA_CHICA') %} {% endif #} {% if is_granted('ROLE_COORDINADOR') %} {% if idproceso!=1 and idproceso!=64 and idproceso!=82 %} {# if idproceso == 4 and idproyectos == 10 %} {% else #} {# endif #} {% endif %} {% endif %} {% if is_granted('ROLE_MEXICO') and idproyectos != 207 %} {% 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 %}
{% if expenses == true %}
GASTOS
{% if is_granted('ROLE_CONTROL_CASOS_3') or is_granted('ROLE_CONTROL_CONCILIACION') %}
{% endif %} {% for expense in expenses %} {% endfor %}
CONCEPTO RCM VALOR SUPERVISOR VALOR ADMIN VALOR
{{ expense.descripcion }}
{% endif %} {% if equipments == true %}
EQUIPOS
{% for equipment in equipments %} {% endfor %}
Equipo Serie Marca Modelo
{{ equipment.detalle }} {{ equipment.serie }} {{ equipment.marca }} {{ equipment.modelo }}
{% 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}} {{'Update Date' | trans}} {{'ticketDetail.datos.cmtto' | trans}}
{{ usuariosSitio.nombre }} {{ usuariosSitio.telefono }} {{ usuariosSitio.especialidad }} {{ usuariosSitio.dateCreation| date('d/m/Y') }} {{ usuariosSitio.ciudadBase }}

{{'ticketDetail.comments' | trans}}

{% if idproyectos != 207 %}
{% endif %}
{% 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.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%}