affiliations
This commit is contained in:
1 parent
4f3f9c9aad
commit
0b5b3dd3ee
177 files changed
+9660
-8531
No files matched your search
@@ -87,4 +87,12 @@ class ClubPackage extends Model
|
||||
return $this->hasMany(ClubMemberSubscription::class, 'package_id')
|
||||
->where('status', 'active');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the package activities (with instructors).
|
||||
*/
|
||||
public function packageActivities(): HasMany
|
||||
{
|
||||
return $this->hasMany(ClubPackageActivity::class, 'package_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user