Détails Bon de livraison Détails Bon de livraison
@php if ($type == 1) { $companyName = $configurations->where("label","CompanyName")->first()->value; $codeTva = $configurations->where("label","Code TVA")->first()->value; }else{ $companyName = $configurations->where("label","SecondCompany")->first()->value; $codeTva = $configurations->where("label","CodeTvaPara")->first()->value; } @endphp

{{$companyName}}

{{$configurations->where("label","Postal code")->first()->value}} {{$configurations->where("label","Adress")->first()->value}} {{-- --}} Code TVA : {{$codeTva}}

Bon de livraison N° : {{$form}}

{{$client->name}}

{{$client->adress}} {{$client->city}}  
Date :     {{$date}} Édité par :    {{ auth()->user()->name }}    le :    {{ \Carbon\Carbon::now()->format('d-m-Y') }}
{{-- --}} @foreach($deliveryDetails as $Line) @endforeach
Réf. Désignation FORMEQté P.U. HT Total H.T TVA
{{$Line['ART']}} {{$Line['DESIG']}} {{intval($Line['QTS'])}} {{number_format((float)$Line['PRHT'], 3, ',', ' ')}} {{number_format((float)$Line['PRHT']*$Line['QTS'], 3, ',', ' ')}} {{$Line['TAUXTVA'] == '0.000' ? '' : intval($Line['TAUXTVA']) }}
Montant Total BRUT {{number_format((float)$tot_brut, 3, ',', ' ') == '0,000' ? 0 : number_format((float)$tot_brut, 3, ',', ' ')}}
Montant Total REMISE {{number_format((float)$tot_remise, 3, ',', ' ') == '0,000' ? 0 : number_format((float)$tot_remise, 3, ',', ' ')}}
Montant Total HT {{number_format((float)$tot_ht, 3, ',', ' ') == '0,000' ? 0 : number_format((float)$tot_ht, 3, ',', ' ')}}
TVA {{number_format((float)$tot_tva, 3, ',', ' ') == '0,000' ? 0 : number_format((float)$tot_tva, 3, ',', ' ')}}
Montant Total TTC {{number_format((float)$tot_ttc, 3, ',', ' ') == '0,000' ? 0 : number_format((float)$tot_ttc, 3, ',', ' ')}}
Arrété le présent BL à la somme de :
{{$price_lettres}}