getMessage()); $error = 'Lead data is unavailable. Check database configuration.'; } } function h(?string $value): string { return htmlspecialchars((string)$value, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); } function status_label(array $statuses, string $status): string { return $statuses[$status] ?? ucfirst($status); } ?> Lead Dashboard | <?= h($projectName) ?>

Admin dashboard

Quote requests and lead follow-up.

Review incoming submissions, filter by status, and open each lead for notes.

Enter admin access key

Set ADMIN_ACCESS_KEY in the environment to protect this dashboard.

Demo admin mode is active because ADMIN_ACCESS_KEY is not set. Set it before sharing this site publicly.
$label): ?>

No leads yet.

Submit the quote form on the homepage to see the workflow end-to-end.

LeadServiceStatusCreatedAction

Open