diff --git a/Bootstrap_new/css/style_office.css b/Bootstrap_new/css/style_office.css index 8b5a941..5d4042c 100644 --- a/Bootstrap_new/css/style_office.css +++ b/Bootstrap_new/css/style_office.css @@ -888,4 +888,23 @@ li i { margin-right:10px; color:#007bff; } color:#888; font-style:italic; min-height: 260px; +} + +/* Style pour les sous-détails dans les KPIs */ +.sub-values { + margin-top: 10px; + padding-top: 10px; + border-top: 1px solid #eee; /* Fine séparation pour l'harmonie */ +} + +.sub-item { + display: flex; + justify-content: space-between; + font-size: 12px; /* Plus petit pour ne pas voler la vedette au KPI principal */ + color: #666; + line-height: 1.6; +} + +.sub-item strong { + color: #333; } \ No newline at end of file diff --git a/Controleur/ControleurAccueil.php b/Controleur/ControleurAccueil.php index a7a8f02..6ed14ca 100755 --- a/Controleur/ControleurAccueil.php +++ b/Controleur/ControleurAccueil.php @@ -1,23 +1,28 @@ menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accueil'); + $this->menuvue->getMenuVue('Accueil'); + $this->synthese = new Synthese(); } public function index() { // KPIs $kpis = [ - "assures" => 1248, - "sinistres_count" => 92, - "sinistres_amount" => 48750000, - "cotisations" => 162300000, - "solde" => 12500000 + "assures" => 1248, + "nombre_salarie" => 405, + "nombre_ayant" => 843, + "sinistres_count" => 92, + "sinistres_amount" => 48750000, + "cotisations" => 162300000, + "solde" => 12500000 ]; diff --git a/Modele/Synthese.php b/Modele/Synthese.php new file mode 100755 index 0000000..935a993 --- /dev/null +++ b/Modele/Synthese.php @@ -0,0 +1,26 @@ +executerRequete($sql, array($idClient)); + + return $resultat->fetch(); + } + + + public function getdetailprescription_lab($numeroBonExamen, $codePrestataireLivraison) + { + $sql = 'call sp_r_get_detail_prestation_lab(?, ?)'; + + $optique = $this->executerRequete($sql, array($numeroBonExamen, $codePrestataireLivraison)); + + return $optique->fetchAll(PDO::FETCH_ASSOC); + } +} \ No newline at end of file diff --git a/Vue/Accueil/index.php b/Vue/Accueil/index.php index e6d48eb..c19f4e7 100644 --- a/Vue/Accueil/index.php +++ b/Vue/Accueil/index.php @@ -5,22 +5,32 @@

-
-
+
+
+
+ : + +
+
+ : + +
+
+

-
+

-
/
+
/

-
+
diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 9f6c939..a0bd430 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -145,7 +145,7 @@ console.groupEnd(); - +