Proposition de commande

N° {{ $commande->numero_commande }}

Date: {{ \Carbon\Carbon::parse($commande->date_demande)->format('d/m/Y') }}
Objet: {{ $commande->objet }}

Émetteur / Service

{{ $commande->service->nom ?? 'Service Administratif' }}
@if($commande->commune) {{ $commande->commune->nom }} ({{ $commande->commune->code_postal }})
@endif Demandé par: {{ $commande->demandeur->name }}

Fournisseur

{{ $commande->fournisseur->nom ?? 'Non spécifié' }}
@if($commande->reference_fournisseur) Réf. Fournisseur: {{ $commande->reference_fournisseur }}
@endif @if($commande->date_souhaitee) Livraison souhaitée: {{ \Carbon\Carbon::parse($commande->date_souhaitee)->format('d/m/Y') }} @endif
@foreach($commande->lignes as $ligne) @endforeach
Désignation Référence Qté P.U. HT Total HT
{{ $ligne->designation }} {{ $ligne->reference ?? '-' }} {{ number_format($ligne->quantite, 0, ',', ' ') }} {{ number_format($ligne->prix_unitaire_ht, 2, ',', ' ') }} € {{ number_format($ligne->quantite * $ligne->prix_unitaire_ht, 2, ',', ' ') }} €
@if($commande->description || $commande->justification)

Notes & Informations

{{ $commande->description ?: $commande->justification }}
@endif
@php $tva = $commande->montant_ttc - $commande->montant_ht; @endphp @if($tva > 0) @endif
Sous-total HT : {{ number_format($commande->montant_ht, 2, ',', ' ') }} €
TVA : {{ number_format($tva, 2, ',', ' ') }} €
TOTAL TTC : {{ number_format($commande->montant_ttc, 2, ',', ' ') }} €
DSICommander - Généré le {{ now()->format('d/m/Y H:i') }}