@extends('layouts.app') @section('content')

Patient Portal

Welcome, {{ auth()->user()->name }}

My Calendar Edit Profile
Upcoming

{{ $upcoming->count() }}

Completed Visits

{{ $completedCount }}

Prescriptions

{{ $prescriptionCount }}

Medical Reports

{{ $reportCount }}

Upcoming Appointments
@forelse($upcoming as $appointment)
{{ $appointment->doctor?->user?->name }}
{{ $appointment->doctor?->specialty?->name }}
{{ $appointment->appointment_date?->format('d M Y') }} ยท {{ $appointment->start_time }}
{{ ucfirst($appointment->consultation_type) }}
@empty

No upcoming appointments.

@endforelse
Appointment History
@forelse($appointments as $appointment) @empty @endforelse
AppointmentDateDoctorStatusPayment
{{ $appointment->appointment_number }} {{ $appointment->appointment_date?->format('d M Y') }}
{{ $appointment->start_time }}
{{ $appointment->doctor?->user?->name }} {{ ucfirst($appointment->status) }} {{ ucfirst($appointment->payment_status) }}
No appointments found.
{{ $appointments->links() }}
@endsection