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

@@ -58,7 +58,8 @@ class EventResource extends Resource
->with('country')
->with('home')
->with('away')
->with('event_user_star');
->with('event_user_star')
->where('sport_id', auth()->user()->sport_id);
if (in_array('odds_2ways', EventsTable::$bettype_settings)) {
$query->with('odds_2ways.bookmaker');
@@ -68,6 +69,7 @@ class EventResource extends Resource
}
if (in_array('odds_3ways', EventsTable::$bettype_settings)) {
$query->with('odds_3ways.bookmaker');
// $query->with('odds_3ways.comparing_bookmaker');
}
if (in_array('odds_3ways_ht', EventsTable::$bettype_settings)) {
$query->with('odds_3ways_ht.bookmaker');