2. 100% sleepover shift (no active time, e.g. 11:00 pm – 7:00 am):
When added to the leave application, the system records the start and end times but applies 0 hours duration, because there is no active work during the shift.
In both cases, the leave application reflects the correct hours based on how the shift data is recorded.
Both scenarios represent expected and correct system behaviour:
- Active time is included in leave.
- Sleepover-only time is excluded.
- Shifts with no active time correctly result in zero leave hours.
This ensures leave is calculated accurately and consistently based on the underlying booking data.