diff --git a/Controleur/ControleurAjaximprimercp.php b/Controleur/ControleurAjaximprimercp.php new file mode 100644 index 0000000..76372e1 --- /dev/null +++ b/Controleur/ControleurAjaximprimercp.php @@ -0,0 +1,20 @@ +police = new Police(); + } + + public function index() + { + $lienEtat = $this->requete->getParametreFormulaire("lienEtat"); + + require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/'.$lienEtat.'.php'; + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index b00024c..3bf73e2 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1324,4 +1324,28 @@ function ajaxListerLocalite() function imprimer_contrat() { window.location.assign($("#racineWeb" ).val()+"Contrat/"); +} + +function imprimer_cp(lienEtat) +{ + var div_export = $('#div_export_a'); + div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + donnees = 'lienEtat='+lienEtat; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaximprimercp/", + type: 'POST', + data: donnees, + success: function(data) + { + div_export.html(data); + }, + error : function(resultat, statut, erreur) + { + }, + complete: function(data) + { + } + }); } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 850adb7..de4813e 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -595,7 +595,7 @@ $activeChildId = $menuData['child']; - +