Détails Avoir sur BL Détails Avoir sur BL
@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}}

Avoir/BL N° : {{$form}}

{{$client->name}}

{{$client->adress}} {{$client->city}}  
Date :     {{$date}} Édité par :    {{ auth()->user()->name }}    le :    {{ \Carbon\Carbon::now()->format('d-m-Y') }}
@foreach($creditNote as $Line) @endforeach
REF ARTICLE DESIGNATION QTÉ P.U.HT TOTAL H.T TVA
{{$Line['ART']}} {{$Line['DESIG']}} {{intval($Line['qté'])}} {{$Line['prix']}} {{$Line['NET_HT']}} {{$Line['TAUXTVA'] == '0,000' ? '' : intval($Line['TAUXTVA'])}}
Montant Total BRUT {{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, ',', ' ')}}
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, ',', ' ')}}
Arrété le présent Avoir/Bl à la somme de :
{{$price_lettres}}