event_registration_multi_qty
Allows event organizers to register multiple attendees per event registration while keeping seat counts accurate.
Key Features
- event.event: Adds an Allow multiple attendees per registration toggle so each event can opt into capturing attendee quantities per registration.
- event.event: Recomputes reserved, used, available, and taken seats by aggregating the quantities of open and done registrations whenever multi-qty is enabled.
- event.event: Prevents disabling the multi-qty option if any existing registration has a quantity above one, safeguarding existing attendee data.
- event.registration: Introduces a required integer quantity field with default 1 to record how many attendees are covered by each registration.
- event.registration: Validates that quantities greater than one are only permitted when the related event allows multiple attendees.
- UI: Surfaces the multi-qty toggle on events and the quantity field on registration tree and form views so users can manage attendee counts visually.