{{ __('admin::app.dashboard.total-customers') }}
{{ $statistics['total_customers']['current'] }}
@if ($statistics['total_customers']['progress'] < 0)
{{ __('admin::app.dashboard.decreased', [
'progress' => -number_format($statistics['total_customers']['progress'], 1)
])
}}
@else
{{ __('admin::app.dashboard.increased', [
'progress' => number_format($statistics['total_customers']['progress'], 1)
])
}}
@endif
{{ __('admin::app.dashboard.total-orders') }}
{{ $statistics['total_orders']['current'] }}
@if ($statistics['total_orders']['progress'] < 0)
{{ __('admin::app.dashboard.decreased', [
'progress' => -number_format($statistics['total_orders']['progress'], 1)
])
}}
@else
{{ __('admin::app.dashboard.increased', [
'progress' => number_format($statistics['total_orders']['progress'], 1)
])
}}
@endif
{{ __('admin::app.dashboard.total-sale') }}
{{ core()->formatBasePrice($statistics['total_sales']['current']) }}
@if ($statistics['total_sales']['progress'] < 0)
{{ __('admin::app.dashboard.decreased', [
'progress' => -number_format($statistics['total_sales']['progress'], 1)
])
}}
@else
{{ __('admin::app.dashboard.increased', [
'progress' => number_format($statistics['total_sales']['progress'], 1)
])
}}
@endif
{{ __('admin::app.dashboard.average-sale') }}
{{ core()->formatBasePrice($statistics['avg_sales']['current']) }}
@if ($statistics['avg_sales']['progress'] < 0)
{{ __('admin::app.dashboard.decreased', [
'progress' => -number_format($statistics['avg_sales']['progress'], 1)
])
}}
@else
{{ __('admin::app.dashboard.increased', [
'progress' => number_format($statistics['avg_sales']['progress'], 1)
])
}}
@endif
{{ __('admin::app.dashboard.total-unpaid-invoices') }}
{{ core()->formatBasePrice($statistics['total_unpaid_invoices']) }}
{{ __('admin::app.dashboard.top-performing-categories') }}
-
@foreach ($statistics['top_selling_categories'] as $item)
-
{{ $item->name }}{{ __('admin::app.dashboard.product-count', ['count' => $item->total_products]) }} . {{ __('admin::app.dashboard.sale-count', ['count' => $item->total_qty_invoiced]) }}
@endforeach
{{ __('admin::app.common.no-result-found') }}
{{ __('admin::app.dashboard.top-selling-products') }}
-
@foreach ($statistics['top_selling_products'] as $item)
-
@php $productBaseImage = product_image()->getProductBaseImage($item->product); @endphp@if (isset($item->name)) {{ $item->name }} @endif{{ __('admin::app.dashboard.sale-count', ['count' => $item->total_qty_invoiced]) }}
@endforeach
{{ __('admin::app.common.no-result-found') }}
{{ __('admin::app.dashboard.customer-with-most-sales') }}
-
@foreach ($statistics['customer_with_most_sales'] as $item)
-
@if ($item->customer_id)
@endif
{{ $item->customer_full_name }}{{ __('admin::app.dashboard.order-count', ['count' => $item->total_orders]) }} . {{ __('admin::app.dashboard.revenue', [ 'total' => core()->formatBasePrice($item->total_base_grand_total) ]) }}
@endforeach
{{ __('admin::app.common.no-result-found') }}
{{ __('admin::app.dashboard.stock-threshold') }}
-
@foreach ($statistics['stock_threshold'] as $item)
-
@php $productBaseImage = product_image()->getProductBaseImage($item->product); @endphp@if (isset($item->product->name)) {{ $item->product->name }} @endif{{ __('admin::app.dashboard.qty-left', ['qty' => $item->total_qty]) }}
@endforeach
{{ __('admin::app.common.no-result-found') }}