Manage Appointments

{{-- Add Walk-in Appointment Button --}} {{-- Success Message --}} @if (session('success'))
{{ session('success') }}
@endif {{-- Appointment Table --}} @foreach ($appointments as $appt) @endforeach
User / Walk-in Name Doctor Date Time Reason Status Action
@if($appt->user) {{ $appt->user->name }} @else (Walk-in) {{ $appt->walkin_name }} @endif {{ $appt->doctor->name }} {{ $appt->appointment_date }} {{ $appt->appointment_time }} {{ $appt->reason ?? '-' }} {{ $appt->status }} {{-- Status Update Form --}}
@csrf @method('PATCH')
{{-- Delete Button --}}
@csrf @method('DELETE')
@if($appointments->isEmpty())

No appointments found.

@endif