From b3878fb5148e8bf557ac4e09dfba7a60a1908a4e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 08:50:36 +0000 Subject: [PATCH 01/30] d --- Vue/Selectactesmedicaux/index.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Vue/Selectactesmedicaux/index.php b/Vue/Selectactesmedicaux/index.php index ec26302..79738fd 100644 --- a/Vue/Selectactesmedicaux/index.php +++ b/Vue/Selectactesmedicaux/index.php @@ -23,6 +23,7 @@ + - + + + + +
+ " autofocus required AUTOCOMPLETE="OFF"> + +
+
+ + From 1d3447d69ce7a4d89cf66ab538aa30896e9646e1 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 08:55:28 +0000 Subject: [PATCH 02/30] fg --- Vue/Selectactesmedicaux/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Selectactesmedicaux/index.php b/Vue/Selectactesmedicaux/index.php index 79738fd..61e569a 100644 --- a/Vue/Selectactesmedicaux/index.php +++ b/Vue/Selectactesmedicaux/index.php @@ -44,7 +44,7 @@ - +
" autofocus required AUTOCOMPLETE="OFF"> From d5c843c2a0b5939e1e5feb8067842c4da1123e0c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:07:14 +0000 Subject: [PATCH 03/30] fg --- .../ControleurAjaxchargeractesmedicaux.php | 66 ++++++ .../ControleurAjaxselectactesmedicaux.php | 6 +- Js/fonctions.js | 222 ++++++++++++++++++ Modele/Detailtarifacte.php | 48 ++++ Vue/Ajaxchargeractesmedicaux/actecharge.php | 6 + Vue/Ajaxchargeractesmedicaux/index.php | 26 ++ Vue/Ajaxselectactesmedicaux/index.php | 8 +- Vue/Selectactesmedicaux/index.php | 10 +- Vue/gabarit.php | 2 +- 9 files changed, 382 insertions(+), 12 deletions(-) create mode 100755 Controleur/ControleurAjaxchargeractesmedicaux.php create mode 100755 Vue/Ajaxchargeractesmedicaux/actecharge.php create mode 100755 Vue/Ajaxchargeractesmedicaux/index.php diff --git a/Controleur/ControleurAjaxchargeractesmedicaux.php b/Controleur/ControleurAjaxchargeractesmedicaux.php new file mode 100755 index 0000000..36bdfbf --- /dev/null +++ b/Controleur/ControleurAjaxchargeractesmedicaux.php @@ -0,0 +1,66 @@ +acte = new Detailtarifacte(); + $this->prescription = new Prestationactes(); + } + + public function index() { + + $libelle = $this->requete->getParametreFormulaire("libelle"); + + if ($libelle=="vide" || $libelle=="") { + $actes = $this->acte->getactesexamenvide(); + }else{ + $actes = $this->acte->getactesmedicauxpossibles($libelle); + } + + $this->genererVueAjax(array('actes' => $actes)); + } + + + public function actecharge() + { + $codeActe = $this->requete->getParametreFormulaire("codeActe"); + + $acte_charge = $this->acte->chargerinfosacte($codeActe); + + $this->genererVueAjax(array('acte_charge' => $acte_charge)); + } + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Controleur/ControleurAjaxselectactesmedicaux.php b/Controleur/ControleurAjaxselectactesmedicaux.php index 05ce9af..bf804d5 100644 --- a/Controleur/ControleurAjaxselectactesmedicaux.php +++ b/Controleur/ControleurAjaxselectactesmedicaux.php @@ -13,17 +13,17 @@ class ControleurAjaxselectactesmedicaux extends Controleur { } public function index() { - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); + //$codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; $codePrestataire = $_SESSION['p_codePrestataire_C']; - $actes = $this->acte->geatactesexamensselection($codeFamilleActe); + //$actes = $this->acte->geatactesexamensselection($codeFamilleActe); $prestations = $this->prestation->getactesmedicauxfeuille($numeroFeuilleMaladie, $codePrestataire); $prestations_total = $this->prestation->getactesmedicauxfeuille_total($numeroFeuilleMaladie, $codePrestataire); - $this->genererVueAjax(array('actes' => $actes, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); + $this->genererVueAjax(array(/*'actes' => $actes, */'prestations' => $prestations, 'prestations_total' => $prestations_total)); } public function enregistreractemedical() diff --git a/Js/fonctions.js b/Js/fonctions.js index d8ba722..93c1384 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17604,8 +17604,230 @@ $(function(){ dataTableSpeciale(); $('.js-example-basic-single').select2(); $('.selectpicker').selectpicker(); + + $("#div_selection").hide(); + + $("#searchInput").keyup(debounce(function() { + const libelle = $(this).val().trim(); + + if (!libelle || libelle.length < 3) { + $("#div_selection").hide(); + return; + } + + const formHandlers = { + "selectactesmedicaux": { + link: "Ajaxchargeractesmedicaux/", + data: { libelle: libelle } + } + }; + + const handler = formHandlers[$('#nomForm').val()]; + if (!handler) return; + + /* Vérification des prérequis si nécessaire + if (handler.preCheck && !handler.preCheck()) { + return; + } + */ + + // Préparation des données + const data = typeof handler.data === 'function' ? handler.data() : handler.data; + + // Envoi de la requête AJAX + $.ajax({ + type: "POST", + url: $("#racineWeb").val() + handler.link, + data: data, + beforeSend: function() { + $("#searchInput").css("background", "#FFF url(Bootstrap/images/LoaderIcon.gif) no-repeat 165px"); + }, + success: function(data) { + $("#div_selection").show().html(data); + $("#searchInput").css("background", "#FFF"); + }, + error: function(xhr, status, error) { + console.error("Erreur lors de la recherche:", error); + $("#searchInput").css("background", "#FFF"); + } + }); + }, 300)); }); +// Fonction debounce pour limiter les appels fréquents +function debounce(func, wait, immediate) { + let timeout; + return function() { + const context = this, args = arguments; + const later = function() { + timeout = null; + if (!immediate) func.apply(context, args); + }; + const callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; +} + +function selectElement(val){ + + $("#searchInput").val(val); + $("#div_selection").hide(); +} + + +function add_selected_acte_medicaux(controle) +{ + var str = controle.split(' <==> '); + + var codeActe = str[0]; + var libelleActe = str[1]; + var acteExclu = str[3]; + + + if(acteExclu=="Garanti"){ + acteExclu=0; + }else{ + acteExclu=1; + } + + if(libelleActe<=" ") + { + return; + } + + if(acteExclu==1) + { + v_msg="Acte non couvert!"; + v_msgEng="Not covered!"; + alert_ebene(v_msg, v_msgEng); + return; + } + + donnees = 'codeActe='+codeActe; + + $("#div_patientez").html('
' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxchargeractesmedicaux/actecharge/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + $("#div_patientez").html(data); + + $("#searchInput").val(''); + + codeActe = $("#codeActe").val(); + prixActe = $("#prixActe").val(); + montantTm = $("#montantTm").val(); + aRembourser = $("#aRembourser").val(); + ententePrealable = $("#ententePrealable").val(); + codeFamilleActe = $("#ententePrealable").val(); + + ajouter_un_acte_selection_new(codeActe, prixActe, montantTm, aRembourser, ententePrealable, codeFamilleActe); + + + }, + complete: function(data) { + + } + }); + +} + +function ajouter_un_acte_selection_new(codeActe, prixActe, montantTm, aRembourser, ententePrealable, codeFamilleActe) +{ + donnee_a_affciher = ""; + + donnees="" + donnees_sav=""; + + codeMedecin = $("#codeMedecin").val(); + + if (codeMedecin<=" ") + { + v_msg="Veuillez sélectionner un médecin!"; + v_msgEng="Please select a doctor!"; + alert_ebene(v_msg, v_msgEng); + + $("#nomMedecin").focus(); + return; + } + + if (codeActe<=" ") + { + v_msg="Veuillez sélectionner un acte!"; + v_msgEng="Please select an act!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + + if(prixActe==0) + { + v_msg="Veuillez revoir le tarif!"; + v_msgEng="Please review rate!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + + v_msg="Confirmez-vous cet acte?"; + v_msgEng="Do you confirm this act?"; + + // if(confirm_ebene(v_msg, v_msgEng)) + // { + if(ententePrealable==1) + { + ententePrealable = "2"; + } + + donnees = 'codeFamilleActe='+codeFamilleActe+'&codeActe='+codeActe+'&codeMedecin='+codeMedecin+'&ententePrealable='+ententePrealable; + donnees += '&prixActe='+prixActe+'&montantTm='+montantTm+'&aRembourser='+aRembourser; + + numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C").val(); + + donnees_sav = 'codeActe='+codeActe+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&typeMail=mailententeprealable'; + // donnees_sav2 = 'codeActe='+codeActe+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&typeMail=mailautorisation'; + + typeSms="ententeprealable"; + // typeSms2="autorisation"; + + $("#listeacte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxselectactesmedicaux/enregistreractemedical/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + maj_fraisexclu_cso(); + + if(ententePrealable=="2") + { + preparesms(typeSms); + + v_msg="Demande accord prealable envoyée!"; + v_msgEng="Request prior agreement sent!"; + alert_ebene(v_msg, v_msgEng); + + } + donnee_a_affciher = data; + }, + complete: function() { + if(ententePrealable=="2") + { + mettremailattente(donnees_sav); + } + $("#totam_donnees").html(donnee_a_affciher); + } + }); + // } +} function ajaxinfosboninitconsultation() { diff --git a/Modele/Detailtarifacte.php b/Modele/Detailtarifacte.php index b85155f..a64120c 100644 --- a/Modele/Detailtarifacte.php +++ b/Modele/Detailtarifacte.php @@ -317,5 +317,53 @@ class Detailtarifacte extends Modele { return $liste->fetchAll(PDO::FETCH_ASSOC); } } + + public function getactesexamenvide() { + $sql = 'call sp_p_actes_examen_vide()'; + $resultat = $this->executerRequete($sql); + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + + public function getactesmedicauxpossibles($libelle) + { + $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; + $codePrestataire = $_SESSION['p_codePrestataire_C']; + $codeTarifActe = $_SESSION['p_codeTarifActe_C']; + $codePrestataire = $_SESSION['p_codePrestataire_C']; + $idAdherent = $_SESSION['p_idAdherent_C']; + + $libelle = contruireParamLike($libelle); + + if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US") + { + $sql = 'call sp_p_recherche_actes_medicaux_eng(?, ?, ?, ?, ?);'; + } + else + { + $sql = 'call sp_p_recherche_actes_medicaux(?, ?, ?, ?, ?);'; + } + + $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie,$codeTarifActe, $libelle, $codePrestataire, $idAdherent)); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + + + public function chargerinfosacte($codeActe) + { + $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; + $codePrestataire = $_SESSION['p_codePrestataire_C']; + $codeTarifActe = $_SESSION['p_codeTarifActe_C']; + $tm = $_SESSION['p_tm_C']; + $codePrestataire = $_SESSION['p_codePrestataire_C']; + $idAdherent = $_SESSION['p_idAdherent_C']; + + $sql = 'call sp_p_charger_infosacte_medical(?, ?, ?, ?, ?);'; + + $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie,$codeTarifActe, $codeActe, + $codePrestataire, $idAdherent, $tm)); + + return $resultat->fetch(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Vue/Ajaxchargeractesmedicaux/actecharge.php b/Vue/Ajaxchargeractesmedicaux/actecharge.php new file mode 100755 index 0000000..5932801 --- /dev/null +++ b/Vue/Ajaxchargeractesmedicaux/actecharge.php @@ -0,0 +1,6 @@ + + + + + + diff --git a/Vue/Ajaxchargeractesmedicaux/index.php b/Vue/Ajaxchargeractesmedicaux/index.php new file mode 100755 index 0000000..7aa9c1f --- /dev/null +++ b/Vue/Ajaxchargeractesmedicaux/index.php @@ -0,0 +1,26 @@ + +
    + ",$v["libelle"]); + + if (isset($tab[2]) && ($tab[2] != "Garanti" || $tab[2] != "Guaranteed")){ + $style = "background-color: red; color:white;"; + }elseif (isset($tab[3]) && ($tab[3] == "Demander Accord" || $tab[3] == "Request Approval")){ + $style = "background-color: yellow;"; + }else{ + $style = "background-color: white;"; + } +?> +
  • ');add_selected_acte_medicaux(' ".$v["libelle"]; ?>');">
  • + +
