- Tickets
- Orders
What is a ticket?
A ticket in TMT represents a single attendee’s right of entry to a specific event zone or seat. Tickets are generated from orders using thetickets_generate Firebase Cloud Function and stored in Firestore, linked to the event they belong to.Viewing tickets
Tickets for a specific event are listed at/tickets?id=<event_id> (requires the ViewTickets permission). The list is populated by the tickets_list_event Cloud Function, which returns all tickets associated with the given event ID.Individual ticket details — including the holder’s information, zone, seat, price, and current status — are accessible at /tickets-detalles (requires ViewTicketsDetail).Ticket properties
Each ticket record holds:| Property | Description |
|---|---|
| Event ID | The Firestore document ID of the parent event |
| Zone / seat | The seating zone or specific seat number |
| Holder | Customer name and contact information |
| Order reference | The order that generated this ticket |
| Status | Current state (e.g., active, used, cancelled) |
| QR code | Unique code used for entry validation |
QR code validation
Every ticket carries a QR code that encodes its unique identifier. At the venue, staff can validate tickets using the ticket search and ticket query screens:/buscar-ticket(TicketSearchView) — scan or enter a ticket identifier to look up a ticket across all events./ticket-consultado(QueryTicketDisplay) — displays the full detail of the looked-up ticket, confirming whether it is valid for entry.
tickets_individual Cloud Function retrieves the specific ticket record for the queried identifier.The
TicketSearchView and QueryTicketDisplay permissions are granted to Administrador, Coordinador, Contador, and Soporte roles. This allows multiple staff types to assist with entry validation at the door.Customer ticket view
Staff can also view all tickets belonging to a specific customer. From the customer detail screen, navigate to/lista-tickets-customer (requires ViewCustomerTickets) to see the customer’s full ticket history across events.Offline tickets
Ticketing offices can sell tickets offline (at the box office window). Offline tickets are tracked separately:/lista-tickets-offline— lists offline tickets issued by a specific office session.- The
offline_office_ticketsandoffline_office_tickets_unassignCloud Functions manage assignment and reassignment of offline ticket inventory.