@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 {{-- INFO BLOCK --}}
Emplacement source
{{ $transfert->source?->label }}
@if($transfert->source?->parent)
{{ $transfert->source->parent->label }}
@endif
Emplacement destination
{{ $transfert->destination?->label }}
@if($transfert->destination?->parent)
{{ $transfert->destination->parent->label }}
@endif
@if($transfert->notes)
{{ $transfert->notes }}
@endif {{-- LIGNES --}}
Produits transférés {{ $transfert->lignes->count() }} produit(s)
@foreach($transfert->lignes as $i => $l) @endforeach
# Code Désignation Quantité Unité
{{ $i + 1 }} {{ $l->produit?->code_article ?? '—' }} {{ $l->produit?->nom ?? '—' }} {{ number_format($l->qte, 3, ',', ' ') }} {{ $l->produit?->unite?->code ?? '—' }}
@endsection