@extends('admin.layouts.app') @section('title', 'Appointments') @section('page-title', 'Appointments') @section('page-subtitle', 'Manage appointments') @section('content')
New

{{ $stats['total'] }}

Total

{{ $stats['pending'] }}

Pending

{{ $stats['confirmed'] }}

Confirmed

{{ $stats['cancelled'] }}

Cancelled

@forelse($appointments as $appointment) @empty @endforelse
Patient Type Status Actions

{{ $appointment->patient->full_name }}

{{ $appointment->patient->email }}

{{ Str::limit($appointment->consultation_type, 15) }} {{ ucfirst($appointment->status) }}
@csrf @method('DELETE')

No appointments found

{{ $appointments->links() }}
@endsection