ListEvents::route('/'), ]; } public static function getNavigationBadge(): ?string { return parent::getEloquentQuery()->withoutGlobalScopes()->where('starttime', '>', Carbon::now())->count(); } public static function getEloquentQuery(): Builder { return parent::getEloquentQuery() ->where('starttime', '>', Carbon::now()) ->where('sport_id', auth()->user()->sport_id) ->withoutGlobalScopes()->with('odds_3way'); } }