@extends('layouts.app') @section('title', 'Transferts') @section('page-title', 'Transferts') @section('content') @php $magasinsOptions = $magasins->map(fn($m) => ['value' => $m->id, 'label' => $m->nom])->values()->all(); $produitsOptions = $produits->map(fn($p) => ['value' => $p->id, 'label' => $p->designation . ($p->reference ? ' (' . $p->reference . ')' : '')])->values()->all(); @endphp
| Réf. | Origine | Destination | Produit | Quantité | Date | Statut | Actions |
|---|---|---|---|---|---|---|---|
| {{ $t->reference }} | {{ $t->magasinOrigine->nom }} | {{ $t->magasinDestination->nom }} | {{ $t->produit->designation }} | {{ $t->quantite }} | {{ $t->date_transfert->format('d/m/Y') }} | {{ $t->statut }} |
@if($t->statut !== 'annulé' && (!$isVendeur || auth()->id() == $t->user_id))
@endif
|
| Aucun transfert enregistré | |||||||
Transférer des produits entre magasins