Liste des produits — {{ $magasin->name ?? 'Magasin' }}

Date : {{ now()->format('d/m/Y H:i') }}

Nombre de produits : {{ $products->count() }}

@if(!empty($filters['category']))

Catégorie : {{ optional(\App\Models\Category::find($filters['category']))->name ?? $filters['category'] }}

@endif @if(!empty($filters['type']))

Type : {{ $filters['type'] }}

@endif @if(!empty($filters['product']))

Recherche : {{ $filters['product'] }}

@endif
@foreach($products as $product) @endforeach
Produit Catégorie Type Prix Quantité
{{ $product->name }} {{ optional($product->category)->name ?? '-' }} {{ $product->type ?? '-' }} {{ number_format($product->price, 0, ' ', ' ') }} FCFA {{ $product->quantity }}