CoC Checks now optional
This commit is contained in:
1 parent
a5e4e55df5
commit
a43fd9cedf
12 files changed
+103
-3
No files matched your search
@@ -85,6 +85,7 @@ class EventResource extends JsonResource{
|
||||
// Steuert im Frontend, welcher Anmelde-Wizard gerendert wird, und ob die Badeerlaubnis abgefragt wird.
|
||||
$returnArray['shortRegistration'] = (bool)$this->event->short_registration;
|
||||
$returnArray['swimmingPermissionRequired'] = (bool)$this->event->swimming_permission_required;
|
||||
$returnArray['cocCheckRequired'] = (bool)$this->event->coc_check_required;
|
||||
|
||||
$returnArray['siblingReduction'] = $this->event->sibling_reduction ?? true;
|
||||
$returnArray['costUnit'] = new CostUnitResource($this->event->costUnit()->first())->toArray(true);
|
||||
|
||||
Reference in new issue
Block a user