@php $imagePathEntete = public_path('images/entete_itracom.jpg'); $src_entete = ''; if (file_exists($imagePathEntete)) { $imageData = base64_encode(file_get_contents($imagePathEntete)); $src_entete = 'data:image/jpeg;base64,' . $imageData; } $imagePathFooter = public_path('images/footer_itracom.jpg'); $src_footer = ''; if (file_exists($imagePathFooter)) { $imageDataFooter = base64_encode(file_get_contents($imagePathFooter)); $src_footer = 'data:image/jpeg;base64,' . $imageDataFooter; } @endphp @if($src_entete)
ITRACOM Header
@endif
DIRECTION DES APPROVISIONNEMENTS
BON DE COMMANDE DES PIECES DE RECHANGES
BC N° : {{ $bonCommande_info->numero_bon_commande }} du {{ \Carbon\Carbon::parse($bonCommande_info->date_bon_commande)->format('d/m/Y') }}

Nom du Fournisseur : {{ $bonCommande_info->nom_social_fournisseur ?? 'Non spécifié' }}

NIF : {{ $informations['nif'] ?? '-' }}

Adresse : {{ $bonCommande_info->adresse_fourn ?? '-' }}

Contact : {{ $bonCommande_info->telephone_fourn_carb ?? '-' }}

Plaque : {{ $bonCommande_info->num_immatriculation ?? 'Non spécifié' }} Marque : {{ $bonCommande_info->marque ?? 'Non spécifié' }} Modèle : {{ $bonCommande_info->modele ?? 'Non spécifié' }}
@php $totalHT = $totaux['totalHTVA']; $tva = $totaux['TVA']; $totalTvac = $totaux['totalTVAC']; @endphp @foreach($detail_bonCommande as $index => $detail) @php $totalLigne = $detail->qte_demande * $detail->pu_demande; @endphp @php $unitesInvariables = ['kg', 'g', 'mg', 'l', 'ml', 'm', 'cm', 'mm']; @endphp @endforeach @if($bonCommande_info->payer_tva) @else @endif
ARTICLE QUANTITÉ PU PRIX TOTAL
{{ $index + 1 }} {{ $detail->nom_article ?? 'Article' }} {{ number_format($detail->qte_demande, 0, ',', ' ') }} {{ in_array(strtolower($detail->unite), $unitesInvariables) ? $detail->unite : \Illuminate\Support\Str::plural($detail->unite, $detail->qte_demande) }} {{ number_format($detail->pu_demande, 0, ',', ' ') }} {{ number_format($totalLigne, 0, ',', ' ') }}
TOTAL HTVA {{ number_format($totalHT, 0, ',', ' ') }}
TVA (18%) {{ number_format($tva, 0, ',', ' ') }}
TOTAL TVAC {{ number_format($totalTvac, 0, ',', ' ') }}
TOTAL TVAC {{ number_format($totalHT, 0, ',', ' ') }}

Nous disons une somme de : {{ $totaux['montantEnLettres'] }}

Le paiement se fera par virement bancaire après réception de la marchandise jugée conforme à la commande.

Chef de service Stock Pieces Poids Lourds et Stock Divers
{{ $signateurs['Directeur_Appro'] }}
Chef de service achats
{{ $signateurs['DGA'] }}
Directeur des approvionnements
{{ $signateurs['DG'] }}