Files
libra/docs/tasks/3-1.md
T
Naser Mansour 0f9d12c3cf Prepare project for pipeline takeover: task tracker, UX doc, CLAUDE.md pointers
Adds docs/tasks/ (16 epics + 102 stories converted to task/subtask files with
statuses.md as the new status source of truth) and docs/ux-design.md
(retrospective design-system reference), and points CLAUDE.md at them.
docs/prd.md and docs/architecture.md are kept as BMAD wrote them; the legacy
docs/stories/, docs/epics/, docs/qa/gates/ and .bmad-core/ stay in place as
historical/traceability records, superseded but not deleted.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-27 22:02:23 +03:00

34 lines
1.4 KiB
Markdown

---
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