From 98785054c82665f4f5a2e1fbbcac0178c0154e79 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Wed, 29 Apr 2026 10:02:29 +0000 Subject: [PATCH] dert --- Controleur/ControleurAjaxsppolice.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Controleur/ControleurAjaxsppolice.php b/Controleur/ControleurAjaxsppolice.php index bfd3bdc..49a8e09 100644 --- a/Controleur/ControleurAjaxsppolice.php +++ b/Controleur/ControleurAjaxsppolice.php @@ -22,7 +22,7 @@ class ControleurAjaxsppolice extends Controleur $dj = date("Y-m-d"); $sppolice = $this->sppolice->getRapportSpPolicePol($idPolice, $dj); - $limiteConsommation = get_limite_consommation_police($idPolice); + $limiteConsommation = $this->sppolice->get_limite_consommation_police($idPolice); $this->genererVueAjax(array('sppolice' => $sppolice, 'limiteConsommation' => $limiteConsommation)); } @@ -34,7 +34,7 @@ class ControleurAjaxsppolice extends Controleur $dj = date("Y-m-d"); $sppolices = $this->sppolice->getRapportSpPoliceCat($idPolice, $dj); - $limiteConsommation = get_limite_consommation_police($idPolice); + $limiteConsommation = $this->sppolice->get_limite_consommation_police($idPolice); $this->genererVueAjax(array('sppolices' => $sppolices, 'limiteConsommation' => $limiteConsommation)); } @@ -46,7 +46,7 @@ class ControleurAjaxsppolice extends Controleur $dj = date("Y-m-d"); $sppolices = $this->sppolice->getRapportSpPoliceCol($idPolice, $dj); - $limiteConsommation = get_limite_consommation_police($idPolice); + $limiteConsommation = $this->sppolice->get_limite_consommation_police($idPolice); $this->genererVueAjax(array('sppolices' => $sppolices, 'limiteConsommation' => $limiteConsommation)); }