diff --git a/app/Services/Portal/StatisticsService.php b/app/Services/Portal/StatisticsService.php index 83399f4..1afc245 100644 --- a/app/Services/Portal/StatisticsService.php +++ b/app/Services/Portal/StatisticsService.php @@ -105,7 +105,6 @@ public function countryStats(): Collection /** @var Collection */ return Cache::remember('portal_country_stats', $this->cacheTtl, static fn (): Collection => Country::where('active', true) ->withCount('menus') - ->withCount(['recipes as variants_count' => fn (Builder $query) => $query->where('variant', true)]) ->get()); } diff --git a/resources/views/portal/livewire/stats/recipe-stats.blade.php b/resources/views/portal/livewire/stats/recipe-stats.blade.php index a2c9880..de7342e 100644 --- a/resources/views/portal/livewire/stats/recipe-stats.blade.php +++ b/resources/views/portal/livewire/stats/recipe-stats.blade.php @@ -194,7 +194,6 @@ Name Locales Recipes - Variants with PDF Ingredients Menus @@ -216,9 +215,6 @@ {{ Number::format($country->recipes_count ?? 0) }} - - {{ Number::format($country->variants_count ?? 0) }} - {{ Number::format($country->recipes_with_pdf_count ?? 0) }}