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 @@
| = _("No Police") ?> | += _("ID Police") ?> | += _("Libellé Police") ?> | +Type | += _("Effet") ?> | += _("Echéance") ?> | += _("No Avenant") ?> | += _("Type Avenant") ?> | += _("Etat") ?> | += _("Prime") ?> | += _("Sinitres") ?> | += _("R S/P (%)") ?> | +||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + | + | = $this->nettoyer($police['libellePolice']) ?> | += $this->nettoyer($police['typeContrat']) ?> | += dateLang($this->nettoyer($police['dateEffet']), $_SESSION['lang'])?> | += dateLang($this->nettoyer($police['dateEcheance']), $_SESSION['lang']) ?> | += $this->nettoyer($police['numeroAvenant']) ?> | += $this->nettoyer($police['typeAvenant']) ?> | += $this->nettoyer($police['etatPolice']) ?> | += format_N($this->nettoyer($police['primeNetteStat'])) ?> | += format_N($this->nettoyer($police['montantApayer'])) ?> | + + 65):?> += $police["rapportSp"].'%' ?> | + 80 && $police["rapportSp"] <= 100):?> += $police["rapportSp"].'%' ?> | + += $police["rapportSp"].'%' ?> | + +