You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First customer feedback (2026-04-01): Owners need a calendar to book inspection appointments themselves. Currently scheduling is admin-only via Django Admin.
Customer requirement: "Ich brauche auch einen Kalender, dass die die Termine buchen kann — von 8 bis 16:00 Uhr, drei Termine pro Tag, sieben Tage die Woche."
Current State
Scheduling is admin-driven only (Django Admin form)
Context
First customer feedback (2026-04-01): Owners need a calendar to book inspection appointments themselves. Currently scheduling is admin-only via Django Admin.
Customer requirement: "Ich brauche auch einen Kalender, dass die die Termine buchen kann — von 8 bis 16:00 Uhr, drei Termine pro Tag, sieben Tage die Woche."
Current State
Requirements
Time Slot System
Owner Booking Flow (Dashboard)
SCHEDULEDCalendar UI
Availability Logic
Backend Changes
Model Updates (
apps/inspections/models.py)BUSINESS_HOURS_ENDfrom 18 to 16TimeSlotchoices or helper (MORNING, MIDDAY, AFTERNOON)time_slotfield to Inspection (optional, for slot-based bookings)New View (
apps/dashboard/views.py)booking_calendar— renders weekly calendar with slot availabilitybook_slot— HTMX endpoint to create inspection from slot selectionTemplates
templates/dashboard/booking_calendar.html— weekly gridtemplates/dashboard/_calendar_week.html— HTMX partial for week navigationtemplates/dashboard/_slot.html— individual slot componentURL Routes
/dashboard/buchen/— calendar view/dashboard/buchen/slot/— HTMX book slot endpointValidation
Tests
Dependencies
Out of Scope (v2)
Source
Customer feedback, 2026-04-01