@php $doctorName = $doctor['full_name'] ?? 'Doctor'; $displayDoctorName = str_starts_with($doctorName, 'Dr.') ? $doctorName : 'Dr. ' . $doctorName; $roomName = $room['room_name'] ?? 'Dental Room 1'; $patientName = $patient['full_name'] ?? 'Unknown Patient'; $patientId = $patient['upsi_id'] ?? '-'; $role = ucfirst($patient['role'] ?? 'Patient'); $faculty = $patient['faculty'] ?? '-'; $queueNo = $queue['queue_number'] ?? '-'; $appointmentDate = !empty($appointment['appointment_date']) ? date('d M Y', strtotime($appointment['appointment_date'])) : '-'; $appointmentTime = !empty($appointment['appointment_time']) ? date('g:i A', strtotime($appointment['appointment_time'])) : '-'; @endphp Record Treatment
{{ now()->format('D, d M Y') }}
🔔

Record Treatment

{{ $patientName }} · {{ $queueNo }}

@if($errors->any())
Please complete all required treatment information.
@endif

{{ $patientName }}

{{ $patientId }} · {{ $role }}

Queue No. {{ $queueNo }}
Faculty {{ $faculty }}
Room {{ $roomName }}
Date {{ $appointmentDate }}
Time {{ $appointmentTime }}

Treatment Details

@csrf
Cancel