starttime events

This commit is contained in:
salam committed 2026-03-09 11:48:30 +01:00
1 parent f3b59268b0
commit 065a7c3ef9
2 files changed
+2 -2

No files matched your search

@@ -67,7 +67,8 @@ class EventResource extends Resource
->with('event_user_star')
->with('event_user_note')
->where('has_markets', 1)
->where('sport_id', auth()->user()->sport_id);
->where('sport_id', auth()->user()->sport_id)
->orderBy('starttime');
$query->where('starttime', '>=', Carbon::now()->timezone('CET'));
@@ -174,7 +174,6 @@ class EventsTable
->label('Draw No Bet'),
])
->searchable(['id', 'home.name', 'away.name', 'betsapi_id', 'betradar_id', 'bet365_id', 'bwin_id', 'event_bookmaker.event_id'])
->defaultSort('starttime', 'ASC')
->extremePaginationLinks()
->filters([
Filter::make('events')