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
+6
View File
@@ -110,6 +110,12 @@ class EventParticipant extends InstancedModel
return $this->hasMany(EventParticipantOption::class, 'event_participant_id');
}
/** Gebuchte Zusätze (Event-Addons) dieser Anmeldung. */
public function selectedAddons(): HasMany
{
return $this->hasMany(EventParticipantAddon::class, 'event_participant_id');
}
public function user()
{
return $this->belongsTo(User::class);