{% extends 'base.html.twig' %} {% block title %} {% trans %}COSAP - Accueil{% endtrans %} {% endblock %} {% block stylesheets %} {{ parent()}} {% endblock %} {% block body %} {{ parent() }}
{% if ListeAnnifs|length != 0 %}
{% for annif in ListeAnnifs %} C'est l'anniversaire de {{ annif.user }} {% endfor %}
{% endif %}
Total des actions du jour {{ ListeNbrHome['actions'] }}
Mes demandes de congé {{ ListeNbrHome['conges'] }}
Demandes de congé à valider {{ ListeNbrHome['demandesConges'] }}
Mes demandes de TT {{ ListeNbrHome['TT'] }}
Demandes de TT à valider {{ ListeNbrHome['demandesTT'] }}
Mes demandes de sortie {{ ListeNbrHome['sorties'] }}
Demandes de sortie à valider {{ ListeNbrHome['demandesSortie'] }}

Liste des événements du jour {{ ListeReunions|length }}

{% if ListeReunions|length != 0 %} {% for reunion in ListeReunions %}
{{ reunion.titre }}

{{ reunion.type }} {% if reunion.heureDebut is defined and reunion.heureFin is defined %} de {{ reunion.heureDebut }} {{ reunion.heureFin }} {% endif %}

{% endfor %} {% else %} {% endif %}

Liste des personnes non disponibles {{ ListePersonnesNonDispo|length }}

{% if ListePersonnesNonDispo|length != 0 %} {% for reunion in ListePersonnesNonDispo %}
Generic placeholder image
{{ reunion.user }}

{{ reunion.type }} Du {{ reunion.debut }} {{ reunion.fin }}

{% endfor %} {% else %} {% endif %}

Liste des personnes en congé {{ ListePersonnesEnConge|length }}

{% if ListePersonnesEnConge|length != 0 %} {% for reunion in ListePersonnesEnConge %}
Generic placeholder image
{{ reunion.user }}

{{ reunion.type }} Du {{ reunion.debut }} {{ reunion.fin }}

{% endfor %} {% else %} {% endif %}
{% if app.user and is_granted('ROLE_AFFICHE_STATS_BILAN') %}

Statistiques bilan

{#
#}
{% if StatBilan|length == 0 %} Pas de données pour ce mois {% else %} {% for bilan in StatBilan %} {% endfor %}
Nom & Prénom Nombre de jours renseignés Nombre de jours non renseignés Taux / jour Taux / heure
Generic placeholder image {{ bilan.user.firstName }} {{ bilan.user.lastName }}
{{ bilan.nbrJPlus }} {{ bilan.nbrJMoin }} {% if bilan.tauxJ > 0%} {{ bilan.tauxJ|number_format(2)|replace({".00" : ""}) }} {% else %} 0 {% endif %} % {% if bilan.tauxH > 0%} {{ bilan.tauxH|number_format(2)|replace({".00" : ""}) }} {% else %} 0 {% endif %} %
{% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}