Merge branch 'fix/past-slots-unavailable'
# Conflicts: # docs/api/appointment.md
This commit is contained in:
@@ -56,7 +56,7 @@ Get all appointment slots (available and booked) for a doctor on a specific date
|
||||
}
|
||||
```
|
||||
|
||||
> Returns **all** slots grouped by work shift. `is_available: false` means the slot has an active (pending/confirmed) appointment. Session boundaries match the doctor's `WeeklySchedule` or date override config.
|
||||
> Returns **all** slots grouped by work shift. `is_available: false` means the slot is either already booked (active pending/confirmed appointment) **or** its start time has already passed (for today's date). Session boundaries match the doctor's `WeeklySchedule` or date override config.
|
||||
>
|
||||
> Returns an **empty** `sessions` array when the date is a holiday, a closed date override, in the past, beyond the doctor's booking window, or when online booking is disabled (see `meta` in `appointment-settings.md`).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user