Additional event informations can be added
This commit is contained in:
@@ -138,6 +138,9 @@ class EventResource extends JsonResource{
|
||||
$returnArray['paymentMethods'] = $this->event->paymentMethods()->get()->map(
|
||||
fn($paymentMethod) => new AvailablePaymentMethodResource($paymentMethod)->toArray($request))->toArray();
|
||||
|
||||
// Veranstaltungsspezifische Pflicht-Auswahlfragen (Teilnahmeoptionen); leeres Array => Schritt entfällt.
|
||||
$returnArray['participationOptions'] = $this->event->participation_options ?? [];
|
||||
|
||||
|
||||
$returnArray['participationTypes'] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user