complete story 8.7 with qa tests
This commit is contained in:
@@ -52,8 +52,8 @@ class ConsultationReminder2h extends Notification implements ShouldQueue
|
||||
private function getSubject(string $locale): string
|
||||
{
|
||||
return $locale === 'ar'
|
||||
? 'تذكير: موعدك خلال ساعتين'
|
||||
: 'Reminder: Your consultation is in 2 hours';
|
||||
? 'استشارتك بعد ساعتين'
|
||||
: 'Your consultation is in 2 hours';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,7 +62,7 @@ class ConsultationReminder2h extends Notification implements ShouldQueue
|
||||
private function shouldShowPaymentReminder(): bool
|
||||
{
|
||||
return $this->consultation->consultation_type->value === 'paid' &&
|
||||
$this->consultation->payment_status->value === 'pending';
|
||||
$this->consultation->payment_status->value !== 'received';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user