@extends('layouts.app') @section('title', 'Bon de Commande - Print Manager') @section('content')

Bon de Commande n° {{ $bonCommande->numero_livraison }}

Modifier
@csrf @method('DELETE')
Retour
@include('partials.session-alerts')
Numéro de commande : {{ $bonCommande->numero_livraison }}
Date de commande : {{ $bonCommande->created_at ? $bonCommande->created_at->format('d/m/Y') : '-' }}
Bons de livraison liés : @php $livraisons = $bonCommande->livraisons; @endphp @if($livraisons->isNotEmpty()) @foreach($livraisons as $l) {{ $l->numero_livraison }} @endforeach @else — @endif

Articles commandés

@foreach($bonCommande->entrees as $entree) @endforeach
Réf. Fourniture Quantité Matériels
{{ $entree->fourniture->reference ?? '-' }} {{ $entree->fourniture->nom ?? 'N/A' }} {{ $entree->quantite }} @if($entree->materiels->isNotEmpty()) @foreach($entree->materiels as $materiel) {{ $materiel->numeros_equipment ? $materiel->nom.' ('.$materiel->numeros_equipment.')' : $materiel->nom }} @endforeach @else Aucun @endif
Retour
@endsection