{{-- Breadcrumb --}}
{{-- Search filter --}}
@foreach ($schedules as $schedule) @endforeach
@forelse ($appointments as $index => $appointment) @empty @endforelse
{{ __('SN') }} {{ __('Email') }} {{ __('Date') }} {{ __('Phone') }} {{ __('Schedule') }} {{ __('Payment') }} {{ __('Action') }}
{{ ++$index }} {{ $appointment?->user?->email }} {{ formattedDate($appointment->date) }} {{ $appointment?->user?->details?->phone }} {{ strtoupper($appointment?->schedule?->start_time) . '-' . strtoupper($appointment?->schedule?->end_time) }} @if ($appointment->payment_status == 0) {{ __('Pending') }} @else {{ __('Success') }} @endif
@if (request()->get('par-page') !== 'all')
{{ $appointments->onEachSide(0)->links() }}
@endif