import React from "react";
import { ClipboardCheck, MousePointerClick, Filter, FileSpreadsheet, Award, Send, Ban, ShieldCheck } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/supervisor/attendance. */
export const supervisorAttendanceHelpContent: HelpContent = {
title: "Attendance",
subtitle: "Who came to each session, and completion certificates.",
tabs: [
{
key: "register",
label: "The register",
icon: ClipboardCheck,
content: (
Every main ticket is a row, with a column for each session of a multi-day event (one "Checked in" column for a single-date event). A tick means they were scanned in for that session; a number is how many places of a group ticket were.
Supervisors can click a box to mark someone present (e.g. they were let in without a scan) or absent. Each change is recorded in the audit log. Closed events can't be changed.
Search by name, email or phone. Filter to who completed, who didn't, or who missed the last two sessions — handy for a follow-up call.
Download the register as Excel (with contact details) or a printable PDF. Cancelled sessions are left out.
),
},
{
key: "certificates",
label: "Certificates",
icon: Award,
content: (
In the event wizard's Attendance step: pick one of four designs, the wording, who signs it, and who qualifies (every session, at least N sessions, or at least N%). They're issued automatically when the event ends.
"Issue now" gives one to everyone who already qualifies. Use "Issue anyway" on a row to give one to someone who doesn't meet the rule.
People can always download theirs from My Events. "Send unsent" emails or WhatsApps the ones not sent yet (as each person prefers); the event can also send them automatically.
A revoked certificate stops showing as valid and is never issued again automatically. You can re-issue it by hand.
Each certificate has a code and QR code. Anyone can check it at /certificates/verify/<code>, which shows only the name, event and dates.
),
},
],
};