Fix Anmeldung für Personen Ü18

This commit is contained in:
2026-08-27 11:22:47 +02:00
parent 6e4e6b645c
commit a61344395a
3 changed files with 6 additions and 2 deletions
@@ -68,8 +68,12 @@ class SignUpCommand {
'medications' => $this->request->medications, 'medications' => $this->request->medications,
'tetanus_vaccination' => $this->request->tetanus_vaccination, 'tetanus_vaccination' => $this->request->tetanus_vaccination,
'eating_habit' => $eatingHabit, 'eating_habit' => $eatingHabit,
'swimming_permission' => $participantAge->isfullAged() ? 'SWIMMING_PERMISSION_ALLOWED' : $this->request->swimming_permission, 'swimming_permission' => ($participantAge->isfullAged() || $this->request->swimming_permission === '-1')
'first_aid_permission' => $participantAge->isfullAged() ? 'FIRST_AID_PERMISSION_ALLOWED' : $this->request->first_aid_permission, ? 'SWIMMING_PERMISSION_ALLOWED'
: $this->request->swimming_permission,
'first_aid_permission' => ($participantAge->isfullAged() || $this->request->first_aid_permission === '-1')
? 'FIRST_AID_PERMISSION_ALLOWED'
: $this->request->first_aid_permission,
'foto_socialmedia' => $this->request->foto_socialmedia, 'foto_socialmedia' => $this->request->foto_socialmedia,
'foto_print' => $this->request->foto_print, 'foto_print' => $this->request->foto_print,
'foto_webseite' => $this->request->foto_webseite, 'foto_webseite' => $this->request->foto_webseite,
Regular → Executable
View File
Regular → Executable
View File