Files
SIRH/tests/State/AbsencePrintProviderTest.php
tristan ddd1b8116e fix(calendar) : exclude departed employees from absence PDF print
The calendar view hides employees whose contract doesn't intersect the displayed
month, but the absence PDF print still listed them. Apply the same intersection
filter (hasContractInRange over [from, to]) in AbsencePrintProvider, and reject
invalid from/to dates. A employee who left in April no longer appears on a May print.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 08:26:20 +02:00

3.2 KiB