On events with a required attendee form, tickets waited for the forms, but
At the door and Manual registration never asked for them: payment was
recorded and nobody could be checked in.
- The form pops up at the door and in Manual registration; "Fill in later"
(any staff) issues the tickets once paid and sends the payer a link
(Registration.formWaivedAt, POST /api/v2/registrations/{id}/form-later).
- One form per person on picked-session bookings; a required form with no
questions no longer holds tickets back; every caller asks the ticket
generator (formsOutstanding).
- Kiosk asks for the forms the server says are missing; headings show as text.
- Admin Corrections page and /api/v2/corrections: issue missing tickets,
pay later (ticketsReleasedAt), make it free (complimentaryDiscount),
check in or undo after the event.
- Migration 20261102120000_corrections; unit and e2e tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
3.1 KiB
TypeScript
61 lines
3.1 KiB
TypeScript
import React from "react";
|
|
import { UserPlus, CreditCard, Info } from "lucide-react";
|
|
import { GuideItem } from "@/components/shared/GuideItem";
|
|
import type { HelpContent } from "./types";
|
|
|
|
/** Help content for /dashboard/supervisor/manual. */
|
|
export const supervisorManualHelpContent: HelpContent = {
|
|
title: "Manual registration",
|
|
subtitle: "Register someone and take payment on their behalf.",
|
|
tabs: [
|
|
{
|
|
key: "register",
|
|
label: "Register",
|
|
icon: UserPlus,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>Pick an event, then either search for an existing user or enter guest details (name, and at least one of email or phone). Choose ticket options and quantities — early-bird and staff pricing are applied automatically, and a discount code can be added under "Have a code?" — then create the registration. On events that take names, tick "Registering for other people?" to name each person. A new guest account is created inactive, and an activation link is sent immediately (by email if provided, otherwise WhatsApp) so they can set their own password.</p>
|
|
<p>If the event has a required attendee form, it pops up after you create the registration (and after a payment, if it's still outstanding). Fill it in now, or choose <strong>Fill in later</strong> — the tickets are issued once it's paid and the attendee is sent a link to the form.</p>
|
|
<p className="text-xs text-gray-500">After creating a registration, the Record Payment tab is pre-filled with it — switch tabs to take payment right away.</p>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
key: "payment",
|
|
label: "Record Payment",
|
|
icon: CreditCard,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>Search for a user, pick one of their registrations with an outstanding balance, and enter the amount, method, and (optionally) a backdated payment time.</p>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|
|
|
|
/** Help content for /dashboard/supervisor/manual-registration — the older, simpler form. */
|
|
export const supervisorManualRegistrationLegacyHelpContent: HelpContent = {
|
|
title: "Manual registration (legacy)",
|
|
subtitle: "A basic form for creating a registration directly.",
|
|
quickLinks: [
|
|
{ label: "Manual registration & payment", href: "/dashboard/supervisor/manual", icon: UserPlus },
|
|
],
|
|
tabs: [
|
|
{
|
|
key: "overview",
|
|
label: "Overview",
|
|
icon: Info,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>This is an older, simplified registration form — it requires typing the exact Event ID and Option ID rather than picking from a list, and doesn't support payment or early-bird pricing.</p>
|
|
<div className="space-y-4">
|
|
<GuideItem icon={UserPlus} title="Prefer the newer page" tone="brand">
|
|
The Manual Registration & Payment page (linked above) offers event/user search, live pricing, and lets you take payment in the same flow — use it unless you specifically need this one.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|