facture = new Facture(); } public function index() { $idFacture = $this->requete->getParametre("idFacture"); $entete = $this->facture->consulterfacturefacture($idFacture); $prestations = $this->facture->consulterfactureprestationactes($idFacture); $medicaments = $this->facture->consulterfacturemedicaments($idFacture); $detfeuilleMaladies = $this->facture->getdetfeuilleMaladie($idFacture); //////////// $feuilleMaladie =0; foreach($detfeuilleMaladies as $detfeuilleMaladie){ } $feuilleMaladie = $detfeuilleMaladie['numeroFeuilleMaladie']; // $motifsententes = $this->facture->getmotifententeprealable($feuilleMaladie); //highlight_string(""); //highlight_string(""); //highlight_string(""); $factures = $prestations; //highlight_string(""); $datas =array(); ob_start(); ?>

:
:
:
:
: / :
"); if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US") { $libelleActe = $v['libelleActeEng']; }else{ $libelleActe = $v['libelleActe']; } if ($v['depassement'] > "0") { $aPayer = $v['montantTm'] + $v['depassement']; }else{ $aPayer = $v['montantTm']; } ?>
Date
#
Total
0){ $motifsententes = $this->facture->getmotifententeprealablenew($feuilleMaladie,$v['codeActe']); $beneficiaire = $entete['numeroBeneficiaire']; // $plafondacte = $this->facture->getplafondacte($beneficiaire,$v['codeActe']); ?>
Instructions

setTestIsImage(false); $pdf = new HTML2PDF("p", "A4", "fr"); $pdf->pdf->SetAuthor('INTER-SANTE'); $pdf->pdf->SetSubject('Facture Definitive'); $pdf->pdf->SetKeywords('HTML2PDF, ETATSTATS, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_FACTURE_DEFINITIVE"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } } ?>