Gestion des affectations

@can('créer_affectation') Nouvelle affectation @endcan
Liste des affectations
@if(session()->has('message'))
{{ session('message') }}
@endif @if(session()->has('error'))
{{ session('error') }}
@endif
@if ($affectations->count() > 0) @foreach($affectations as $affectation) @endforeach @else @endif
Produit Magasin Stock Stock Alerte Actions
{{ $affectation->product->name }} {{ $affectation->magasin->name }} @if($affectation->stock <= $affectation->stock_alert) {{ $affectation->stock }} @else {{ $affectation->stock }} @endif {{ $affectation->stock_alert ?? '-' }} @can('modifier_affectation') @endcan @can('supprimer_affectation') @endcan
Aucune affectation trouvée