comp wip
This commit is contained in:
1 parent
f59ac10c2a
commit
7a9eeb8aad
25 files changed
+253
-78
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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',
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user