debug
This commit is contained in:
parent
948672c263
commit
c5a04e6f6a
|
|
@ -43,7 +43,27 @@ class ControleurAccueil extends Controleur {
|
||||||
|
|
||||||
// Répartition sinistres
|
// Répartition sinistres
|
||||||
$claims = $this->synthese->getClaims();
|
$claims = $this->synthese->getClaims();
|
||||||
var_dump($claims['claimsLabels']); exit();
|
|
||||||
|
$claimsLabels = array();
|
||||||
|
$claimsLabelsEng = array();
|
||||||
|
$claimsValues = array();
|
||||||
|
|
||||||
|
$tabclaims = [
|
||||||
|
'claimsLabels' => [],
|
||||||
|
'claimsLabelsEng' => [],
|
||||||
|
'claimsValues' => []
|
||||||
|
];
|
||||||
|
|
||||||
|
foreach ($claims as $v) {
|
||||||
|
$tabclaims['claimsLabels'][] = $v['claimsLabels'];
|
||||||
|
$tabclaims['claimsLabelsEng'][] = $v['claimsLabelsEng'];
|
||||||
|
$tabclaims['claimsValues'][] = $v['claimsValues'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$dataTabClaims = json_encode($tabclaims,JSON_NUMERIC_CHECK);
|
||||||
|
|
||||||
|
var_dump($dataTabClaims); exit();
|
||||||
|
|
||||||
|
|
||||||
$claimsLabels = [
|
$claimsLabels = [
|
||||||
"Consultations",
|
"Consultations",
|
||||||
|
|
@ -53,6 +73,14 @@ class ControleurAccueil extends Controleur {
|
||||||
"Dentaire"
|
"Dentaire"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$claimsLabelsEng = [
|
||||||
|
"Consultations",
|
||||||
|
"Pharmacie",
|
||||||
|
"Hospitalisation",
|
||||||
|
"Imagerie",
|
||||||
|
"Dentaire"
|
||||||
|
];
|
||||||
|
|
||||||
$claimsValues = [
|
$claimsValues = [
|
||||||
22,
|
22,
|
||||||
28,
|
28,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user