This commit is contained in:
salam committed 2026-01-21 13:35:16 +01:00
1 parent f59ac10c2a
commit 7a9eeb8aad
25 files changed
+253 -78

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ class Odds3way extends Model
'oddchange_at',
];
public function comparing_bookmaker()
{
return $this->hasOne(ComparingBookmaker::class, 'bookmaker_id', 'bookmaker_id')->where('comparing_bookmakers.sport_id', auth()->user()->sport_id);
}
public function event()
{
return $this->belongsTo(Event::class);
+2
View File
@@ -34,6 +34,8 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
'app_verified_at',
'client_id',
'sport_id',
'star',
'is_multiline_direct',
'bookmaker_id',
'provider_id',
];