Merge branch 'main' of git.ebene.ovh:ebene/radiantrh
This commit is contained in:
commit
2077a68186
|
|
@ -1512,3 +1512,48 @@ function recapituler_retrait()
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
function enregistrer_retrait()
|
||||
{
|
||||
alert("enregistrer_retrait");
|
||||
return;
|
||||
|
||||
var div_assure_a_retirer = $('#div_assure_a_retirer');
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxdetailretrait/recapituler/",
|
||||
type: 'POST',
|
||||
success: function(data) {
|
||||
div_assure_a_retirer.html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
nbAliment=$("#nbAliment").val();
|
||||
|
||||
if (nbAliment<"1")
|
||||
{
|
||||
v_msg="Veuillez sélectionner les personnes à retirer!";
|
||||
v_msgEng="Please select the people to remove!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
v_msg="Confirmez-vous le retrait des personnes sélectionnées de cette police?";
|
||||
v_msgEng="Do you confirm the withdrawal of the selected people from this policy?";
|
||||
|
||||
confirm_ebene(v_msg, v_msgEng)
|
||||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
// L'utilisateur a confirmé
|
||||
window.location.assign($("#racineWeb" ).val()+"Ficheretrait/enregistrerretrait/");
|
||||
} else {
|
||||
// L'utilisateur a annulé
|
||||
console.log("Confirmation refusée");
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -595,7 +595,7 @@ $activeChildId = $menuData['child'];
|
|||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!-- Application Scripts -->
|
||||
<script src="/Js/fonctions.js?ver=2026.01.03.14"></script>
|
||||
<script src="/Js/fonctions.js?ver=2026.01.03.15"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
setInterval(function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user