From 468fe6b8518b03b70da59a9c227d7a7466ef8b60 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 27 Mar 2026 10:59:04 +0000 Subject: [PATCH] df --- Controleur/ControleurRequetes.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurRequetes.php b/Controleur/ControleurRequetes.php index 19d3006..167d976 100644 --- a/Controleur/ControleurRequetes.php +++ b/Controleur/ControleurRequetes.php @@ -1,21 +1,33 @@ menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Requetes'); $this->requetes = (new Requetes())->getListe(); + $this->sppolice = new Police(); } public function index() { - $this->genererVue(array('requetes' => $this->requetes)); + $idPolice = $_SESSION['idPolice_C']; + + $dj = date("Y-m-d"); + + $sppoliceentete = $this->sppolice->getRapportSpPoliceEntete($idPolice, $dj); + + $this->genererVue(array( + 'requetes' => $this->requetes, + 'sppoliceentete' => $sppoliceentete + )); } } \ No newline at end of file