diff --git a/Controleur/ControleurAccueil.php b/Controleur/ControleurAccueil.php index f8342b2..a7a8f02 100755 --- a/Controleur/ControleurAccueil.php +++ b/Controleur/ControleurAccueil.php @@ -63,6 +63,10 @@ class ControleurAccueil extends Controleur { 28900000, 30000000 ]; + + // SINISTRALITÉ (manquante jusqu’ici) + $lossRatioLabels = ["Jan", "Fév", "Mar", "Avr", "Mai", "Juin"]; + $lossRatioValues = [62, 68, 71, 65, 73, 69]; // % $this->genererVue( array @@ -73,7 +77,9 @@ class ControleurAccueil extends Controleur { 'claimsLabels' => $claimsLabels, 'claimsValues' => $claimsValues, 'months' => $months, - 'monthlyCotisations' => $monthlyCotisations + 'monthlyCotisations' => $monthlyCotisations, + 'lossRatioLabels' => $lossRatioLabels, + 'lossRatioValues' => $lossRatioValues ) ); } diff --git a/Vue/Accueil/index.php b/Vue/Accueil/index.php index 63a449b..cdaa106 100644 --- a/Vue/Accueil/index.php +++ b/Vue/Accueil/index.php @@ -71,6 +71,15 @@ +
+
+

+
+ +
+
+
+ + + diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 90fb9e9..4249ff7 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -637,6 +637,9 @@ console.groupEnd(); + + +