Fix: door and manual registrations get their tickets; admin Corrections (1.52.0)

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>
This commit is contained in:
2026-11-02 12:01:10 +02:00
co-authored by Claude Opus 5.5
parent 7ce25bf40b
commit 62b10c3db5
43 changed files with 3940 additions and 95 deletions
+8 -1
View File
@@ -559,9 +559,16 @@ export type Registration = {
userId: string;
eventId: string;
status: RegistrationStatus;
// All discounts: bundle deals (bundleDiscount) plus the coupon.
// All discounts: bundle deals (bundleDiscount), the coupon, and a balance an admin made
// complimentary (complimentaryDiscount, 1.52.0).
discountTotal?: number;
bundleDiscount?: number;
complimentaryDiscount?: number;
// Corrections (1.52.0): the attendee form was left for later / tickets issued before payment.
formWaivedAt?: string | null;
ticketsReleasedAt?: string | null;
// Attendee forms still holding the tickets back (answered by POST /registrations/manual).
formsNeeded?: number;
bundleApplications?: BundleApplication[];
ticketDelivery?: "payer" | "each";
createdAt: string;