@php use App\Support\PdfText; $logo = \App\Support\Identite::cheminLogo(); $qty = static fn ($q): string => rtrim(rtrim(number_format((float) $q, 2, ',', ' '), '0'), ','); $object = PdfText::clean($deliveryNote->object); @endphp
{{-- En-tête : logo + société à gauche, BON DE LIVRAISON à droite --}}
|
BON DE LIVRAISON
|
|
Émetteur
{{ $company['name'] }}
@if ($company['address']){{ $company['address'] }}
@endif @if ($company['ice'])ICE : {{ $company['ice'] }}@endif @if ($company['if']) · IF : {{ $company['if'] }}@endif |
Livré à
{{ $deliveryNote->client_name }}
@if ($deliveryNote->client_address){!! nl2br(e($deliveryNote->client_address)) !!}
@endif @if ($deliveryNote->client_ice)ICE : {{ $deliveryNote->client_ice }}@endif |
| N° | Désignation | Qté livrée | Unité |
|---|---|---|---|
| {{ $i + 1 }} | {!! nl2br(e(PdfText::clean($line->designation))) !!} | {{ $qty($line->quantity) }} | {{ $line->unit }} |
|
Cachet et signature du prestataire
@if (($stamp ?? null) && is_file($stamp))
Nom et signature
@endif
|
Bon pour accord — client
Reçu le … — Nom et signature
|