Archived
Add multi-day events (frontend), attendance register and certificates
Event wizard: one date or multiple sessions with a repeat-pattern builder, and a new Attendance step (late joining and pricing, check-in window, session reminders, certificates with preview). Public pages show the schedule and late prices; the scanner picks today's session; new attendance register page, My Certificates, and a public verify page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
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: (
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-4">
|
||||
<GuideItem icon={ClipboardCheck} title="One row per person" tone="brand">
|
||||
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.
|
||||
</GuideItem>
|
||||
<GuideItem icon={MousePointerClick} title="Fixing a session" tone="green">
|
||||
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.
|
||||
</GuideItem>
|
||||
<GuideItem icon={Filter} title="Finding people" tone="violet">
|
||||
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.
|
||||
</GuideItem>
|
||||
<GuideItem icon={FileSpreadsheet} title="Export" tone="amber">
|
||||
Download the register as Excel (with contact details) or a printable PDF. Cancelled sessions are left out.
|
||||
</GuideItem>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "certificates",
|
||||
label: "Certificates",
|
||||
icon: Award,
|
||||
content: (
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-4">
|
||||
<GuideItem icon={Award} title="Turning them on" tone="brand">
|
||||
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.
|
||||
</GuideItem>
|
||||
<GuideItem icon={MousePointerClick} title="Issuing now" tone="green">
|
||||
"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.
|
||||
</GuideItem>
|
||||
<GuideItem icon={Send} title="Sending" tone="violet">
|
||||
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.
|
||||
</GuideItem>
|
||||
<GuideItem icon={Ban} title="Revoking" tone="rose">
|
||||
A revoked certificate stops showing as valid and is never issued again automatically. You can re-issue it by hand.
|
||||
</GuideItem>
|
||||
<GuideItem icon={ShieldCheck} title="Checking one" tone="amber">
|
||||
Each certificate has a code and QR code. Anyone can check it at /certificates/verify/<code>, which shows only the name, event and dates.
|
||||
</GuideItem>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user