@php $title = admin_trans('store_performance_report'); $icon = 'activity'; $stats = [ ['label' => 'Total Stores', 'value' => number_format($totalStores), 'icon' => 'store', 'color' => 'primary'], ['label' => 'Active Stores', 'value' => number_format($activeStores), 'icon' => 'check-circle', 'color' => 'success'], ['label' => 'Featured Stores', 'value' => number_format($featuredStores), 'icon' => 'star', 'color' => 'warning'], ['label' => 'Total Followers', 'value' => number_format($totalFollowers), 'icon' => 'users', 'color' => 'secondary'] ]; @endphp @extends('admin.analytics.base') @section('analytics-content')

Top Stores by Followers

@foreach($topStores as $store) {{ $store->name }} {{ number_format($store->followers_count ?? 0) }} {{ number_format($store->offers_count ?? 0) }} @endforeach

Stores by Country

@foreach($storesByCountry as $item)
{{ $item->flag_emoji ?? '🌍' }} {{ $item->country_name }}
{{ number_format($item->total) }} @endforeach
@endsection