debug
This commit is contained in:
parent
948672c263
commit
c5a04e6f6a
|
|
@ -43,7 +43,27 @@ class ControleurAccueil extends Controleur {
|
|||
|
||||
// Répartition sinistres
|
||||
$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 = [
|
||||
"Consultations",
|
||||
|
|
@ -53,6 +73,14 @@ class ControleurAccueil extends Controleur {
|
|||
"Dentaire"
|
||||
];
|
||||
|
||||
$claimsLabelsEng = [
|
||||
"Consultations",
|
||||
"Pharmacie",
|
||||
"Hospitalisation",
|
||||
"Imagerie",
|
||||
"Dentaire"
|
||||
];
|
||||
|
||||
$claimsValues = [
|
||||
22,
|
||||
28,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user