From 0b5044c47bd5917b53a5b83e957b63301f80e988 Mon Sep 17 00:00:00 2001 From: tristan Date: Thu, 11 Jun 2026 12:00:42 +0200 Subject: [PATCH] feat(night-contingent) : gabarit PDF paysage --- .../night-hours-contingent/print.html.twig | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 templates/night-hours-contingent/print.html.twig diff --git a/templates/night-hours-contingent/print.html.twig b/templates/night-hours-contingent/print.html.twig new file mode 100644 index 0000000..e7fcd55 --- /dev/null +++ b/templates/night-hours-contingent/print.html.twig @@ -0,0 +1,58 @@ + + + + + + + +

Contingent heures de nuit — {{ year }}

+
Édité le {{ exportedAt }}
+ + {% set months = ['Janv', 'Févr', 'Mars', 'Avr', 'Mai', 'Juin', 'Juil', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'] %} + + + + + + {% for m in months %} + + {% endfor %} + + + {% for m in months %} + + + {% endfor %} + + + + {% for group in groups %} + + + + {% for row in group.rows %} + + + {% for cell in row.cells %} + + + {% endfor %} + + {% endfor %} + {% endfor %} + +
Nom{{ m }}
H.nuitN.jours
{{ group.siteName }}
{{ row.employeeName }}{{ cell.hours }}{{ cell.days }}
+ +