|
@php
$isIn = $mv->isIncrease();
$typeLabels = ['initial'=>'Initial','purchase'=>'Achat','adjustment_in'=>'Correction +','adjustment_out'=>'Correction -','damage'=>'Casse','loss'=>'Perte','return'=>'Retour'];
@endphp
{{ $isIn ? '↑' : '↓' }} {{ $typeLabels[$mv->movement_type] ?? $mv->movement_type }}
@if($mv->note)
{{ $mv->note }}
@endif
|
{{ $isIn ? '+' : '-' }}{{ $mv->quantity }}
|
{{ $mv->creator->name ?? '—' }} |
{{ $mv->created_at->format('d/m/Y H:i') }} |
@empty