diff --git a/Controleur/ControleurAjaxdetailprescription.php b/Controleur/ControleurAjaxdetailprescription.php index bc23515..54725d8 100755 --- a/Controleur/ControleurAjaxdetailprescription.php +++ b/Controleur/ControleurAjaxdetailprescription.php @@ -25,6 +25,14 @@ class ControleurAjaxdetailprescription extends Controleur { public function index() { + $idControle = $this->requete->getParametre("id"); + + var_dump( + array( + "idControle" => $idControle, + ) + ); + $numeroPrescription = $_SESSION['p_numeroPrescription_C']; $prescription = $this->prescription->getprescription($numeroPrescription); @@ -62,10 +70,12 @@ class ControleurAjaxdetailprescription extends Controleur { { $idMedicament = $this->requete->getParametre("idMedicament"); $quantite = $this->requete->getParametreFormulaire("quantite", "numerique"); + + $idControle = $this->requete->getParametre("idControle"); $this->detailprescription->majquantite($idMedicament, $quantite); - $this->executerAction("index"); + $this->executerAction("index", $idControle); } public function majposologie()