Files
libra/docs/tasks/8-7.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

26 lines
1.3 KiB
Markdown

---
id: 8-7
title: 8-7 Consultation Reminder (2 Hours)
status: QA Review
date: 2026-09-27
parent: 8
---
## Description
As a client, I want to receive a reminder 2 hours before my consultation, So that I'm prepared and ready for my appointment with final details and contact information. **Arabic Template:** resources/views/emails/reminders/consultation-2h/ar.blade.php **English Template:** resources/views/emails/reminders/consultation-2h/en.blade.php. Full implementation history: docs/stories/story-8.7-consultation-reminder-2h.md
## Acceptance Criteria
- [ ] Scheduled artisan command runs every 15 minutes
- [ ] Find consultations approximately 2 hours away (within 7-minute window)
- [ ] Only for approved consultations (`status = 'approved'`)
- [ ] Skip cancelled/no-show/completed consultations
- [ ] Track sent reminders to prevent duplicates via `reminder_2h_sent_at`
- [ ] Subject: "Your consultation is in 2 hours" / "استشارتك بعد ساعتين"
- [ ] Consultation date and time (formatted per locale)
- [ ] Final payment reminder: Show if `consultation_type = 'paid'` AND `payment_status != 'received'`
- [ ] Office contact information for last-minute issues/questions
- [ ] Email rendered in client's `preferred_language` (ar/en)
- [ ] Date/time formatted according to locale