diff --git a/Bootstrap_new/css/style_office.css b/Bootstrap_new/css/style_office.css index a83263f..5b93fbc 100644 --- a/Bootstrap_new/css/style_office.css +++ b/Bootstrap_new/css/style_office.css @@ -1267,4 +1267,57 @@ li i { margin-right:10px; color:#007bff; } .badge.rounded-pill { font-weight: 600; padding: 5px 10px; +} + +/* Style Recherche Individuelle */ + +#div_familiale .form-select, +#div_familiale .form-control { + border: 1px solid var(--office-border); + transition: all 0.2s ease; + border-radius: 4px; +} + +#div_familiale .form-select:focus, +#div_familiale .form-control:focus { + border-color: var(--office-secondary); + box-shadow: 0 0 0 0.25rem rgba(43, 87, 154, 0.1); +} + +/* Groupement d'input avec icônes */ +.input-group-text { + border: 1px solid var(--office-border); + color: #adb5bd; +} + +/* Boutons personnalisés */ +#div_familiale .btn-primary { + background-color: var(--office-secondary) !important; + border: none; + border-radius: 4px; +} + +#div_familiale .btn-primary:hover { + background-color: #1a3a6b !important; + transform: translateY(-1px); +} + +#div_familiale .btn-outline-secondary { + color: var(--office-secondary); + border-color: var(--office-secondary); + border-radius: 4px; +} + +#div_familiale .btn-outline-secondary:hover { + background-color: var(--office-secondary); + color: white; +} + +/* Badge spécifique Primes non facturées */ +.badge.bg-warning { + background-color: #fff3cd !important; + color: #856404 !important; + border: 1px solid #ffeeba !important; + font-size: 0.9rem; + padding: 8px 12px; } \ No newline at end of file diff --git a/Controleur/ControleurAssuranceindividuelle.php b/Controleur/ControleurAssuranceindividuelle.php new file mode 100644 index 0000000..d5157ea --- /dev/null +++ b/Controleur/ControleurAssuranceindividuelle.php @@ -0,0 +1,31 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Assuranceindividuelle'); + + $this->typeapporteur = new Typeapporteur(); + $this->police = new Police(); + } + + public function index() + { + $idPolice = $_SESSION['idPolice_C']; + + $typeapporteurs = $this->typeapporteur->getTypeapporteursCommercial(); + + $nb_non_facturees = $this->police->fn_primes_non_facturees_police($idPolice); + + $this->genererVue(array('typeapporteurs' => $typeapporteurs, 'nb_non_facturees' => $nb_non_facturees)); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 0970694..fecbfea 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -665,4 +665,20 @@ function college_police() { window.location.assign($("#racineWeb" ).val()+"Collegepolice/"); } +} + +function assurance_familiale() +{ + codeTypeContrat = $("#codeTypeContrat_C").val(); + + if (codeTypeContrat!="F") + { + v_msg="Ce n\'est pas une police FAMILIALE!"; + v_msgEng="This is not a FAMILIY policy!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + + window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); } \ No newline at end of file diff --git a/Modele/Typeapporteur.php b/Modele/Typeapporteur.php new file mode 100644 index 0000000..6737bd8 --- /dev/null +++ b/Modele/Typeapporteur.php @@ -0,0 +1,21 @@ +executerRequete($sql, array($_SESSION['codeSociete'])); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + +} \ No newline at end of file diff --git a/Vue/Assuranceindividuelle/index.php b/Vue/Assuranceindividuelle/index.php new file mode 100644 index 0000000..bd638d1 --- /dev/null +++ b/Vue/Assuranceindividuelle/index.php @@ -0,0 +1,97 @@ +titre = "INTER-SANTE - ASSURANCE MALADIE INDIVIDUELLE"; +?> + +
+ +
+
+ +
+
+

+ + + : + +
+
+ +
+
+
+ +
+
+
+
+
+ +
+ + +
+
+ +
+ +
+ + "> +
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+ + + + \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index f63ff8e..8c2371b 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -119,7 +119,7 @@ $activeChildId = $menuData['child']; - + - +