diff --git a/Controleur/ControleurProformahospitalisation.php b/Controleur/ControleurProformahospitalisation.php index c8a5709..432ef97 100755 --- a/Controleur/ControleurProformahospitalisation.php +++ b/Controleur/ControleurProformahospitalisation.php @@ -90,8 +90,17 @@ class ControleurProformahospitalisation extends Controleur { if($idProforma > "0" && $idBeneficiaire > "0"){ + echo "idProforma => $idProforma"; + exit(); + $this->prestation->getenteteproformahospitalisation($idProforma); } + else + { + echo "Pas de Proforma"; + exit(); + } + $affections = $this->affection->getListes(); $actesChambre = $this->feuillemaladie->getActeChambreHospitalisation(); diff --git a/Modele/Prestationactes.php b/Modele/Prestationactes.php index 4b819f7..cd76c75 100755 --- a/Modele/Prestationactes.php +++ b/Modele/Prestationactes.php @@ -1343,9 +1343,6 @@ class Prestationactes extends Modele $_SESSION['p_nomClient_C'] = is_array($proforma) ? $proforma['souscripteur'] : ""; $_SESSION['p_adherent_C'] = is_array($proforma) ? $proforma['adherent'] : ""; - //var_dump($_SESSION['p_adherent_C']); - - $_SESSION['p_beneficiaire_C'] = is_array($proforma) ? $proforma['beneficiaire'] : ""; $_SESSION['p_telephonePortableBeneficiaire_C'] = is_array($proforma) ? $proforma['telephonePortableBeneficiaire'] : ""; @@ -1366,8 +1363,6 @@ class Prestationactes extends Modele $_SESSION['p_codeActeChambre_C'] = is_array($proforma) ? $proforma['codeActeChambre'] : ""; - - return $proforma; }