@php $role = session('login_role'); $rolePath = $role === 'staff' ? 'staff' : 'student'; $portal = $role === 'staff' ? 'STAFF PORTAL' : 'STUDENT PORTAL'; $appointmentDate = $appointment['appointment_date'] ?? null; $appointmentTime = $appointment['appointment_time'] ?? null; $dateTime = ($appointmentDate && $appointmentTime) ? date('d M Y \a\t g:i A', strtotime($appointmentDate . ' ' . $appointmentTime)) : '-'; @endphp Cancellation Not Allowed