df
This commit is contained in:
@@ -79116,30 +79116,31 @@ function filtreentetetrancheange(){
|
||||
}
|
||||
}
|
||||
|
||||
function afficher_trancheage()
|
||||
{
|
||||
if(verifier_entete_trancheage())
|
||||
{
|
||||
donnees = 'codeGcAssureur='+codeGcAssureur+'&codeEnteteTrancheAge='+codeEnteteTrancheAge;
|
||||
function afficher_trancheage() {
|
||||
if (verifier_entete_trancheage()) {
|
||||
let racineWeb = $("#racineWeb").val();
|
||||
let donnees = 'codeGcAssureur=' + codeGcAssureur + '&codeEnteteTrancheAge=' + codeEnteteTrancheAge;
|
||||
let div_attente = $('#div_trancheage');
|
||||
|
||||
var div_attente = $('#div_trancheage');
|
||||
|
||||
div_attente.html('<div style="padding-top:80px; text-align:center; font-size:14px; color: #0088cf; "><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||
// Loader moderne
|
||||
div_attente.html(
|
||||
'<div class="d-flex justify-content-center align-items-center p-5 animate__animated animate__fadeIn">' +
|
||||
'<div class="spinner-grow text-primary" role="status"></div>' +
|
||||
'<span class="ms-3 fw-bold text-primary">Chargement des tranches...</span></div>'
|
||||
);
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxtrancheage/affichertrancheage/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
div_attente.html(data);
|
||||
},
|
||||
complete: function() {
|
||||
$("#ageMax").focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
$.ajax({
|
||||
url: racineWeb + "Ajaxtrancheage/affichertrancheage/",
|
||||
type: 'post',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
div_attente.hide().html(data).fadeIn();
|
||||
},
|
||||
complete: function() {
|
||||
$("#ageMax").focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function supprimer_derniere_tranche_age(idTrancheage)
|
||||
|
||||
Reference in New Issue
Block a user