From 393d1f391cadc871573b3a5f5c1a517eaf4fc3f8 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 7 Jun 2024 00:52:09 +0200 Subject: [PATCH] Add nickname to nami fields --- app/Form/Enums/NamiType.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Form/Enums/NamiType.php b/app/Form/Enums/NamiType.php index 1ae4b4f2..a5487997 100644 --- a/app/Form/Enums/NamiType.php +++ b/app/Form/Enums/NamiType.php @@ -10,6 +10,7 @@ enum NamiType: string { case FIRSTNAME = 'Vorname'; case LASTNAME = 'Nachname'; + case NICKNAME = 'Spitzname'; case BIRTHDAY = 'Geburtstag'; case REGION = 'Bezirk'; case STAMM = 'Stamm'; @@ -40,6 +41,7 @@ enum NamiType: string static::ADDRESS => $member->address, static::ZIP => $member->zip, static::LOCATION => $member->location, + static::NICKNAME => $member->nickname, }; }