faze
This commit is contained in:
132
Js/fonctions.js
132
Js/fonctions.js
@@ -6613,7 +6613,17 @@ function init_remplacement_adherent()
|
||||
|
||||
donnees = 'dateSortie='+dateS+'&dateRemplacement='+dateR+'&motifavenant='+motifavenant+'&fraisCarte='+fraisCarte;
|
||||
|
||||
$("#div_remplacement_adherent").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
$("#div_remplacement_adherent").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`
|
||||
);
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxremplaceradherent/init/",
|
||||
@@ -6803,7 +6813,16 @@ function enregistrer_remplacement_adherent()
|
||||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
// L'utilisateur a confirmé
|
||||
$("#div_remplacement_adherent").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
$("#div_remplacement_adherent").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxremplaceradherent/enregistrerremplacementadherent/",
|
||||
@@ -6835,7 +6854,17 @@ function enregistrer_remplacement_adherent()
|
||||
function pop_afficher_selection_reincorporation()
|
||||
{
|
||||
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>');
|
||||
div_selection_assure.html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$("#btn_pop").click();
|
||||
|
||||
$.ajax({
|
||||
@@ -6909,7 +6938,16 @@ function beneficiaire_a_reincorporer(p_choix, p_id_beneficiaire)
|
||||
function recapituler_reincorporer()
|
||||
{
|
||||
var div_assure_a_retirer = $('#div_assure_a_retirer');
|
||||
div_assure_a_retirer.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
div_assure_a_retirer.html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxdetailreincorporation/recapituler/",
|
||||
@@ -6941,7 +6979,16 @@ function lister_ged_adherent()
|
||||
|
||||
donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine+'&codeNaturePiece='+codeNaturePiece;
|
||||
|
||||
$("#div_ged").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
$("#div_ged").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxlistegedadherent/",
|
||||
@@ -6966,7 +7013,16 @@ function lister_ged_beneficiaire_prod()
|
||||
|
||||
donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine+'&codeNaturePiece='+codeNaturePiece;
|
||||
|
||||
$("#div_ged").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
$("#div_ged").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxlistegedbeneficiaireprod/",
|
||||
@@ -7000,7 +7056,16 @@ function ajaxenteterequete()
|
||||
|
||||
v_url = $("#racineWeb").val()+"Ajaxrequeteentete"+codeRequete+"/";
|
||||
|
||||
$("#div_ente_requete").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
$("#div_ente_requete").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$.ajax({
|
||||
url: v_url,
|
||||
@@ -7013,4 +7078,57 @@ function ajaxenteterequete()
|
||||
$(".datepicker" ).datepicker();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function requetes_feuilles_maladie()
|
||||
{
|
||||
$('#div_export_a').html("");
|
||||
donnees = "";
|
||||
donnees_retour = "";
|
||||
|
||||
codeRequete=$("#codeRequete").val();
|
||||
|
||||
if (codeRequete<=" ")
|
||||
{
|
||||
v_msg="Veuillez sélectionner une requête!";
|
||||
v_msgEng="Please select a query!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
$("#codeRequete").focus();
|
||||
return;
|
||||
}
|
||||
|
||||
v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/";
|
||||
|
||||
dateFacture1 = $("#dateFacture1").val();
|
||||
dateFacture2 = $("#dateFacture2").val();
|
||||
|
||||
donnees += '&dateFacture1=' + dateFacture1;
|
||||
donnees += '&dateFacture2=' + dateFacture2;
|
||||
|
||||
$("#div_detail_requete").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
$.ajax({
|
||||
url: v_url,
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
donnees_retour = data;
|
||||
},
|
||||
complete: function() {
|
||||
$("#div_detail_requete").html(donnees_retour);
|
||||
$("#nbligne").val($("#nbligne_info").val());
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user