This commit is contained in:
2026-06-24 21:49:10 +00:00
parent 3183ee5a69
commit bf6ca44165
3 changed files with 10 additions and 6 deletions

View File

@@ -13,6 +13,8 @@ class ControleurAjaxdetailprescription extends Controleur {
private $garantie;
private $ouinonrenouvelable;
private $ged;
private $controle;
private $idControle;
public function __construct() {
$this->prescription = new Prescription();
@@ -25,10 +27,12 @@ class ControleurAjaxdetailprescription extends Controleur {
public function index()
{
$idControle = $this->requete->getParametre("id");
$controle = $this->controle;
$idControle = $this->idControle;
var_dump(
array(
"controle" => $controle,
"idControle" => $idControle,
)
);
@@ -71,11 +75,12 @@ class ControleurAjaxdetailprescription extends Controleur {
$idMedicament = $this->requete->getParametre("idMedicament");
$quantite = $this->requete->getParametreFormulaire("quantite", "numerique");
$idControle = $this->requete->getParametre("idControle");
$this->controle = $this->requete->getParametre("controle");
$this->idControle = $this->requete->getParametre("idControle");
$this->detailprescription->majquantite($idMedicament, $quantite);
$this->executerAction("index", $idControle);
$this->executerAction("index");
}
public function majposologie()
@@ -127,10 +132,8 @@ class ControleurAjaxdetailprescription extends Controleur {
$montantTotalMedicament = $this->prescription->getParamMontantTotalMedicament();
$this->detailprescription->majdetailprescriptionaccordprealable($montantTotalMedicament);
$this->executerAction("index");
}