- Added database migrations for tickets, statuses, roles, users, and related associations. - Introduced models and enums for ticket status, permissions, and notifications. - Implemented `TicketService` for ticket management and notification handling. - Created Livewire form and UI for raising tickets with file attachments and routing options. - Added tests covering ticket creation, validation, notifications, and file uploads.
18 lines
275 B
PHP
18 lines
275 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Enums;
|
|
|
|
use App\Concerns\EnumValuesAsArray;
|
|
|
|
enum TicketStatusEnum: string
|
|
{
|
|
use EnumValuesAsArray;
|
|
|
|
case Open = 'open';
|
|
case InProgress = 'in-progress';
|
|
case Resolved = 'resolved';
|
|
case Closed = 'closed';
|
|
}
|