From 6956b0070119a3f36287117bdc31518bd2726f64 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 14 Mar 2026 07:00:03 +0000 Subject: [PATCH] a --- Vue/Ajaxreponseavis/index_old.php | 87 ------------------------------- 1 file changed, 87 deletions(-) delete mode 100755 Vue/Ajaxreponseavis/index_old.php diff --git a/Vue/Ajaxreponseavis/index_old.php b/Vue/Ajaxreponseavis/index_old.php deleted file mode 100755 index 2638aa2..0000000 --- a/Vue/Ajaxreponseavis/index_old.php +++ /dev/null @@ -1,87 +0,0 @@ -'0' && $idProformaHospitalisation > "0" && $facture == "0") - { - $estDateFuture = (new DateTime($feuillemaladie['dateDebutHospit'])) > (new DateTime('today')); - $autoriser = ($estDateFuture && $autoriserBonHospitAvantDate=="0") ? "0" : "1"; - - } - // FIN KANE 10/04/2025 - - if($avisHospitalisation == "1" && $facture == "0" && $idProlongation == "0" && $contestation == "0"){ - if($autoriser=="1"){ - $v_msg="Avis favorable! Vous êtes autorisé à poursuivre l'hospitalisation du patient."; - }else{ - $v_msg="Hospitalisation chirurgicale non encore autorisée! Attendez, s'il vous plaît, la date de sa programmation. Merci pour votre compréhension!"; - } - - $scroll = "scroll"; - if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ - if($autoriser=="1"){ - $v_msg="Favorable opinion! You are authorized to continue the patient's hospitalization."; - }else{ - $v_msg="Surgical hospitalization not yet authorized! Please wait for the scheduling date. Thank you for understanding!"; - } - } - }elseif($avisHospitalisation == "1" && $facture == "0" && $idProlongation > "0" && $contestation == "0"){ - $v_msg="Avis favorable! Vous êtes autorisé à proroger l'hospitalisation du patient."; - $scroll = "scroll"; - - if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ - $v_msg="Favorable opinion! You are authorized to extend the patient's hospitalization."; - } - }elseif($avisHospitalisation == "2" && $facture == "0" && $contestation == "0"){ - $scroll = "scroll"; - $v_msg="Avis d'hospitalisation envoyé pour validation! Veuillez patienter..."; - - if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ - $v_msg="Notice of Hospitalization sent for validation! Please wait..."; - } - }elseif($avisHospitalisation == "3" && $facture == "0" && $contestation == "0"){ - $scroll = "scroll"; - $v_msg="Désolé! L'hospitalisation n'a pas été autorisé par l'assureur! Le patient en a été informé."; - - if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ - $v_msg="Sorry! Hospitalization was not authorized by the insurer! The patient was informed."; - } - }elseif($avisHospitalisation == "4" && $facture == "0" && $contestation == "0"){ - $scroll = "scroll"; - $v_msg="Avis de prorogation d'hospitalisation envoyé pour validation! Veuillez patienter..."; - - if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ - $v_msg="Notice of extension of hospitalization sent for validation! Please wait..."; - } - } - else{ - $scroll = "scroll"; - $v_msg=""; - } - -?> - - - - - direction="left" scrollamount="15" style="color:white; background-color:red;font-size:14pt"> - - - - direction="left" scrollamount="15" style="color:white; background-color:#7AA95C;font-size:14pt"> - - - - direction="left" scrollamount="15" style="color:red; background-color:yellow;font-size:14pt"> - - - - \ No newline at end of file