a
This commit is contained in:
parent
291e4f94bb
commit
97a2a5940f
|
|
@ -45568,8 +45568,6 @@ function selectionner_remboursement(idDemande)
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function valider_reponse_demande_rd()
|
||||
{
|
||||
idDemandeRemboursement = $("#idDemandeRemboursement").val();
|
||||
|
|
@ -45616,35 +45614,30 @@ function valider_reponse_demande_rd()
|
|||
v_msg="Confirmez-vous cette réponse ?";
|
||||
v_msgEng="Do you confirm this answer?";
|
||||
|
||||
confirm_ebene(v_msg, v_msgEng)
|
||||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
// L'utilisateur a confirmé
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxdemanderemboursement/majreponse/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
$('#div_test_gabarit').html(data);
|
||||
alert(data);
|
||||
},
|
||||
complete: function() {
|
||||
if(codeEtatDemandeRemboursement=="1"){
|
||||
ajax_context_adherent(idBeneficiaire);
|
||||
}else{
|
||||
window.location.assign($("#racineWeb" ).val()+"Historiqueremboursement/");
|
||||
|
||||
}
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxdemanderemboursement/majreponse/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
$('#div_test_gabarit').html(data);
|
||||
alert(data);
|
||||
},
|
||||
complete: function() {
|
||||
/*
|
||||
if(codeEtatDemandeRemboursement=="1"){
|
||||
ajax_context_adherent(idBeneficiaire);
|
||||
}else{
|
||||
window.location.assign($("#racineWeb" ).val()+"Historiquedemanderemboursement/");
|
||||
|
||||
}
|
||||
});
|
||||
} else {
|
||||
// L'utilisateur a annulé
|
||||
console.log("Confirmation refusée");
|
||||
}
|
||||
});
|
||||
|
||||
*/
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function creer_dossier_demande_rd()
|
||||
|
|
@ -45654,16 +45647,10 @@ function creer_dossier_demande_rd()
|
|||
v_msg="Confirmez-vous la création du dossier de remboursement ?";
|
||||
v_msgEng="Do you confirm the creation of the reimbursement file?";
|
||||
|
||||
confirm_ebene(v_msg, v_msgEng)
|
||||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
// L'utilisateur a confirmé
|
||||
ajax_context_adherent(idBeneficiaire);
|
||||
} else {
|
||||
// L'utilisateur a annulé
|
||||
console.log("Confirmation refusée");
|
||||
}
|
||||
});
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
ajax_context_adherent(idBeneficiaire);
|
||||
}
|
||||
}
|
||||
|
||||
function ajax_context_adherent(idBeneficiaire)
|
||||
|
|
@ -45688,16 +45675,8 @@ function ajax_context_adherent(idBeneficiaire)
|
|||
data: donnees,
|
||||
success: function(data)
|
||||
{
|
||||
|
||||
//$("#div_ajaxgabarit").html(data);
|
||||
|
||||
$("#div_context_adherent").html(data);
|
||||
|
||||
//$("#div_attente").html('');
|
||||
|
||||
var aBeneficiaireRemb = $("#aBeneficiaireRemb").val();
|
||||
//var idAdherent = $("#idAdherent").val();
|
||||
|
||||
if(aBeneficiaireRemb > "0")
|
||||
{
|
||||
window.location.assign($("#racineWeb" ).val()+"Creerdossierclassique/");
|
||||
|
|
@ -45716,5 +45695,4 @@ function ajax_context_adherent(idBeneficiaire)
|
|||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -261,7 +261,7 @@ controlerPlafondBeneficiaire : <?= $_SESSION['controlerPlafondBeneficiaire'] ?>
|
|||
<script src="Js/datepicker-fr.js"></script>
|
||||
<?php endif; ?>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.01.31.04"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.01.31.05"></script>
|
||||
|
||||
<script src="<?= $_SESSION['dossierSociete'].'/Js/societe.js' ?>" > </script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user