$etatlitdesc = "EN MARCHE"; } //***********************// $repconstratlit = "constratlits"; if (!is_dir($repconstratlit)) { mkdir($repconstratlit); } //************************// $pdf = new PDF_Invoice('P', 'mm', 'A4'); $pdf->AddPage(); /*$pdf->addSociete( "MedicA Shop", "MonAdresse\n" . "75000 PARIS\n". "R.C.S. PARIS B 000 000 007\n" . "Capital : 18000" );*/ $pdf->addreflit("REF. DU LIT : " . "MM2- L" . $reflit . " - S", "REF. MOTEUR PRINCIPAL : " . "MM2- L" . $refmoteurpr . " - MP", "REF. MOTEUR R-B : " . "MM2- L" . $refmoteurpr . " - MA", "REF. TELECOMMANDE : " . "MM2- L" . $reftelecommande . " - MC"); //$pdf->fact_dev( "Constrat ", "TEMPO" ); $pdf->fact_dev("CONTRAT LIT DE LOCATION"); $pdf->temporaire("Technique"); $pdf->addDate("{$today}"); $pdf->addEtat("{$etatlitdesc}"); $pdf->Image('img/Sigle.jpg', 10, 10, -360); //$pdf->addClient("CL01"); //$pdf->addPageNumber("1"); //$pdf->addClientAdresse("Ste\nM. XXXX\n3�me �tage\n33, rue d'ailleurs\n75000 PARIS"); //$pdf->addReglement("Ch�que � r�ception de facture"); //$pdf->addEcheance("03/12/2003"); //$pdf->addNumTVA("FR888777666"); //$pdf->addReference("Devis ... du ...."); $cols = array("ETATS" => 67, "OBSERVATIONS" => 142); $pdf->addCols($cols);