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>
1.3 KiB
1.3 KiB
id, title, status, date, parent
| id | title | status | date | parent |
|---|---|---|---|---|
| 8-7 | 8-7 Consultation Reminder (2 Hours) | Done | 2026-09-27 | 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'ANDpayment_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