Event addons bookable
This commit is contained in:
1 parent
e95de52768
commit
0ee952212b
25 files changed
+656
-24
No files matched your search
@@ -98,6 +98,8 @@ class EventParticipantResource extends JsonResource
|
||||
'departureDateReadable' => $this->resource->departure_date->format('d.m.Y'),
|
||||
'participationOptions' => $this->resource->selectedOptions()->get()->map(
|
||||
fn($option) => new EventParticipantOptionResource($option)->toArray($request))->toArray(),
|
||||
'selectedAddons' => $this->resource->selectedAddons()->get()->map(
|
||||
fn($addon) => new EventParticipantAddonResource($addon)->toArray($request))->toArray(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user