@extends('layouts.admin') @section('page-title', 'Analytics') @section('content')
Track your store's performance and growth
{{ price($periodRevenue) }}
Revenue this period
{{ number_format($periodOrders) }}
Orders this period
{{ number_format($periodCustomers) }}
New customers
{{ price($periodAvgOrderValue) }}
Average order value
Revenue trend for the selected period
Distribution of order statuses
Order pipeline overview
Revenue breakdown by payment type
{{ $method->payment_method ?? 'Other' }}
{{ price($method->total) }}
{{ $method->count }} transactions
Best selling products by sales count
| # | Product | Vendor | Sales |
|---|---|---|---|
| {{ $index + 1 }} |
{{ $product->name }} |
{{ $product->vendor?->name ?? 'Admin' }} | {{ number_format($product->sales_count) }} |
| No sales data available | |||
Highest revenue generating vendors
| # | Vendor | Products | Total Sales |
|---|---|---|---|
| {{ $index + 1 }} |
@if($vendor->user?->avatar)
{{ strtoupper(substr($vendor->name, 0, 1)) }}
@endif
{{ $vendor->name }} {{ $vendor->user?->email ?? '' }} |
{{ $vendor->products->count() ?? '-' }} | {{ price($vendor->total_sales) }} |
| No vendor data available | |||