Informations du magasin

Nom : {{ $magasin->name }}

Adresse : {{ $magasin->address }}

Contact : {{ $magasin->contact }} / {{ $magasin->phone ?? 'N/A' }}

Total des produits

{{ number_format($magasin->affectations->count(), 0, '.', ' ') }}

Quantité totale en stock

{{ number_format($magasin->affectations->sum('stock'), 0, '.', ' ') }}

Montant total du stock

{{ number_format($totalStockValue, 0, '.', ' ') }} GNF

Produits en stock
@if($stocks->count() > 0) @foreach($stocks as $key => $stock) @endforeach @else @endif
# Produit Quantité Stock alerte
{{ $key + 1 }} {{ $stock->product->name }} {{ number_format($stock->stock, 0, '.', ' ') }} {{ number_format($stock->stock_alert, 0, '.', ' ') }}
Aucun produit en stock
{{ $stocks->links() }}