@extends('layouts.app') @section('title', 'Dashboard') @section('content') @php $u = auth()->user(); @endphp
| Serial | Name | Last Visit |
|---|---|---|
| {{ $p->serial_number }} | {{ $p->name }} | {{ optional($p->latestVisit)->visit_date?->format('d M Y') ?? '—' }} |
| No patients yet. | ||
| Patient | Doctor | Date |
|---|---|---|
| {{ $v->patient->name ?? '—' }} | {{ $v->doctor_name ?? '—' }} | {{ $v->follow_up_date?->format('d M Y') }} |
| No upcoming follow-ups. | ||
| Patient | Visit | Status |
|---|---|---|
| {{ $v->patient->name ?? '—' }} | {{ $v->visit_date->format('d M Y') }} | {{ $v->statusLabel() }} |
| No visits yet. | ||