entete = new Entetetrancheage(); $this->garants = (new Gestionconfiee())->getListe(); } public function index() { $id = $this->requete->getParametreFormulaire("id"); $tabentetetrancheage = $this->entete->getentetetrancheage($id); $this->genererVueAjax(array( 'garants' => $this->garants, 'tabentetetrancheage' => $tabentetetrancheage )); } public function modifier(){ $id = $this->requete->getParametreFormulaire("id"); $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); $codeEnteteTrancheAge = strtoupper($this->requete->getParametreFormulaire("codeEnteteTrancheAge")); $libelle = strtoupper($this->requete->getParametreFormulaire("libelle")); $libelleEng = strtoupper($this->requete->getParametreFormulaire("libelleEng")); $this->entete->modifierentetetrancheage($codeGcAssureur,$codeEnteteTrancheAge,$libelle,$libelleEng,$id); } }