Event addons bookable

This commit is contained in:
2026-08-12 16:45:02 +02:00
parent e95de52768
commit 0ee952212b
25 changed files with 656 additions and 24 deletions
@@ -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(),
]
);
}