ententeprealable = new Ententeprealable(); } public function index() { $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); $_SESSION['codePrestataire_C'] = $codePrestataire; $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); $ententeprealables = $this->ententeprealable->requetesententeprealablepha($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable); $ententeprealables_total = null; if(count($ententeprealables)>"0") { $ententeprealables_total = $ententeprealables['0']; } $this->genererVueAjax(array('ententeprealables' => $ententeprealables, 'ententeprealables_total' => $ententeprealables_total)); } }