a
This commit is contained in:
parent
95d79fd46f
commit
9c4e552761
|
|
@ -1389,8 +1389,6 @@ function enregistrer_avenant()
|
|||
return;
|
||||
}
|
||||
|
||||
if(codeTypeAvenant!="CHE" && codeTypeAvenant!="REN")
|
||||
{
|
||||
var d_effet = new Date($("#dateEffetSql").val());
|
||||
var d_fin = new Date($("#dateFinSql").val());
|
||||
var d_avenant = $("#dateAvenant").datepicker("getDate");
|
||||
|
|
@ -1414,7 +1412,6 @@ function enregistrer_avenant()
|
|||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
motifavenant=$("#motifavenant").val();
|
||||
|
||||
|
|
@ -1430,19 +1427,27 @@ function enregistrer_avenant()
|
|||
v_msg="Confirmez-vous cet avenant?";
|
||||
v_msgEng="Do you confirm this amendment to the contract?";
|
||||
|
||||
/*
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
var div_attente = $('#div_attente');
|
||||
div_attente.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Chargement en cours! Veuillez patienter...' + '</span></div>');
|
||||
$("#btn_enreg").click();
|
||||
}
|
||||
*/
|
||||
confirm_ebene(v_msg, v_msgEng).then(isConfirmed => {
|
||||
if (isConfirmed) {
|
||||
alert("confiormé");
|
||||
var div_attente = $('#div_attente');
|
||||
div_attente.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Chargement en cours! Veuillez patienter...' + '</span></div>');
|
||||
$("#btn_enreg").click();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function pop_afficher_selection_retrait()
|
||||
{
|
||||
alert("pop_afficher_selection_retrait");
|
||||
return;
|
||||
|
||||
var div_selection_assure = $('#div_selection_assure');
|
||||
|
||||
div_selection_assure.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user