Welcome Back, {{ auth()->user()->name }}!
Here's what's happening at Dr Dutta Skin Hair Dental Clinic today.
{{ now()->format('l, j F Y') }}{{ now()->format('h:i A') }}
Total Patients
{{ number_format($stats['patients']) }}
Today's Appointments
{{ $stats['today_appts'] }}
Today's Revenue
{{ $cur }} {{ number_format($stats['today_rev']) }}
Pending Payments
{{ $cur }} {{ number_format($stats['outstanding']) }}
Active Doctors
{{ $stats['doctors'] }}
Appointments Overview
BookedCompletedCancelled
Revenue Overview
Total (7 days)
{{ $cur }} {{ number_format(array_sum($revenue)) }}
Today's Schedule
View All‹{{ now()->format('F Y') }}›
{{ $stats['today_appts'] }} Appointments Today
{{ $apptByStatus['confirmed'] ?? 0 }} Confirmed
{{ $apptByStatus['in_consultation'] ?? 0 }} In Consultation
{{ $apptByStatus['completed'] ?? 0 }} Completed
{{ $apptByStatus['cancelled'] ?? 0 }} Cancelled
@forelse($today->take(6) as $a)
{{ $a->appointment_time ? \Illuminate\Support\Carbon::parse($a->appointment_time)->format('h:i A') : '—' }} · {{ $a->patient->full_name }}{{ $a->doctor?->name ?? '—' }}
@empty
No appointments today.
@endforelse
Patient Treatment Procedures Breakdown
Distribution of treatments by Clinical Disease / Diagnosis
@forelse($breakdown as $b)
@php $bmax = max(1, $breakdown->max('count')); @endphp
@empty
{{ $b['name'] }}{{ $b['count'] }} · {{ $cur }}{{ number_format($b['rev'],0) }}
No treatments recorded yet.
@endforelsePatient Activity by Core Service
Appointments by department
@forelse($byDept as $d)
{{ $d['name'] }}{{ $d['count'] }}
@empty
No activity yet.
@endforelse