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);