exclusionsDecompte = new Motifecxlusionprestation(); //$this->reglement = new Motifecxlusionprestation(); } public function index() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $numeroLotDecompte = $this->requete->getParametreFormulaire("numeroLotDecompte"); $motifrejets = $this->exclusionsDecompte->getListe(); $numeroDecompte = $_SESSION['numeroDecompte_C']; $numeroLotDecompte = $_SESSION['numeroLotDecompte_C']; $motifrejetsAll = $this->exclusionsDecompte->getMotifDecomptes($idFacture,$numeroDecompte); //highlight_string(""); //die(); $this->genererVueAjax(array('motifrejets' => $motifrejets,'idFacture' => $idFacture, 'numeroLotDecompte' => $numeroLotDecompte,'motifrejetsAll' => $motifrejetsAll)); } public function majmotifdecompte() { $idFacture = $this->requete->getParametreFormulaire("idFacture"); $codeMotifRejet = $this->requete->getParametreFormulaire("codeMotifRejet"); $numeroLotDecompte = $this->requete->getParametreFormulaire("numeroLotDecompte"); $motifManuel = $this->requete->getParametreFormulaire("motifManuel"); $this->exclusionsDecompte->majobservations($idFacture, $codeMotifRejet,$numeroLotDecompte,$motifManuel); $this->rediriger("Decompte"); } public function supprimermotifDecompte() { $idMotifDecompte = $this->requete->getParametreFormulaire("idMotifDecompte"); $this->exclusionsDecompte->supprimermotifDecompte($idMotifDecompte); } }