fix: hide called off assignments from timeline, adjust status colors

This commit is contained in:
Björn Fromme
2025-03-27 09:08:29 +01:00
parent 28b757fb15
commit 80e57d148f
3 changed files with 12 additions and 2 deletions
@@ -18,6 +18,11 @@ class TimelineService
$rows = [];
foreach ($assignments as $assignment) {
// exclude called off assignments
// TODO: refactor filtering to do this on database level
if (Assignment::STATUS_CALLED_OFF === $assignment->getStatus()) {
continue;
}
$destination = $assignment->getDestination();
$hotelCode = $destination->getHotelCodeNormalized();