diff --git a/Js/fonctions.js b/Js/fonctions.js index c8e1f332..2ea60343 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44576,6 +44576,7 @@ function imprimer_avenant(idAvenant, lienTexteAvenant) var div_export = $('#div_export_a'); div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + donnees_retour = ""; donnees = 'idAvenant='+idAvenant; v_url = $("#racineWeb").val()+"Ajax"+lienTexteAvenant+"/"; @@ -44586,7 +44587,12 @@ function imprimer_avenant(idAvenant, lienTexteAvenant) data: donnees, success: function(data) { - div_export.html(data); + $('#div_test_gabarit').html(data); + donnees_retour = data; + // div_export.html(data); + }, + complete: function() { + $('#div_export').html(donnees_retour); } }); } diff --git a/Vue/Listeavenant/index.php b/Vue/Listeavenant/index.php index 0f24602d..c98a666b 100644 --- a/Vue/Listeavenant/index.php +++ b/Vue/Listeavenant/index.php @@ -4,6 +4,9 @@ " . $_SESSION['nomClient_C'] . " => " . $police['numeroPolice'] . " => " . $police['idPolice'] ?> +
+
+