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);
|
||||
|
||||
Reference in new issue
Block a user