diff --git a/Js/fonctions.js b/Js/fonctions.js
index 256a0ac..8ee8e4d 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -7091,8 +7091,6 @@ function prescription_optique()
// Fonction pour gérer l'attribution d'une chambre d'hospitalisation
async function attribution_chambre() {
-
-
const affectionObligatoire = $("#affectionObligatoire").val();
const codeAffection = $("#codeAffection").val();
let modeSaisieFacture = $("#modeSaisieFacture").val();
@@ -7178,7 +7176,7 @@ async function attribution_chambre() {
// Si l’avis a été rejeté
if (avisHospitalisation === "3" && facture === "0") {
- alert_ebene("Avis rejeté!", "Review rejected!");
+ alert_ebene("Avis hospitalization rejeté!", "Hospitalization request rejected!");
return;
}
diff --git a/Modele/Feuillemaladie.php b/Modele/Feuillemaladie.php
index dad8176..7485047 100755
--- a/Modele/Feuillemaladie.php
+++ b/Modele/Feuillemaladie.php
@@ -600,7 +600,6 @@ class Feuillemaladie extends Modele {
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
-
return $ligne['contestation'];
}
diff --git a/Vue/Ajaxreponseavis/index.php b/Vue/Ajaxreponseavis/index.php
index 57f2b7c..72de1aa 100755
--- a/Vue/Ajaxreponseavis/index.php
+++ b/Vue/Ajaxreponseavis/index.php
@@ -14,7 +14,6 @@
{
$estDateFuture = (new DateTime($feuillemaladie['dateDebutHospit'])) > (new DateTime('today'));
$autoriser = ($estDateFuture && $autoriserBonHospitAvantDate=="0") ? "0" : "1";
-
}
// FIN KANE 10/04/2025
@@ -94,4 +93,8 @@
)) ?>>
= $v_msg ?>
-
\ No newline at end of file
+
+
+
+ " onClick="javascript:attribution_chambre();">
+
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 3433393..f775837 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -909,7 +909,7 @@
-
+