{% set matin_cg = 'matin' in j.conge or 'jour' in j.conge %} {% set aprem_cg = 'aprem' in j.conge or 'jour' in j.conge %} {% set matin_requis = not matin_cg and j.du_min > 0 and j.matin_nominal_min > 0 %} {% set aprem_requis = not aprem_cg and j.du_min > 0 and j.aprem_nominal_min > 0 %} {% set borne_matin = [plages.matin_debut, j.retour or plages.matin_debut] | max %} {% set borne_aprem = [plages.aprem_debut, j.retour or plages.aprem_debut] | max %} {% set matin_warn = matin_requis and ( (j.matin_entree and j.matin_entree > borne_matin) or (j.matin_sortie and j.matin_sortie < plages.matin_fin) ) %} {% set aprem_warn = aprem_requis and ( (j.aprem_entree and j.aprem_entree > borne_aprem) or (j.aprem_sortie and j.aprem_sortie < plages.aprem_fin) ) %} {{ nom }} {{ j.date[8:] }}/{{ j.date[5:7] }}
→
→
{% if j.astreinte_qualifiee %} {% set nb_as = (j.astreinte_events or []) | length %}
{% if j.retour_min is not none %}retour ≥ {{ j.retour }}{% endif %} {% if j.astreinte_min %}astreinte : {{ j.astreinte_h }}{% endif %}
DébutFinDescription {% for ev in j.astreinte_events or [] %}
{% else %}
{% endfor %}
{% else %}
{% endif %} {{ j.travaille if j.travaille_min else '—' }} {%- if j.travaille_min -%} {% if j.delta_min > 0 %}+{% endif %}{{ j.delta }} {%- else %}—{%- endif %} {%- if j.cumul_visible -%} {% if j.delta_cumul_min > 0 %}+{% elif j.delta_cumul_min < 0 %}-{% endif %}{{ j.delta_cumul if j.delta_cumul_min != 0 else '0h00' }} {%- else -%} — {%- endif %} {%- if j.cible_matin or j.cible_aprem -%} {%- if j.cible_matin -%}M {{ j.cible_matin_entree }} → {{ j.cible_matin }}{%- endif -%} {%- if j.cible_matin and j.cible_aprem %} {% endif -%} {%- if j.cible_aprem -%}A {{ j.cible_aprem_entree }} → {{ j.cible_aprem }}{%- endif -%} {%- else -%} — {%- endif %}