diff --git a/Js/fonctions.js b/Js/fonctions.js
index 927a14a..e25816d 100644
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -45568,8 +45568,6 @@ function selectionner_remboursement(idDemande)
});
}
-
-
function valider_reponse_demande_rd()
{
idDemandeRemboursement = $("#idDemandeRemboursement").val();
@@ -45616,35 +45614,30 @@ function valider_reponse_demande_rd()
v_msg="Confirmez-vous cette réponse ?";
v_msgEng="Do you confirm this answer?";
- confirm_ebene(v_msg, v_msgEng)
- .then((isConfirmed) => {
- if (isConfirmed) {
- // L'utilisateur a confirmé
- $.ajax({
- url: $("#racineWeb").val()+"Ajaxdemanderemboursement/majreponse/",
- type: 'POST',
- data: donnees,
- error: function(errorData) {
- },
- success: function(data) {
- $('#div_test_gabarit').html(data);
- alert(data);
- },
- complete: function() {
- if(codeEtatDemandeRemboursement=="1"){
- ajax_context_adherent(idBeneficiaire);
- }else{
- window.location.assign($("#racineWeb" ).val()+"Historiqueremboursement/");
-
- }
+ if(confirm_ebene(v_msg, v_msgEng))
+ {
+ $.ajax({
+ url: $("#racineWeb").val()+"Ajaxdemanderemboursement/majreponse/",
+ type: 'POST',
+ data: donnees,
+ error: function(errorData) {
+ },
+ success: function(data) {
+ $('#div_test_gabarit').html(data);
+ alert(data);
+ },
+ complete: function() {
+ /*
+ if(codeEtatDemandeRemboursement=="1"){
+ ajax_context_adherent(idBeneficiaire);
+ }else{
+ window.location.assign($("#racineWeb" ).val()+"Historiquedemanderemboursement/");
+
}
- });
- } else {
- // L'utilisateur a annulé
- console.log("Confirmation refusée");
- }
- });
-
+ */
+ }
+ });
+ }
}
function creer_dossier_demande_rd()
@@ -45654,16 +45647,10 @@ function creer_dossier_demande_rd()
v_msg="Confirmez-vous la création du dossier de remboursement ?";
v_msgEng="Do you confirm the creation of the reimbursement file?";
- confirm_ebene(v_msg, v_msgEng)
- .then((isConfirmed) => {
- if (isConfirmed) {
- // L'utilisateur a confirmé
- ajax_context_adherent(idBeneficiaire);
- } else {
- // L'utilisateur a annulé
- console.log("Confirmation refusée");
- }
- });
+ if(confirm_ebene(v_msg, v_msgEng))
+ {
+ ajax_context_adherent(idBeneficiaire);
+ }
}
function ajax_context_adherent(idBeneficiaire)
@@ -45688,16 +45675,8 @@ function ajax_context_adherent(idBeneficiaire)
data: donnees,
success: function(data)
{
-
- //$("#div_ajaxgabarit").html(data);
-
$("#div_context_adherent").html(data);
-
- //$("#div_attente").html('');
-
var aBeneficiaireRemb = $("#aBeneficiaireRemb").val();
- //var idAdherent = $("#idAdherent").val();
-
if(aBeneficiaireRemb > "0")
{
window.location.assign($("#racineWeb" ).val()+"Creerdossierclassique/");
@@ -45716,5 +45695,4 @@ function ajax_context_adherent(idBeneficiaire)
}
});
-}
-
+}
\ No newline at end of file
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 917c647..24c58d1 100644
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -261,7 +261,7 @@ controlerPlafondBeneficiaire : = $_SESSION['controlerPlafondBeneficiaire'] ?>
-
+