@extends('backoffice.doctor.layout') @section('content')

Liste des rendez vous

@forelse ($appointments as $appointment) @switch($appointment->status) @case(\App\Enums\AppointmentStatus::SCHEDULED->value) @break @case(App\Enums\AppointmentStatus::CANCELLED->value) @case(App\Enums\AppointmentStatus::REJECTED->value) @break @case(App\Enums\AppointmentStatus::PENDING->value) @break @default @endswitch @empty @endforelse
Patient Description Date Heure début Heure fin Status Action
{{ $loop->index + 1 }} {{ $appointment->patient->getFullName() ?? '' }} {{ $appointment->description ?? '' }} {{ $appointment->date->format('d/m/Y') }} {{ $appointment->between ?? '' }} {{ $appointment->to ?? '' }}{{ $appointment->status ?? '' }}{{ $appointment->status ?? '' }}{{ $appointment->status ?? '' }}{{ $appointment->status ?? '' }}
Aucun rendez vous
@endsection