@php $role = session('login_role'); $rolePath = $role === 'staff' ? 'staff' : 'student'; $portal = $role === 'staff' ? 'STAFF PORTAL' : 'STUDENT PORTAL'; $date = $appointment['appointment_date'] ?? null; $time = $appointment['appointment_time'] ?? null; @endphp Cancel Appointment

Cancel Appointment

{{ now()->format('D, d M Y') }}
@if($errors->any())
Please select a cancellation reason.
@endif
!

Cancel Appointment

Please review your appointment details and provide a reason before confirming cancellation.

Date {{ $date ? date('l, d M Y', strtotime($date)) : '-' }}
Time {{ $time ? date('g:i A', strtotime($time)) : '-' }}
Queue No. {{ $appointment['queue_number'] ?? '-' }}
Status {{ ucfirst($appointment['status'] ?? '-') }}
@csrf
Back