Correction graphique évolution des sinistres mensuels

This commit is contained in:
KONE SOREL 2025-12-26 08:53:45 +00:00
parent 3951a18b98
commit 073ae89733

View File

@ -43,13 +43,13 @@ class ControleurAccueil extends Controleur {
$dataTabClaims = json_encode($tabclaims, JSON_NUMERIC_CHECK);
// Evolution des sinistres par mois
$claimsMonth = $this->synthese->getClaimsMonth();
$claimsMonth = $this->synthese->getClaimsSingleMonth();
$claimsMonth = $this->synthese->getClaimsMonth();
$claimsSingleMonth = $this->synthese->getClaimsSingleMonth();
$tabclaimsMonth = [
'months' => array_column($claimsMonth, 'months'),
'monthlyClaims' => array_column($claimsMonth, 'monthlyClaims'),
'singleClaims' => array_column($claimsMonth, 'singleClaims')
'singleClaims' => array_column($claimsSingleMonth, 'singleClaims')
];
$dataTabClaimsMonth = json_encode($tabclaimsMonth, JSON_NUMERIC_CHECK);