CoC Checks now optional
This commit is contained in:
@@ -95,7 +95,9 @@ class SignUpCommand {
|
||||
'payment_purpose' => $this->request->event->name . ' - Beitrag ' . $this->request->firstname . ' ' . $this->request->lastname,
|
||||
'payment_method' => $this->request->paymentMethod,
|
||||
'payment_options' => $paymentOptions,
|
||||
'efz_status' => $participantAge->isfullAged() ? EfzStatus::EFZ_STATUS_NOT_CHECKED : EfzStatus::EFZ_STATUS_NOT_REQUIRED,
|
||||
'efz_status' => $participantAge->isfullAged() && $this->request->event->coc_check_required
|
||||
? EfzStatus::EFZ_STATUS_NOT_CHECKED
|
||||
: EfzStatus::EFZ_STATUS_NOT_REQUIRED,
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user