@extends('users.admin.layouts.master') @section('styles') @endsection @section('content')

Appointments List

#Page-ID
@if(session()->has('success')) @endif

Appointments List

@foreach($appointments as $appointment) @endforeach
Patient Doctor Department Date/Time Status Actions Delete
{{$appointment->patient->first_name}} {{$appointment->doctor->first_name}} {{$appointment->department->name}} {{$appointment->date.' / '.$appointment->time}} {{$appointment->status}}
@method('DELETE') @csrf
@foreach($pendingAppointments as $appointment) @endforeach
Patient Doctor Department Date/Time Actions Delete
{{$appointment->patient->first_name}} {{$appointment->doctor->first_name}} {{$appointment->department->name}} {{$appointment->date.' / '.$appointment->time}}
@method('DELETE') @csrf
@foreach($confirmedAppointments as $appointment) @endforeach
Patient Doctor Department Date/Time Actions Delete
{{$appointment->patient->first_name}} {{$appointment->doctor->first_name}} {{$appointment->department->name}} {{$appointment->date.' / '.$appointment->time}}
@method('DELETE') @csrf
@foreach($treatedAppointments as $appointment) @endforeach
Patient Doctor Department Date/Time Actions Delete
{{$appointment->patient->first_name}} {{$appointment->doctor->first_name}} {{$appointment->department->name}} {{$appointment->date.' / '.$appointment->time}}
@method('DELETE') @csrf
@foreach($cancelledAppointments as $appointment) @endforeach
Patient Doctor Department Date/Time Actions Delete
{{$appointment->patient->first_name}} {{$appointment->doctor->first_name}} {{$appointment->department->name}} {{$appointment->date.' / '.$appointment->time}}
@method('DELETE') @csrf
@endsection @section('scripts') @endsection