dzas
This commit is contained in:
@@ -521,25 +521,6 @@ function dataTableSpeciale() {
|
||||
|
||||
}
|
||||
|
||||
function corriger_mvt_beneficiaire(idBeneficiaire, idAvenant)
|
||||
{
|
||||
donnees = 'idAvenant='+idAvenant;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxmouvementassure/avenant/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
setTimeout(() => {
|
||||
modifier_beneficiaire(idBeneficiaire);
|
||||
}, 150);
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
/**
|
||||
* MESSAGERIE ET NOTIFICATIONS
|
||||
* Récupère le nombre de messages et déconnecte si session expirée.
|
||||
@@ -7261,4 +7242,51 @@ function envoyer_notification_avenant(idAvenant)
|
||||
function motif_rejet(motif)
|
||||
{
|
||||
alert_ebene(motif, motif);
|
||||
}
|
||||
|
||||
function corriger_mvt_beneficiaire(idBeneficiaire, idAvenant)
|
||||
{
|
||||
donnees = 'idAvenant='+idAvenant;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxmouvementassure/avenant/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
setTimeout(() => {
|
||||
modifier_beneficiaire(idBeneficiaire);
|
||||
}, 150);
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function confirmer_correction(idMvt)
|
||||
{
|
||||
donnees = 'idMvt='+idMvt;
|
||||
|
||||
const v_msg = "Confirmez-vous la prise en compte de toute correction ?";
|
||||
const v_msgEng = "Do you confirm the consideration of any correction?";
|
||||
|
||||
confirm_ebene(v_msg, v_msgEng).then(isConfirmed => {
|
||||
if (isConfirmed) {
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxmouvementassure/reinitvalidation/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
window.location.assign($("#racineWeb" ).val()+"Mouvementassure/");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user