@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; $queue = $appointment['queue_number'] ?? '-'; $roomName = $room['room_name'] ?? 'Room not assigned'; $ref = 'PKU-' . date('Ymd', strtotime($date)) . '-' . strtoupper(substr($appointment['id'] ?? '0000', 0, 4)); @endphp Booking Confirmed

Booking Confirmed

{{ now()->format('D, d M Y') }}

Booking Confirmed!

Your appointment has been successfully scheduled. Please keep your queue number for check-in.

{{ $ref }}
DATE {{ $date ? date('l, d M Y', strtotime($date)) : '-' }}
TIME {{ $time ? date('g:i A', strtotime($time)) : '-' }}
ROOM {{ $roomName }}
QUEUE NO. {{ $queue }}