@foreach($data as $row) @endforeach
Réf. Désignation Qté P.U HT Total H.T TVA
{{$row['ART']}} {{$row['DESIG']}} {{intval($row['QTS'])}} {{number_format((float)($row['PRHT']), 3, ',', ' ')}} {{number_format((float)($row['PRHT']*$row['QTS']), 3, ',', ' ')}} {{$row['TAUXTVA'] == '0.0' ? '' : intval($row['TAUXTVA'])}}


Total BRUT {{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, ',', ' ')}}
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, ',', ' ')}}