Ticketing Module

Basic

The Ticketing module owns the base ticket table, ticket model, and ticket state classes.

Location

src/Modules/Ticketing

Main Responsibilities

  • Store service tickets.
  • Represent ticket lifecycle states.
  • Provide the base module provider for future ticketing routes, views, and API expansion.

Runtime Registration

TicketingServiceProvider registers:

  • Config under the ticketing key.
  • Module migrations.
  • Module views.
  • Web routes.
  • API routes.

Key Classes

AreaClasses
ModelTicket
StatesOpen, ServicePending, Completed, Closed
Base StateBaseTicketState

Current State

The module is intentionally small. It includes the ticket table migration and state classes, while its web and API route files are currently placeholders.

Use this module for ticket-specific lifecycle behavior instead of adding ticket states directly to unrelated service or work-order code.