upgraded for new changes
This commit is contained in:
@@ -43,5 +43,13 @@ class SendAppointmentBookedEmail implements ShouldQueue
|
||||
$message->to($patient->email, $patient->first_name)
|
||||
->subject('Appointment Booked.');
|
||||
});
|
||||
Mail::send('emails.appointmentBooked', [
|
||||
'patient' => $patient,
|
||||
'appointment' => $appointment,
|
||||
'setting' => $setting
|
||||
], function ($message) use ($patient) {
|
||||
$message->to(ENV('ADMIN_EMAIL'), $patient->first_name)
|
||||
->subject('Appointment Booked.');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@@ -28,5 +28,9 @@ class SendPaymentProcessedEmail implements ShouldQueue
|
||||
$message->to($patient->email, $patient->first_name)
|
||||
->subject('Payment Processed Successfully.');
|
||||
});
|
||||
Mail::send('emails.process-payment', [], function ($message) {
|
||||
$message->to(ENV('ADMIN_EMAIL'), "Awais")
|
||||
->subject('Payment Processed Successfully.');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user