From 28ea6d7a81bae594b44c853228b173edbf54d715 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 31 Jul 2026 12:30:22 +0000 Subject: [PATCH] a --- .../ControleurAjaxdetailprescription.php | 8 ++- Vue/Ajaxdetailprescription/index.php | 49 +++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurAjaxdetailprescription.php b/Controleur/ControleurAjaxdetailprescription.php index d6b14a4..52bab5b 100644 --- a/Controleur/ControleurAjaxdetailprescription.php +++ b/Controleur/ControleurAjaxdetailprescription.php @@ -3,14 +3,18 @@ require_once 'Framework/Controleur.php'; require_once 'Modele/Prescription.php'; require_once 'Modele/Detailprescription.php'; require_once 'Modele/Menuvueutilisateur.php'; +require_once 'Modele/Ged.php'; + class ControleurAjaxdetailprescription extends Controleur { private $prescription; private $detailprescription; + private $ged; public function __construct() { $this->prescription = new Prescription(); $this->detailprescription = new Detailprescription(); + $this->ged = new Ged(); } public function index() @@ -21,7 +25,9 @@ class ControleurAjaxdetailprescription extends Controleur { $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); - $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions)); + $geds = $this->ged->getgedpharmacie(); + + $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'geds' => $geds)); } public function ajoutermedicament() diff --git a/Vue/Ajaxdetailprescription/index.php b/Vue/Ajaxdetailprescription/index.php index ecdd42d..b6df5a4 100644 --- a/Vue/Ajaxdetailprescription/index.php +++ b/Vue/Ajaxdetailprescription/index.php @@ -193,4 +193,53 @@ +
+ GED MEDIC DEYAIL +
+ + + + + + + + + + + + + + + +
" />
+
+ + " ")) : ?> + + + + + + + + + + + + nettoyer($ged['idGed']); + $cheminFichier = $this->nettoyer($ged['cheminFichier']); + ?> + + + + + + + +
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> + +
+
+