diff --git a/app/Enums/TicketType.php b/app/Enums/TicketType.php index ad3589c..5a97fba 100644 --- a/app/Enums/TicketType.php +++ b/app/Enums/TicketType.php @@ -7,6 +7,7 @@ use Kwaadpepper\Enum\BaseEnumRoutable; /** * @method static self bug() * @method static self evolution() + * @method static self br() */ class TicketType extends BaseEnumRoutable { @@ -15,6 +16,7 @@ class TicketType extends BaseEnumRoutable return [ 'bug' => 0, 'evolution' => 1, + 'br' => 2, ]; } @@ -23,6 +25,7 @@ class TicketType extends BaseEnumRoutable return [ 'bug' => trans('Bug'), 'evolution' => trans('Évolution'), + 'br' => trans('Demande relative aux BR'), ]; } } diff --git a/resources/views/ticket/index.blade.php b/resources/views/ticket/index.blade.php index 4d861e8..d051696 100644 --- a/resources/views/ticket/index.blade.php +++ b/resources/views/ticket/index.blade.php @@ -97,7 +97,7 @@ $userPr = Auth::user()->sites ?? collect([]); {{ $ticket->site->name }} - {{ $ticket->type->label }} + {{ $ticket->type->label }} @if ($ticket->file !== null) @@ -134,7 +134,7 @@ $userPr = Auth::user()->sites ?? collect([]);