docs: propose add-event-ticket-orders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
1 parent
58dc27dbc4
commit
896ee3bcc5
7 files changed
+757
No files matched your search
@@ -0,0 +1,2 @@
|
||||
schema: spec-driven
|
||||
created: 2026-12-04
|
||||
@@ -0,0 +1,205 @@
|
||||
# Design
|
||||
|
||||
Product design: `docs/superpowers/specs/2026-12-04-event-ticketing-design.md` (approved 2026-12-04). This file holds the technical contracts for change 1 of 2.
|
||||
|
||||
## Context
|
||||
|
||||
- Events, event leads, QR registration, landing pages (`cms_page`) and the capacity count (`EventHeadcountService`) live in `solvway-services-counter`.
|
||||
- `solvway-mobile-api` is the only door for the portal:
|
||||
- admin endpoints are `/api/admin/**`, gated by module and scoped by company through `loadEvent`;
|
||||
- public endpoints are `/api/public/**`, rate-limited in Redis through `PublicRegistrationService.limit`.
|
||||
- The landing page FORM block is the model for TICKETS:
|
||||
- `PublicPageService.page` enriches a block with `form` or `closed`;
|
||||
- `PublicPageService.submit` checks the honeypot, applies `reg:submit:<event>:<ip>`, and posts to the counter.
|
||||
- The api-gateway opens only listed public counter paths.
|
||||
- The legacy Tastefully tables `orders`/`orders_details` exist and are unused. New tables use other names so the two are never confused.
|
||||
|
||||
## Goals / Non-Goals
|
||||
|
||||
**Goals:**
|
||||
- Ticket settings and types.
|
||||
- The TICKETS block.
|
||||
- Orders with seat locking.
|
||||
- The order page.
|
||||
- Order emails.
|
||||
- The expiry job.
|
||||
- Staff order screens.
|
||||
- The buyer as an event lead.
|
||||
- Held tickets in the capacity count.
|
||||
|
||||
**Non-Goals (change 2, `add-event-tickets`):**
|
||||
- Ticket QR codes and the `/t/` page.
|
||||
- Naming attendees and consent.
|
||||
- Ticket emails.
|
||||
- Door and self check-in for tickets.
|
||||
- Invites counted as free tickets.
|
||||
- Ticket numbers in attendance.
|
||||
|
||||
The `ticket` row and its `code` column are created now, so change 2 adds no table.
|
||||
|
||||
## Decisions
|
||||
|
||||
### 1. Data (SQL in `sql/`)
|
||||
|
||||
`01-event-ticket-orders.sql` (service-counter, additive):
|
||||
|
||||
- **`event`** gains:
|
||||
- `tickets_enabled` bit NOT NULL DEFAULT 0;
|
||||
- `payment_instructions` varchar(1000) NULL;
|
||||
- `hold_days` int NOT NULL DEFAULT 3.
|
||||
- **`ticket_type`:**
|
||||
- Columns: id, company_id, event_uuid, name varchar(80), price_sen int, quantity int, sales_end_date date NULL, sort int, enabled bit, plus the created and updated fields.
|
||||
- Unique key `(event_uuid, name)`.
|
||||
- **`shop_order`:**
|
||||
- Columns:
|
||||
- id, company_id, event_uuid NULL (null is reserved for a later standalone shop);
|
||||
- reference varchar(12), token varchar(32);
|
||||
- buyer_name varchar(100), buyer_email varchar(254), buyer_mobile_e164 varchar(20) NULL, buyer_company varchar(150) NULL;
|
||||
- lead_id, event_lead_id;
|
||||
- status varchar(20), total_sen int, hold_until datetime;
|
||||
- paid_at, paid_by, payment_ref varchar(100), cancelled_at, cancelled_by, expired_at;
|
||||
- consent_at, consent_notice_id, page_path, utm_source, utm_medium, utm_campaign;
|
||||
- last_email varchar(20), created_at.
|
||||
- Unique keys `(company_id, reference)` and `(token)`.
|
||||
- Indexes `(event_uuid, status)`, `(status, hold_until)` and `(event_uuid, buyer_email, status)`.
|
||||
- **`shop_order_line`:**
|
||||
- Columns: id, order_id, kind varchar(10) (`TICKET`; `PICKUP` and `SHIP` are reserved), item_id (the ticket_type id), name varchar(80), unit_price_sen, quantity.
|
||||
- **`ticket`:**
|
||||
- Columns: id, company_id, event_uuid, order_id, order_line_id, ticket_type_id, code varchar(32) NULL, attendee_name, attendee_mobile_e164, attendee_email, event_lead_id, status varchar(10) (`ACTIVE` or `CANCELLED`), cancelled_at, cancelled_by, checked_in_at, checked_in_by.
|
||||
- Index `(ticket_type_id, status)`.
|
||||
- `code` and the attendee and check-in columns stay null until change 2.
|
||||
|
||||
`02-event-tickets-module.sql` (service-system) inserts `(41160000, 'BO_EVENT_TICKETS', 'Event tickets', 'BO', 'M', 40000000, NULL, NULL)`. No role gets it by default.
|
||||
|
||||
Both files are mirrored in `local/seed/03-colite.sql`. `99-rollback.sql` drops the new tables and columns, and the module.
|
||||
|
||||
**Money** is integer sen everywhere; the portal formats it as `RM 1,234.00`. **References** are `T-` plus 6 characters from `23456789ABCDEFGHJKMNPQRSTUVWXYZ`, retried on a unique-key clash. **Tokens** are 22 URL-safe base64 characters from `SecureRandom`, the same shape as invite tokens.
|
||||
|
||||
### 2. Seat locking
|
||||
|
||||
`TicketOrderService.request` runs in one transaction:
|
||||
|
||||
1. Load the event `FOR UPDATE` (`@Lock(PESSIMISTIC_WRITE)`). Every request for the event is serialised there. A request takes milliseconds, and per-event volume is low.
|
||||
2. Check the event:
|
||||
- the event is open;
|
||||
- each type is enabled and within its sales end date;
|
||||
- the awaiting-payment count for the email is below 3.
|
||||
3. Compute held seats per type with one grouped count over `ticket` joined to `shop_order` where the ticket is `ACTIVE` and the order is `AWAITING` or `PAID`.
|
||||
4. Check each type's seats, then the event capacity before the event days. Registered guests plus walk-ins come from `EventHeadcountService`; held tickets come from the same count.
|
||||
5. Insert the order, its lines and its tickets.
|
||||
|
||||
Staff "mark paid" on an Expired order, and a type's quantity edit, take the same event lock.
|
||||
|
||||
`EventHeadcountService` gains `heldTickets`, and the invite registration's capacity check adds it (the MODIFIED requirement).
|
||||
|
||||
- *Rejected:* optimistic version counters per type. There would be more retry code, for no benefit at this volume.
|
||||
- *Rejected:* a stored seats-left column. It can drift, while a count is always right.
|
||||
|
||||
### 3. services-counter endpoints
|
||||
|
||||
All take JSON. `companyId` is always concrete and is set by mobile-api.
|
||||
|
||||
- **Settings:**
|
||||
- `POST /counter/event/save` accepts `ticketsEnabled`, `paymentInstructions` and `holdDays`. It returns 400 on the field when switching on with blank instructions or when hold days are outside 1 to 14. mobile-api passes these only for callers with `BO_EVENT_TICKETS`.
|
||||
- **Ticket types:**
|
||||
- `POST /counter/ticketType/list {companyId, eventUuid}` returns `[{id, name, priceSen, quantity, salesEndDate, sort, enabled, held, left}]`.
|
||||
- `POST /counter/ticketType/save {companyId, eventUuid, id?, name, priceSen, quantity, salesEndDate, sort, enabled, doneBy}` returns 409 `QUANTITY_BELOW_HELD` or `NAME_TAKEN`.
|
||||
- `POST /counter/ticketType/delete {companyId, eventUuid, id, doneBy}` returns 409 `TYPE_HAS_ORDERS`.
|
||||
- **Public request:**
|
||||
- `POST /counter/ticketOrder/request {companyId, eventUuid, lines:[{ticketTypeId, quantity}], buyerName, buyerEmail, buyerMobileE164, buyerCompany, consentNoticeId, consentAt, pagePath, utmSource, utmMedium, utmCampaign}`.
|
||||
- It returns `{reference, token, status, totalSen, holdUntil, lines, paymentInstructions}`.
|
||||
- It returns 409 with one of these codes:
|
||||
- `TICKETS_CLOSED`;
|
||||
- `TYPE_UNAVAILABLE {ticketTypeId, name, left}`;
|
||||
- `EVENT_FULL {left}`;
|
||||
- `TOO_MANY_AWAITING`;
|
||||
- `BAD_QUANTITY`.
|
||||
- After the insert, it captures the buyer with `RegistrationService.register`, using source `TICKET`, no salesperson, the page path and UTM, and an `orderReference` that is written to the notes when the event lead already existed. It then stores `lead_id` and `event_lead_id` on the order.
|
||||
- A total of 0 sets the order `PAID` with `paid_by = 'system'`.
|
||||
- **Public order page:**
|
||||
- `GET /counter/ticketOrder/byToken/{token}` returns `{companyId, eventUuid, reference, status, buyerName, totalSen, holdUntil, createdAt, lines}`, or 404.
|
||||
- **Staff:**
|
||||
- `POST /counter/ticketOrder/list {companyId, eventUuid, status?, q?, page, size≤50}` returns a page of `{id, reference, buyerName, buyerEmail, tickets, totalSen, status, createdAt}`, newest first.
|
||||
- `POST /counter/ticketOrder/get {companyId, orderId}` returns the full order with lines, tickets, buyer, payment and state history fields.
|
||||
- `POST /counter/ticketOrder/markPaid {companyId, orderId, paymentRef, doneBy}` returns 409 `NOT_PAYABLE` or `SEATS_GONE`.
|
||||
- `POST /counter/ticketOrder/cancel {companyId, orderId, doneBy}` returns 409 `NOT_CANCELLABLE`.
|
||||
- `POST /counter/ticketOrder/cancelTicket {companyId, orderId, ticketId, doneBy}` returns 409 `LAST_TICKET` or `NOT_CANCELLABLE`.
|
||||
- `POST /counter/ticketOrder/resend {companyId, orderId}`.
|
||||
- **Expiry job:**
|
||||
- `TicketOrderExpiryJob` runs `@Scheduled(cron = "${tickets.expiry.cron:0 */10 * * * *}")`, which is within the spec's 15 minutes.
|
||||
- It moves `AWAITING` orders with `hold_until < now` to `EXPIRED` in batches of 100. Each order is a conditional update `WHERE status='AWAITING'`, so it never races with mark paid.
|
||||
- It queues the expired email.
|
||||
|
||||
### 4. Order emails (services-counter)
|
||||
|
||||
- **Sender:** `TicketOrderMailer` sends the emails after commit (`TransactionSynchronization.afterCommit`, as `StaffNotifier` does) through the existing counter `EmailService.send`, which goes to services-email. They are recorded in Emails, with `companyId` set to the event's company.
|
||||
- **Content:**
|
||||
- Every user value is HTML-escaped.
|
||||
- The text is English, then Bahasa Malaysia, as the invite email is.
|
||||
- The link is `<app.admin-portal-base-url>/o/<token>`. This is a new counter setting. Only the local profile has a default (`http://localhost:3001`); elsewhere it is required.
|
||||
- **Record:** `last_email` records the latest kind (`RECEIVED`, `PAID`, `EXPIRED` or `CANCELLED`), so resend sends that kind again.
|
||||
- **Failures:** they are logged with the order id only, and never roll back the order.
|
||||
|
||||
### 5. Landing page block (services-counter and mobile-api)
|
||||
|
||||
- **`CmsBlockValidator` TICKETS:**
|
||||
- `eventUuid` is required, belongs to the company, and is enabled, not ended and `tickets_enabled`.
|
||||
- `heading` is at most 120 characters, `text` at most 1000.
|
||||
- `eyebrow`, `look` and `anchor` are allowed.
|
||||
- Every other field is refused with `PagesUnusedField`.
|
||||
- **`PublicPageService.page`:** for a TICKETS block it adds `tickets: {eventName, startDate, endDate, location, notice, types:[{id, name, priceSen, left, state: ON_SALE|SOLD_OUT|ENDED}]}` when the event accepts requests, else `closed: true`.
|
||||
- **`POST /api/public/pages/{company}/{slug}/tickets/{block}`:**
|
||||
- It follows `submit`: the same `page:load` and `reg:submit:<event>:<ip>` limits, the honeypot, and consent from the company's current notice.
|
||||
- It normalises the inputs with the `PublicRegistrationService` helpers, then posts to counter `ticketOrder/request`.
|
||||
- On the honeypot it returns a fake success without a token, and the portal shows the thank-you without a link.
|
||||
- **`GET /api/public/orders/{token}`:**
|
||||
- It checks the token shape first, then applies `ord:load:<ip>` at 120 per 10 minutes.
|
||||
- It returns the order with the event's name, dates and location, and the payment instructions only while `AWAITING`. Otherwise it gives 404 `ORDER_INVALID`.
|
||||
- **Public types:**
|
||||
- `GET /counter/ticketType/onSale/{eventUuid}` returns only `{ticketsOpen, paymentInstructions, types:[{id, name, priceSen, left, state}]}` for enabled types.
|
||||
- mobile-api's public calls run without a user token, so they pass through the api-gateway's public path list, as `registration/register` and `cmsPage/findPublished` do.
|
||||
- The staff `ticketType/list`, which needs a company, stays closed.
|
||||
- **Gateway:** open these anchored pairs in `JWTAuthFilter`:
|
||||
- `POST /counter/ticketOrder/request`;
|
||||
- `GET /counter/ticketOrder/byToken/[A-Za-z0-9_-]{22}`;
|
||||
- `GET /counter/ticketType/onSale/\d{1,19}`.
|
||||
|
||||
### 6. mobile-api admin
|
||||
|
||||
- **Endpoints,** gated by `BO_EVENT_TICKETS`, with the company scope from `loadEvent` and `@Audited`:
|
||||
- `GET` and `PUT /api/admin/events/{uuid}/tickets/settings`;
|
||||
- `GET`, `POST`, `PUT` and `DELETE /api/admin/events/{uuid}/ticket-types[/{id}]`;
|
||||
- `GET /api/admin/events/{uuid}/orders?status&q&page`;
|
||||
- `GET /api/admin/events/{uuid}/orders/{orderId}`;
|
||||
- `POST /api/admin/events/{uuid}/orders/{orderId}/paid {paymentRef}`;
|
||||
- `POST .../cancel`, `POST .../tickets/{ticketId}/cancel` and `POST .../resend`.
|
||||
- **Scoping:** the order is fetched with `companyId` and must belong to `{uuid}`, else 404.
|
||||
- **Event GET:** it gains `ticketsEnabled` for every reader, so the portal knows when to show the section.
|
||||
|
||||
### 7. Portal
|
||||
|
||||
- **Event page:**
|
||||
- A **Tickets** section shows when the user has `BO_EVENT_TICKETS`. It holds the settings form, the ticket types table (with add, edit and disable or delete), and a link to the orders.
|
||||
- Orders are at `/events/[uuid]/orders`, a listing with a filter and search, and `/events/[uuid]/orders/[orderId]`, the detail page with its actions and confirm dialogs.
|
||||
- `ROUTE_MODULES` maps both pages to `BO_EVENT_TICKETS`.
|
||||
- **TICKETS block:**
|
||||
- It is rendered in `CmsBlocks.tsx` as `TicketsBlock`, with types, quantity steppers, the running total, the buyer fields and the consent. It reuses the `RegistrationForm` field and consent pieces, plus a thank-you state.
|
||||
- The editors add it to `BLOCK_TYPES`, `emptyBlock` and `BlockFields`, with an event picker limited to events with tickets on, using `ticketsEnabled` from the events list.
|
||||
- The canvas shows the real types through the preview data.
|
||||
- **Order page:** `/o/[token]` is public in `routeGuard`, sharing the pattern for `/r/`, `/i/` and `/c/`. Its proxy is `app/api/public/orders/[token]`, which forwards the last X-Forwarded-For hop as the other proxies do.
|
||||
- **Labels** in `defaultMessages.ts` and `zh_CN.seed.json`, plus `sql/03-*-labels.sql` cut from `npm run i18n:sql`.
|
||||
|
||||
## Risks / Trade-offs
|
||||
|
||||
- **Event row lock under a rush.** Requests for one event are serialised. That is fine at the expected volume (tens per minute). If a big launch needs more, move to per-type locks.
|
||||
- **Seat hoarding.** One email can hold up to 30 seats (3 orders × 10) for the hold days, and many emails can hold more. This is mitigated by the IP limit, the honeypot and staff cancel. A CAPTCHA is deferred.
|
||||
- **Emails in English and BM only,** matching invites. The zh-CN email text is deferred with the rest of the email localisation.
|
||||
- **Expired orders may still be paid.** Staff can rescue them only while their seats are free. This is refused clearly otherwise.
|
||||
|
||||
## Migration Plan
|
||||
|
||||
1. Run `sql/01` and `sql/02` before the new images go live. Only new tables and defaulted columns are added, so the running images are unaffected.
|
||||
2. Set `app.admin-portal-base-url` on services-counter.
|
||||
3. Deploy services-counter, mobile-api, api-gateway and admin-portal together.
|
||||
4. A super admin grants Event tickets to the right roles.
|
||||
5. Rollback: deploy the previous images; `99-rollback.sql` only if the data should go too.
|
||||
@@ -0,0 +1,69 @@
|
||||
# Proposal
|
||||
|
||||
## Why
|
||||
|
||||
Co-Lite is growing from an event lead-capture tool into an event hosting platform. Some events are free and some are paid. Paid events need tickets: an organiser sets ticket types and prices, and visitors request tickets on the event's landing page. There is no payment gateway yet. Buyers pay outside Co-Lite and staff mark the order paid. Every buyer still becomes a lead on the event, so paid events feed the sales pipeline just as free ones do.
|
||||
|
||||
The product design was approved on 2026-12-04: `docs/superpowers/specs/2026-12-04-event-ticketing-design.md`. This is the first of two changes. It covers the order side. The second change, `add-event-tickets`, covers QR tickets, naming attendees, consent and check-in at the door.
|
||||
|
||||
## What Changes
|
||||
|
||||
- **Event ticket settings:**
|
||||
- Events gain a Tickets switch, which is off by default. While it is off, the event behaves exactly as today.
|
||||
- Ticketed events also gain payment instructions and hold days (1 to 14, default 3).
|
||||
- **Ticket types per event:** each has a name, a price in MYR (0 or more), a quantity, an optional sales end date, a sort order and an enabled flag.
|
||||
- A type with orders cannot be deleted, only disabled.
|
||||
- A type's quantity cannot drop below the seats it already holds.
|
||||
- **New landing-page block TICKETS:**
|
||||
- It shows the event's ticket types with price and seats left.
|
||||
- It takes quantities, up to 10 per order, and the buyer's details with the privacy consent.
|
||||
- It creates an order and shows a thank-you with the payment instructions and the order link.
|
||||
- **Orders:**
|
||||
- An order holds lines, one per ticket type, and one ticket row per seat. The line has a `kind` column, `TICKET` for now, so merch can be added later.
|
||||
- Order states: Awaiting payment, Paid, Cancelled and Expired. Orders that total RM 0 are Paid at once.
|
||||
- Seats are locked so ticket types never oversell. Held tickets count toward event capacity before the event days.
|
||||
- At most 3 orders per email per event may await payment at once.
|
||||
- **Order page:** a public page at `/o/<token>` shows the order's status, lines, total, payment instructions and hold expiry.
|
||||
- **Expiry job:** a scheduled job expires unpaid orders after the hold and frees their seats.
|
||||
- **Emails:** order received, order paid, order expired and order cancelled. "Order paid" confirms payment only; the tickets come with change 2.
|
||||
- **Staff Tickets section on the event, under the new permission `BO_EVENT_TICKETS`:**
|
||||
- the ticket settings and ticket types;
|
||||
- an orders list and an order detail page, with these actions: mark paid (with an optional payment reference), cancel order, cancel ticket, and resend email.
|
||||
- Every action is audited.
|
||||
- **Buyer as a lead:** the buyer becomes an event lead with the new source `TICKET`, matched as in QR registration.
|
||||
- **Capacity:** "Capacity before the event" now also counts held tickets.
|
||||
|
||||
## Capabilities
|
||||
|
||||
### New Capabilities
|
||||
|
||||
- `event-ticketing`: ticket types, ticket orders, the order page, order emails, hold expiry and the staff order screens.
|
||||
|
||||
### Modified Capabilities
|
||||
|
||||
- `landing-pages`: new TICKETS block.
|
||||
- `event-invitations`: "Capacity before the event" counts held tickets.
|
||||
|
||||
## Impact
|
||||
|
||||
- **SQL:**
|
||||
- service-counter: new tables `ticket_type`, `shop_order`, `shop_order_line` and `ticket`; new event columns `tickets_enabled`, `payment_instructions` and `hold_days`.
|
||||
- service-system: new module `BO_EVENT_TICKETS`.
|
||||
- **solvway-services-counter:**
|
||||
- ticket entities and services;
|
||||
- order creation with seat locking;
|
||||
- the expiry job;
|
||||
- `CmsBlockValidator` (TICKETS);
|
||||
- the capacity count in `EventHeadcountService` and the invite registration.
|
||||
- **solvway-mobile-api:**
|
||||
- admin ticket endpoints;
|
||||
- public TICKETS submit and order page endpoints, with their limits;
|
||||
- order emails;
|
||||
- public page data for TICKETS.
|
||||
- **solvway-api-gateway:** open the new public counter paths.
|
||||
- **solvway-admin-portal:**
|
||||
- the Tickets section on the event, plus the order list and detail pages;
|
||||
- the TICKETS block in the renderer and both editors;
|
||||
- the `/o/[token]` page and its proxy;
|
||||
- labels in English and zh-CN.
|
||||
- **No new dependencies.**
|
||||
@@ -0,0 +1,23 @@
|
||||
## MODIFIED Requirements
|
||||
|
||||
### Requirement: Capacity before the event
|
||||
|
||||
When an event has a capacity, invite registrations and ticket requests SHALL be refused before the event days once registered guests plus walk-in event leads plus held tickets would exceed it; an invite shows "This event is full". On the event days (Malaysia, start through end date) nothing SHALL be refused for capacity, though ticket types keep their own seats. Staff capture SHALL never be refused for capacity.
|
||||
|
||||
#### Scenario: Full before the event
|
||||
|
||||
- **GIVEN** `KL Expo` starts next week, has capacity 2, and two registered guests
|
||||
- **WHEN** a third guest submits their invite
|
||||
- **THEN** the page says the event is full and nothing is saved
|
||||
|
||||
#### Scenario: Not refused on the day
|
||||
|
||||
- **GIVEN** the same event on its first day
|
||||
- **WHEN** the third guest submits their invite
|
||||
- **THEN** they are registered
|
||||
|
||||
#### Scenario: Held tickets fill the event
|
||||
|
||||
- **GIVEN** `KL Expo` starts next week, has capacity 10, one registered guest and 9 held tickets
|
||||
- **WHEN** another guest submits their invite
|
||||
- **THEN** the page says the event is full and nothing is saved
|
||||
@@ -0,0 +1,248 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Ticket Settings On An Event
|
||||
|
||||
An event SHALL have a Tickets switch that is off by default, payment instructions of up to 1000 characters, and hold days from 1 to 14 that default to 3. Only users with `BO_EVENT_TICKETS` SHALL change them. While the switch is off, the event SHALL behave as it did before this change, and no ticket order SHALL be accepted for it. Turning the switch on SHALL require payment instructions.
|
||||
|
||||
#### Scenario: Turn tickets on
|
||||
|
||||
- **WHEN** a user with `BO_EVENT_TICKETS` turns Tickets on for `KL Hotel Tech Day` with payment instructions `Maybank 5140 1234 5678, ref your order number` and hold days 3
|
||||
- **THEN** the event shows Tickets on with those instructions and 3 hold days
|
||||
|
||||
#### Scenario: Instructions required
|
||||
|
||||
- **WHEN** a user turns Tickets on with empty payment instructions
|
||||
- **THEN** the save is refused on the payment instructions field and nothing changes
|
||||
|
||||
#### Scenario: Hold days out of range
|
||||
|
||||
- **WHEN** a user saves hold days 15
|
||||
- **THEN** the save is refused on the hold days field
|
||||
|
||||
#### Scenario: Without the permission
|
||||
|
||||
- **GIVEN** a user has `BO_EVENTS` but not `BO_EVENT_TICKETS`
|
||||
- **WHEN** they open the event
|
||||
- **THEN** they do not see the Tickets section
|
||||
|
||||
### Requirement: Ticket Types
|
||||
|
||||
A ticketed event SHALL have zero or more ticket types. Each type SHALL have a name of 1 to 80 characters unique within the event, a price in MYR from 0.00 to 99999.99 in whole sen, a quantity of at least 1, an optional sales end date (empty means the event's end date), a sort order and an enabled flag.
|
||||
|
||||
#### Scenario: Add types
|
||||
|
||||
- **WHEN** staff add `Early bird` at RM 150.00 quantity 20 and `General` at RM 250.00 quantity 100
|
||||
- **THEN** both types are listed in sort order with their prices and 20 and 100 seats left
|
||||
|
||||
### Requirement: Ticket Type Changes
|
||||
|
||||
A type with any order SHALL NOT be deleted, only disabled. A type's quantity SHALL NOT be set below the seats it holds. A price change SHALL apply only to orders made after it.
|
||||
|
||||
#### Scenario: Type with orders cannot be deleted
|
||||
|
||||
- **GIVEN** `Early bird` has an order
|
||||
- **WHEN** staff delete it
|
||||
- **THEN** the delete is refused with "This ticket type has orders. Disable it instead."
|
||||
|
||||
#### Scenario: Quantity below held seats
|
||||
|
||||
- **GIVEN** `Early bird` holds 12 seats
|
||||
- **WHEN** staff set its quantity to 10
|
||||
- **THEN** the save is refused on the quantity field
|
||||
|
||||
#### Scenario: Price change keeps old orders
|
||||
|
||||
- **GIVEN** an order holds 2 `General` tickets at RM 250.00
|
||||
- **WHEN** staff change `General` to RM 280.00
|
||||
- **THEN** that order still totals RM 500.00
|
||||
|
||||
### Requirement: Seats Held
|
||||
|
||||
A ticket SHALL hold a seat while its order is Awaiting payment or Paid and the ticket is not cancelled. A type's seats left SHALL be its quantity minus the seats it holds. Requests SHALL never cause a type to hold more seats than its quantity, including when requests arrive at the same moment. When the event has a capacity, a request made before the event days SHALL be refused if held tickets plus registered guests plus walk-in event leads would exceed it.
|
||||
|
||||
#### Scenario: Last seat taken once
|
||||
|
||||
- **GIVEN** `VIP` has 1 seat left
|
||||
- **WHEN** two visitors request 1 `VIP` ticket at the same moment
|
||||
- **THEN** one order is created and the other request is told `VIP` has only 0 left
|
||||
|
||||
#### Scenario: Expired order frees seats
|
||||
|
||||
- **GIVEN** an Awaiting-payment order holds 3 `General` tickets
|
||||
- **WHEN** it expires
|
||||
- **THEN** `General` shows 3 more seats left
|
||||
|
||||
#### Scenario: Event capacity
|
||||
|
||||
- **GIVEN** `KL Hotel Tech Day` starts next week with capacity 50, 45 held tickets and 3 registered guests
|
||||
- **WHEN** a visitor requests 3 tickets
|
||||
- **THEN** the request is refused with "Only 2 places are left for this event"
|
||||
|
||||
### Requirement: Ticket Request
|
||||
|
||||
A ticket request SHALL carry a quantity per ticket type from 0 to 10 with a total from 1 to 10, the buyer's name and email (both required), an optional mobile and company, and the privacy notice consent (required). Inputs SHALL be normalised and limited as in staff capture. An accepted request SHALL create one order with a line per type keeping its name and price at the time, one ticket per seat, an order reference unique within the company, and an unguessable link token.
|
||||
|
||||
#### Scenario: Request two types
|
||||
|
||||
- **WHEN** a visitor requests 2 `General` and 1 `VIP` as `Aisyah`, `aisyah@example.test`, and ticks the consent
|
||||
- **THEN** an order with 3 tickets totalling RM 1000.00 is Awaiting payment
|
||||
- **AND** the thank-you shows its reference, lines, total, payment instructions, hold expiry and a "View your order" link
|
||||
|
||||
#### Scenario: Missing email or consent
|
||||
|
||||
- **WHEN** a visitor submits without an email, or without ticking the consent
|
||||
- **THEN** nothing is saved and the error shows under that field
|
||||
|
||||
### Requirement: Ticket Request Refusals
|
||||
|
||||
A request SHALL be refused, saving nothing, when a requested type is disabled, past its sales end date or short of seats, naming the type and its seats left. A request SHALL be accepted only while the event has Tickets on, is enabled, has not passed its end date in Malaysia time, and its company has a privacy notice.
|
||||
|
||||
#### Scenario: Over ten
|
||||
|
||||
- **WHEN** a visitor requests 11 tickets
|
||||
- **THEN** the request is refused and nothing is saved
|
||||
|
||||
#### Scenario: Sales ended for a type
|
||||
|
||||
- **GIVEN** `Early bird` sales ended yesterday
|
||||
- **WHEN** a visitor requests 1 `Early bird`
|
||||
- **THEN** the request is refused naming `Early bird`
|
||||
|
||||
#### Scenario: Tickets turned off
|
||||
|
||||
- **GIVEN** staff turned Tickets off for `KL Hotel Tech Day`
|
||||
- **WHEN** a visitor submits a request
|
||||
- **THEN** the request is refused and nothing is saved
|
||||
|
||||
### Requirement: Free Orders
|
||||
|
||||
An order whose total is RM 0.00 SHALL be Paid when it is created, without staff action. Its thank-you page and email SHALL say the order is confirmed and SHALL NOT show payment instructions.
|
||||
|
||||
#### Scenario: Free ticket type
|
||||
|
||||
- **GIVEN** `Community pass` is priced RM 0.00
|
||||
- **WHEN** a visitor requests 2 `Community pass`
|
||||
- **THEN** the order is Paid at once and the thank-you says it is confirmed
|
||||
|
||||
### Requirement: Awaiting-Payment Limit Per Buyer
|
||||
|
||||
An email SHALL have at most 3 orders Awaiting payment per event. A further request SHALL be refused with "You already have orders awaiting payment for this event." and nothing SHALL be saved.
|
||||
|
||||
#### Scenario: Fourth unpaid order
|
||||
|
||||
- **GIVEN** `aisyah@example.test` has 3 orders Awaiting payment for `KL Hotel Tech Day`
|
||||
- **WHEN** she requests another ticket
|
||||
- **THEN** the request is refused with that message
|
||||
|
||||
### Requirement: Order States
|
||||
|
||||
An order SHALL be in one of four states:
|
||||
|
||||
- **Awaiting payment.**
|
||||
- **Paid.**
|
||||
- **Cancelled.**
|
||||
- **Expired.**
|
||||
|
||||
An order Awaiting payment SHALL hold its seats until its hold expiry, which is the creation time plus the event's hold days at the time of the request. After the hold expiry it SHALL become Expired within 15 minutes. Paid, Cancelled and Expired orders SHALL never expire.
|
||||
|
||||
#### Scenario: Hold runs out
|
||||
|
||||
- **GIVEN** an order made on 1 December at 10:00 with 3 hold days is still Awaiting payment
|
||||
- **WHEN** it is 4 December 10:15
|
||||
- **THEN** the order is Expired and its seats are free
|
||||
|
||||
### Requirement: Buyer Becomes An Event Lead
|
||||
|
||||
An accepted request SHALL match the buyer to a lead with the QR registration rules, including the existing-lead notes, and create the buyer's event lead with source TICKET, no salesperson, the consent time and notice version, and the page address and UTM values as for a FORM block. A buyer already captured at the event SHALL change nothing on that event lead except a note naming the order reference. These event leads SHALL appear in every lead listing, export and the dashboard.
|
||||
|
||||
#### Scenario: New buyer
|
||||
|
||||
- **WHEN** `Aisyah`, unknown to INS, requests tickets
|
||||
- **THEN** staff see `Aisyah` in the event's leads with source Ticket, NEW and OPEN
|
||||
|
||||
#### Scenario: Buyer already captured
|
||||
|
||||
- **GIVEN** `Aisyah` registered at `KL Hotel Tech Day` through the QR code
|
||||
- **WHEN** she requests tickets
|
||||
- **THEN** her event lead keeps source QR, and its notes name the order reference
|
||||
|
||||
### Requirement: Order Page
|
||||
|
||||
The order link `/o/<token>` SHALL show:
|
||||
|
||||
- the event's name, dates and location;
|
||||
- the order reference, lines, total, state and creation time;
|
||||
- while Awaiting payment, the payment instructions and hold expiry.
|
||||
|
||||
It SHALL show the buyer's name but no other personal details. An unknown token SHALL show "This order link is not valid." The page SHALL be limited to 120 loads per IP per 10 minutes.
|
||||
|
||||
#### Scenario: Unpaid order page
|
||||
|
||||
- **GIVEN** order `T-7K3M9Q` is Awaiting payment
|
||||
- **WHEN** the buyer opens its link
|
||||
- **THEN** the page shows the lines, total, payment instructions and hold expiry
|
||||
|
||||
#### Scenario: Unknown link
|
||||
|
||||
- **WHEN** a visitor opens `/o/` with an unknown token
|
||||
- **THEN** the page says the order link is not valid and shows nothing else
|
||||
|
||||
### Requirement: Order Emails
|
||||
|
||||
The buyer SHALL get an email when their order is created (lines, total, payment instructions, hold expiry and order link), becomes Paid (a confirmation with lines, total and order link), Expires, or is Cancelled by staff. Each email SHALL be recorded in Emails. A failed send SHALL NOT undo the order change, and staff SHALL be able to resend the latest email of an order.
|
||||
|
||||
#### Scenario: Order received email
|
||||
|
||||
- **WHEN** `Aisyah` requests tickets
|
||||
- **THEN** she receives an email with the order reference, payment instructions, hold expiry and order link
|
||||
|
||||
#### Scenario: Paid email
|
||||
|
||||
- **WHEN** staff mark her order Paid
|
||||
- **THEN** she receives a confirmation email
|
||||
|
||||
### Requirement: Staff Order Screens
|
||||
|
||||
The event's Tickets section SHALL list the event's orders with reference, buyer name, email, ticket count, total, state and creation time, newest first in pages of 50, filterable by state and searchable by reference, name, email or mobile. The order detail SHALL show the lines, tickets, buyer details, payment reference, and who changed the state and when. A user without `BO_EVENT_TICKETS` SHALL NOT see or reach these screens.
|
||||
|
||||
#### Scenario: Company separation
|
||||
|
||||
- **WHEN** INS staff open an order of a CV event by its address
|
||||
- **THEN** they get not found
|
||||
|
||||
### Requirement: Staff Order Actions
|
||||
|
||||
Users with `BO_EVENT_TICKETS` SHALL be able to mark an order paid with an optional payment reference of up to 100 characters (when Awaiting payment, or Expired with all its seats still available), cancel an order that is Awaiting payment or Paid (freeing its seats), cancel one ticket of such an order that has another uncancelled ticket (freeing the seat and lowering the total), and resend the latest order email. Each action SHALL be written to the admin audit log.
|
||||
|
||||
#### Scenario: Mark paid with reference
|
||||
|
||||
- **GIVEN** order `T-7K3M9Q` is Awaiting payment
|
||||
- **WHEN** staff mark it paid with reference `MBB 0412 883`
|
||||
- **THEN** the order is Paid with that reference, their name and the time
|
||||
- **AND** the audit log records the action
|
||||
|
||||
#### Scenario: Expired order after its seats were taken
|
||||
|
||||
- **GIVEN** order `T-7K3M9Q` expired, and its `VIP` seat was then taken by another order
|
||||
- **WHEN** staff mark it paid
|
||||
- **THEN** the action is refused with "Not enough seats left to confirm this order" and the order stays Expired
|
||||
|
||||
#### Scenario: Cancel one ticket
|
||||
|
||||
- **GIVEN** a Paid order holds 3 `General` tickets at RM 250.00
|
||||
- **WHEN** staff cancel one ticket
|
||||
- **THEN** the order holds 2 tickets, totals RM 500.00, and `General` has one more seat left
|
||||
|
||||
### Requirement: Ticket Request Abuse Limits
|
||||
|
||||
Ticket requests SHALL follow the QR registration limits: at most 60 requests per client IP per event in 10 minutes, answered above the limit with "Too many registrations from this device. Try again later." A request that fills the hidden honeypot field SHALL get the normal thank-you page and save nothing.
|
||||
|
||||
#### Scenario: Too many requests
|
||||
|
||||
- **WHEN** one IP submits 61 ticket requests for an event within 10 minutes
|
||||
- **THEN** the 61st is refused with "Too many registrations from this device. Try again later."
|
||||
|
||||
#### Scenario: Honeypot filled
|
||||
|
||||
- **WHEN** a request fills the hidden honeypot field
|
||||
- **THEN** the thank-you page shows and no order is saved
|
||||
@@ -0,0 +1,31 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Tickets Block
|
||||
|
||||
A page MAY hold TICKETS blocks. The page SHALL show each enabled ticket type of the block's event in sort order with its name, its price as `RM 150.00` or `Free`, and its seats left or "Sold out" or "Sales ended", a quantity picker per type with an order total of at most 10, the running total, the buyer's fields and the privacy consent. When the event no longer accepts requests, the block SHALL say ticket sales are closed and the rest of the page SHALL still show.
|
||||
|
||||
#### Scenario: Visitor sees ticket types
|
||||
|
||||
- **GIVEN** a published page with a TICKETS block for `KL Hotel Tech Day`, whose types are `Early bird` RM 150.00 with 12 left, `General` RM 250.00 with 80 left, and `VIP` RM 500.00 sold out
|
||||
- **WHEN** a visitor opens the page
|
||||
- **THEN** the block lists the three types with their prices, shows "Sold out" for `VIP`, and offers no quantity for `VIP`
|
||||
|
||||
#### Scenario: Sales closed
|
||||
|
||||
- **GIVEN** the event of a TICKETS block ended yesterday
|
||||
- **WHEN** a visitor opens the page
|
||||
- **THEN** the block says ticket sales are closed and the other blocks still show
|
||||
|
||||
### Requirement: Tickets Block Fields
|
||||
|
||||
A TICKETS block SHALL name one event of the page's company that is enabled, not ended and has Tickets on when saved. It MAY have a heading (120 characters), text (1000 characters), a section label, a look and a link name. The server SHALL refuse any other field. Both editors SHALL offer the block and pick its event from the company's events that qualify.
|
||||
|
||||
#### Scenario: Event without tickets
|
||||
|
||||
- **WHEN** staff save a TICKETS block for an event whose Tickets switch is off
|
||||
- **THEN** the save is refused on that block's event field
|
||||
|
||||
#### Scenario: Add a tickets block in the editor
|
||||
|
||||
- **WHEN** staff add a Tickets section in the on-page editor and pick `KL Hotel Tech Day`
|
||||
- **THEN** the canvas shows that event's ticket types
|
||||
@@ -0,0 +1,179 @@
|
||||
# Tasks
|
||||
|
||||
Design: `design.md` (technical contracts) and `docs/superpowers/specs/2026-12-04-event-ticketing-design.md` (product).
|
||||
|
||||
**Mode:** all tasks run serially in the main session. The owner asked for no worker subagents. Each task starts with failing tests (TDD).
|
||||
|
||||
## 1. Data
|
||||
|
||||
- [ ] 1.1 Write the SQL:
|
||||
- `sql/01-event-ticket-orders.sql`: the event columns, `ticket_type`, `shop_order`, `shop_order_line` and `ticket`;
|
||||
- `sql/02-event-tickets-module.sql`: `BO_EVENT_TICKETS`;
|
||||
- `sql/99-rollback.sql`.
|
||||
|
||||
Mirror 01 and 02 in `local/seed/03-colite.sql`, and apply them to the local database.
|
||||
- Depends on: none
|
||||
- Scope: `local/seed/**`, `openspec/changes/add-event-ticket-orders/sql/**`
|
||||
- Verify: `SELECT` shows the tables, keys, event columns and module row.
|
||||
|
||||
## 2. services-counter
|
||||
|
||||
- [ ] 2.1 Ticket entities, settings and ticket types.
|
||||
- Depends on: 1.1
|
||||
- Tests first:
|
||||
- **Entities:** they map to the DDL.
|
||||
- **Event save:**
|
||||
- switching on with blank instructions is refused on the field;
|
||||
- hold days 0 or 15 are refused;
|
||||
- a valid save persists.
|
||||
- **Type save:**
|
||||
- a duplicate name gives `NAME_TAKEN`;
|
||||
- a quantity below held gives `QUANTITY_BELOW_HELD`;
|
||||
- another company's event gives 404.
|
||||
- **Type delete:** gives `TYPE_HAS_ORDERS` when the type has orders.
|
||||
- **`list`:** gives the right `held` and `left` with a mix of ACTIVE and CANCELLED tickets and AWAITING, PAID and EXPIRED orders.
|
||||
- **`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.
|
||||
- Depends on: 2.1
|
||||
- Tests first:
|
||||
- **Request outcomes:**
|
||||
- a valid request makes an order, its lines and its tickets, with the reference format, the token and the correct total;
|
||||
- a total of 0 makes the order PAID;
|
||||
- quantities 0, 11 or negative give `BAD_QUANTITY`;
|
||||
- a disabled type, a type past its sales end, or a type short of seats gives `TYPE_UNAVAILABLE` with `left`;
|
||||
- a 4th awaiting order gives `TOO_MANY_AWAITING`;
|
||||
- Tickets off, a disabled event or an ended event gives `TICKETS_CLOSED`.
|
||||
- **Capacity:**
|
||||
- before the event days, guests plus walk-ins plus held tickets over capacity gives `EVENT_FULL` with `left`;
|
||||
- on the event days it does not.
|
||||
- **Concurrency:** two threads request the last seat; exactly one order is created (integration test on the real lock).
|
||||
- **Buyer lead:**
|
||||
- a new buyer gets an event lead with source `TICKET` and the UTM values;
|
||||
- a buyer already captured keeps the old source and gets a note naming the reference.
|
||||
- **Headcount:** it adds `heldTickets`, and the invite registration's capacity check counts held tickets.
|
||||
- Scope: `solvway-services-counter/src/**`
|
||||
- Verify: `mvn -T 1C -q -pl solvway-services-counter verify`
|
||||
- [ ] 2.3 Staff order actions, the expiry job and emails.
|
||||
- Depends on: 2.2
|
||||
- Tests first:
|
||||
- **`list`:** filter, search and paging.
|
||||
- **`get`:** another company's order gives 404.
|
||||
- **`markPaid`:**
|
||||
- from AWAITING;
|
||||
- from EXPIRED with seats free;
|
||||
- `SEATS_GONE`;
|
||||
- `NOT_PAYABLE` from PAID or CANCELLED.
|
||||
- **`cancel`:** frees the seats; `NOT_CANCELLABLE` from EXPIRED.
|
||||
- **`cancelTicket`:** lowers the total and frees the seat; `LAST_TICKET`.
|
||||
- **Expiry job:**
|
||||
- expires only orders past their hold;
|
||||
- a conditional update never overwrites PAID.
|
||||
- **Mailer:**
|
||||
- sends after commit;
|
||||
- escapes user values;
|
||||
- puts the order link in the email;
|
||||
- records `last_email`;
|
||||
- a failed send leaves the order changed.
|
||||
- **`resend`:** sends the `last_email` kind.
|
||||
- Scope: `solvway-services-counter/src/**`
|
||||
- Verify: `mvn -T 1C -q -pl solvway-services-counter verify`
|
||||
- [ ] 2.4 `CmsBlockValidator` TICKETS.
|
||||
- Depends on: 2.1
|
||||
- Tests first:
|
||||
- **Event checks:**
|
||||
- a TICKETS block without an event is refused;
|
||||
- another company's event is refused;
|
||||
- an event with Tickets off is refused;
|
||||
- an ended event is refused.
|
||||
- **Field limits:**
|
||||
- a heading of 121 characters is refused;
|
||||
- text of 1001 characters is refused;
|
||||
- an unused field is refused with `PagesUnusedField`.
|
||||
- **Valid block:** a valid block with eyebrow, look and anchor is accepted.
|
||||
- Scope: `solvway-services-counter/src/**`
|
||||
- Verify: `mvn -T 1C -q -pl solvway-services-counter verify`
|
||||
|
||||
## 3. mobile-api and gateway
|
||||
|
||||
- [ ] 3.1 Admin ticket endpoints.
|
||||
- Depends on: 2.3
|
||||
- Tests first:
|
||||
- **Gating:**
|
||||
- every endpoint gives 403 without `BO_EVENT_TICKETS`;
|
||||
- another company's event or order gives 404;
|
||||
- the event PUT ignores ticket settings without the permission.
|
||||
- **Audit:** each write is audited.
|
||||
- **Event GET:** it returns `ticketsEnabled`.
|
||||
- Scope: `solvway-mobile-api/src/**`
|
||||
- Verify: `mvn -T 1C -q -pl solvway-mobile-api verify`
|
||||
- [ ] 3.2 Public TICKETS page data, request and order page, and the gateway paths.
|
||||
- Depends on: 2.4, 3.1
|
||||
- Tests first:
|
||||
- **Page data:** the page GET adds `tickets` or `closed` to a TICKETS block.
|
||||
- **Request:**
|
||||
- the honeypot gives a fake success and nothing is posted;
|
||||
- the `reg:submit` limit applies;
|
||||
- inputs are normalised;
|
||||
- counter errors map to the right public messages.
|
||||
- **Order page:**
|
||||
- a bad token shape gives 404 with no backend call;
|
||||
- the `ord:load` limit applies;
|
||||
- the payment instructions appear only while AWAITING.
|
||||
- **Gateway:** the three paths are open and nothing else changes.
|
||||
- Scope: `solvway-mobile-api/src/**`, `solvway-api-gateway/src/**`
|
||||
- Verify: `mvn -T 1C -q -pl solvway-mobile-api,solvway-api-gateway verify`
|
||||
|
||||
## 4. Portal
|
||||
|
||||
- [ ] 4.1 Event Tickets section, orders list and order detail.
|
||||
- Depends on: 3.1
|
||||
- Tests first:
|
||||
- **Visibility:** the section is hidden without `BO_EVENT_TICKETS`.
|
||||
- **Settings form:** shows the validation errors.
|
||||
- **Types table:** add, edit and disable, with the delete error shown.
|
||||
- **Orders list:** filter and search.
|
||||
- **Order detail actions:**
|
||||
- mark paid with a reference;
|
||||
- cancel order and cancel ticket, each with a confirm;
|
||||
- the `SEATS_GONE` and `LAST_TICKET` messages shown;
|
||||
- resend.
|
||||
- **`ROUTE_MODULES`:** the new pages are mapped.
|
||||
- Scope: `solvway-admin-portal/app/**`
|
||||
- Verify: `npx vitest run` (check the exit code), `npx tsc --noEmit`, `npm run lint`
|
||||
- [ ] 4.2 The TICKETS block, the editors and the order page.
|
||||
- Depends on: 3.2, 4.1
|
||||
- Tests first:
|
||||
- **Renderer:**
|
||||
- types, prices, `Free`, sold out and sales ended;
|
||||
- steppers capped at 10 in total;
|
||||
- the running total;
|
||||
- field errors;
|
||||
- the thank-you with instructions and the order link;
|
||||
- the free-order confirmation;
|
||||
- the closed state.
|
||||
- **Editors:** the block appears in the Add section menu; the event picker lists only events with tickets on.
|
||||
- **`/o/[token]`:**
|
||||
- states and instructions;
|
||||
- the invalid link message;
|
||||
- the route is public;
|
||||
- the proxy sends one X-Forwarded-For hop.
|
||||
- **Labels:** in English and zh-CN, plus the `sql/03-*-labels.sql` file.
|
||||
- Scope: `solvway-admin-portal/app/**`, `openspec/changes/add-event-ticket-orders/sql/**`, `local/seed/04-zh-cn-messages.sql`
|
||||
- Verify: `npx vitest run` (check the exit code), `npx tsc --noEmit`, `npm run lint`
|
||||
|
||||
## 5. Verify and ship
|
||||
|
||||
- [ ] 5.1 Rebuild the local stack, then check in Playwright.
|
||||
- Sign in as admin.
|
||||
- Grant Event tickets to the role.
|
||||
- Click into the test event, turn Tickets on, and add the types.
|
||||
- Add a TICKETS block to a **draft** test page.
|
||||
- Open its preview and request tickets with a disposable buyer the owner nominates. Ask before saving any order.
|
||||
- See the order in staff screens, mark it paid, and cancel a ticket.
|
||||
- Check the blocked paths: over 10 tickets, sold out, missing consent, and an unknown order link.
|
||||
- Take screenshots.
|
||||
- Depends on: 4.2
|
||||
- [ ] 5.2 Write the release note in `docs/deployment.md`. Open the PR to main and merge it, then archive the change in its own PR.
|
||||
- Depends on: 5.1
|
||||
Reference in new issue
Block a user