@extends('layouts.app') @section('title', 'Transfert ' . $transfert->numero) @section('breadcrumb', 'Catalogue / Stock / Transferts / ' . $transfert->numero) @section('content') @php $statusColors = ['brouillon' => 'badge-muted', 'valide' => 'badge-success', 'annule' => 'badge-danger']; $statusLabels = ['brouillon' => 'Brouillon', 'valide' => 'Validé', 'annule' => 'Annulé']; @endphp
{{ $statusLabels[$transfert->statut] ?? $transfert->statut }} {{ $transfert->date->format('d/m/Y') }}
| # | Code | Désignation | Quantité | Unité |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $l->produit?->code_article ?? '—' }} |
{{ $l->produit?->nom ?? '—' }} | {{ number_format($l->qte, 3, ',', ' ') }} | {{ $l->produit?->unite?->code ?? '—' }} |