From cffc88fe0eb432ecd7ed57e9b0654a04897b8923 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 5 Jan 2026 01:03:32 +0000 Subject: [PATCH] a --- Js/fonctions.js | 38 ++++++++++++++++++++++++++++++++++++++ Vue/gabarit.php | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 2d92318..152cd37 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3095,3 +3095,41 @@ function plafond_adherent() window.location.assign($("#racineWeb" ).val()+"Plafondadherent/"); } } + +function afficher_garantieadherent_entete_contrat() +{ + var div_attente = $('#div_gar_exo'); + + idEntetecontrat=$("#idEntetecontrat").val(); + + if (idEntetecontrat<="0") + { + v_msg="Veuillez sélectionner une période!"; + v_msgEng="Please select a period!"; + alert_ebene(v_msg, v_msgEng); + + $("#idEntetecontrat").focus(); + + div_attente.html(''); + + return; + } + + // donnees = 'exercieReference='+exercieReference; + donnees = 'idEntetecontrat='+idEntetecontrat; + + div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxplafondadherent/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + div_attente.html(data); + }, + complete: function() { + } + }); +} diff --git a/Vue/gabarit.php b/Vue/gabarit.php index fe91942..3ecd983 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +