diff --git a/Js/fonctions.js b/Js/fonctions.js index a699df3..3c410da 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3358,9 +3358,43 @@ function lister_ged_police() function imprimer_liste_assures() { - alert("imprimer_liste_assures"); - $('#div_export_assures').html(''); $("#btn_liste_assures").click(); } + +function imprimer_liste_assures_date() +{ + dateAnalyse = $("#dateAnalyse").val(); + + if (dateAnalyse<=" ") + { + v_msg="Veuillez indiquer une date!"; + v_msgEng="Please enter a date!"; + alert_ebene(v_msg, v_msgEng); + + $("#dateAnalyse").focus(); + return; + } + + donnees = 'dateAnalyse='+dateAnalyse; + + var div_export = $('#div_export_assures'); + div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaximprimerlisteassure/", + 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 5477d4a..3bc1029 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -633,7 +633,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +