Re-ordered ticket status enums
This commit is contained in:
parent
c1d5cb1dfc
commit
aa381ac61b
1 changed files with 9 additions and 9 deletions
|
|
@ -7,12 +7,12 @@ use Kwaadpepper\Enum\BaseEnumRoutable;
|
|||
/**
|
||||
* @method static self new()
|
||||
* @method static self estimateTodo()
|
||||
* @method static self takenInAccount()
|
||||
* @method static self waiting()
|
||||
* @method static self waitingValidation()
|
||||
* @method static self recette()
|
||||
* @method static self production()
|
||||
* @method static self archived()
|
||||
* @method static self takenInAccount()
|
||||
*/
|
||||
class TicketStatus extends BaseEnumRoutable
|
||||
{
|
||||
|
|
@ -26,12 +26,12 @@ class TicketStatus extends BaseEnumRoutable
|
|||
return [
|
||||
'new' => 1,
|
||||
'estimateTodo' => 2,
|
||||
'waiting' => 9,
|
||||
'recette' => 12,
|
||||
'production' => 13,
|
||||
'archived' => 15,
|
||||
'waitingValidation' => 17,
|
||||
'takenInAccount' => 18,
|
||||
'takenInAccount' => 3,
|
||||
'waiting' => 4,
|
||||
'waitingValidation' => 5,
|
||||
'recette' => 6,
|
||||
'production' => 7,
|
||||
'archived' => 8,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -45,12 +45,12 @@ class TicketStatus extends BaseEnumRoutable
|
|||
return [
|
||||
'new' => trans('Nouveau'),
|
||||
'estimateTodo' => trans('Devis à faire'),
|
||||
'takenInAccount' => trans('Pris en compte'),
|
||||
'waiting' => trans('En attente de réponse'),
|
||||
'waitingValidation' => trans('En attente de validation'),
|
||||
'recette' => trans('En recettage'),
|
||||
'production' => trans('En production'),
|
||||
'archived' => trans('Archivé'),
|
||||
'takenInAccount' => trans('Pris en compte'),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -64,12 +64,12 @@ class TicketStatus extends BaseEnumRoutable
|
|||
return [
|
||||
'new' => 'text-danger',
|
||||
'estimateTodo' => 'text-info',
|
||||
'takenInAccount' => 'text-info',
|
||||
'waiting' => 'text-white bg-danger',
|
||||
'waitingValidation' => 'text-warning bg-danger',
|
||||
'recette' => 'text-primary',
|
||||
'production' => 'text-success',
|
||||
'archived' => 'text-secondary',
|
||||
'takenInAccount' => 'text-info',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue