From 8088b6bde382fc967097e3991866fcd94480673b Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Tue, 8 Mar 2022 11:45:03 +0100 Subject: [PATCH] adjust enum for 8 slots --- app/Enums/Planning/TableRow.php | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/app/Enums/Planning/TableRow.php b/app/Enums/Planning/TableRow.php index 1cca988..7faa9f2 100644 --- a/app/Enums/Planning/TableRow.php +++ b/app/Enums/Planning/TableRow.php @@ -9,8 +9,12 @@ use Kwaadpepper\Enum\BaseEnumRoutable; * * @method static self matin1() * @method static self matin2() + * @method static self matin3() + * @method static self matin4() * @method static self apresmidi1() * @method static self apresmidi2() + * @method static self apresmidi3() + * @method static self apresmidi4() */ class TableRow extends BaseEnumRoutable { @@ -19,8 +23,12 @@ class TableRow extends BaseEnumRoutable return [ 'matin1' => 1, 'matin2' => 2, - 'apresmidi1' => 3, - 'apresmidi2' => 4, + 'matin3' => 3, + 'matin4' => 4, + 'apresmidi1' => 5, + 'apresmidi2' => 6, + 'apresmidi3' => 7, + 'apresmidi4' => 8, ]; } @@ -29,8 +37,12 @@ class TableRow extends BaseEnumRoutable return [ 'matin1' => trans('Matin 1'), 'matin2' => trans('Matin 2'), + 'matin3' => trans('Matin 3'), + 'matin4' => trans('Matin 4'), 'apresmidi1' => trans('Après-midi 1'), - 'apresmidi2' => trans('Après-midi 2') + 'apresmidi2' => trans('Après-midi 2'), + 'apresmidi3' => trans('Après-midi 3'), + 'apresmidi4' => trans('Après-midi 4'), ]; } }