Files
co-lite/openspec/changes/add-event-tickets/specs/event-attendance/spec.md
T

3.6 KiB

ADDED Requirements

Requirement: Self check-in on a ticketed event

On an event that sells tickets, the check-in page SHALL match the mobile or email only to the attendee of a valid ticket that is not checked in, or to a registered guest. An unnamed ticket SHALL count as its buyer's, and the oldest ticket SHALL be used when several match. A matched ticket SHALL be checked in, and the attendee's event lead marked attended when they have consented. A matched registered guest SHALL be handled as on other events.

Scenario: Ticket holder checks in

  • GIVEN KL Hotel Tech Day sells tickets and Lim Wei holds a valid ticket named with his mobile
  • WHEN he enters that mobile on the check-in page on the event day
  • THEN the page welcomes Lim and his ticket is checked in

Requirement: No walk-ins on a ticketed event

On an event that sells tickets, when the value matches no valid unchecked ticket and no registered guest, the check-in page SHALL show "Please show your ticket at the entrance." It SHALL NOT offer or accept a walk-in submission.

Scenario: No walk-ins on a paid event

  • GIVEN KL Hotel Tech Day sells tickets
  • WHEN a visitor whose mobile matches no valid ticket and no registered guest enters it
  • THEN the page says "Please show your ticket at the entrance." and shows no form
  • AND a walk-in submission sent directly is refused

Requirement: Ticket attendance numbers

When the event sells tickets, the event page SHALL also show tickets awaiting payment, tickets paid and tickets checked in, counting active tickets only. The numbers SHALL agree with the event's orders.

Scenario: Ticket counts

  • GIVEN KL Hotel Tech Day has 2 tickets awaiting payment and 5 paid tickets, 3 of them checked in
  • WHEN an admin opens the event page
  • THEN the page shows tickets awaiting payment 2, paid 5, checked in 3

MODIFIED Requirements

Requirement: Self check-in of a known person

On the event days, the check-in page SHALL ask for one mobile or email, normalised as in staff capture. On an event that does not sell tickets, when the value matches a registered guest or an event lead of this event, that event lead SHALL be marked attended. After a check-in the page SHALL show "Welcome, . You're checked in." Checking in again SHALL show the same welcome and change nothing. The page SHALL show no personal details other than the first name.

Scenario: Registered guest checks in

  • GIVEN Tan Mei Ling registered by invitation for KL Expo
  • WHEN she enters 012-555 0101 on the check-in page on the event day
  • THEN the page welcomes Tan and her event lead is attended
  • AND the guest list shows her as Attended

Requirement: Self check-in of a walk-in

On an event that does not sell tickets, when the value matches an invited guest who has not registered, or no one, the check-in page SHALL show the walk-in form, blank, with the privacy consent. An accepted submission SHALL capture the person with the QR registration rules and no salesperson, link a matching guest, mark the event lead attended, and show the checked-in page.

Scenario: Invited but not registered

  • GIVEN Lim Wei is Invited but never registered
  • WHEN he enters his mobile on the check-in page
  • THEN a blank walk-in form with the consent is shown, not his details
  • AND after he submits, he is Attended on the guest list

Scenario: Unknown walk-in

  • WHEN a visitor whose mobile matches no one enters it and submits the walk-in form
  • THEN an event lead is captured for them and marked attended