@extends('layouts.admin.app') @section('title', translate('Appointments')) @push('css_or_js') @endpush @section('content')

{{translate('Appointments')}}

@csrf
{{translate('Appointments Table')}} {{ $appointments->total() }}
@foreach($appointments as $appointment) @endforeach
{{translate('Appointment ID')}} {{translate('Date')}} {{translate('Start Time')}} {{translate('End Time')}} {{translate('User')}} {{translate('service_provider')}} {{translate('status')}}
{{ $appointment->id }} {{ $appointment->date }} {{ $appointment->start_time }} {{ $appointment->end_time }}
{{ $appointment->user->f_name . " " . $appointment->user->L_name }}
{{ $appointment->serviceProvider->f_name . " " . $appointment->serviceProvider->L_name }}
{{ $appointment->status->label() }}
{!! $appointments->links() !!}
@endsection @push('script_2') @endpush