--- id: 3-1 title: 3-1 Working Hours Configuration status: Done date: 2026-09-27 parent: 3 --- ## Description As an admin, I want to configure available working hours for each day of the week, So that clients can only book consultations during my available times. Context: Integrates with: working_hours table, availability calendar; Technology: Livewire Volt, Flux UI forms; Follows pattern: Admin settings pattern. The AdminLog model is used for audit logging (defined in Epic 1). Schema:. Full implementation history: docs/stories/story-3.1-working-hours-configuration.md ## Acceptance Criteria - [ ] Set available days (enable/disable each day of week) - [ ] Set start time for each enabled day - [ ] Set end time for each enabled day - [ ] Support different hours for different days - [ ] 15-minute buffer automatically applied between appointments - [ ] 12-hour time format display (AM/PM) - [ ] Visual weekly schedule view - [ ] Toggle for each day (Sunday-Saturday) - [ ] Time pickers for start/end times - [ ] Preview of available slots per day - [ ] Save button with confirmation - [ ] Changes take effect immediately for new bookings - [ ] Existing approved bookings NOT affected by changes - [ ] Warning if changing hours that have pending bookings - [ ] Validation: end time must be after start time - [ ] Bilingual labels and messages - [ ] Default working hours on initial setup - [ ] Audit log entry on changes - [ ] Tests for configuration logic