devis = new Police_d(); $this->police = new Police(); } public function index() { $idDevis = $this->requete->getParametreFormulaire("idDevis"); $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); $idClientExistant = $this->requete->getParametreFormulaire("idClientExistant"); $dateEffetContrat = $this->requete->getParametreDate("dateEffetContrat"); // $idPolice = $this->devis->transformer($idDevis, $numeroOptionTarif); $idPolice = $this->devis->transformer($idDevis, $numeroOptionTarif, $idClientExistant, $dateEffetContrat); $this->police->getContexteClientId($idPolice); $this->police->getContexteAjaxPolice($idPolice); } public function clientsexistants() { $idDevis = $this->requete->getParametreFormulaire("idDevis"); $clientsexistants = $this->devis->getClientsExistant($idDevis); $this->genererVueAjax ( array ( 'clientsexistants' => $clientsexistants ) ); } }