From b8441e8aba6c3db8dd9a78d1ec2c60b758b5eab3 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 11 Mar 2026 09:17:29 +0000 Subject: [PATCH] a --- Controleur/ControleurDentisterie.php | 8 +++++++- Controleur/ControleurPrescriptionseance.php | 6 ------ Vue/Ajaxdetaildentisterie/index.php | 3 --- Vue/Dentisterie/index.php | 1 - 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Controleur/ControleurDentisterie.php b/Controleur/ControleurDentisterie.php index 00ad352..b2fde87 100755 --- a/Controleur/ControleurDentisterie.php +++ b/Controleur/ControleurDentisterie.php @@ -5,6 +5,7 @@ require_once 'Modele/Dentaire.php'; require_once 'Modele/Prescription.php'; require_once 'Modele/Medecin.php'; require_once 'Modele/Feuillemaladie.php'; +require_once 'Modele/Detailtarifacte.php'; class ControleurDentisterie extends Controleur { private $menuvue; @@ -12,6 +13,7 @@ class ControleurDentisterie extends Controleur { private $medecin; private $prescription; private $feuille; + private $acte; public function __construct() { $this->menuvue = new Menuvueutilisateur(); @@ -24,6 +26,7 @@ class ControleurDentisterie extends Controleur { $this->obs = new Dentaire(); $this->feuille = new Feuillemaladie(); + $this->acte = new Detailtarifacte(); } public function index() { @@ -70,11 +73,14 @@ class ControleurDentisterie extends Controleur { if(!is_array($dentiste)){ $dentiste = array('codeMedecin' => "", 'medecin' => "", 'motifDentaire' => ""); } + + $prixActeModifiable = $this->acte->getPrixActeModifiable(); + $_SESSION['p_prixActeModifiable'] = $prixActeModifiable; $this->genererVue(array('actes' => $actes, 'dents' => $dents, 'prestations' => $prestations, 'prestations_total' => $prestations_total, 'nbreProthese' => $nbreProthese, 'typesactes' => $typesactes, 'tauxCouverture' => $tauxCouverture, 'datePrestation' => $datePrestation, 'medecins' => $medecins, - 'dentiste' => $dentiste)); + 'dentiste' => $dentiste, 'prixActeModifiable' => $prixActeModifiable)); } diff --git a/Controleur/ControleurPrescriptionseance.php b/Controleur/ControleurPrescriptionseance.php index 709819c..55c7cea 100755 --- a/Controleur/ControleurPrescriptionseance.php +++ b/Controleur/ControleurPrescriptionseance.php @@ -150,8 +150,6 @@ class ControleurPrescriptionseance extends Controleur { $seance = $this->seance->getseancetemp(); - - if($seance['codeActePrescription'] != "") { $codeActe = $seance['codeActePrescription']; $codeGarantie = $this->acte->getGarantieActe($codeActe); @@ -177,11 +175,7 @@ class ControleurPrescriptionseance extends Controleur { $idBeneficiaire = $_SESSION['p_idBeneficiaire_C']; - //$tm = $this->acte->ticketModerateurCollege($idBeneficiaire, $datePrestation); - - $tm = $this->acte->ticketModerateurDefinitif($codeGarantie, $codeActe, $datePrestation) ; - $tauxCouverture = (100-$tm)."%"; diff --git a/Vue/Ajaxdetaildentisterie/index.php b/Vue/Ajaxdetaildentisterie/index.php index 7260404..4489e4d 100755 --- a/Vue/Ajaxdetaildentisterie/index.php +++ b/Vue/Ajaxdetaildentisterie/index.php @@ -12,9 +12,6 @@ - -div_prestations => INCLUDED - diff --git a/Vue/Dentisterie/index.php b/Vue/Dentisterie/index.php index 1d4d3e6..4f46482 100755 --- a/Vue/Dentisterie/index.php +++ b/Vue/Dentisterie/index.php @@ -148,7 +148,6 @@
- A INCLURE ICI