{{-- Loading State --}} @if($loading)
@else {{-- Stats Cards --}}
{{-- Revenue --}}
Revenus

{{ $stats['revenue_formatted'] ?? '0 FCFA' }}

Total des ventes

{{-- Orders --}}
@if(($stats['pending_orders'] ?? 0) > 0) {{ $stats['pending_orders'] }} en attente @endif

{{ $stats['orders'] ?? 0 }}

Commandes totales

{{-- Products --}}
@if(($stats['low_stock'] ?? 0) > 0) {{ $stats['low_stock'] }} stock bas @endif

{{ $stats['products'] ?? 0 }}

{{ $stats['active_products'] ?? 0 }} actifs

{{-- Balance --}}

{{ $stats['balance_formatted'] ?? '0 FCFA' }}

Solde disponible

{{-- Quick Actions --}}
Ajouter produit
Voir commandes
Mes produits
Retirer fonds
{{-- Recent Orders --}}

Commandes recentes

Voir tout
@if(count($recentOrders) > 0)
@foreach($recentOrders as $order) @endforeach
Commande Client Date Statut Total
{{ $order['identifier'] }}

{{ $order['items_count'] }} article(s)

{{ $order['client'] }} {{ $order['date'] }} @php $statusColors = [ 1 => 'bg-amber-100 text-amber-700', 2 => 'bg-blue-100 text-blue-700', 3 => 'bg-purple-100 text-purple-700', 4 => 'bg-green-100 text-green-700', 5 => 'bg-red-100 text-red-700', ]; $colorClass = $statusColors[$order['status_id']] ?? 'bg-gray-100 text-gray-700'; @endphp {{ $order['status'] }} @if($order['is_paid']) Paye @endif {{ $order['total_formatted'] }}
@else

Aucune commande pour le moment

Les commandes apparaitront ici

@endif
{{-- Shop Status Warning --}} @if(!session('seller_shop.activation'))

Boutique en attente d'activation

Votre boutique est en cours de verification. Vous pouvez preparer vos produits, mais ils ne seront visibles qu'apres l'activation.

@endif @endif