@php $isPatient = ($recipientType ?? '') === 'patient'; $greetingName = $isPatient ? ($appointment->patient_name ?? 'Patient') : ($appointment->doctor_name ?? 'Doctor'); $bookingRef = $appointment->booking_reference ?? $appointment->id ?? ''; $doctorName = $appointment->doctor_name ?? ''; $date = $appointment->appointment_date ?? ''; $time = trim(($appointment->start_time ?? '') . ' - ' . ($appointment->end_time ?? '')); $mode = $appointment->consultation_mode ?? ''; @endphp
|
|||||||||||||||||||||||||