Event addons bookable
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user