feat: categories for job profiles

addresses #8698w62ex
This commit is contained in:
Björn Fromme
2025-04-30 10:19:40 +02:00
parent 3646661fed
commit 6f42ef9f7d
5 changed files with 83 additions and 0 deletions
+9
View File
@@ -22,6 +22,15 @@ class JobProfileType extends AbstractType
->add('name', TextType::class, [
'label' => 'Bezeichnung',
])
->add('category', ChoiceType::class, [
'label' => 'Kategorie',
'placeholder' => 'bitte zuordnen...',
'choices' => [
'Reiseleitung' => JobProfile::CATEGORY_GUIDE,
'Kursleitung' => JobProfile::CATEGORY_COURSE,
'Serviceteam' => JobProfile::CATEGORY_SERVICE,
],
])
->add('requiredTrainings', EntityType::class, [
'label' => 'vorausgesetzte Fortbildung',
'required' => false,