diff --git a/Js/fonctions.js b/Js/fonctions.js
index 7436812..14d8b21 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -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('
' + 'Chargement en cours! Veuillez patienter...' + ' ');
-
- $.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('
' + 'Chargement en cours! Veuillez patienter...' + ' ');
+
+ $.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()
});
}
}
+
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 2da89c2..e2f3df9 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
-
+