This commit is contained in:
salam committed 2025-12-23 16:05:53 +01:00
1 parent 2be54cdb61
commit b0d0f3608c
14 files changed
+120 -25

No files matched your search

+10
View File
@@ -146,4 +146,14 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
return false;
}
public function client()
{
return $this->belongsTo(Client::class);
}
public function bettype_user()
{
return $this->hasMany(BettypeUser::class)->where('sport_id', auth()->user()->sport_id);
}
}