This commit is contained in:
KONE SOREL 2026-04-29 10:02:29 +00:00
parent 5fceb9110f
commit 98785054c8

View File

@ -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));
}