From 2b76397d8fa1669f597ec1e82b25e42128b83e8b Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Tue, 17 Mar 2026 03:05:28 +0000 Subject: [PATCH] a --- Controleur/ControleurAjaxajoutactesdec.php | 6 ------ Js/fonctions.js | 4 ---- Modele/Prestationactes_temp.php | 4 +--- Vue/Ajaxverifierfacture/index.php | 4 +++- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/Controleur/ControleurAjaxajoutactesdec.php b/Controleur/ControleurAjaxajoutactesdec.php index 22a89c37..57f95744 100755 --- a/Controleur/ControleurAjaxajoutactesdec.php +++ b/Controleur/ControleurAjaxajoutactesdec.php @@ -12,14 +12,8 @@ class ControleurAjaxajoutactesdec extends Controleur { public function index() { $codeTarifActe = $_SESSION['codeTarifActe_Dec'] ; - - $familleacte = $this->acte->getListeFamilleComplet($codeTarifActe) ; - //var_dump($familleacte); - - //die(); - $prestations = $this->acte->get_prestations_ajoute_dec(); $this->genererVueAjax(array('familleacte' => $familleacte, 'prestations' => $prestations)); diff --git a/Js/fonctions.js b/Js/fonctions.js index d6bccfdb..21ba8535 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -9753,8 +9753,6 @@ function verifier_feuille_maladie_dec(numeroFeuilleMaladie, idFacture, codeTypeF function verifier_feuille_maladie_dec_cso(donnees) { - - $.ajax({ url: $("#racineWeb").val()+"Ajaxverifierfacture/", type : 'post', @@ -17618,8 +17616,6 @@ function ajouter_facture_dec() { codePrestataire = $("#codePrestataire").val(); - - $.ajax({ url: $("#racineWeb").val()+"Ajaxajoutactesdec/", type : 'post', diff --git a/Modele/Prestationactes_temp.php b/Modele/Prestationactes_temp.php index d44d75e9..9deb240c 100755 --- a/Modele/Prestationactes_temp.php +++ b/Modele/Prestationactes_temp.php @@ -81,7 +81,6 @@ class Prestationactes_temp extends Modele { $idFacture = $_SESSION['idFacture_C']; $codePrestataire = $_SESSION['codePrestataire_C']; - $sql = 'call sp_r_get_facture_decompte(?)'; $resultat = $this->executerRequete($sql, array($idFacture) ); @@ -90,8 +89,7 @@ class Prestationactes_temp extends Modele { $_SESSION['hospitalisation_C'] = $ligne['hospitalisation']; $_SESSION['chirurgie_C'] = $ligne['chirurgie']; - - // return $resultat->fetch(PDO::FETCH_ASSOC); + $_SESSION['idBeneficiaireDec'] = $ligne['idBeneficiaire']; return $ligne; } diff --git a/Vue/Ajaxverifierfacture/index.php b/Vue/Ajaxverifierfacture/index.php index eff4e2af..0efeb184 100755 --- a/Vue/Ajaxverifierfacture/index.php +++ b/Vue/Ajaxverifierfacture/index.php @@ -26,7 +26,9 @@ $libelleAffection = $codeAffection; } - $fact_exclue = $this->nettoyer($facture_pop['valide']=="2"); + $fact_exclue = $this->nettoyer($facture_pop['valide']=="2"); + + echo "idBeneficiaireDec =>".$_SESSION['idBeneficiaireDec']; ?>