diff --git a/Js/fonctions.js b/Js/fonctions.js index 28478b3..d61d35e 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -2477,9 +2477,45 @@ $( ".datepicker" ).datepicker({ function charger_fichier_modele_assure() { - $('#div_exporter_liste_assures').html("ZIGZAP KANE"); + $('#div_exporter_liste_assures').html(""); $('#div_form_upload').show(); // return; } + +function init_importer_modele_assure() +{ + etape2=$("#etape2").val(); + + if (etape2 != "1") + { + v_msg="Etape 2 incomplète!"; + v_msgEng="Incomplete step 2!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + + $('#div_form_upload').hide(); + + var div_export = $('#div_exporter_liste_assures'); + + div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaximporterlisteassure/initimportermodele/", + type: 'POST', + // data: donnees, + success: function(data) + { + div_export.html(data); + }, + error : function(resultat, statut, erreur) + { + }, + complete: function(data) + { + } + }); +} diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 2399b49..6d60fe1 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +