Mouvement de stock

Historique détaillé des entrées et sorties de stock
Total mouvements

{{ number_format($totalMouvements, 0, '.', ' ') }}

Total entrées

{{ number_format($totalIn, 0, '.', ' ') }} t

Total sorties

{{ number_format($totalOut, 0, '.', ' ') }} t

@if($mouvements->count() > 0) @foreach($mouvements as $key => $mouvement) @endforeach @else @endif
# Référence Date Produit Type Stock Avant Quantité Stock Après Source
{{ $key + 1 }} {{ $mouvement->reference }} {{ \Carbon\Carbon::parse($mouvement->date)->format('d/m/Y') }}
{{ $mouvement->product?->name }}
{{ $mouvement->product?->unit }}
@if($mouvement->type == 'in') Entrée @else Sortie @endif {{ number_format($mouvement->quantity_before, 0, '.', ' ') }} {{ $mouvement->product?->unit }} {{ number_format($mouvement->quantity, 0, '.', ' ') }} {{ $mouvement->product?->unit }} {{ number_format($mouvement->quantity_after, 0, '.', ' ') }} {{ $mouvement->product?->unit }} @if($mouvement->source == 'purchase') {{ ucfirst('Achat') }} @else {{ ucfirst('Vente') }} @endif
Aucun mouvement trouvé