This commit is contained in:
KANE LAZENI 2026-07-18 08:30:49 +00:00
parent c46fc4b74e
commit d1e589f0a6
4 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,6 @@ class ControleurAjaxbtnavishospitalisation extends Controleur {
$feuillemaladie = $this->feuillemaladie->getfeuillemaladie($numeroFeuilleMaladie);
//highlight_string("<?php\n\$datas =\n" . var_export($situation, true) . ";\n>");
$prestations_total = $this->prestation->getactesmedicauxhospitalisation_total($numeroFeuilleMaladie, $codePrestataire);
$this->genererVueAjax(array('prestations_total' => $prestations_total));

View File

@ -27317,7 +27317,6 @@ function verification_contestation() {
},
error: function(xhr, status, error) {
console.error("Erreur AJAX:", status, error);
// Vous pourriez ajouter ici un traitement d'erreur
}
});
}

View File

@ -1,3 +1,4 @@
AJAX
<?php if($prestations_total['totalPrixManuel'] == "0"): ?>
<button type="button" class="form-control btn btn-primary" style='font-size:12pt;' onclick="javascript:alertsiprixprestationzero();"> <?= _("Envoyer un avis de prorogation") ?> </button>
<?php else: ?>

View File

@ -309,11 +309,13 @@
<?php if ($optionHospitalisation=="option-1"): ?>
<td >
<div id="div_btn_avis" >
<!--
<?php if($prestations_total['totalPrixManuel'] == "0"): ?>
<button type="button" class="form-control btn btn-primary" style='font-size:12pt;' onclick="javascript:alertsiprixprestationzero();"> <?= _("Envoyer un avis de prorogation") ?> </button>
<?php else: ?>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popAjoutChambre" style='font-size:12pt;' > <?= _("Envoyer un avis de prorogation") ?> </button>
<?php endif; ?>
-->
</div >
</td>
<td width="5%"></td>