{{ config('app.name') }} Appointments

Hello {{ $appointment->user->name ?? $appointment->patient_name }},

@php $statusClass = 'status-default'; $statusText = strtoupper($appointment->status); if ($appointment->status === 'confirmed') { $statusClass = 'status-confirmed'; $statusText = 'APPROVED'; } elseif ($appointment->status === 'cancelled' || $appointment->status === 'no_show') { $statusClass = 'status-cancelled'; $statusText = 'REJECTED / CANCELLED'; } elseif ($appointment->status === 'completed') { $statusClass = 'status-completed'; $statusText = 'COMPLETED'; } @endphp

Your appointment status has been updated to: {{ $statusText }}

Doctor: {{ $appointment->provider->business_name }}
Date: {{ \Carbon\Carbon::parse($appointment->scheduled_date)->format('l, M d, Y') }}
Time: {{ \Carbon\Carbon::parse($appointment->scheduled_time)->format('h:i A') }}
Consultation Type: @if($appointment->consultation_type == 'in_person') Clinic Visit @if($appointment->clinic)
{{ $appointment->clinic->name }}, {{ $appointment->clinic->city }} @endif @elseif($appointment->consultation_type == 'video') Video Call @else Phone Call @endif

If you have any questions or need to make changes, please contact the doctor's office.

Best regards,
The {{ config('app.name') }} Team