@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 Facture : {{$date}} | Edité le : {{ \Carbon\Carbon::now()->format('d-m-Y H:i') }} par : {{ auth()->user()->name }} |
N° Document | Nature | Date | TOT. Brut HT | TOT. Remise | TOT. HT | TOT. TVA | TOT. TTC |
---|---|---|---|---|---|---|---|
{{$row['NUMBON']}} | {{$row['KNAT']}} | {{ \Carbon\Carbon::parse($row['DATEMVT'])->format('d-m-Y') }} | {{$row['BRUT_HT']}} | {{$row['REMISE'] == '0,000'?'':$row['REMISE']}} | {{$row['NET_HT']}} | {{ (float)$row['TOT_TVA'] == 0 ? '' : $row['TOT_TVA']}} | {{ (float)$row['TOT_TTC'] == 0 ? '' : $row['TOT_TTC']}} |
Total BRUT | {{-- {{ (float)$brut == 0 ? '' : number_format((float)$brut, 3, ',', ' ') }}--}} {{$brut}} | ||||
---|---|---|---|---|---|
Total REMISE | {{$remise}} | ||||
Total HT | {{-- {{$ht == '0.000' || $ht == '0' ?'' :$ht}}--}} {{$ht}} | ||||
Total TVA | {{$tva == '0,000'?'0':$tva}} | ||||
Timbre | {{$timbre}} | ||||
Total TTC | {{$ttc}} |
Arrétée la présente Facture à la somme de : {{$price_lettres}} |