{# statistics/time.html.twig #} {% extends 'base.html.twig' %} {% block page %}
Du {{ debutFr }} au {{ finFr }} |
Agents | Statut | {% for d in dates %}{{ d[1] | raw }} | {% endfor %} {% if nbSites > 1 %} {% for i in 1..nbSites %}{{ multisites[i-1] | raw }} | {% if nbSemaines!= 1 %}Moyenne Hebdo. | {% endif %} {% endfor %} {% endif %} {% if groupes_keys is iterable %} {% for g in groupes_keys %} {% if g != emptystr and g in totauxGroupesPerso %}{{ g }} | {% endif %} {% endfor %} {% if emptystr in groupes_keys and emptystr in totauxGroupesPerso %}Autres | {% endif %} {% endif %}Total | Max. | {% if nbSemaines != 1 %} Moyenne Hebdo. |
Max. Hebdo. | {% endif %}||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ t.nom }} {{ t.prenom }} | {% if t.statut is not null %}{{ t.statut | raw }} | {% else %}{% endif %} {% for d in dates %} {% if t[d[0]].total != '-' %} | {% else %} |
{% endif %}
{{ t[d[0]].total }}
{% if groupes_keys is not empty %}
{% for g in groupes_keys %} {% if t[d[0]].groupe[g] is not null %} {% if g is not same as("") %} {{ g }} {% else %} Autres {% endif %} : {{ t[d[0]].groupe[g] }} {% endif %} {% endfor %} {% endif %} |
{% endfor %}
{% if nbSites > 1 %}
{% for i in 1..nbSites %}
{{ t.sites[i-1] }} | {% if nbSemaines != 1 %}{{ t.sitesSemaine[i-1] }} | {% endif %} {% endfor %} {% endif %} {% if groupes_keys is not empty %} {% for g in groupes_keys %} {% if g != emptystr and g in totauxGroupesPerso %} {% if t.groupe[g] is defined %}{{ t.groupe[g] }} | {% else %}- | {% endif %} {% endif %} {% if emptystr in groupes_keys and emptystr in totauxGroupesPerso %} {% if t.group_ is defined %}{{ t.group_ }} | {% else %}- | {% endif %} {% endif %} {% endfor %} {% endif %} {% if nbSemaines != 1 %} {% if t.diff1 > 0 %}{{ t.total }} | {% else %} {% if t.diff1 <= 0.5 and t.diff2 <= 0.5 %}{{ t.total }} | {% else %}{{ t.total }} | {% endif %} {% endif %}{{ t.max }} | {% endif %} {% if t.diff1 > 0 %}{{ t.semaine }} | {% else %} {% if t.diff1 <= 0.5 and t.diff2 <= 0.5 %}{{ t.semaine }} | {% else %}{{ t.semaine }} | {% endif %} {% endif %}{{ t.heuresHebdo }} |
Nombre d'heures | {% for d in dates %}{{ heures[d[0]] }} | {% endfor %} {% if nbSites > 1 %} {% for i in 1..nbSites %}{{ sitesHeures[i] }} | {% if nbSemaines != 1 %}{% endif %} {% endfor %} {% endif %} {% if groupes_keys is not empty %} {% for g in groupes_keys %} {% if g is not null and g in totauxGroupesPerso %} | {{ totauxGroupesHeures[g] }} | {% endif %} {% endfor %} {% endif %} {% if emptystr in groupes_keys and emptystr in totauxGroupesPerso %}{{ totauxGroupesHeures[emptystr] }} | {% endif %}{{ totalHeures }} | {% if nbSemaines != 1%}{% else %} | {% endif %} | ||||||||||
Nombre d'agents | {% for d in dates %}{{ nbAgents[d[0]] }} | {% endfor %} {% if nbSites >1 %} {% for i in 1..nbSites %}{{ siteAgents[i] }} | {% if nbSemaines != 1 %}{% endif %} {% endfor %} {% endif %} {% if groupes_keys is not empty %} {% for g in groupes_keys %} {% if g is not null and g in totauxGroupesPerso %} | {{ totauxGroupesPerso[g] }} | {% endif %} {% endfor %} {% endif %} {% if emptystr in groupes_keys and emptystr in totauxGroupesPerso %}{{ totauxGroupesPerso[emptystr] }} | {% endif %}{{ totalAgents }} | {% if nbSemaines != 1%}{% else %} | {% endif %} |