a
This commit is contained in:
parent
3183ee5a69
commit
bf6ca44165
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3234,6 +3234,7 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle)
|
|||
|
||||
donnees = 'idMedicament='+idMedicament+"&quantite="+quantite;
|
||||
donnees += "&idControle="+V_idControle;
|
||||
donnees += "&controle=quantite";
|
||||
|
||||
alert(donnees);
|
||||
|
||||
|
|
|
|||
|
|
@ -892,7 +892,7 @@
|
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous">
|
||||
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.06.24.14"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.06.24.15"></script>
|
||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user