diff --git a/Controleur/ControleurAjaxstatutacte.php b/Controleur/ControleurAjaxstatutacte.php index b3bde79..7ed3838 100755 --- a/Controleur/ControleurAjaxstatutacte.php +++ b/Controleur/ControleurAjaxstatutacte.php @@ -69,8 +69,7 @@ class ControleurAjaxstatutacte extends Controleur { $derogationAccorde = "1"; } - - + $this->genererVueAjax(array( 'statut' => $statut, 'motif' => $motif, diff --git a/Js/fonctions.js b/Js/fonctions.js index 9ae6a84..04263f2 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -26591,13 +26591,8 @@ function ajax_beneficiaire_contexte(idBeneficiaire) function getstatutactedate(codeActe, datePrestation) { - - donnee_a_affciher = ""; - - donnees = 'codeActe='+codeActe+'&datePrestation='+datePrestation; - donnees = charger_csrf_token(donnees); $.ajax({ @@ -26607,19 +26602,15 @@ function getstatutactedate(codeActe, datePrestation) error: function(errorData) { }, success: function(data) { - donnee_a_affciher = data; }, complete: function() { - - $("#div_statutacte").html(donnee_a_affciher); var statut = $("#statut").val(); var libelleMotif = $("#libelleMotif").val(); var libelleMotifEng = $("#libelleMotifEng").val(); - - + faireDefileMessage(libelleMotif, libelleMotifEng); } }); diff --git a/Vue/Ajaxsituationproformahospit/index.php b/Vue/Ajaxsituationproformahospit/index.php index 4b60515..da0e09b 100755 --- a/Vue/Ajaxsituationproformahospit/index.php +++ b/Vue/Ajaxsituationproformahospit/index.php @@ -1,3 +1,4 @@ + statut => \ No newline at end of file diff --git a/Vue/Ajaxstatutacte/index.php b/Vue/Ajaxstatutacte/index.php index 98e6401..dc4ecb4 100755 --- a/Vue/Ajaxstatutacte/index.php +++ b/Vue/Ajaxstatutacte/index.php @@ -6,6 +6,9 @@ $libelleDerogation = $motif['libelleEng']; } ?> + +statut => +