SetAuthor('EBENE SOLUTIONS INFORMATIQUES'); $userPassword = ''; $ownerPassword = null; $pdf->SetProtection(['print'], $userPassword, $ownerPassword); $pdf->AliasNbPages(); $pdf->AddPage(); $ht=6; $pdf->SetMargins(10, 10, 10) ; $pdf->SetFont('Arial','BI', 8); $pdf->SetFillColor(44,107,179); // bleu $pdf->Cell(0,2,"",1,1,'C',true); $pdf->Ln(10); $pdf->Image($_SESSION['lienLogo'],10,14,20); $pdf->Ln(10); $pdf->SetFont('Arial','B', 13); $pdf->SetFillColor(245,245,245); // $pdf->SetTextColor(128,0,32); // Rouge bordeau $pdf->Cell(0,$ht,'AVENANT INCORPORATION',1,1,'C',true); // $pdf->SetFillColor(245,245,245); $pdf->Rect(10,39, 190, 30, 'DF'); // substr($string, 0, 5); $pdf->Ln(5); $pdf->SetTextColor(0,0,0); $pdf->Cell(15,$ht,convertirc(_('DOIT').' : '),0,0,'L',false); $pdf->SetFont('Arial','B', 13); $pdf->SetTextColor(138,43,226); $pdf->Cell(100,$ht,'GARANT',0,0,'L',true); $pdf->SetFont('Arial','B', 11); $pdf->SetTextColor(0,0,0); $pdf->Cell(22,$ht,convertirc(_('ADRESSE')),0,0,'L',true); $pdf->Cell(30,$ht,'ABIDJAN 01',0,1,'L',true); $pdf->Cell(115); $pdf->Cell(22,$ht,convertirc(_('TEL')),0,0,'L',true); $pdf->Cell(40,$ht,'07 09 45 22 38',0,1,'L',true); $pdf->Cell(115); $pdf->Cell(22,$ht,convertirc(_('CC')),0,0,'L',true); $pdf->Cell(30,$ht,'0457554585555',0,1,'L',true); $pdf->Cell(115); $pdf->Cell(22,$ht,convertirc(_('E-MAIL')),0,0,'L',true); $pdf->Cell(30,$ht,'mea@gmail.com',0,1,'L',true); // $pdf->Ln(5); $pdf->SetFont('Arial','B', 9); $pdf->Cell(22,$ht,convertirc(_('GARANT')),0,0,'L',false); // $pdf->Cell(30,$ht,convertirc(": ".$entetefacturegarant['garant']),0,1,'L',false); $pdf->Cell(22,$ht,convertirc(_('REGIME')),0,0,'L',false); // $pdf->Cell(40,$ht,convertirc(": ".$entetefacturegarant['libelletypegarant']),0,1,'L',false); $pdf->Cell(22,$ht,convertirc(_('PIECE')),0,0,'L',false); // $pdf->Cell(30,$ht,convertirc(": ".$entetefacturegarant['numeroFactureImprime']),0,1,'L',false); $pdf->Cell(22,$ht,convertirc(_('EXERCICE')),0,0,'L',false); // $pdf->Cell(30,$ht,convertirc(": ".$entetefacturegarant['codeExercice']),0,1,'L',false); $pdf->Cell(22,$ht,convertirc(_('GESTION')),0,0,'L',false); // $pdf->Cell(30,$ht,convertirc(": ".$entetefacturegarant['centreGestion']),0,1,'L',false); $pdf->Cell(22,$ht,convertirc(_('PERIODE')),0,0,'L',false); // $pdf->Cell(146,$ht,convertirc(": DU ".datelang($entetefacturegarant['dateDebut'],$_SESSION['lang'])." AU ".datelang($entetefacturegarant['dateFin'],$_SESSION['lang'])),0,0,'L',false); $pdf->SetFont('Arial','B', 13); $pdf->SetTextColor(255,0,0); //Rouge $pdf->SetFillColor(255,255,255); // blanc $pdf->Cell(22,$ht,convertirc(_('Duplicata')),0,0,'L',true); $x=105; $y = 75; $w=95; $h=20; $r=3.50; // $pdf->RoundedRect($x, $y, $w, $h, $r, '1111'); $pdf->SetTextColor(128,128,0); // vert olive $pdf->SetXY(107,82); $pdf->Cell(35,$ht,convertirc(_('FACTURE N°').': '),0,0,'L',false); $pdf->SetTextColor(0,0,0); // vert noir // $pdf->Cell(30,$ht,convertirc($entetefacturegarant['numeroFactureImprime']),0,1,'L',false); $pdf->Ln(10); $x1=10; $y1 = 110; $x2=200; $y2=110; $pdf->Line($x1, $y1, $x2, $y2); $pdf->Ln(13); $pdf->Cell(140); $pdf->SetFont('Arial','', 11); $pdf->SetTextColor(255,0,0); //Rouge $pdf->SetFillColor(255,255,255); // blanc $pdf->Cell(30,$ht,convertirc(_('Date de facture').': '),0,0,'L',true); // $pdf->Cell(30,$ht,convertirc(datelang($entetefacturegarant['dateFacture'],$_SESSION['lang'])),0,1,'L',false); $pdf->SetFont('Arial','', 11); $pdf->SetTextColor(0,0,0); // vert noir $pdf->Cell(30,$ht,convertirc(_('Madame, Monsieur')),0,1,'L',false); $pdf->Ln(2); // $pdf->Cell(0,$ht,convertirc($entetefacturegarant['texte']),0,1,'L',false);