Jul 28 - Update schedule page's referred time

This commit is contained in:
2026-07-28 15:09:12 -04:00
parent 4bb345da39
commit 81aeeac3d2
6 changed files with 203 additions and 18 deletions
+9 -2
View File
@@ -309,8 +309,15 @@ DEMO_TIMEZONE_LABEL=Eastern Time
Bookable hours default to 08:0016:30 in 30-minute slots, weekdays, up to 90
days ahead (`DEMO_HOUR_START`, `DEMO_HOUR_END`, `DEMO_SLOT_MINUTES`,
`DEMO_MAX_DAYS_AHEAD`). A slot already taken by a non-cancelled request can't be
booked twice.
`DEMO_MAX_DAYS_AHEAD`).
**Only free times are offered.** When the customer picks a date, the time
dropdown reloads to show just that day's remaining slots — anything already
booked disappears, so two people can't choose the same appointment. Weekends and
out-of-range dates say why they're unavailable. If a time is taken while someone
is still filling the form in, it drops off the list with a note when they change
the date, and the server refuses it on submit regardless. Marking a request
**cancelled** in the admin panel puts its slot back on offer.
**Mail is best-effort:** it goes out on a background thread *after* the request
is saved, and a failure is logged rather than shown to the visitor. With