This commit is contained in:
KANE LAZENI 2026-01-04 21:25:29 +00:00
parent 6128d34164
commit aff8a6b079
2 changed files with 22 additions and 49 deletions

View File

@ -2480,8 +2480,6 @@ function charger_fichier_modele_assure()
$('#div_exporter_liste_assures').html("");
$('#div_form_upload').show();
// return;
}
function init_importer_modele_assure()
@ -2588,7 +2586,6 @@ function maj_etape_3_import_assures()
},
complete: function(data)
{
// window.location.assign($("#racineWeb" ).val()+"Listeimportassure/");
afficher_liste_assures_a_importer();
}
});
@ -2612,34 +2609,27 @@ function calculer_prime_inmportation()
return;
}
v_msg="Confirmez-vous le calcul de primes?";
v_msgEng="Do you confirm the premium calculation?";
var div_attente = $('#div_liste_assure_importe');
if(confirm_ebene(v_msg, v_msgEng))
{
var div_attente = $('#div_liste_assure_importe');
div_attente.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/>&nbsp;&nbsp;<span style="font-size:15pt;">' + 'Chargement en cours! Veuillez patienter...' + '</span></div>');
$.ajax({
url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/",
type: 'POST',
// data: donnees,
success: function(data) {
v_msg="Calcul de primes terminée avec succès!";
v_msgEng="Premium calculation completed successfully!";
alert_ebene(v_msg, v_msgEng);
},
error: function(data) {
},
complete: function()
{
// window.location.assign($("#racineWeb" ).val()+"Listeimportassure/");
afficher_liste_assures_a_importer();
}
});
}
div_attente.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/>&nbsp;&nbsp;<span style="font-size:15pt;">' + 'Chargement en cours! Veuillez patienter...' + '</span></div>');
$.ajax({
url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/",
type: 'POST',
// data: donnees,
success: function(data) {
alert("OK");
v_msg="Calcul de primes terminée avec succès!";
v_msgEng="Premium calculation completed successfully!";
alert_ebene(v_msg, v_msgEng);
},
error: function(data) {
},
complete: function()
{
afficher_liste_assures_a_importer();
}
});
}
function incorporer_assures_inmportes()
@ -2861,24 +2851,6 @@ function ajouter_tous_adherent_importe_college()
});
}
});
/* Anciern confirm
if(confirm_ebene(v_msg, v_msgEng))
{
$.ajax({
url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutertousadherentaucollege/",
type: 'POST',
data: donnees,
success: function(data) {
},
error: function(data) {
},
complete: function() {
afficher_adherent_importee();
}
});
}
*/
}
function ajouter_sans_college_adherent_importe_college()
@ -2951,3 +2923,4 @@ function retirer_tous_adherent_importe_college()
});
}
}

View File

@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- Application Scripts -->
<script src="/Js/fonctions.js?ver=2026.01.04.51"></script>
<script src="/Js/fonctions.js?ver=2026.01.04.54"></script>
<script type="text/javascript">
raffraichier_gabarit();