@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 Avoir: {{$date}} | Edité le : {{ \Carbon\Carbon::now()->format('d-m-Y H:i') }} par : {{ auth()->user()->name }} |
Réf. Article | Désignation | Qté. | P.U HT | Total H.T | TVA | ||
---|---|---|---|---|---|---|---|
{{$row['ART']}} | {{$row['DESIG']}} | {{intval($row['qté'])}} | {{$row['prix']}} | {{$row['NET_HT']}} | {{ $row['TOT_TVA'] == '0,000' ? '' : $row['TOT_TVA']}} |
Total BRUT | {{number_format((float)$tot_brut, 3, ',',' ') == '0,000' ? '0' :number_format((float)$tot_brut, 3, ',',' ')}} | ||||
---|---|---|---|---|---|
Total REMISE | {{number_format((float)$tot_remise, 3, ',',' ') == '0,000' ? '0' :number_format((float)$tot_remise, 3, ',',' ')}} | ||||
Total HT | {{number_format((float)$tot_ht, 3, ',',' ') == '0,000' ? '0' : number_format((float)$tot_ht, 3, ',',' ')}} | ||||
Total TVA | {{number_format((float)$tot_tva, 3, ',',' ') == '0,000' ? '0' :number_format((float)$tot_tva, 3, ',',' ') }} | ||||
Total TTC | {{number_format((float)$tot_ttc, 3, ',',' ')}} |
Arrétée le présent Avoir à la somme de : {{$price_lettres}} |