diff --git a/Controleur/ControleurGedadherent.php b/Controleur/ControleurGedadherent.php index 05a8681..7a8eb07 100644 --- a/Controleur/ControleurGedadherent.php +++ b/Controleur/ControleurGedadherent.php @@ -1,16 +1,19 @@ menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Gedadherent'); $this->ged = new Ged(); + $this->naturepiece = (new Naturepiece())->getListe(); } public function index($msgErreur=null) @@ -130,6 +133,6 @@ class ControleurGedadherent extends Controleur { unset($_FILES['fichier_upload']); - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); + $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur, 'naturepiece' => $this->naturepiece)); } } \ No newline at end of file diff --git a/Vue/Gedadherent/index.php b/Vue/Gedadherent/index.php index 1f365f3..7283ee6 100644 --- a/Vue/Gedadherent/index.php +++ b/Vue/Gedadherent/index.php @@ -42,6 +42,15 @@
+ + +
+ +