diff --git a/Js/fonctions.js b/Js/fonctions.js index 0bd6988d..d2ccfdf3 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -20942,20 +20942,28 @@ function maj_paramfacturegarant() donnees += '&nbAdherent='+nbAdherent; donnees += '&nbBeneficiaire='+nbBeneficiaire; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/majparamfacturegarant/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { + v_msg="Confirmez-vous cette action ?"; + v_msgEng="Do you confirm this action?"; - }, - complete: function() { - // retour_fiche_garant(); - consulter_param_fact_garant(); - } - }); + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + $.ajax({ + url: $("#racineWeb").val()+"Ajaxgcassureur/majparamfacturegarant/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + + }, + complete: function() { + // retour_fiche_garant(); + consulter_param_fact_garant(); + } + }); + } + }); } diff --git a/Vue/Paramfacturegarant/index.php b/Vue/Paramfacturegarant/index.php index d0a890ff..63f0d946 100755 --- a/Vue/Paramfacturegarant/index.php +++ b/Vue/Paramfacturegarant/index.php @@ -5,14 +5,35 @@ ?>
-
+

-

nettoyer($gc['libelle']) ?>

+

nettoyer($gc['libelle']) ?>

+
+
+ +
+
+
+ +
+
+

+

nettoyer($gc['libelle']) ?>

+
+
+ +
+ +
@@ -167,20 +188,6 @@
- -
-
-
- - -
-
-
-