wip
This commit is contained in:
1 parent
00e045bbaf
commit
88a043c612
1 file changed
+1
@@ -48,6 +48,7 @@ class EventResource extends Resource
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return parent::getEloquentQuery()
|
||||
->where('has_markets', 1)
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->whereDate('starttime', '>=', Carbon::now())
|
||||
->count();
|
||||
|
||||
Reference in new issue
Block a user