{% if personnalisation is defined and personnalisation.logo_rapports == 'true' and (personnalisation.logo_documents ?? '') %} {% endif %}
🌡️ Fiche de relevé de températures — HACCP
{{ restaurantNom }}  |  {{ ['Janvier','FĂ©vrier','Mars','Avril','Mai','Juin','Juillet','AoĂ»t','Septembre','Octobre','Novembre','DĂ©cembre'][(document.mois ?? 1) - 1] }} {{ document.annee ?? '' }}  |  GĂ©nĂ©rĂ© le {{ "now"|date("d/m/Y") }}
Logo
{% set fd = document.form_data ?? {} %}
Restaurant{{ restaurantNom }}
Responsable{{ fd.responsable ?? '—' }}
Statut{% if document.status == 'finalized' %}✅ Finalisé{% else %}⏳ Brouillon{% endif %}
{% for eq in equipements %}
{{ eq.nom }} — Seuils : {{ eq.temperature_min }}°C / {{ eq.temperature_max }}°C
{% for j in 1..31 %}{% endfor %} {# Ligne Arrivée #} {% for j in 1..31 %} {% set val = fd.equipements[eq.id ~ '_' ~ j ~ '_arrivee'] ?? '' %} {% endfor %} {# Ligne Départ #} {% for j in 1..31 %} {% set val = fd.equipements[eq.id ~ '_' ~ j ~ '_depart'] ?? '' %} {% endfor %}
Période{{ j }}
Arrivée{{ val }}
Départ{{ val }}
{# Observations / Incidents #} {% set obsList = fd.equipements[eq.id ~ '_obs'] ?? [] %} {% if obsList is not empty and obsList is iterable %} {% for obs in obsList %} {% if obs.observation is defined and obs.observation != '' %} {% endif %} {% endfor %}
⚠ Observations & incidents — {{ eq.nom }}
Jour Observation / Anomalie Action corrective
{{ obs.jour ?? '—' }} {{ obs.observation }} {{ obs.action ?? '' }}
{% endif %} {% else %}

Aucun équipement enregistré.

{% endfor %} {% if fd.signature_nom is defined and fd.signature_nom %}

🔏 Signature

Nom : {{ fd.signature_nom }}    Date : {{ fd.signature_date ?? '' }}

âś… L'intervenant certifie l'exactitude des informations saisies.

{% endif %}