a
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user