a
This commit is contained in:
parent
5044509b9f
commit
b91f523f18
|
|
@ -5,12 +5,14 @@ require_once 'Modele/Detailprescription.php';
|
|||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Garantiesbaremepriseencharge.php';
|
||||
require_once 'Modele/Ouinon.php';
|
||||
require_once 'Modele/Ged.php';
|
||||
|
||||
class ControleurAjaxdetailprescription extends Controleur {
|
||||
private $prescription;
|
||||
private $detailprescription;
|
||||
private $garantie;
|
||||
private $ouinonrenouvelable;
|
||||
private $ged;
|
||||
|
||||
public function __construct() {
|
||||
$this->prescription = new Prescription();
|
||||
|
|
@ -18,6 +20,7 @@ class ControleurAjaxdetailprescription extends Controleur {
|
|||
$this->garantie = new Garantiesbaremepriseencharge();
|
||||
|
||||
$this->ouinonrenouvelable = (new Ouinon())->getListe();
|
||||
$this->ged = new Ged();
|
||||
}
|
||||
|
||||
public function index()
|
||||
|
|
@ -40,10 +43,10 @@ class ControleurAjaxdetailprescription extends Controleur {
|
|||
|
||||
$this->garantie->getsourcebaremenew($idBeneficiaire, $codeActe, $datePrestation);
|
||||
|
||||
|
||||
$geds = $this->ged->getgedpharmacie();
|
||||
|
||||
$this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'montantTotalMedicament' => $montantTotalMedicament,
|
||||
'ouinonrenouvelable' => $this->ouinonrenouvelable));
|
||||
'ouinonrenouvelable' => $this->ouinonrenouvelable, 'geds' => $geds));
|
||||
}
|
||||
|
||||
public function ajoutermedicament()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user