{% extends "ChakaStatistiquesBundle:base.html.twig" %} {% block pagetitle %}Statistiques des chats web {{ titre }}{% endblock %} {% block body %}
{% include "ChakaStatistiquesBundle:Statistiques:form_stats.html.twig" %}
{% include "ChakaStatistiquesBundle:Statistiques:form_export.html.twig" %}
{% set total_webchat = 0 %} {% set total_webchat_recus = 0 %} {% set total_webchat_envoye = 0 %} {% set nb_op_connecte_webchat = 0 %} {% set total_skype = 0 %} {% set total_skype_recus = 0 %} {% set total_skype_envoye = 0 %} {% set nb_op_connecte_skype = 0 %} {% for stats in statistiques %} {% if sortie.criteres == 1 %} {% elseif sortie.criteres == 2 %} {% elseif sortie.criteres == 3 %} {% set current_date = "now"|date('Y') %} {% elseif sortie.criteres %} {% endif %} {% set total_webchat =total_webchat+ stats.total_webchat %} {% set total_webchat_recus = total_webchat_recus+stats.total_webchat_recus %} {% set total_webchat_envoye =total_webchat_envoye+stats.total_webchat_envoye %} {% set nb_op_connecte_webchat = nb_op_connecte_webchat+stats.nb_op_connecte_webchat %} {% set total_skype = total_skype+stats.total_skype %} {% set total_skype_recus = total_skype_recus+stats.total_skype_recu %} {% set total_skype_envoye = total_skype_envoye+stats.total_skype_envoye %} {% set nb_op_connecte_skype = nb_op_connecte_skype+stats.nb_op_connecte_skype %} {% endfor %}
{% if sortie.criteres == 1 %} HORAIRE {% elseif sortie.criteres == 2 %} JOUR {% elseif sortie.criteres == 3 %} MOIS {% else %} DATE {% endif %} DNIS TOTAL RECU ENVOYE NB OP
CONNECTÉS
TOTAL WEBCHAT TOTAL SKYPE WEBCHAT REÇUS SKYPE REÇUS WEBCHAT ENVOYE SKYPE ENVOYE NB OP WEBCHAT NB OP SKYPE
{{ stats.date_stat|date('d-m-Y') }}{{ stats.date_stat|date("d") }}{{ stats.annee }}{{ stats.date_stat }}{{ stats.dnis }} {{ stats.total_webchat }} {{ stats.total_skype }} {{ stats.total_webchat_recus }} {{ stats.total_skype_recu }} {{ stats.total_webchat_envoye }} {{ stats.total_skype_envoye }} {{ stats.nb_op_connecte_webchat }} {{ stats.nb_op_connecte_skype }}
TOTAUX {{ total_webchat|number_format(0,'.',' ') }} {{ total_skype|number_format(0,'.',' ') }} {{ total_webchat_recus|number_format(0,'.',' ') }} {{ total_skype_recus|number_format(0,'.',' ') }} {{ total_webchat_envoye|number_format(0,'.',' ') }} {{ total_skype_envoye|number_format(0,'.',' ') }} {{ nb_op_connecte_webchat|number_format(0,'.',' ') }} {{ nb_op_connecte_skype|number_format(0,'.',' ') }}
{#{% include "ChakaStatsBundle:Statistiques:charts.html.twig" %}#}
{% endblock %} {% block javascripts %} {#{% include "ChakaStatsBundle:Statistiques:charts_js.html.twig" %}#} {% include "ChakaStatistiquesBundle:Statistiques:form_stats_scripts.html.twig" %} {% endblock %}