added affiliation tab card with its information

This commit is contained in:
ghassan committed 2026-01-24 14:52:55 +03:00
1 parent 352d54a788
commit c1fc28087e
14 files changed
+1493 -47

No files matched your search

+8
View File
@@ -250,6 +250,14 @@ class User extends Authenticatable
return $this->hasMany(Attendance::class, 'member_id');
}
/**
* Get the club affiliations for the user.
*/
public function clubAffiliations(): HasMany
{
return $this->hasMany(ClubAffiliation::class, 'member_id');
}
/**
* Send the email verification notification.
* Override to prevent sending the default Laravel notification.