Analytics
Sales performance and revenue insights
{{-- Charts Grid --}}
Daily Revenue (Last {{ $days }} Days)
Monthly Revenue (12 Months)
{{-- Top Products --}}
Top Selling Products
@if($topProducts->isEmpty())
📊
No sales data yet.
@else
@php $maxRevenue = $topProducts->max('revenue') ?: 1; @endphp @foreach ($topProducts as $prod)
{{ $prod->product_title }}
${{ number_format($prod->revenue, 0) }}
{{ $prod->units_sold }} sold
@endforeach
@endif