{{ __('Appointments') }}

@if($appointments->isEmpty())

No appointments found.

@else
@if(auth()->user()->role === 'hairdresser') @else @endif @foreach($appointments as $appointment) @endforeach
Date & Time ServiceCustomerHairdresserStatus Actions
{{ optional($appointment->timeSlot)->start_time ? \Carbon\Carbon::parse($appointment->timeSlot->start_time)->format('M d, Y h:i A') : 'N/A' }} {{ $appointment->service->name }} @if(auth()->user()->role === 'hairdresser') {{ $appointment->customer->name }} @else {{ $appointment->hairdresser->name }} @endif {{ ucfirst($appointment->status) }} View
{{ $appointments->links() }}
@endif