+ + + + + \ No newline at end of file diff --git a/Vue/Ajaxselectactesmedicaux/index.php b/Vue/Ajaxselectactesmedicaux/index.php index 570c70a..a7229ea 100644 --- a/Vue/Ajaxselectactesmedicaux/index.php +++ b/Vue/Ajaxselectactesmedicaux/index.php @@ -1,7 +1,7 @@ - + +
@@ -137,7 +137,5 @@ -
-
diff --git a/Vue/Selectactesmedicaux/index.php b/Vue/Selectactesmedicaux/index.php index 61e569a..f8ad9ca 100644 --- a/Vue/Selectactesmedicaux/index.php +++ b/Vue/Selectactesmedicaux/index.php @@ -8,6 +8,7 @@ + @@ -46,7 +47,7 @@
- " autofocus required AUTOCOMPLETE="OFF"> + " autofocus required AUTOCOMPLETE="OFF">
@@ -93,8 +94,10 @@ -
+
+
+ -
+
diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 867ab46..8dd45d0 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ actesHarmonises : - + From 602999b001d0d86b89885516e40539301a69908a Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:08:54 +0000 Subject: [PATCH 04/30] df --- Vue/gabarit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 8dd45d0..236156b 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -26,6 +26,7 @@ <?= $_SESSION['p_vue'] ?> From 011dcce529f1c21341c90dcce2014353eae1111f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:11:21 +0000 Subject: [PATCH 05/30] sd --- Js/fonctions.js | 2 +- Vue/gabarit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 93c1384..dac735a 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17602,7 +17602,7 @@ function dataTableSpecialeMini(){ $(function(){ appliquerDataTable(); dataTableSpeciale(); - $('.js-example-basic-single').select2(); + $('.selectpicker').selectpicker(); $("#div_selection").hide(); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 236156b..7534edf 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From 95b390a47be14001c491e16e84f3a18c305ec6a6 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:20:00 +0000 Subject: [PATCH 06/30] fg --- Js/fonctions.js | 2 +- Vue/gabarit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index dac735a..278bc4a 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17640,7 +17640,7 @@ $(function(){ url: $("#racineWeb").val() + handler.link, data: data, beforeSend: function() { - $("#searchInput").css("background", "#FFF url(Bootstrap/images/LoaderIcon.gif) no-repeat 165px"); + $("#searchInput").css("background", "#FFF url(Bootstrap/images/loading.gif) no-repeat 165px"); }, success: function(data) { $("#div_selection").show().html(data); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 7534edf..8b7c231 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From 6099917e703cf61edf444816b3056408764e0700 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:28:00 +0000 Subject: [PATCH 07/30] dr --- Controleur/ControleurAjaxchargeractesmedicaux.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Controleur/ControleurAjaxchargeractesmedicaux.php b/Controleur/ControleurAjaxchargeractesmedicaux.php index 36bdfbf..525defd 100755 --- a/Controleur/ControleurAjaxchargeractesmedicaux.php +++ b/Controleur/ControleurAjaxchargeractesmedicaux.php @@ -22,6 +22,9 @@ class ControleurAjaxchargeractesmedicaux extends Controleur { $actes = $this->acte->getactesmedicauxpossibles($libelle); } + var_dump($actes); + die(); + $this->genererVueAjax(array('actes' => $actes)); } From 5f33c06151d59d2656e7597b0159ff9f195bf778 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:34:09 +0000 Subject: [PATCH 08/30] dfg --- Bootstrap/css/style.css | 33 +++++++++++++++++++++++++++++-- Vue/Selectactesmedicaux/index.php | 1 - Vue/gabarit.php | 2 +- 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index 8985782..25e55c9 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -32,8 +32,8 @@ body { } .navbar-inverse{ - background-color: rgba(0,0,255,0.2) - border-color:#080808 + background-color: rgba(0,0,255,0.2); + border-color: #080808; } .sidebar-nav > li > a { @@ -198,3 +198,32 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ { padding: 1px 1px; } + +.frmSearch { + width: 100%; + padding: 10px; + background: #baebe1; +} + +#element-list { + list-style-type: none; + margin: 0; + padding: 0; + width: 100%; +} + +#element-list li { + padding: 10px; + background: #FFF; + border-bottom: #F0F0F0 1px solid; +} + +#element-list li:hover { + background:#F0F0F0; + cursor: pointer; + cursor: hand; +} + +#searchInput { + padding: 10px; +} \ No newline at end of file diff --git a/Vue/Selectactesmedicaux/index.php b/Vue/Selectactesmedicaux/index.php index f8ad9ca..8268385 100644 --- a/Vue/Selectactesmedicaux/index.php +++ b/Vue/Selectactesmedicaux/index.php @@ -48,7 +48,6 @@ diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 8b7c231..64eece7 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From 6b8b00f8a78f0152b1f41137eaadfbb8cd24de50 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:39:04 +0000 Subject: [PATCH 09/30] gf --- Bootstrap/css/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index 25e55c9..d97bb6b 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -226,4 +226,11 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ #searchInput { padding: 10px; +} + +#div_selection{ + position:absolute; + z-index:999; + height:250px; + overflow: auto; } \ No newline at end of file From 0836bacf7982364c6872da0d247ff1504691a8e0 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:42:40 +0000 Subject: [PATCH 10/30] df --- Bootstrap/css/style.css | 1 + Vue/Selectactesmedicaux/index.php | 2 +- Vue/gabarit.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index d97bb6b..97580a1 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -200,6 +200,7 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ } .frmSearch { + position: relative; width: 100%; padding: 10px; background: #baebe1; diff --git a/Vue/Selectactesmedicaux/index.php b/Vue/Selectactesmedicaux/index.php index 8268385..7fa2e95 100644 --- a/Vue/Selectactesmedicaux/index.php +++ b/Vue/Selectactesmedicaux/index.php @@ -46,7 +46,7 @@
" autofocus required AUTOCOMPLETE="OFF"> -
-
+
" autofocus required AUTOCOMPLETE="OFF">
diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 64eece7..a0baf8c 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From 6d66c680d412e8c24999277505c7b72f792b1b9c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:44:46 +0000 Subject: [PATCH 11/30] df --- Controleur/ControleurAjaxchargeractesmedicaux.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Controleur/ControleurAjaxchargeractesmedicaux.php b/Controleur/ControleurAjaxchargeractesmedicaux.php index 525defd..36bdfbf 100755 --- a/Controleur/ControleurAjaxchargeractesmedicaux.php +++ b/Controleur/ControleurAjaxchargeractesmedicaux.php @@ -22,9 +22,6 @@ class ControleurAjaxchargeractesmedicaux extends Controleur { $actes = $this->acte->getactesmedicauxpossibles($libelle); } - var_dump($actes); - die(); - $this->genererVueAjax(array('actes' => $actes)); } From 05ef3fcbdef21c8df1f4c2a98f1822c426e6f539 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:48:26 +0000 Subject: [PATCH 12/30] df --- Vue/Ajaxchargeractesmedicaux/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Ajaxchargeractesmedicaux/index.php b/Vue/Ajaxchargeractesmedicaux/index.php index 7aa9c1f..a979986 100755 --- a/Vue/Ajaxchargeractesmedicaux/index.php +++ b/Vue/Ajaxchargeractesmedicaux/index.php @@ -6,7 +6,7 @@ if(!empty($actes)) { foreach($actes as $v) { $tab = explode(" <==> ",$v["libelle"]); - if (isset($tab[2]) && ($tab[2] != "Garanti" || $tab[2] != "Guaranteed")){ + if (isset($tab[2]) && ($tab[2] == "Garanti" || $tab[2] == "Guaranteed")){ $style = "background-color: red; color:white;"; }elseif (isset($tab[3]) && ($tab[3] == "Demander Accord" || $tab[3] == "Request Approval")){ $style = "background-color: yellow;"; From d71a9cbb1228209aa4b95dc30a66fa845502969a Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:54:20 +0000 Subject: [PATCH 13/30] df --- Vue/Ajaxchargeractesmedicaux/index.php | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/Vue/Ajaxchargeractesmedicaux/index.php b/Vue/Ajaxchargeractesmedicaux/index.php index a979986..d85d1e6 100755 --- a/Vue/Ajaxchargeractesmedicaux/index.php +++ b/Vue/Ajaxchargeractesmedicaux/index.php @@ -4,15 +4,24 @@ if(!empty($actes)) {
    ",$v["libelle"]); - - if (isset($tab[2]) && ($tab[2] == "Garanti" || $tab[2] == "Guaranteed")){ - $style = "background-color: red; color:white;"; - }elseif (isset($tab[3]) && ($tab[3] == "Demander Accord" || $tab[3] == "Request Approval")){ - $style = "background-color: yellow;"; + if(est_anglophone()){ + if (isset($tab[1]) && $tab[1] != "Guaranteed"){ + $style = "background-color: red; color:white;"; + }elseif (isset($tab[2]) && $tab[2] == "Request Approval"){ + $style = "background-color: yellow;"; + }else{ + $style = "background-color: white;"; + } }else{ - $style = "background-color: white;"; + if (isset($tab[1]) && $tab[1] != "Garanti"){ + $style = "background-color: red; color:white;"; + }elseif (isset($tab[2]) && $tab[2] == "Demander Accord"){ + $style = "background-color: yellow;"; + }else{ + $style = "background-color: white;"; + } } + ?>
  • ');add_selected_acte_medicaux(' ".$v["libelle"]; ?>');">
  • From 600d6ebf19ec06ecac1ab5241c911276febdba13 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 16:58:23 +0000 Subject: [PATCH 14/30] df --- Vue/Ajaxchargeractesmedicaux/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Ajaxchargeractesmedicaux/index.php b/Vue/Ajaxchargeractesmedicaux/index.php index d85d1e6..ec05fe8 100755 --- a/Vue/Ajaxchargeractesmedicaux/index.php +++ b/Vue/Ajaxchargeractesmedicaux/index.php @@ -29,7 +29,7 @@ foreach($actes as $v) { - + \ No newline at end of file From 3cb90180f4dc6ea531542f34bb8c86d340b1db60 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:03:55 +0000 Subject: [PATCH 15/30] fgg --- Bootstrap/css/style.css | 20 ++++++++++++++++---- Vue/Ajaxchargeractesmedicaux/index.php | 2 +- Vue/gabarit.php | 2 +- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index 97580a1..c050e58 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -200,10 +200,9 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ } .frmSearch { - position: relative; width: 100%; padding: 10px; - background: #baebe1; + background: #858585; } #element-list { @@ -225,13 +224,26 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ cursor: hand; } -#searchInput { +#searchInput, +#searchInputActe, +#searchInputLienparente { padding: 10px; } -#div_selection{ +.div_selection_list{ + position:absolute; + z-index:999; + height:250px; + width:35%; + overflow: auto; +} + +#div_selection_acte, +#div_selection, +#div_selection_prestataire{ position:absolute; z-index:999; height:250px; overflow: auto; + width: 100%; } \ No newline at end of file diff --git a/Vue/Ajaxchargeractesmedicaux/index.php b/Vue/Ajaxchargeractesmedicaux/index.php index ec05fe8..d85d1e6 100755 --- a/Vue/Ajaxchargeractesmedicaux/index.php +++ b/Vue/Ajaxchargeractesmedicaux/index.php @@ -29,7 +29,7 @@ foreach($actes as $v) { - + \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index a0baf8c..5a36e4e 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From 04e1a133c90ba139e3ab0c0066297dbd76232f18 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:05:27 +0000 Subject: [PATCH 16/30] gh --- Bootstrap/css/style.css | 2 +- Vue/gabarit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index c050e58..36a4198 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -245,5 +245,5 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ z-index:999; height:250px; overflow: auto; - width: 100%; + width: 90%; } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 5a36e4e..3d4e187 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From ff45aefe2bc7d93f564c4f4a6dc835d9d65f8c79 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:06:32 +0000 Subject: [PATCH 17/30] fg --- Bootstrap/css/style.css | 2 +- Vue/gabarit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index 36a4198..35c45ce 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -245,5 +245,5 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ z-index:999; height:250px; overflow: auto; - width: 90%; + width: 70%; } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 3d4e187..985f558 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From a2bae4c77b1ac8011cfad9b88a2df2793c7400e3 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:08:22 +0000 Subject: [PATCH 18/30] fg --- Bootstrap/css/style.css | 2 +- Vue/gabarit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index 35c45ce..cfd24aa 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -245,5 +245,5 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ z-index:999; height:250px; overflow: auto; - width: 70%; + width: 85%; } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 985f558..a35ffa6 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From 1baa1968b3dbab501c8db2ce934e5e87def48093 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:09:14 +0000 Subject: [PATCH 19/30] df --- Bootstrap/css/style.css | 2 +- Vue/gabarit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index cfd24aa..cd848a2 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -245,5 +245,5 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ z-index:999; height:250px; overflow: auto; - width: 85%; + width: 87%; } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index a35ffa6..6f1b271 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From f5de55fd415d9d70fbb587eb72ed2f93e7951390 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:15:44 +0000 Subject: [PATCH 20/30] fg --- Bootstrap/css/style.css | 3 ++- Vue/gabarit.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Bootstrap/css/style.css b/Bootstrap/css/style.css index cd848a2..ca37f14 100644 --- a/Bootstrap/css/style.css +++ b/Bootstrap/css/style.css @@ -219,7 +219,8 @@ input[type="button" i], input[type="submit" i], input[type="reset" i], input[typ } #element-list li:hover { - background:#F0F0F0; + background:blue !important; + color: #fff !important; cursor: pointer; cursor: hand; } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 6f1b271..6047b70 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -16,7 +16,7 @@ - + From 0008da8476d17b138192d73c397864ac3471c6b4 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:19:04 +0000 Subject: [PATCH 21/30] dfg --- Js/fonctions.js | 3 +++ Vue/gabarit.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 278bc4a..58a6394 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17680,6 +17680,9 @@ function selectElement(val){ function add_selected_acte_medicaux(controle) { var str = controle.split(' <==> '); + + alert(str); + return; var codeActe = str[0]; var libelleActe = str[1]; diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 6047b70..bb6afe3 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From 19c3cb61c1ca4cc8b4f4aea6dce2ce2c9d78c857 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:22:28 +0000 Subject: [PATCH 22/30] ds --- Js/fonctions.js | 7 ++++--- Vue/gabarit.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 58a6394..65fba69 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17681,12 +17681,13 @@ function add_selected_acte_medicaux(controle) { var str = controle.split(' <==> '); - alert(str); - return; - var codeActe = str[0]; var libelleActe = str[1]; var acteExclu = str[3]; + + alert("codeActe="+codeActe+" libelleActe="+libelleActe+" acteExclu="+acteExclu); + return; + if(acteExclu=="Garanti"){ diff --git a/Vue/gabarit.php b/Vue/gabarit.php index bb6afe3..ad193ec 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From 629f861e9ffecb3031dc052e71605696aeb5493f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:41:48 +0000 Subject: [PATCH 23/30] dfgs --- Js/fonctions.js | 307 ++++++++++++++++++++---------------------------- 1 file changed, 128 insertions(+), 179 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 65fba69..43f5483 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -17654,185 +17654,6 @@ $(function(){ }, 300)); }); -// Fonction debounce pour limiter les appels fréquents -function debounce(func, wait, immediate) { - let timeout; - return function() { - const context = this, args = arguments; - const later = function() { - timeout = null; - if (!immediate) func.apply(context, args); - }; - const callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; -} - -function selectElement(val){ - - $("#searchInput").val(val); - $("#div_selection").hide(); -} - - -function add_selected_acte_medicaux(controle) -{ - var str = controle.split(' <==> '); - - var codeActe = str[0]; - var libelleActe = str[1]; - var acteExclu = str[3]; - - alert("codeActe="+codeActe+" libelleActe="+libelleActe+" acteExclu="+acteExclu); - return; - - - - if(acteExclu=="Garanti"){ - acteExclu=0; - }else{ - acteExclu=1; - } - - if(libelleActe<=" ") - { - return; - } - - if(acteExclu==1) - { - v_msg="Acte non couvert!"; - v_msgEng="Not covered!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - donnees = 'codeActe='+codeActe; - - $("#div_patientez").html('
    ' + '
    '); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchargeractesmedicaux/actecharge/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_patientez").html(data); - - $("#searchInput").val(''); - - codeActe = $("#codeActe").val(); - prixActe = $("#prixActe").val(); - montantTm = $("#montantTm").val(); - aRembourser = $("#aRembourser").val(); - ententePrealable = $("#ententePrealable").val(); - codeFamilleActe = $("#ententePrealable").val(); - - ajouter_un_acte_selection_new(codeActe, prixActe, montantTm, aRembourser, ententePrealable, codeFamilleActe); - - - }, - complete: function(data) { - - } - }); - -} - -function ajouter_un_acte_selection_new(codeActe, prixActe, montantTm, aRembourser, ententePrealable, codeFamilleActe) -{ - donnee_a_affciher = ""; - - donnees="" - donnees_sav=""; - - codeMedecin = $("#codeMedecin").val(); - - if (codeMedecin<=" ") - { - v_msg="Veuillez sélectionner un médecin!"; - v_msgEng="Please select a doctor!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomMedecin").focus(); - return; - } - - if (codeActe<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(prixActe==0) - { - v_msg="Veuillez revoir le tarif!"; - v_msgEng="Please review rate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cet acte?"; - v_msgEng="Do you confirm this act?"; - - // if(confirm_ebene(v_msg, v_msgEng)) - // { - if(ententePrealable==1) - { - ententePrealable = "2"; - } - - donnees = 'codeFamilleActe='+codeFamilleActe+'&codeActe='+codeActe+'&codeMedecin='+codeMedecin+'&ententePrealable='+ententePrealable; - donnees += '&prixActe='+prixActe+'&montantTm='+montantTm+'&aRembourser='+aRembourser; - - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C").val(); - - donnees_sav = 'codeActe='+codeActe+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&typeMail=mailententeprealable'; - // donnees_sav2 = 'codeActe='+codeActe+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&typeMail=mailautorisation'; - - typeSms="ententeprealable"; - // typeSms2="autorisation"; - - $("#listeacte").html('
      ' + 'Veuillez patienter... / Please wait...' + '
    '); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectactesmedicaux/enregistreractemedical/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - maj_fraisexclu_cso(); - - if(ententePrealable=="2") - { - preparesms(typeSms); - - v_msg="Demande accord prealable envoyée!"; - v_msgEng="Request prior agreement sent!"; - alert_ebene(v_msg, v_msgEng); - - } - donnee_a_affciher = data; - }, - complete: function() { - if(ententePrealable=="2") - { - mettremailattente(donnees_sav); - } - $("#totam_donnees").html(donnee_a_affciher); - } - }); - // } -} - function ajaxinfosboninitconsultation() { badcodeGestionBon = $("#badcodeGestionBon").val(); @@ -18814,3 +18635,131 @@ function visibilite_date_rdv() } } +// Fonction debounce pour limiter les appels fréquents +function debounce(func, wait, immediate) { + let timeout; + return function() { + const context = this, args = arguments; + const later = function() { + timeout = null; + if (!immediate) func.apply(context, args); + }; + const callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; +} + +function selectElement(val){ + $("#searchInput").val(val); + $("#div_selection").hide(); +} + +function validate_acte_params(params) { + if (!params.codeMedecin || params.codeMedecin.trim() === "") { + alert_ebene("Veuillez sélectionner un médecin!", "Please select a doctor!"); + $("#nomMedecin").focus(); + return false; + } + + if (!params.codeActe || params.codeActe.trim() === "") { + alert_ebene("Veuillez sélectionner un acte!", "Please select an act!"); + return false; + } + + if (!params.prixActe || params.prixActe == 0) { + alert_ebene("Veuillez revoir le tarif!", "Please review rate!"); + return false; + } + + return true; +} + +function ajouter_un_acte_selection_new(params) { + // Normalisation entente préalable + if (params.ententePrealable == 1) { + params.ententePrealable = "2"; + } + + var donnees = { + codeFamilleActe: params.codeFamilleActe, + codeActe: params.codeActe, + codeMedecin: params.codeMedecin, + ententePrealable: params.ententePrealable, + prixActe: params.prixActe, + montantTm: params.montantTm, + aRembourser: params.aRembourser + }; + + var numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); + var donnees_sav = { + codeActe: params.codeActe, + numeroFeuilleMaladie: numeroFeuilleMaladie, + typeMail: "mailententeprealable" + }; + + $("#div_prestations").html('
    Veuillez patienter...
    '); + + $.ajax({ + url: $("#racineWeb").val() + "Ajaxselectactesmedicaux/enregistreractemedical/", + type: 'post', + data: donnees, + success: function(data) { + maj_fraisexclu_cso(); + + if (params.ententePrealable == "2") { + preparesms("ententeprealable"); + alert_ebene("Demande accord préalable envoyée!", "Request prior agreement sent!"); + } + + $("#totam_donnees").html(data); + }, + complete: function() { + if (params.ententePrealable == "2") { + mettremailattente(donnees_sav); + } + } + }); +} + +function add_selected_acte_medicaux(controle) { + var str = controle.split(' <==> '); + var codeActe = str[0] || ""; + var libelleActe = str[1] || ""; + var acteExclu = str[3] || ""; + + acteExclu = (acteExclu === "Garanti" || acteExclu === "Guaranteed") ? 0 : 1; + + if (!libelleActe.trim()) return; + if (acteExclu === 1) { + alert_ebene("Acte non couvert!", "Not covered!"); + return; + } + + $("#div_patientez").html('
    '); + + $.ajax({ + url: $("#racineWeb").val() + "Ajaxchargeractesmedicaux/actecharge/", + type: 'post', + data: { codeActe: codeActe }, + success: function(data) { + $("#div_patientez").html(data); + $("#searchInput").val(''); + + var params = { + codeActe: codeActe, + prixActe: $("#prixActe").val(), + montantTm: $("#montantTm").val(), + aRembourser: $("#aRembourser").val(), + ententePrealable: $("#ententePrealable").val(), + codeFamilleActe: $("#codeFamilleActe").val(), + codeMedecin: $("#codeMedecin").val() + }; + + if (validate_acte_params(params)) { + ajouter_un_acte_selection_new(params); + } + } + }); +} \ No newline at end of file From 636e1a4e5ff7f8a5d8562fbcdd067021a2b8f7dd Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:53:31 +0000 Subject: [PATCH 24/30] dfg --- Js/fonctions.js | 8 +++++++- Vue/gabarit.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 43f5483..fbb3ec3 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -18744,9 +18744,15 @@ function add_selected_acte_medicaux(controle) { type: 'post', data: { codeActe: codeActe }, success: function(data) { - $("#div_patientez").html(data); + + alert(data); + $('#div_test_gabarit').html(data); + + return; + $("#div_patientez").html(data); $("#searchInput").val(''); + var params = { codeActe: codeActe, prixActe: $("#prixActe").val(), diff --git a/Vue/gabarit.php b/Vue/gabarit.php index ad193ec..7ffb3fb 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From c8056dcdc76244507650a3264eff7fbfae8d6c7f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:55:55 +0000 Subject: [PATCH 25/30] fgfg --- Js/fonctions.js | 5 ++++- Vue/gabarit.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index fbb3ec3..9a2e8d2 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -18724,6 +18724,8 @@ function ajouter_un_acte_selection_new(params) { } function add_selected_acte_medicaux(controle) { + debugger; + var str = controle.split(' <==> '); var codeActe = str[0] || ""; var libelleActe = str[1] || ""; @@ -18744,7 +18746,8 @@ function add_selected_acte_medicaux(controle) { type: 'post', data: { codeActe: codeActe }, success: function(data) { - + debugger; + alert(data); $('#div_test_gabarit').html(data); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 7ffb3fb..be082f4 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From 605dd50bd0a6c0d1498ba78222dc6073700f664f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 17:59:27 +0000 Subject: [PATCH 26/30] df --- Modele/Detailtarifacte.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modele/Detailtarifacte.php b/Modele/Detailtarifacte.php index a64120c..f88bbc6 100644 --- a/Modele/Detailtarifacte.php +++ b/Modele/Detailtarifacte.php @@ -359,7 +359,7 @@ class Detailtarifacte extends Modele { $codePrestataire = $_SESSION['p_codePrestataire_C']; $idAdherent = $_SESSION['p_idAdherent_C']; - $sql = 'call sp_p_charger_infosacte_medical(?, ?, ?, ?, ?);'; + $sql = 'call sp_p_charger_infosacte_medical(?, ?, ?, ?, ?, ?);'; $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie,$codeTarifActe, $codeActe, $codePrestataire, $idAdherent, $tm)); From 536ffe05fb47661b879f5316b8c30189392aabb6 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 3 Mar 2026 18:02:06 +0000 Subject: [PATCH 27/30] dff --- Js/fonctions.js | 12 +++--------- Vue/gabarit.php | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 9a2e8d2..9a5f759 100644 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -18724,8 +18724,6 @@ function ajouter_un_acte_selection_new(params) { } function add_selected_acte_medicaux(controle) { - debugger; - var str = controle.split(' <==> '); var codeActe = str[0] || ""; var libelleActe = str[1] || ""; @@ -18746,16 +18744,12 @@ function add_selected_acte_medicaux(controle) { type: 'post', data: { codeActe: codeActe }, success: function(data) { - debugger; - - alert(data); - $('#div_test_gabarit').html(data); - - return; + //alert(data); + //$('#div_test_gabarit').html(data); + //return; $("#div_patientez").html(data); $("#searchInput").val(''); - var params = { codeActe: codeActe, prixActe: $("#prixActe").val(), diff --git a/Vue/gabarit.php b/Vue/gabarit.php index be082f4..ce5142b 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -265,7 +265,7 @@ actesHarmonises : - + From 3e7f02d4f95d39e7ca0a4908eef8bc18f62b56f5 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Thu, 5 Mar 2026 10:37:07 +0000 Subject: [PATCH 28/30] df --- Vue/Ajaxselectactesmedicaux/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Ajaxselectactesmedicaux/index.php b/Vue/Ajaxselectactesmedicaux/index.php index a7229ea..81fdd19 100644 --- a/Vue/Ajaxselectactesmedicaux/index.php +++ b/Vue/Ajaxselectactesmedicaux/index.php @@ -60,7 +60,7 @@ - + From a14bef7fa3bc2079315da3d0d89c4b826bf42727 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Thu, 5 Mar 2026 10:39:12 +0000 Subject: [PATCH 29/30] dg --- Vue/Ajaxselectactesmedicaux/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Ajaxselectactesmedicaux/index.php b/Vue/Ajaxselectactesmedicaux/index.php index 81fdd19..7eadefa 100644 --- a/Vue/Ajaxselectactesmedicaux/index.php +++ b/Vue/Ajaxselectactesmedicaux/index.php @@ -60,7 +60,7 @@
    <= X
    - + @@ -119,7 +119,7 @@ - + From 2f42dc6ccc1f05afb0b691267168d8dc3aac3e7c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Thu, 5 Mar 2026 10:41:02 +0000 Subject: [PATCH 30/30] fg --- Vue/Selectactesmedicaux/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Selectactesmedicaux/index.php b/Vue/Selectactesmedicaux/index.php index 7fa2e95..9a9985d 100644 --- a/Vue/Selectactesmedicaux/index.php +++ b/Vue/Selectactesmedicaux/index.php @@ -115,7 +115,7 @@
    X
    - + @@ -173,7 +173,7 @@ - +
    <=