{# templates/planning/poste/index.html.twig #} {% extends 'base.html.twig' %} {% block specificjs %} {% endblock %} {% block page %}
{% include 'planning/poste/menu.html.twig' %} {% if show_framework_select %} {% include 'planning/poste/framework_select.html.twig' %} {% if config('Planning-CommentairesToujoursActifs') %} {% include 'planning/poste/comments.html.twig' %} {% endif %} {% endif %} {% if not_ready %}

Le planning n'est pas prêt.

{% if config('Planning-CommentairesToujoursActifs') %} {% include 'planning/poste/comments.html.twig' %} {% endif %} {% endif %} {% if tab and not locked and not autorisationN1 %}


Le planning du {{ dateFr }} n'est pas validé !
{% if config('Planning-CommentairesToujoursActifs') %} {% include 'planning/poste/comments.html.twig' %} {% endif %} {% endif %} {% if tabs is defined and tabs %}
{% for t in tabs %} {% for h in t.horaires %} {% endfor %} {% for l in t.lignes %} {% if l.is_position %} {% for h in l.horaires %} {% if h.cell_off %} {% else %} {{ h.cell_html | raw }} {% endif %} {% endfor %} {% endif %} {% if l.separation %} {% endif %} {% endfor %} {% endfor %}
{{ t.titre }} {{ t.masqueTableaux | raw }} {{ h.start_h3 }} - {{ h.end_h3 }}
{{ l.position_name }} {% if l.floor %} ({{ l.floor }}) {% endif %}  
{{ l.separation }}  
 
{% include 'planning/poste/comments.html.twig' %} {% if config('Planning-AppelDispo') %} {% endif %} {% if locked or (autorisationN1 or autorisationN2) %} {% if config('Absences-planning') == 1 and absences_planning | length > 0 %}

Liste des absents

{% for a in absences_planning %} {% endfor %}
{{ a.nom }} {{ a.prenom }}{{ a.heures }}{{ a.nonValidee }}
{% endif %} {% if config('Absences-planning') == 2 and absences_planning | length > 0 %}

Liste des absents

{% for a in absences_planning %} {% endfor %}
Nom Prénom Début Fin Motif
{{ a.nom }} {{ a.prenom }} {{ a.debutAff }} {{ a.finAff }} {{ a.motif }}{{ a.nonValidee }}
{% endif %} {% if config('Absences-planning') in [3,4] %}

Liste des présents et absents

{% for p in presents %} {% endfor %}
Agent Présence Absences
{{ p.nom }} {{ p.site }}{{ p.heures }} {% for a in p.absences %} {{ a.motif }}{{ a.heures }}{{ a.nonValidee }}
{% endfor %}
{% endif %} {% endif %} {% endif %}
{% include 'planning/poste/save_model_form.html.twig' %} {% include 'planning/poste/delete_form.html.twig' %} {% include 'planning/poste/import_form.html.twig' %} {% endblock %}