editionpieceavenant_societe->get_edition_avenant_primes(); $pdf->Ln(5); $pdf->SetFont('Arial','BIU', $tp); $pdf->Cell(0,$ht0, convertirc(_("FACTURE AVOIR No")) . " " . $entetevenant['idAvenant'] ,0,1,'C',false); $pdf->Ln(5); $pdf->SetFont('Arial','BIU', $tp); $pdf->Cell(0,$ht0, convertirc(_("Détail Facture")) ,0,1,'L',false); $pdf->SetFont('Arial','', $tp); // $pdf->Ln(5); // Rectangle 1 // $x=53; $y = 95; $w=95; $h=40; $r=3.50; $x=53; $y = 99; $w=95; $h=40; $r=3.50; $pdf->RoundedRect($x, $y, $w, $h, $r, '1111'); $ht2=7; $pdf->Cell(110,$ht2,convertirc(_("P Nette")),0,0,'C',false); $pdf->Cell(4,$ht2,"=",0,0,'C',false); $pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['primeNette'])),0,1,'L',false); $pdf->Cell(110,$ht2,convertirc(_("Accessoires")),0,0,'C',false); $pdf->Cell(4,$ht2,"=",0,0,'C',false); $pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['accessoire'] + $corpsavenant['fraisCarte'])),0,1,'L',false); $pdf->Cell(110,$ht2,convertirc(_("Prime HT")),0,0,'C',false); $pdf->Cell(4,$ht2,"=",0,0,'C',false); $pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['primeHt'])),0,1,'L',false); $pdf->Cell(110,$ht2,convertirc((isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes")),0,0,'C',false); $pdf->Cell(4,$ht2,"=",0,0,'C',false); $pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['taxe'])),0,1,'L',false); // Total $pdf->SetFont('Arial','BI', $tp); $pdf->Cell(110,$ht2,convertirc(_("Prime TTC")),0,0,'C',false); $pdf->Cell(4,$ht2,"=",0,0,'C',false); $pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['primeTtcInitial'])),0,1,'L',false); $pdf->Ln(10); $pdf->SetFont('Arial','IU', $tp); $pdf->Cell(0,6,convertirc(_('Arrêté la présente facture avoir à la somme de').' : '),0,1,'C',false); $pdf->SetFont('Arial','BI', $tp); $pdf->SetFillColor(135,206,250); // bleu $pdf->Cell(0,10, convetirEnLettre(abs($corpsavenant['primeTtcInitial']), $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C',true); $pdf->Ln(5); // Piedavenant require_once 'Piedavenant.php'; ?>