@component('mail::message')
Dear {{ $patientAppointment->user->name }}
Your appointment with {{ $patientAppointment->doctor->name }} has been booked successfully.
Your serial no: {{ $patientAppointment->sequence }}
Your appointment time (approx.): {{ $patientAppointment->start_time }} - {{ $patientAppointment->end_time }}
Your appointment date: {{ date('l jS F Y', strtotime($patientAppointment->appointment_date)) }}
@if ($patientAppointment->problem)
Appointment reason:
"{!! nl2br(str_replace(["script"], ["noscript"], $patientAppointment->problem)) !!}"
@endif
@component('mail::button', ['url' => url('/')])
Log in
@endcomponent
Thanks,
{{ config('app.name') }}
@endcomponent