This commit is contained in:
KANE LAZENI 2026-07-23 20:20:55 +00:00
parent a1341ee5d6
commit 927cb77698
4 changed files with 6 additions and 12 deletions

View File

@ -69,8 +69,7 @@ class ControleurAjaxstatutacte extends Controleur {
$derogationAccorde = "1";
}
$this->genererVueAjax(array(
'statut' => $statut,
'motif' => $motif,

View File

@ -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);
}
});

View File

@ -1,3 +1,4 @@
<?php if ($statut == "1") : ?>
statut => <? $statut ?>
<button type="button" class="form-control btn btn-primary" style='font-size:12pt;' onclick="javascript:enregistrer_entete_hospitalisation_proforma();"> <?= _("Enregistrer Entête") ?> </button>
<?php endif; ?>

View File

@ -6,6 +6,9 @@
$libelleDerogation = $motif['libelleEng'];
}
?>
statut => <INPUT type="text" value="<?= $statut;?>">
<INPUT class="sr-only" id="statut" name="statut" type="text" value="<?= $statut;?>">
<INPUT class="sr-only" id="libelleMotif" name="libelleMotif" type="text" value="<?= $motif['libelle'];?>">
<INPUT class="sr-only" id="libelleMotifEng" name="libelleMotifEng" type="text" value="<?= $motif['libelleEng'];?>">