Détails Facture Détails Facture
@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}}

Facture N° : {{$bill}}

{{$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
N° DOCUMENT NATURE DATE TOT. BRUT HT TOT. REMISE TOT. HT TOT. TVA TOT. TTC
{{$Line['NUMBON']}} {{$Line['KNAT']}} {{$Line['DATEMVT']}} {{$Line['BRUT_HT']}} {{$Line['REMISE']}} {{$Line['NET_HT']}} {{$Line['TOT_TVA'] == '0,000' ? '' : intval($Line['TOT_TVA']) }} {{number_format((float)$Line['TOT_TTC'], 3, ',', ' ')}}
Montant Total BRUT {{$tot_brut}}
Montant Total REMISE {{$tot_remise}}
Montant Total HT {{$tot_ht}}
TVA {{$tot_tva == '0,000' ?'0':$tot_tva}}
Timbre {{$timbre}}
Montant Total TTC {{$tot_ttc}}
Arrété la présente Facture à la somme de :
{{$price_lettres}}