Files
libra/docs/tasks/8-7.md
T
Naser Mansour 7f35297025 Mark all libra tasks Done — confirmed live in production ~1 year
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>
2026-09-27 22:04:04 +03:00

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