Correction graphique évolution des sinistres mensuels
This commit is contained in:
parent
3951a18b98
commit
073ae89733
|
|
@ -44,12 +44,12 @@ class ControleurAccueil extends Controleur {
|
||||||
|
|
||||||
// Evolution des sinistres par mois
|
// Evolution des sinistres par mois
|
||||||
$claimsMonth = $this->synthese->getClaimsMonth();
|
$claimsMonth = $this->synthese->getClaimsMonth();
|
||||||
$claimsMonth = $this->synthese->getClaimsSingleMonth();
|
$claimsSingleMonth = $this->synthese->getClaimsSingleMonth();
|
||||||
|
|
||||||
$tabclaimsMonth = [
|
$tabclaimsMonth = [
|
||||||
'months' => array_column($claimsMonth, 'months'),
|
'months' => array_column($claimsMonth, 'months'),
|
||||||
'monthlyClaims' => array_column($claimsMonth, 'monthlyClaims'),
|
'monthlyClaims' => array_column($claimsMonth, 'monthlyClaims'),
|
||||||
'singleClaims' => array_column($claimsMonth, 'singleClaims')
|
'singleClaims' => array_column($claimsSingleMonth, 'singleClaims')
|
||||||
];
|
];
|
||||||
|
|
||||||
$dataTabClaimsMonth = json_encode($tabclaimsMonth, JSON_NUMERIC_CHECK);
|
$dataTabClaimsMonth = json_encode($tabclaimsMonth, JSON_NUMERIC_CHECK);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user