fix: hide called off assignments from timeline, adjust status colors
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user