@section('title', 'Appointment Quota Management - Clinic Admin Dashboard')

Appointment Quota Management

Manage daily appointment time slots for {{ $clinic->name }}

@if (session()->has('success'))
{{ session('success') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif

Quick Actions

Set all time slots to:

{{ Carbon\Carbon::parse($selectedDate)->format('l, F j, Y') }}

9 time slots available per day

Cannot select past dates

Morning Session

8:00 AM - 12:00 PM (4 time slots)

@foreach(['08:00-09:00', '09:00-10:00', '10:00-11:00', '11:00-12:00'] as $timeSlot)

{{ $timeSlot }}

{{ $quotas[$timeSlot]['booked'] ?? 0 }} / {{ $quotas[$timeSlot]['quota'] ?? 0 }} booked

@endforeach

Afternoon Session

12:00 PM - 2:00 PM (2 time slots)

@foreach(['12:00-13:00', '13:00-14:00'] as $timeSlot)

{{ $timeSlot }}

{{ $quotas[$timeSlot]['booked'] ?? 0 }} / {{ $quotas[$timeSlot]['quota'] ?? 0 }} booked

@endforeach

Evening Session

2:00 PM - 5:00 PM (3 time slots)

@foreach(['14:00-15:00', '15:00-16:00', '16:00-17:00'] as $timeSlot)

{{ $timeSlot }}

{{ $quotas[$timeSlot]['booked'] ?? 0 }} / {{ $quotas[$timeSlot]['quota'] ?? 0 }} booked

@endforeach

How to Use