| Doctor | Date | Time | Status |
|---|---|---|---|
|
= esc($ap->doctor_name) ?>
specialization)): ?>
= esc($ap->specialization) ?> |
= esc($ap->appointment_date) ?> | = esc($ap->appointment_time) ?> | status); if ($st === '') { $st = 'pending'; } elseif ($st === 'confirmed') { $st = 'approved'; } elseif ($st === 'cancelled') { $st = 'rejected'; } $badgeClass = match ($st) { 'pending' => 'bg-warning text-dark', 'approved' => 'bg-success', 'rejected' => 'bg-danger', default => 'bg-secondary', }; ?> = esc(ucfirst($st)) ?> |
Specialization: = esc($doc->specialization ?? 'N/A') ?>
No doctors available yet.