Add ticket create notification event support
This commit is contained in:
@@ -5,11 +5,13 @@ namespace App\Enums;
|
||||
enum NotificationEventType: string
|
||||
{
|
||||
case TicketStatusChanged = 'ticket_status_changed';
|
||||
case TicketCreate = 'ticket_create';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::TicketStatusChanged => 'Ticket status changed',
|
||||
self::TicketCreate => 'Ticket create',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user