From 4a1354609f1856e1e4dd5959d3f74a799cb6c6d8 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Sat, 14 Mar 2026 18:43:13 +0000 Subject: [PATCH] dert --- Modele/Gestionconfiee.php | 2 ++ Vue/Fichegcassureur/index.php | 31 +++++++++++++++++++++---------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/Modele/Gestionconfiee.php b/Modele/Gestionconfiee.php index 8a477cf3..b8e7ffd2 100755 --- a/Modele/Gestionconfiee.php +++ b/Modele/Gestionconfiee.php @@ -15,6 +15,8 @@ class Gestionconfiee extends Modele { public function getGcAssureurId($idGc) { + $sql = "sp_get_garant_id(?);"; + $sql = "SELECT a.*, b.libelle as typegc FROM gc_assureur a JOIN gc_typegarant b ON (a.typeGarant = b.id) WHERE a.id=?"; diff --git a/Vue/Fichegcassureur/index.php b/Vue/Fichegcassureur/index.php index 5613283f..5de60c45 100755 --- a/Vue/Fichegcassureur/index.php +++ b/Vue/Fichegcassureur/index.php @@ -2,6 +2,17 @@ $this->titre = "INTER SANTE - Fiche Garant"; $_SESSION['codeGcAssureur_C'] = $this->nettoyer($gc['codeGcAssureur']); $nbreTotal = count($polices); + + $sourcefonds = est_anglophone() ? $gc['sourcefonds'] : $gc['sourcefondsEng']; + $sourcehonoraire = est_anglophone() ? $gc['sourcehonoraire'] : $gc['sourcehonoraireEng']; + $assiettefonds = est_anglophone() ? $gc['assiettefonds'] : $gc['assiettefondsEng']; + $assiettehonoraire = est_anglophone() ? $gc['assiettehonoraire'] : $gc['assiettehonoraireEng']; + $periodicitesappelfond = est_anglophone() ? $gc['periodicitesappelfond'] : $gc['periodicitesappelfondEng']; + $periodicitesfactDeficit = est_anglophone() ? $gc['periodicitesfactDeficit'] : $gc['periodicitesfactDeficitEng']; + $periodicites = est_anglophone() ? $gc['periodicites'] : $gc['periodicitesEng']; + $modepaiement = est_anglophone() ? $gc['modepaiement'] : $gc['modepaiementEng']; + $conventions = est_anglophone() ? $gc['conventions'] : $gc['conventionsEng']; + $tarifActe = est_anglophone() ? $gc['tarifActe'] : $gc['tarifActeEng']; ?>
@@ -177,12 +188,12 @@
-
-
+
+
-
%
+
%
%
@@ -196,10 +207,10 @@
-
-
-
-
+
+
+
+
@@ -213,9 +224,9 @@
-
-
-
+
+
+