optique = new Optique_temp(); } public function index() { $this->genererVueAjax(); } public function enregistreroptique() { $numeroBon = $this->requete->getParametreFormulaire("numeroBon"); $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); $motifOptique = $this->requete->getParametreFormulaire("motifOptique"); // echo "codeGestionBon => $codeGestionBon"; // exit(); //var_dump($numeroBon); //die(); $this->optique->enregistreroptique($numeroBon, $codeMedecin, $codeGestionBon, $motifOptique); // $this->executerAction("index"); } public function enregistrerprescriptionoptique() { $numeroBonOptique = $this->requete->getParametreFormulaire("numeroBonOptique"); $axeVisionLoinDroit = $this->requete->getParametreFormulaire("axeVisionLoinDroit"); $verreCylindriqueDroit = $this->requete->getParametreFormulaire("verreCylindriqueDroit"); $verreSpheriqueDroit = $this->requete->getParametreFormulaire("verreSpheriqueDroit"); $axeVisionLoinGauche = $this->requete->getParametreFormulaire("axeVisionLoinGauche"); $verreCylindriqueGauche = $this->requete->getParametreFormulaire("verreCylindriqueGauche"); $verreSpheriqueGauche = $this->requete->getParametreFormulaire("verreSpheriqueGauche"); $distanceInterpupillaireVisionLoin = $this->requete->getParametreFormulaire("distanceInterpupillaireVisionLoin"); $axeVisionPresDroit = $this->requete->getParametreFormulaire("axeVisionPresDroit"); $axeVisionPresGauche = $this->requete->getParametreFormulaire("axeVisionPresGauche"); $distanceInterpupillaireVisionPres = $this->requete->getParametreFormulaire("distanceInterpupillaireVisionPres"); $doubleFoyer = $this->requete->getParametreFormulaire("doubleFoyer"); $progressif = $this->requete->getParametreFormulaire("progressif"); $teinteA = $this->requete->getParametreFormulaire("teinteA"); $teinteAB = $this->requete->getParametreFormulaire("teinteAB"); $teinteB = $this->requete->getParametreFormulaire("teinteB"); $teinteC = $this->requete->getParametreFormulaire("teinteC"); $photogray = $this->requete->getParametreFormulaire("photogray"); $antireflet = $this->requete->getParametreFormulaire("antireflet"); $photochromique = $this->requete->getParametreFormulaire("photochromique"); $antiUV = $this->requete->getParametreFormulaire("antiUV"); $transition = $this->requete->getParametreFormulaire("transition"); $antiBuee = $this->requete->getParametreFormulaire("antiBuee"); $filtreBleu = $this->requete->getParametreFormulaire("filtreBleu"); $this->optique->enregistrerprescriptionoptique($numeroBonOptique,$axeVisionLoinDroit,$verreCylindriqueDroit,$verreSpheriqueDroit,$axeVisionLoinGauche,$verreCylindriqueGauche, $verreSpheriqueGauche,$distanceInterpupillaireVisionLoin,$axeVisionPresDroit,$axeVisionPresGauche,$distanceInterpupillaireVisionPres,$doubleFoyer,$progressif, $teinteA,$teinteAB,$teinteB,$teinteC,$photogray,$antireflet,$photochromique,$antiUV,$transition,$antiBuee,$filtreBleu); } public function majmotifoptique() { $numeroBon = $this->requete->getParametreFormulaire("numeroBon"); $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); $motifOptique = $this->requete->getParametreFormulaire("motifOptique"); $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); $this->seance->majmotifoptique($motifOptique, $codeMedecin); } }