Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
1.0 KiB
1.0 KiB
MODIFIED Requirements
Requirement: Event attendance numbers
The event page SHALL show invited guests (against the cap), registered guests, attended event leads, walk-ins (event leads linked to no guest and not created by a ticket order), held tickets (only when the event sells tickets), and a total of registered plus walk-ins plus held tickets (against capacity). The numbers SHALL agree with the guest list and event leads listing, and a total above capacity SHALL be shown.
Scenario: Numbers
- GIVEN
KL Expohas capacity 100, cap 50, 40 guests of whom 30 registered and 20 attended, plus 15 walk-ins of whom 15 attended - WHEN an admin opens the event page
- THEN the event page shows invited 40 of 50, registered 30, attended 35, walk-ins 15, total 45 of 100
Scenario: Ticket buyers are not walk-ins
- GIVEN
KL Hotel Tech Dayhas 2 walk-ins, and a buyer whose order holds 3 tickets - WHEN an admin opens the event page
- THEN the page shows walk-ins 2, held tickets 3, total 5