{# The Arbeitszeitnachweis: one month of working time for one teamer, to be printed, signed and uploaded again. Rendered by App\Service\Pdf\WorkMonthRenderer through Dompdf, not by the FPDI renderers the contract and the invoice use - a table of 28 to 31 rows is exactly what coordinate stamping cannot do. Styles have to be inline and simple: Dompdf supports little beyond CSS 2.1, and nothing may be loaded from outside the document. #}

Arbeitszeitnachweis

{% if logo|default(null) %} E&P Reisen Events {% endif %}
{% if workMonth.department %} {% endif %}
Teamer:in {{ teamer.fullName }}
Abteilung {{ workMonth.department }}
Monat {{ workMonth.period|format_datetime(pattern='LLLL yyyy', locale='de') }}
Sollstunden {{ workMonth.targetMinutes|duration_hm }}
Iststunden {{ workMonth.totalMinutes|duration_hm }}
Saldo {{ workMonth.balanceMinutes > 0 ? '+' : '' }}{{ workMonth.balanceMinutes|duration_hm }}
Pausen gesamt {{ workMonth.breakMinutes|duration_hm }}
Arbeitstage {{ workMonth.workedDays }}{% if workMonth.absenceDays > 0 %}, freie Tage: {{ workMonth.absenceDays }}{% endif %}
{% for day in days %} {% endfor %}
Datum Tag Beginn Ende Pause Stunden Abwesenheit
{{ day.date|date('d.m.Y') }} {{ day.date|format_datetime(pattern='EEE', locale='de') }} {{ day.startTime ?? '' }} {{ day.endTime ?? '' }} {{ day.breakMinutes > 0 ? day.breakMinutes|duration_hm : '' }} {{ day.minutes|duration_hm }} {{ day.absence ?? '' }}
Gesamt {{ workMonth.breakMinutes|duration_hm }} {{ workMonth.totalMinutes|duration_hm }}
Ort, Datum
Unterschrift {{ teamer.fullName }}

Bitte den Nachweis unterschrieben wieder im Team-Portal hochladen. Stand der Daten: {{ workMonth.syncedAt|date('d.m.Y H:i') }} Uhr.