@extends('layouts.app') @section('title', 'Appointments') @section('page-title', 'Appointment Management') @section('content')

{{ $appointments->total() }} total appointments

Book Appointment
@forelse ($appointments as $appt) @empty @endforelse
Serial Patient Doctor Date & Time Status Payment
#{{ $appt->serial_number }} {{ $appt->patient->name }} Dr. {{ $appt->doctor->user->name }} {{ $appt->appointment_date->format('d M Y, h:i A') }} {{ $appt->status }} {{ $appt->payment_status }} View
No appointments found.
@if ($appointments->hasPages())
{{ $appointments->links() }}
@endif
@endsection