@extends('layouts.admin') @section('title', 'Dashboard Admin') @section('page-title', 'Dashboard') @section('content')
{{ $productsStats['total'] }}

Produits

{{ $productsStats['active'] }} actifs

{{ $storesStats['total'] }}

Magasins

{{ $storesStats['active'] }} actifs

{{ $ordersStats['total'] }}

Commandes

{{ $ordersStats['pending'] }} en attente

{{ number_format($ordersStats['revenue'], 0, ',', ' ') }}

Chiffre d'affaires

{{ config('shop.currency_symbol') }} (Livrées)

En attente

{{ $ordersStats['pending'] }}

En livraison

{{ $ordersStats['shipping'] }}

Livrées

{{ $ordersStats['delivered'] }}

Alertes Stock

Voir tout
@if($lowStockAlerts->isEmpty())

Aucune alerte de stock

@else
@foreach($lowStockAlerts->take(5) as $alert)

{{ $alert->product->name }}

{{ $alert->variant->size }} - {{ $alert->store->name }}

{{ $alert->available_quantity }} restant
@endforeach
@endif
@endsection