From 0fe027567b1d7d7e2a92122b726ce779cfb89443 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Sun, 15 Mar 2026 13:02:14 +0000 Subject: [PATCH] fg --- Js/fonctions.js | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 7acc1e34..0bd6988d 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -20788,21 +20788,27 @@ function enregistrer_modif_gc_assureur() donnees += '&adresseGeographique='+adresseGeographique+'&numerodeCompteComptableTP='+numerodeCompteComptableTP; donnees += '&numeroCompteContribuable='+numeroCompteContribuable+'&codeModePaiementDemande='+codeModePaiementDemande; donnees += '&encaissementExige='+encaissementExige; - //alert(donnees); - //return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - - }, - complete: function() { - retour_gc_assureur(); - } + + v_msg="Confirmez-vous cette action ?"; + v_msgEng="Do you confirm this action?"; + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + $.ajax({ + url: $("#racineWeb").val()+"Ajaxgcassureur/enregistrermodif/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + + }, + complete: function() { + retour_gc_assureur(); + } + }); + } }); }