From d94613e19cac9e197d5b5531aa2790c77b662eb9 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Wed, 24 Dec 2025 21:47:59 +0000 Subject: [PATCH] erty --- Bootstrap_new/css/style_office.css | 9 +++--- Controleur/ControleurAccueil.php | 6 ++-- Modele/Synthese.php | 12 ++++--- Vue/Accueil/index.php | 50 +++++++++++++++++++++++++++++- 4 files changed, 64 insertions(+), 13 deletions(-) diff --git a/Bootstrap_new/css/style_office.css b/Bootstrap_new/css/style_office.css index 27b8821..03375f0 100644 --- a/Bootstrap_new/css/style_office.css +++ b/Bootstrap_new/css/style_office.css @@ -919,8 +919,7 @@ li i { margin-right:10px; color:#007bff; } border-top: 1px solid #ddd; } - /* Styles pour la responsivité */ - @media (max-width: 768px) { - - - } +.tab-container { + width: 100%; + overflow: auto; +} diff --git a/Controleur/ControleurAccueil.php b/Controleur/ControleurAccueil.php index 4a9c329..a269058 100755 --- a/Controleur/ControleurAccueil.php +++ b/Controleur/ControleurAccueil.php @@ -46,7 +46,8 @@ class ControleurAccueil extends Controleur { $lossRatioLabels = ["Jan", "Fév", "Mar", "Avr", "Mai", "Juin"]; $lossRatioValues = [62, 68, 71, 65, 73, 69]; // % - // + // Polices + $polices = $this->synthese->getPolices(); $this->genererVue( array @@ -56,7 +57,8 @@ class ControleurAccueil extends Controleur { 'alerts' => $alerts, 'lossRatioLabels' => $lossRatioLabels, 'lossRatioValues' => $lossRatioValues, - 'dataTabClaims' => $dataTabClaims + 'dataTabClaims' => $dataTabClaims, + 'polices' => $polices ) ); } diff --git a/Modele/Synthese.php b/Modele/Synthese.php index 6a852b1..78e39d0 100755 --- a/Modele/Synthese.php +++ b/Modele/Synthese.php @@ -33,12 +33,14 @@ class Synthese extends Modele { } - public function getdetailprescription_lab($numeroBonExamen, $codePrestataireLivraison) + public function getPolices() { - $sql = 'call sp_r_get_detail_prestation_lab(?, ?)'; + $idClient = $_SESSION['idClient_C']; + + $sql = 'call sp_c_get_polices_client(?)'; - $optique = $this->executerRequete($sql, array($numeroBonExamen, $codePrestataireLivraison)); + $resultat = $this->executerRequete($sql, array($idClient)); - return $optique->fetchAll(PDO::FETCH_ASSOC); - } + return $resultat->fetchAll(); + } } \ No newline at end of file diff --git a/Vue/Accueil/index.php b/Vue/Accueil/index.php index ef31510..e775c2d 100644 --- a/Vue/Accueil/index.php +++ b/Vue/Accueil/index.php @@ -75,7 +75,55 @@
- +
+ + + + + + + + + + + + + + + + + + + nettoyer($police['id']); + $nopol = $this->nettoyer($police['numeroPolice']); + ?> + + + + + + + + + + + + + + 65):?> + + 80 && $police["rapportSp"] <= 100):?> + + + + + + + + +
Type
nettoyer($police['libellePolice']) ?>nettoyer($police['typeContrat']) ?>nettoyer($police['dateEffet']), $_SESSION['lang'])?>nettoyer($police['dateEcheance']), $_SESSION['lang']) ?>nettoyer($police['numeroAvenant']) ?>nettoyer($police['typeAvenant']) ?>nettoyer($police['etatPolice']) ?>nettoyer($police['primeNetteStat'])) ?>nettoyer($police['montantApayer'])) ?>
+