Register New Walk-In Patient

Create or link a patient profile, then assign the next available slot for today.

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@csrf

Available Slots Today

@forelse($slots as $slot) @php $capacity = (int)($slot['capacity'] ?? 0); $bookedCount = (int)($slot['booked_count'] ?? 0); $available = (int)($slot['available'] ?? max($capacity - $bookedCount, 0)); @endphp @empty @endforelse
Room Time Capacity Booked Status
Dental Room {{ $slot['room_number'] ?? '-' }} {{ !empty($slot['slot_time']) ? date('g:i A',strtotime($slot['slot_time'])) : '-' }} {{ $capacity }} {{ $bookedCount }} @if($available > 0) Available @else Full @endif
No appointment slots available today.