feat(tickets): ticket order request with seat locking, capacity and buyer lead

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-04 15:31:05 +08:00
1 parent b8a1873266
commit 6dca31510e
15 files changed
+775 -14

No files matched your search

@@ -43,6 +43,7 @@ The product design was approved on 2026-12-04: `docs/superpowers/specs/2026-12-0
- `landing-pages`: new TICKETS block.
- `event-invitations`: "Capacity before the event" counts held tickets.
- `event-attendance`: walk-ins leave out ticket buyers; the numbers show held tickets, and the total includes them.
## Impact
@@ -0,0 +1,17 @@
## 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 Expo` has 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 Day` has 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
@@ -35,7 +35,7 @@ Design: `design.md` (technical contracts) and `docs/superpowers/specs/2026-12-04
- **`onSale`:** gives only enabled types, the right `state` values (`ON_SALE`, `SOLD_OUT`, `ENDED`) and no company data.
- Scope: `solvway-services-counter/src/**`
- Verify: `mvn -T 1C -q -pl solvway-services-counter verify`
- [ ] 2.2 Order request, seat locking, capacity and the buyer as a lead.
- [x] 2.2 Order request, seat locking, capacity and the buyer as a lead.
- Depends on: 2.1
- Tests first:
- **Request outcomes:**