This commit is contained in:
KANE LAZENI 2026-01-16 17:10:56 +00:00
parent 6d1c527497
commit e7d987311e
2 changed files with 23 additions and 31 deletions

View File

@ -18551,17 +18551,15 @@ function valider_rdv()
donnees += '&dateRdvAccordee='+dateRdvAccordee+'&heureRdvAccordee='+heureRdvAccordee; donnees += '&dateRdvAccordee='+dateRdvAccordee+'&heureRdvAccordee='+heureRdvAccordee;
donnees += '&motifReponseRdv='+motifReponseRdv; donnees += '&motifReponseRdv='+motifReponseRdv;
alert("valider_rdv => "+donnees);
return;
v_msg="Confirmez-vous la modification de votre demande?"; v_msg="Confirmez-vous la modification de votre demande?";
v_msgEng="Do you confirm the modification of your request?"; v_msgEng="Do you confirm the modification of your request?";
confirm_ebene_sweet(v_msg, v_msgEng) if(confirm_ebene(v_msg, v_msgEng))
.then((isConfirmed) => { {
if (isConfirmed) {
// L'utilisateur a confirmé
vLink = "Ajaxdemanderdv/valider/"; vLink = "Ajaxdemanderdv/valider/";
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: $("#racineWeb").val()+vLink, url: $("#racineWeb").val()+vLink,
@ -18569,22 +18567,16 @@ function valider_rdv()
error: function(errorData) { error: function(errorData) {
}, },
success: function(data) { success: function(data) {
//alert(data); alert(data);
// $('#div_test_gabarit').html(data); $('#div_test_gabarit').html(data);
}, },
complete: function() { complete: function() {
// historique_rdv();
historique_rdv();
} }
}); });
} else {
// L'utilisateur a annulé
console.log("Confirmation refusée");
} }
});
} }

View File

@ -263,7 +263,7 @@ actesHarmonises : <?= $_SESSION['p_actesHarmonises'] ?>
<script src="Js/datepicker-fr.js"></script> <script src="Js/datepicker-fr.js"></script>
<?php endif; ?> <?php endif; ?>
<script src="Js/fonctions.js?ver=2026.01.16.02"></script> <script src="Js/fonctions.js?ver=2026.01.16.03"></script>
<script src="Bootstrap/js/timer.jquery.js"></script> <script src="Bootstrap/js/timer.jquery.js"></script>