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.
Doctors
View all| #User ID | Name | Specialization |
|---|---|---|
| = esc($doctor['formatted_user_id'] ?? 'N/A') ?> | Dr. = esc($doctor['name']) ?> | = esc($doctor['specialization']) ?> |
| No doctors found. | ||
Patients
View all| #User ID | Name | Phone |
|---|---|---|
| = esc($patient['formatted_user_id'] ?? 'N/A') ?> | = esc($patient['name']) ?> | = esc($patient['phone']) ?> |
| No patients found. | ||