Doctors
= esc($totalDoctors) ?>
Patients
= esc($totalPatients) ?>
Appointments
= esc($totalAppointments) ?>
Active Today
= esc($activeToday ?? 0) ?>
Quick Actions
Recent Activity
'#22c55e',
'rejected' => '#ef4444',
default => '#eab308',
};
$badgeClass = match($status) {
'approved' => 'ov-badge--success',
'rejected' => 'ov-badge--danger',
default => 'ov-badge--warning',
};
$badgeLabel = ucfirst($status);
?>
= esc($activity['patient_name']) ?>
booked with
= esc($activity['doctor_name']) ?>
= $badgeLabel ?>
= esc($activity['appointment_date']) ?> · = esc($activity['appointment_time']) ?>
No recent activity.