facture = new Facture(); } public function index() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $_SESSION['p_idFacture_C'] = $idFacture; $facture = $this->facture->consulterfacturefacture($idFacture) ; $this->genererVueAjax(array('facture' => $facture)); } public function feuillemaladie() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $feuillemaladie = $this->facture->consulterfacturefeuillemaladie($idFacture) ; $diagnostics = $this->facture->consulterfacturediagnostics($idFacture); $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'diagnostics' => $diagnostics)); } public function prestationactes() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $prestations = $this->facture->consulterfactureprestationactes($idFacture) ; $this->genererVueAjax(array('prestations' => $prestations)); } public function medicaments() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $medicaments = $this->facture->consulterfacturemedicaments($idFacture) ; $this->genererVueAjax(array('medicaments' => $medicaments)); } public function verres() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $verres = $this->facture->consulterfactureverres($idFacture) ; $this->genererVueAjax(array('verres' => $verres)); } public function geds() { unset($_FILES['fichier_upload']); $idFacture = $this->requete->getParametreFormulaire("idFacture"); $geds = $this->facture->getgedfacture($idFacture); $this->genererVueAjax(array('geds' => $geds)); } }