ententeprealable = new Ententeprealable(); $this->prestataire = new Prestataire(); $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); } public function index() { $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); $codePrestataire = $_SESSION['p_codePrestataire_C']; $debut = $this->requete->getParametreDate("debut_entente"); $fin = $this->requete->getParametreDate("fin_entente"); $_SESSION['p_dEntente_C'] = $debut ; $_SESSION['p_d2_C'] = $fin ; $_SESSION['etatEntente'] = $codeReponseEntentePrealable; $ententeprealables = $this->ententeprealable->getEntenteprealables($codePrestataire, $codeReponseEntentePrealable, $debut, $fin); $reponseententeprealable = $this->reponseententeprealable; $this->genererVueAjax(array('codeReponseEntentePrealable' => $codeReponseEntentePrealable,'reponseententeprealable' => $reponseententeprealable,'ententeprealables' => $ententeprealables, 'debut' => $debut ,'fin' => $fin )); } }