From 364100a51f69d5a8469fcc9678f283cc79a5b688 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 15 Jun 2026 11:43:39 +0000 Subject: [PATCH] a --- Controleur/ControleurPharmacien.php | 12 +++++------- Modele/Prescription_temp.php | 2 -- Vue/Pharmacien/index.php | 14 -------------- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/Controleur/ControleurPharmacien.php b/Controleur/ControleurPharmacien.php index b03836c..f394e28 100755 --- a/Controleur/ControleurPharmacien.php +++ b/Controleur/ControleurPharmacien.php @@ -12,7 +12,7 @@ require_once 'Modele/Detailtarifacte.php'; require_once 'Modele/Garantiesbaremepriseencharge.php'; require_once 'Modele/Feuillemaladie.php'; -class ControleurPharmacien extends Controleur { +class ControleurPharmacien extends Controleur { private $menuvue; private $beneficiaire; private $prescription; @@ -243,16 +243,14 @@ class ControleurPharmacien extends Controleur { $_SESSION['p_tm_C'] = $tm; - //var_dump($tm); - $prixZero = $this->prescription->getNombrePrixZero($numeroPrescription); $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'detailnonlivres' => $detailnonlivres, 'detaillivres' => $detaillivres, 'garantieadherent_temp' => $garantieadherent_temp, 'factures' => $factures, 'factures_toal' => $factures_toal, - 'geds' => $geds, 'tauxCouverture' => $tauxCouverture, 'marges' => $marges, 'idPrestationactes' => $idPrestationactes, /*'situation' => $situation,*/ - 'referencementpolice' => $referencementpolice, 'prestataireReference' => $prestataireReference, 'tm' => $tm, /*'situationGarantie' => $situationGarantie,*/ - 'dateFinDelaiCarenceActe' => $dateFinDelaiCarenceActe, /* 'situationAnnuelle' => $situationAnnuelle, 'situationFamille' => $situationFamille,*/ - 'tmAffection' => $tmAffection, 'Affection' => $Affection, 'soldeConsommation' => $soldeConsommation, 'soldeNbreTransaction' => $soldeNbreTransaction, + 'geds' => $geds, 'tauxCouverture' => $tauxCouverture, 'marges' => $marges, 'idPrestationactes' => $idPrestationactes, + 'referencementpolice' => $referencementpolice, 'prestataireReference' => $prestataireReference, 'tm' => $tm, + 'dateFinDelaiCarenceActe' => $dateFinDelaiCarenceActe, 'tmAffection' => $tmAffection, 'Affection' => $Affection, + 'soldeConsommation' => $soldeConsommation, 'soldeNbreTransaction' => $soldeNbreTransaction, 'statut' => $statut, 'contestation' => $contestation, 'prixZero' => $prixZero)); } } diff --git a/Modele/Prescription_temp.php b/Modele/Prescription_temp.php index 49550ee..9dc48c4 100755 --- a/Modele/Prescription_temp.php +++ b/Modele/Prescription_temp.php @@ -552,8 +552,6 @@ class Prescription_temp extends Modele { $codePrestataire = $_SESSION['p_codePrestataire_C']; $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; - - $sql = 'SELECT fn_id_prestationactes_pha(?, ?) AS idPrestationactes'; $resultat = $this->executerRequete($sql, array($codePrestataire, $numeroFeuilleMaladie))->fetch(PDO::FETCH_ASSOC); diff --git a/Vue/Pharmacien/index.php b/Vue/Pharmacien/index.php index 503b0e9..7c03f3a 100755 --- a/Vue/Pharmacien/index.php +++ b/Vue/Pharmacien/index.php @@ -11,8 +11,6 @@ $actVisible = $_SESSION['p_actVisible']; $hospitalisation = $_SESSION['p_hospitalisation_C']; - //echo $prescription['bonCaduc']; - $baremeExiste = $_SESSION['p_bareme']['baremeExiste']; $bareme_actif = $_SESSION['p_bareme']['bareme_actif']; $bareme_ageMinimum = $_SESSION['p_bareme']['bareme_ageMinimum']; @@ -23,13 +21,6 @@ $bareme_finDelaiCarence = $_SESSION['p_bareme']['bareme_finDelaiCarence']; $token = $_SESSION['csrf_token_submieted']; - - var_dump( - array( - "idPrestationactes" => $idPrestationactes, - ) - - ); ?>