@extends('layouts.admin') @section('title', 'Appointments') @section('content')
Appointments
Reset
@foreach ($appointments as $a) @endforeach
ID Scheduled Doctor Patient Status Action
{{ $a->id }} {{ $a->scheduled_at?->format('Y-m-d H:i') }} {{ $a->doctor?->name }} {{ $a->patient?->name }} {{ $a->status }} View
{{ $appointments->links() }}
@endsection