This repository has been archived on 2026-11-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hope-events/frontend/src/content/help/supervisor-at-the-door.tsx
T
joshuaandClaude Opus 5.5 87ffe3b84b Add ticket transfer
Payers and holders can hand a ticket to someone else before the event.
The new holder gets a new QR code (and an inactive account with an
activation link if they're new); the old code stops working and scans
of it, online or in offline sync, say it was transferred. One place can
be split off a shared group ticket. Transfers can be turned off per
event (supervisors can always transfer from At the door), youth events
need the new holder's own consent, and every transfer is audited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 14:23:24 +02:00

51 lines
2.5 KiB
TypeScript

import React from "react";
import { DoorOpen, UserPlus, CreditCard, CheckSquare, Ticket, RotateCcw } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/supervisor/at-the-door. */
export const supervisorAtTheDoorHelpContent: HelpContent = {
title: "At the door",
subtitle: "Register, pay, check in, and print tickets on the spot.",
tabs: [
{
key: "modes",
label: "The five modes",
icon: DoorOpen,
content: (
<div className="space-y-4">
<div className="space-y-4">
<GuideItem icon={UserPlus} title="Registration" tone="brand">
Search existing registrations or add a new attendee, then pick ticket options and quantities to create a registration.
</GuideItem>
<GuideItem icon={CreditCard} title="Payment" tone="green">
Shows Total/Paid/Due for the selected registration — capture a payment, then print or send tickets once fully paid.
</GuideItem>
<GuideItem icon={CheckSquare} title="Check-in" tone="violet">
Per ticket-type totals with a stepper to check attendees in against the scan record.
</GuideItem>
<GuideItem icon={Ticket} title="Tickets" tone="amber">
Browse all tickets for the event; print or send (email/WhatsApp) any of them individually, or transfer one to someone else before the event starts (supervisors can transfer even when transfers are turned off for the event). Scanning a transferred ticket&apos;s old QR code says who it went to.
</GuideItem>
<GuideItem icon={RotateCcw} title="Refund" tone="rose">
Issue a refund against an existing payment for the selected registration.
</GuideItem>
</div>
</div>
),
},
{
key: "tips",
label: "Good to know",
icon: DoorOpen,
content: (
<div className="space-y-4">
<p>Selecting a registration automatically jumps to Payment mode if it&apos;s unpaid, or Check-in mode if it&apos;s already fully paid.</p>
<p>When editing an existing registration&apos;s items, quantities can&apos;t be reduced below what&apos;s already been printed or paid for.</p>
<p>The item picker has a &quot;Have a code?&quot; field for discount codes. On an existing registration the code is applied when you save.</p>
</div>
),
},
],
};