SetFont('Arial','B', 10); $pdf->Cell(70,$ht,convertirc(_("TYPE")),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(_("MONTANT HT")),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(_("T.V.A")),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(_("TOTAL")),1,1,'C',false); /* $pdf->SetFont('Arial','', 10); $pdf->Cell(70,$ht,convertirc("DU ".datelang($facturesgarant['dateDebut'],$_SESSION['lang'])." AU ".datelang($facturesgarant['dateFin'],$_SESSION['lang'])),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($facturesgarant['montantHt'])),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($facturesgarant['taxe'])),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($facturesgarant['montantTtc'])),1,1,'C',false); $pdf->SetFont('Arial','B', 10); $pdf->Cell(70,$ht,convertirc("Solde : "),0,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($facturesgarant['montantHt'])),0,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($facturesgarant['taxe'])),0,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($facturesgarant['montantTtc'])),0,1,'C',false); */ foreach ($facturesgarant as $v){ $pdf->SetFont('Arial','', 10); $pdf->Cell(70,$ht,convertirc($v['typefacturationgarant']),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($v['montantHt'])),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($v['taxe'])),1,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($v['montantTtc'])),1,1,'C',false); } $pdf->SetFont('Arial','B', 10); $pdf->Cell(70,$ht,convertirc("Solde : "),0,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($groupefacturegarant['montantHt'])),0,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($groupefacturegarant['taxe'])),0,0,'C',false); $pdf->Cell(40,$ht,convertirc(format_N($groupefacturegarant['montantTtc'])),0,1,'C',false); $x1=10; $y1 = $pdf->GetY(); $x2=200; $y2=$y1; $pdf->Line($x1, $y1, $x2, $y2); require("piedgroupefacture.php");