a
This commit is contained in:
parent
6d1c527497
commit
e7d987311e
|
|
@ -18551,40 +18551,32 @@ function valider_rdv()
|
|||
donnees += '&dateRdvAccordee='+dateRdvAccordee+'&heureRdvAccordee='+heureRdvAccordee;
|
||||
donnees += '&motifReponseRdv='+motifReponseRdv;
|
||||
|
||||
|
||||
alert("valider_rdv => "+donnees);
|
||||
return;
|
||||
|
||||
v_msg="Confirmez-vous la modification de votre demande?";
|
||||
v_msgEng="Do you confirm the modification of your request?";
|
||||
|
||||
confirm_ebene_sweet(v_msg, v_msgEng)
|
||||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
// L'utilisateur a confirmé
|
||||
|
||||
vLink = "Ajaxdemanderdv/valider/";
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: $("#racineWeb").val()+vLink,
|
||||
data:donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
//alert(data);
|
||||
// $('#div_test_gabarit').html(data);
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
historique_rdv();
|
||||
}
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
vLink = "Ajaxdemanderdv/valider/";
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: $("#racineWeb").val()+vLink,
|
||||
data:donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
alert(data);
|
||||
$('#div_test_gabarit').html(data);
|
||||
|
||||
});
|
||||
|
||||
} else {
|
||||
// L'utilisateur a annulé
|
||||
console.log("Confirmation refusée");
|
||||
}
|
||||
});
|
||||
},
|
||||
complete: function() {
|
||||
// historique_rdv();
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ actesHarmonises : <?= $_SESSION['p_actesHarmonises'] ?>
|
|||
<script src="Js/datepicker-fr.js"></script>
|
||||
<?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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user