{{-- HEADER --}} @include('partials.adminHeader') {{-- SIDE NAVIGATION BAR --}}
×
Dashboard
Appointments
Patient's Record
Reports
Maintenance
Inventory
Help
About
Logout
Schedule Appointment
{{-- Displaying validation errors --}} @if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif {{-- Appointment creation form --}}
@csrf
Type of appointment:
Select an appointment type
General Consultation
Teeth Cleaning
Teeth Whitening
Routine Checkup
Appointment Date:
Start Time:
Select preferred time
{{-- Admin-only patient selection --}} @if (auth()->user()->type == 'admin')
Patient:
@foreach($patients as $patient)
{{ $patient->last_name }}
@endforeach
@endif
Schedule Appointment
{{-- Back button --}}
Back