upgraded for new changes

This commit is contained in:
Inshal
2024-10-27 02:51:48 +05:00
parent 76e6f914a7
commit fe495ebd89
41 changed files with 452 additions and 260 deletions

View File

@@ -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.');
});
}
}