upgraded new changes

This commit is contained in:
Inshal
2024-10-27 02:14:52 +05:00
parent 2ba27c9ba8
commit c22c3b1e98
41 changed files with 443 additions and 253 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.');
});
}
}

View File

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