comparatore bettypes wip
This commit is contained in:
1 parent
26bf5359bc
commit
28032520b4
28 files changed
+446
-149
No files matched your search
@@ -50,13 +50,8 @@ class Event extends Model
|
||||
return $this->hasOne(Element::class, 'txodds_id', 'away_id');
|
||||
}
|
||||
|
||||
public function odds_3way()
|
||||
public function multiline_client()
|
||||
{
|
||||
return $this->hasMany(Odds3way::class, 'event_id', 'id')->with('bookmaker');
|
||||
}
|
||||
|
||||
public function odds_totals()
|
||||
{
|
||||
return $this->hasMany(OddsTotal::class, 'event_id', 'id')->with('bookmaker');
|
||||
return $this->hasMany(MultilineClient::class, 'sport_id', 'sport_id')->with('bookmaker')->where('multiline_setting_id', auth()->user()->multiline_setting_id)->orderBy('sort');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user