{% extends 'Common/baseAdminPannel.html.twig' %} {% block title %} Reporte de productividad {% endblock %} {% block body %} {{ form_start(filterForm, {'attr':{'data-remote':'true', 'data-method':'GET', 'data-url':filterForm.vars.action, 'data-replacecontent':'true' }}) }}
{{ form_row(filterForm.elaborationRange) }}
{{ form_row(filterForm.creationDateRange) }}
{{ form_row(filterForm.assignationRange) }}
{{ form_row(filterForm.meetingRange) }}
{{ form_row(filterForm.campaign) }}
{{ form_row(filterForm.office) }}
{{ form_end(filterForm) }} {% if app.user.hasOnerole(["ROLE_TLMKT_SUPERVISOR","ROLE_TLMKT_OPC", "ROLE_TLMKT_PROMOTION_MANAGER"])%} {% if reportOpc %}

Productividad de OPCs

{% for rep in reportOpc.table %} {% set user = rep.0 %} {% endfor %}
OPC Total Dato falso % No interesa % NQ Sin cita % Qs NQs
{{user.person.fullName}} {{ rep.countBallots }} {{ (rep.countBallots>0?((rep.FD_count/rep.countBallots)*100):0)|number_format(2) }} {{ (rep.countBallots>0?(((rep.NO_INTERESTED)/rep.countBallots)*100):0)|number_format(2) }} {{ (rep.countBallots>0?(((rep.NQNM)/rep.countBallots)*100):0)|number_format(2) }} {{ rep.QS }} {{ rep.NQS }}
{% else %}

Aún no hay suficiente información para generar un reporte de productividad de OPCs

{% endif %} {% endif %} {% if app.user.hasOneRole(["ROLE_TLMKT_SUPERVISOR", "ROLE_TLMKT_OPERATOR"]) %} {% if reportOperator %}

Productividad de Operadores

{% for rep in reportOperator.table %} {% set user = rep.0 %} {% endfor %}
Operador Oficinas Total Dato falso % No interesa % Qs NQs Citas asistidas Ventas Citas
{{user.person.fullName}} {{ app.user.officesArray|join(", ") }} {{ rep.countBallots }} {{ (rep.countBallots>0?((rep.FD_count/rep.countBallots)*100):0)|number_format(2) }} {{ (rep.countBallots>0?(((rep.NO_INTERESTED)/rep.countBallots)*100):0)|number_format(2) }} {{ rep.QS }} {{ rep.NQS }} {{ rep.ASSISTED }} {{ rep.SALES }} {{ rep.MEETINGS }}
{% else %}

Aún no hay suficiente información para generar un reporte de productividad de operadores

{% endif %} {% endif %} {% if app.user.hasOneRole(["ROLE_TLMKT_SUPERVISOR"])%} {% if reportCapturists %}

Reporte de capturas

{% for rep in reportCapturists.table %} {% set user = rep.0 %} {% endfor %}
Capturista No de capturas
{{user.person.fullName}} {{ rep.countBallots }}
{% endif %} {% if reportLinerSales %}

Reporte de ventas de Liners

{% for rep in reportLinerSales.table %} {% set user = rep.0 %} {% endfor %}
Vendedor No de citas Qs NQs No de ventas Iniciales totales Volumen de vtas % de cierre Precio promedio Ventas pendientes Ventas procesables
{{user.person.fullName}} {{ rep.countBallots }} {{rep.QS}} {{rep.NQS}} {{ rep.SALES }} ${{rep.INITIAL_PAYMENTS|default(0)|number_format(2)}} ${{rep.TOTAL_AMMOUNT|default(0)|number_format(2)}} {{ rep.SALES|default(0)>0?((rep.SALES/rep.countBallots)*100)|number_format(2):0 }}% ${{ rep.SALES|default(0)>0?(rep.TOTAL_AMMOUNT/rep.SALES)|number_format(2):0 }} {{ rep.SALES|default(0) - rep.FULL_SALES|default(0) }} {{ rep.FULL_SALES|default(0) }}
{% endif %} {% if reportCloserSales %}

Reporte de ventas de Closers

{% for rep in reportCloserSales.table %} {% set user = rep.0 %} {% endfor %}
Vendedor No de citas Qs NQs No de ventas Iniciales totales Volumen de vtas % de cierre Precio promedio Ventas pendientes Ventas procesables
{{user.person.fullName}} {{ rep.countBallots }} {{rep.QS}} {{rep.NQS}} {{ rep.SALES }} ${{rep.INITIAL_PAYMENTS|default(0)|number_format(2)}} ${{rep.TOTAL_AMMOUNT|default(0)|number_format(2)}} {{ rep.SALES|default(0)>0?((rep.SALES/rep.countBallots)*100)|number_format(2):0 }}% ${{ rep.SALES|default(0)>0?(rep.TOTAL_AMMOUNT/rep.SALES)|number_format(2):0 }} {{ rep.SALES|default(0) - rep.FULL_SALES|default(0) }} {{ rep.FULL_SALES|default(0) }}
{% endif %} {% endif %} {% if app.user.hasOneRole(["ROLE_TLMKT_SUPERVISOR"]) %} {% if reportBallots and repBallots[0].Con_cita_no_interesa|default %} {% set rep = reportBallots[0] %} {% set ctot = rep.Con_cita_no_interesa + rep.Con_cita_no_contesta + rep.Con_cita_llamar_despues + rep.Con_cita_reprogramada + rep.Con_cita_confirmada + rep.Con_cita_no_asistida + rep.Con_cita_no_calificado_venta + rep.Con_cita_no_calificado_sin_venta + rep.Con_cita_calificado_venta + rep.Con_cita_calificado_sin_venta + rep.Con_cita_no_tour%}

Productividad total

Citas (C) Citas confirmadas (CC) Citas con asistencia ( CV, CSV, CNQV, CNQSN, CNT) Asistencias Q Asistencias NQ Citas con venta
{{ ctot }} {{ rep.Con_cita_confirmada }} {{ rep.ASSISTED}} {{ rep.QS }} {{ rep.NQS }} {{ rep.SALES}}
{% else %}

No hay suficiente información para generar un reporte de productividad de operadores

{% endif %} {% endif %} {% endblock %}