7f35297025
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
28 lines
1.2 KiB
Markdown
28 lines
1.2 KiB
Markdown
---
|
|
id: 7-6
|
|
title: 7-6 Booking Limit Indicator
|
|
status: Done
|
|
date: 2026-09-27
|
|
parent: 7
|
|
---
|
|
|
|
## Description
|
|
|
|
As a client, I want to see my booking status and limits clearly, So that I understand when I can book consultations. - resources/views/livewire/client/booking-status.blade.php - Reusable status component. Full implementation history: docs/stories/story-7.6-booking-limit-indicator.md
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] Dashboard widget showing booking status
|
|
- [ ] Booking page status banner
|
|
- [ ] "You can book a consultation today" (when no booking exists for today)
|
|
- [ ] "You already have a booking for today" (when pending/approved booking exists for today)
|
|
- [ ] "You have a pending request for [date]" (shows first pending request date)
|
|
- [ ] Pass `bookedDates` array to availability calendar component
|
|
- [ ] Calendar marks user's booked dates as unavailable (distinct styling)
|
|
- [ ] Visual indicator differentiates "user already booked" from "no slots available"
|
|
- [ ] Clear messaging about 1-per-day limit
|
|
- [ ] Bilingual messages (Arabic/English)
|
|
- [ ] Handle multiple pending requests (show count or list)
|
|
- [ ] Handle cancelled bookings (should not block new booking)
|
|
- [ ] Loading state while fetching booking status
|