From 4cd534518a6822ce5114c3390aa3ed3e96aa284b Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Mon, 5 Jan 2026 08:09:55 +0000 Subject: [PATCH] Ajout du fichier ControleurListeimportassure.php --- Controleur/ControleurListeimportassure.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Controleur/ControleurListeimportassure.php diff --git a/Controleur/ControleurListeimportassure.php b/Controleur/ControleurListeimportassure.php new file mode 100644 index 0000000..a1458f1 --- /dev/null +++ b/Controleur/ControleurListeimportassure.php @@ -0,0 +1,32 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Listeimportassure"); + + $this->beneficiaire = new Beneficiaire(); + } + public function index() + { + $beneficiaires = $this->beneficiaire->getListeAssuresImportes(); + + $nb_adh = $this->beneficiaire->getnbadhimpsanscollege(); + + $dbeneficiaires_total = null; + $nb_ligne_ass = count($beneficiaires); + + if($nb_ligne_ass>0) + { + $dbeneficiaires_total = $beneficiaires['0']; + } + + $this->genererVue(array('beneficiaires' => $beneficiaires, 'dbeneficiaires_total' => $dbeneficiaires_total, + 'nb_adh' => $nb_adh, 'nb_ligne_ass' => $nb_ligne_ass)); + } +} \ No newline at end of file