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_exporter_liste_assures').html("");
$('#div_form_upload').show(); $('#div_form_upload').show();
// return;
} }
function init_importer_modele_assure() function init_importer_modele_assure()
@ -2588,7 +2586,6 @@ function maj_etape_3_import_assures()
}, },
complete: function(data) complete: function(data)
{ {
// window.location.assign($("#racineWeb" ).val()+"Listeimportassure/");
afficher_liste_assures_a_importer(); afficher_liste_assures_a_importer();
} }
}); });
@ -2612,34 +2609,27 @@ function calculer_prime_inmportation()
return; return;
} }
v_msg="Confirmez-vous le calcul de primes?"; var div_attente = $('#div_liste_assure_importe');
v_msgEng="Do you confirm the premium calculation?";
if(confirm_ebene(v_msg, v_msgEng)) 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({
var div_attente = $('#div_liste_assure_importe'); url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/",
type: 'POST',
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>'); // data: donnees,
success: function(data) {
$.ajax({ alert("OK");
url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/", v_msg="Calcul de primes terminée avec succès!";
type: 'POST', v_msgEng="Premium calculation completed successfully!";
// data: donnees, alert_ebene(v_msg, v_msgEng);
success: function(data) { },
v_msg="Calcul de primes terminée avec succès!"; error: function(data) {
v_msgEng="Premium calculation completed successfully!"; },
alert_ebene(v_msg, v_msgEng); complete: function()
}, {
error: function(data) { afficher_liste_assures_a_importer();
}, }
complete: function() });
{
// window.location.assign($("#racineWeb" ).val()+"Listeimportassure/");
afficher_liste_assures_a_importer();
}
});
}
} }
function incorporer_assures_inmportes() 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() 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> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- Application Scripts --> <!-- 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"> <script type="text/javascript">
raffraichier_gabarit(); raffraichier_gabarit();