From 41c8e7bb20d0268a4d524c3e19c0717b4fa0c995 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 24 Apr 2026 14:02:13 +0000 Subject: [PATCH] dert --- .../ControleurNouveaufraisfuneraire.php | 37 +++++++ Modele/Banque.php | 7 ++ Modele/Lienbeneficiaire.php | 23 +++++ Modele/Pmodepaiement.php | 21 ++++ Vue/Nouveaufraisfuneraire/index.php | 98 +++++++++++++++++++ Vue/Rechercherassure/index.php | 2 +- 6 files changed, 187 insertions(+), 1 deletion(-) create mode 100644 Controleur/ControleurNouveaufraisfuneraire.php create mode 100644 Modele/Lienbeneficiaire.php create mode 100644 Modele/Pmodepaiement.php create mode 100644 Vue/Nouveaufraisfuneraire/index.php diff --git a/Controleur/ControleurNouveaufraisfuneraire.php b/Controleur/ControleurNouveaufraisfuneraire.php new file mode 100644 index 0000000..ea1b32f --- /dev/null +++ b/Controleur/ControleurNouveaufraisfuneraire.php @@ -0,0 +1,37 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Nouveaufraisfuneraire'); + + $this->fraisfuneraire = new Fraisfuneraire(); + $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); + $this->liendemandeur = (new Lienbeneficiaire())->getListe(); + + $this->modepaiement = (new Pmodepaiement())->getListe(); + $this->banque = new Banque(); + + } + + public function index() { + $banque = $this->banque->getListe(); + + $montant_fraisfuneraire = $this->fraisfuneraire->getmontant_fraisfuneraire(); + + $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, + 'montant_fraisfuneraire' => $montant_fraisfuneraire, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); + } +} \ No newline at end of file diff --git a/Modele/Banque.php b/Modele/Banque.php index ab6c606..9f705c0 100755 --- a/Modele/Banque.php +++ b/Modele/Banque.php @@ -49,4 +49,11 @@ class Banque extends Modele { $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codebanque)); return ($resultat->rowCount() > 0); } + + public function getListe() { + $sql = 'SELECT codeBanque as `code`, libelle FROM banque order by 2'; + + $liste = $this->executerRequete($sql); + return $liste->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Modele/Lienbeneficiaire.php b/Modele/Lienbeneficiaire.php new file mode 100644 index 0000000..b695f84 --- /dev/null +++ b/Modele/Lienbeneficiaire.php @@ -0,0 +1,23 @@ +executerRequete($sql); + + return $liste->fetchAll(PDO::FETCH_ASSOC); + } +} \ No newline at end of file diff --git a/Modele/Pmodepaiement.php b/Modele/Pmodepaiement.php new file mode 100644 index 0000000..fc13cc6 --- /dev/null +++ b/Modele/Pmodepaiement.php @@ -0,0 +1,21 @@ +executerRequete($sql); + + return $liste->fetchAll(PDO::FETCH_ASSOC); + } +} \ No newline at end of file diff --git a/Vue/Nouveaufraisfuneraire/index.php b/Vue/Nouveaufraisfuneraire/index.php new file mode 100644 index 0000000..81a3b90 --- /dev/null +++ b/Vue/Nouveaufraisfuneraire/index.php @@ -0,0 +1,98 @@ +titre = "INTER-SANTE - Nouvelle Demande Frais Funéraires"; +?> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
Observations
+ + + +
" onClick="enregistrerdemandefraisfuneraire();" style='font-size:10pt;' >
+ + +
+

+
+ +
+ +
+
\ No newline at end of file diff --git a/Vue/Rechercherassure/index.php b/Vue/Rechercherassure/index.php index f8a173a..c970ceb 100644 --- a/Vue/Rechercherassure/index.php +++ b/Vue/Rechercherassure/index.php @@ -8,7 +8,7 @@
- +