diff --git a/Controleur/ControleurAccueilassure.php b/Controleur/ControleurAccueilassure.php deleted file mode 100755 index 9e03248..0000000 --- a/Controleur/ControleurAccueilassure.php +++ /dev/null @@ -1,144 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accueilassure'); - - $this->feuillemaladie = new Feuillemaladie(); - $this->adherent = new Adherent(); - $this->beneficiaire = new Beneficiaire(); - $this->garantieadherent = new Garantieadherent(); - $this->garantie = new Garantie(); - } - - public function index() { - - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - - $d2 = date('Y-m-d'); - - $feuillemaladies = $this->feuillemaladie->getfeuillesmaladiefamille($idAdherent, $d1, $d2); - $prestation = $this->adherent->getlisteprestations(); - - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - - $idBeneficiaireAdherent = $this->beneficiaire->getIdBeneficiaireAdherent($idAdherent); - - // $idBeneficiaire = (isset($_SESSION['idBeneficiaire_C']) && $_SESSION['idBeneficiaire_C'] > "0") ? (int)$_SESSION['idBeneficiaire_C'] : $idBeneficiaireAdherent; - // KANE 24/03/2025 - $idBeneficiaire = $idBeneficiaireAdherent; - $_SESSION['idBeneficiaire_C'] = $idBeneficiaireAdherent; - - $dateJour = date('Y-m-d'); - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - $beneficiaires = $this->beneficiaire->getBeneficiairesId($idAdherent, $dateJour); - - - // $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($idBeneficiaire); - $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); - - /* - if ($idBeneficiaire !== null) { - $actes = $this->garantieadherent->getBaremePlafondAdherent($idAdherent, $idBeneficiaire); - } else { - $actes = null; - } - */ - $actes = null; - - $this->adherent->controlerplafondadherentannuel($idAdherent); - $_SESSION['controlerPlafondBeneficiaire'] = "0"; - - $limite_adherent = $this->adherent->getLimitesAdherent($idAdherent, $dateJour); - - $garanties = $this->garantie->getListePourActe(); - - $tabPrestationsMois = $this->adherent->getPrestationsmensuelles($idAdherent); - $tabPrestationsliens = $this->adherent->getPrestationsLiensParente($idAdherent); - - $mois = array(); - $consos = array(); - - $lienparente = array(); - $consos_liens = array(); - - - $tabConsoParGaranties = [ - 'garanties' => [], - 'depenses' => [], - 'plafonds' => [] - ]; - - foreach ($tabPrestationsMois as $v){ - array_push($mois, $v['mois']); - array_push($consos, $v['consommationAdherent']); - } - - foreach ($tabPrestationsliens as $v){ - array_push($lienparente, $v['lienparente']); - array_push($consos_liens, $v['consommation']); - } - - foreach ($garantieadherents as $v) { - $tabConsoParGaranties['garanties'][] = $v['codeGarantie']; - $tabConsoParGaranties['depenses'][] = $v['consommationFamille']; - $tabConsoParGaranties['plafonds'][] = $v['plafondFamille']; - } - - $nbreLienParente = count($lienparente); - - $labels_mois = json_encode($mois); - $data_consos = json_encode($consos,JSON_NUMERIC_CHECK); - - $labels_liens = json_encode($lienparente); - $data_liens = json_encode($consos_liens,JSON_NUMERIC_CHECK); - - $dataConsoParGaranties = json_encode($tabConsoParGaranties,JSON_NUMERIC_CHECK); - - //var_dump($dataConsoParGaranties); die(); - - $this->genererVue - ( - array - ( - 'adherent' => $adherent, - 'beneficiaires' => $beneficiaires, - 'garantieadherents' => $garantieadherents, - 'limite_adherent' => $limite_adherent, - 'prestation' => $prestation, - 'garanties' => $garanties, - 'numeroBeneficiaire' => $numeroBeneficiaire, - // 'actes' => $actes, - 'labels_mois' => $labels_mois, - 'data_consos' => $data_consos, - 'labels_liens' => $labels_liens, - 'data_liens' => $data_liens, - 'nbreLienParente' => $nbreLienParente, - 'dataConsoParGaranties' => $dataConsoParGaranties - ) - ); - } -} diff --git a/Controleur/ControleurAfficherged.php b/Controleur/ControleurAfficherged.php deleted file mode 100755 index 2a1d2b3..0000000 --- a/Controleur/ControleurAfficherged.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueprofil(); - $this->menuvue->getMenuVue('Afficherged'); - - $this->ged = new Ged(); - } - - public function index($nomOrigine="", $codeSecret="") - { - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - if (isset($_POST['nomOrigine'])) - { - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - $codeSecret = $this->requete->getParametreFormulaire("codeSecret"); - } - $geds = $this->ged->afficherGeds($numeroBeneficiaire, $nomOrigine, $codeSecret); - - $this->genererVue(array('geds' => $geds, 'nomOrigine' => $nomOrigine, 'codeSecret' => $codeSecret)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxchangerentiteportail.php b/Controleur/ControleurAjaxchangerentiteportail.php deleted file mode 100755 index b4dc1f0..0000000 --- a/Controleur/ControleurAjaxchangerentiteportail.php +++ /dev/null @@ -1,54 +0,0 @@ -societeuser = new Societeusercentral(); - } - - public function index() - { - $codeUtilisateur = ""; - $societeExiste = false; - - $codeSociete= $this->requete->getParametreFormulaire("codeSociete"); - - $societeExiste = $this->societeuser->existeligneconnexion($codeSociete); - $actif = "0"; - - if ($societeExiste) - { - if (isset($_COOKIE['login']["$codeSociete"])) - { - $codeUtilisateur = $_COOKIE['login']["$codeSociete"]; - } - - $actif = $this->societeuser->estActif($codeSociete); - } - - $this->genererVueAjax - ( - array - ( - 'codeUtilisateur' => $codeUtilisateur, - 'societeExiste' => $societeExiste, - 'actif' => $actif - ) - ); - } - - public function rechercher() - { - $codeSociete = $this->requete->getParametreFormulaire("codeSociete"); - - $bool = $this->societeuser->existeligne($codeSociete); - - echo $bool ? 'true' : 'false'; - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxchangerlangue.php b/Controleur/ControleurAjaxchangerlangue.php deleted file mode 100755 index 26f67c2..0000000 --- a/Controleur/ControleurAjaxchangerlangue.php +++ /dev/null @@ -1,21 +0,0 @@ -utilisateur = new Utilisateur(); - } - - public function index() - { - } - - public function changerlangue() - { - $this->utilisateur->changerlangueutilisateur(); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxchargerlisteprestataires.php b/Controleur/ControleurAjaxchargerlisteprestataires.php deleted file mode 100755 index 6b0735f..0000000 --- a/Controleur/ControleurAjaxchargerlisteprestataires.php +++ /dev/null @@ -1,54 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() { - - $libelle = $this->requete->getParametreFormulaire("libelle"); - - if ($libelle=="") { - $prestataires = $this->prestataire->getprestatairevide(); - }else{ - $prestataires = $this->prestataire->getprestatairerdv($libelle); - } - - $this->genererVueAjax(array('prestataires' => $prestataires)); - } - -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Controleur/ControleurAjaxconsosadherent.php b/Controleur/ControleurAjaxconsosadherent.php deleted file mode 100755 index 63e6089..0000000 --- a/Controleur/ControleurAjaxconsosadherent.php +++ /dev/null @@ -1,25 +0,0 @@ -adherent = new Adherent(); - } - - public function index() { - - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $prestations = $this->adherent->getConsosAdherent($idAdherent); - - $total_prestation = $this->adherent->getConsosTotalAdherent($idAdherent); - - $this->genererVueAjax(array('prestations' => $prestations, 'total_prestation' => $total_prestation)); - - - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxconsosbeneficiaire.php b/Controleur/ControleurAjaxconsosbeneficiaire.php deleted file mode 100755 index 6e460ea..0000000 --- a/Controleur/ControleurAjaxconsosbeneficiaire.php +++ /dev/null @@ -1,34 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() { - - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - - $prestations = $this->beneficiaire->getConsosBeneficiaire($idBeneficiaire); - - $total_prestation = $this->beneficiaire->getConsosTotalBeneficiaire($idBeneficiaire); - - $this->genererVueAjax(array('prestations' => $prestations, 'total_prestation' => $total_prestation)); - - - - } - - public function majplafond() - { - $idLimite = $this->requete->getParametreFormulaire("idLimite"); - $plafond = $this->requete->getParametreFormulaire("plafond"); - - $this->beneficiaire->majPlafondBeneficiaire($idLimite, $plafond); - - } -} diff --git a/Controleur/ControleurAjaxconsulteractesgarantiebareme.php b/Controleur/ControleurAjaxconsulteractesgarantiebareme.php deleted file mode 100755 index c310116..0000000 --- a/Controleur/ControleurAjaxconsulteractesgarantiebareme.php +++ /dev/null @@ -1,70 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - - $this->actifGarantieOuiNon = (new Ouinon())->getListe(); - $this->actifGarantieLienOuiNon = (new Ouinon())->getListe(); - $this->actifActeOuiNon = (new Ouinon())->getListe(); - $this->actifActeLienOuiNon = (new Ouinon())->getListe(); - - $this->periodicite = new periodicite(); - } - - public function index() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $_SESSION['idBaremePriseEnCharge'] = $idBaremePriseEnCharge; - $_SESSION['codeGarantie'] = $codeGarantie; - - $periodicite = $this->periodicite->getListe(); - - $periodiciteFiltre = $this->periodicite->getListeFiltrer(); - - $forfaitTaux = $this->garantie->getTauxForfait(); - - $tmBareme = $this->garantie->getTmBareme($idBaremePriseEnCharge); - - $lienParente = $this->garantie->getLienParente(); - - $observation = $this->garantie->getObservationplafond(); - $nomgarantie = $this->garantie->getNomGarantie($codeGarantie); - - if($codeGarantie=="HOS"){ - $actesadd = null; - }else{ - $actesadd = $this->garantie->getActesGarantieBaremeAdd($idBaremePriseEnCharge,$codeGarantie); - } - - - $typeremboursement = $this->garantie->getTypeRemboursement(); - - - $this->genererVueAjax(array - ( - 'garantie' =>$nomgarantie, 'periodicite' => $periodicite, - 'observation' =>$observation, 'actesadd' => $actesadd, - 'tmBareme' => $tmBareme, 'typeremboursement' =>$typeremboursement, - 'lienParente' =>$lienParente, 'periodiciteFiltre' => $periodiciteFiltre, - 'actifGarantieOuiNon' => $this->actifGarantieOuiNon, - 'actifGarantieLienOuiNon' => $this->actifGarantieLienOuiNon, - 'actifActeOuiNon' => $this->actifActeOuiNon, - 'actifActeLienOuiNon' => $this->actifActeLienOuiNon - ) - ); - - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxconsultertableauprestation.php b/Controleur/ControleurAjaxconsultertableauprestation.php deleted file mode 100755 index 9fc9b41..0000000 --- a/Controleur/ControleurAjaxconsultertableauprestation.php +++ /dev/null @@ -1,19 +0,0 @@ -college_temp2 = new College_temp(); - } - - public function index() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $tableau_prestations = $this->college_temp2->getPrestation($idCollegeTemp); - - $this->genererVueAjax(array('tableau_prestations' => $tableau_prestations)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxcontextbeneficiaire.php b/Controleur/ControleurAjaxcontextbeneficiaire.php deleted file mode 100755 index 7c1d840..0000000 --- a/Controleur/ControleurAjaxcontextbeneficiaire.php +++ /dev/null @@ -1,33 +0,0 @@ -finger = new Finger(); - } - - public function index() { - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - - if ($idBeneficiaire == $_SESSION['idBeneficiaire_sav']) - { - $_SESSION['okId'] = $this->requete->getParametre("okId"); - } - else - { - $_SESSION['okId'] = "-1"; - } - $_SESSION['idBeneficiaire_C'] = $idBeneficiaire; - $_SESSION['idBeneficiaire_sav'] = $_SESSION['idBeneficiaire_C']; - } - - public function saveenroleur() - { - $user_id = $this->requete->getParametreFormulaire("user_id"); - $this->finger->saveenroleur($user_id); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxcontextfeuillemaladie.php b/Controleur/ControleurAjaxcontextfeuillemaladie.php deleted file mode 100755 index 3ed76ff..0000000 --- a/Controleur/ControleurAjaxcontextfeuillemaladie.php +++ /dev/null @@ -1,12 +0,0 @@ -requete->getParametre("numeroFeuilleMaladie"); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxcontextpharmaciencien.php b/Controleur/ControleurAjaxcontextpharmaciencien.php deleted file mode 100755 index c05cd9d..0000000 --- a/Controleur/ControleurAjaxcontextpharmaciencien.php +++ /dev/null @@ -1,13 +0,0 @@ -requete->getParametre("numeroBonOrdonnance"); - $_SESSION['codePrestataireLivraison_C'] = $this->requete->getParametre("codePrestataireLivraison"); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdeconnexion.php b/Controleur/ControleurAjaxdeconnexion.php deleted file mode 100755 index 39e564e..0000000 --- a/Controleur/ControleurAjaxdeconnexion.php +++ /dev/null @@ -1,17 +0,0 @@ -utilisateur = new Utilisateur(); - } - - public function index() { - $login = $this->requete->getSession()->getAttribut("login"); - $this->utilisateur->viderTablesTemporairesUser($login); - $this->requete->getSession()->detruire(); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdemanderdv.php b/Controleur/ControleurAjaxdemanderdv.php deleted file mode 100755 index 78381f5..0000000 --- a/Controleur/ControleurAjaxdemanderdv.php +++ /dev/null @@ -1,61 +0,0 @@ -rendezvous = new Rendezvous(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $codeEtatRdv = $this->requete->getParametreFormulaire("codeEtatRdv"); - - $_SESSION['codeEtatRdv'] = $codeEtatRdv; - - $demandes = $this->rendezvous->getPrisesRdv($idAdherent, $d1, $d2, $codeEtatRdv); - - $this->genererVueAjax(array('demandes' => $demandes)); - } - - public function enregistrer() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $debutRdv = $this->requete->getParametreDate("debutRdv"); - $finRdv = $this->requete->getParametreDate("finRdv"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - - $motifRdv = $this->requete->getParametreFormulaire("motifRdv"); - - $this->rendezvous->enregistrerrdv($numeroBeneficiaire, $debutRdv, $finRdv, $codePrestataire, $codeSpecialite, $motifRdv); - } - - public function selectionner() - { - $idDemande = $this->requete->getParametreFormulaire("idDemande"); - - $_SESSION['idDemandeRdv'] = $idDemande; - } - - - public function modifier() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $debutRdv = $this->requete->getParametreDate("debutRdv"); - $finRdv = $this->requete->getParametreDate("finRdv"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - - $motifRdv = $this->requete->getParametreFormulaire("motifRdv"); - - $this->rendezvous->modifierrdv($numeroBeneficiaire, $debutRdv, $finRdv, $codePrestataire, $codeSpecialite, $motifRdv); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdemanderemboursement.php b/Controleur/ControleurAjaxdemanderemboursement.php deleted file mode 100755 index 7dd52dc..0000000 --- a/Controleur/ControleurAjaxdemanderemboursement.php +++ /dev/null @@ -1,39 +0,0 @@ -remb = new Remboursement(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $codeEtatDemandeRemboursement = $this->requete->getParametreFormulaire("codeEtatDemandeRemboursement"); - - $demandes = $this->remb->getDemandesRemboursement($idAdherent, $d1, $d2, $codeEtatDemandeRemboursement); - - $this->genererVueAjax(array('demandes' => $demandes)); - } - - public function enregistrerdemande() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $commentaires = $this->requete->getParametreFormulaire("commentaires"); - - $this->remb->enregistrerdemande($numeroBeneficiaire, $commentaires); - } - - public function selectionnerremb() - { - $idDemande = $this->requete->getParametreFormulaire("idDemande"); - - $_SESSION['idDemandeRemboursement'] = $idDemande; - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxderogation.php b/Controleur/ControleurAjaxderogation.php deleted file mode 100755 index 6865b97..0000000 --- a/Controleur/ControleurAjaxderogation.php +++ /dev/null @@ -1,26 +0,0 @@ -derogation = new Derogation(); - } - - public function index() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $_SESSION['d1_C'] = $d1; - $_SESSION['d2_C'] = $d2; - - $derogations = $this->derogation->getderogations($codePrestataire, $idBeneficiaire, $d1, $d2); - - $this->genererVueAjax(array('derogations' => $derogations)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxderogations.php b/Controleur/ControleurAjaxderogations.php deleted file mode 100755 index c0f0861..0000000 --- a/Controleur/ControleurAjaxderogations.php +++ /dev/null @@ -1,31 +0,0 @@ -derogation = new Derogation(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $codeReponseDerogation = $this->requete->getParametreFormulaire("codeReponseDerogation"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $derogations = $this->derogation->getderogations($codePrestataire, $codeDerogation, $codeReponseDerogation, $debut, $fin); - - $this->genererVueAjax(array('derogations' => $derogations)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdestinatairesms.php b/Controleur/ControleurAjaxdestinatairesms.php deleted file mode 100755 index e1cfbb1..0000000 --- a/Controleur/ControleurAjaxdestinatairesms.php +++ /dev/null @@ -1,73 +0,0 @@ -messagerie = new Messagerie(); -} - - public function index() - { - $this->genererVueAjax(); - } - - public function consulter() - { - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $messages_envoyes = $this->messagerie->getenvoisms($date1, $date2); - - $messages_en_cours = $this->messagerie->getenvoismsencours($date1, $date2); - - $this->genererVueAjax(array('messages_envoyes' => $messages_envoyes, 'messages_en_cours' => $messages_en_cours)); - } - - public function consulterwhatsapp() - { - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $messages_envoyes = $this->messagerie->getenvoiwhatsapp($date1, $date2); - - $this->genererVueAjax(array('messages_envoyes' => $messages_envoyes)); - } - - public function consulterwhatsappencours() - { - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $messages_en_cours = $this->messagerie->getenvoiwhatsappencours($date1, $date2); - - $this->genererVueAjax(array('messages_en_cours' => $messages_en_cours)); - } - - - public function mettrewhatsappattenteassureur() - { - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->mettrewhatsappattenteassureur($textMessage); - } - - public function mettrewhatsappattenteprestataire() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->mettrewhatsappattenteprestataire($codePrestataire, $textMessage); - } - - public function mettrewhatsappattenteassureurprestataire() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->mettrewhatsappattenteassureurprestataire($codePrestataire, $textMessage); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdetailordonnance.php b/Controleur/ControleurAjaxdetailordonnance.php deleted file mode 100755 index f94b7dd..0000000 --- a/Controleur/ControleurAjaxdetailordonnance.php +++ /dev/null @@ -1,20 +0,0 @@ -detailprescription = new Detailprescription(); - } - - public function index() - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - - $detailprescriptions = $this->detailprescription->getdetailprescription_pha($numeroBonOrdonnance); - - $this->genererVueAjax(array('detailprescriptions' => $detailprescriptions)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdetailpharmacie.php b/Controleur/ControleurAjaxdetailpharmacie.php deleted file mode 100755 index 03f0a72..0000000 --- a/Controleur/ControleurAjaxdetailpharmacie.php +++ /dev/null @@ -1,71 +0,0 @@ -prescription = new Prescription_temp(); - $this->detailprescription = new Detailprescription(); - } - - public function index() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - - $prescription = $this->prescription->getprescription(); - - $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); - - $detailnonlivres = $this->prescription->getdetailnonlivre(); - - // $detaillivres = $this->prescription->getdetaillivre(); - $detaillivres = $this->prescription->getdetaillivrecso(); - - $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, - 'detailnonlivres' => $detailnonlivres, 'detaillivres' => $detaillivres)); - } - - public function ajoutermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - // $this->prescription->ajoutermedicament($idMedicament); - $this->prescription->ajoutermedicamentcso($idMedicament); - - $this->executerAction("index"); - } - - public function ajoutermedicamenttous() - { - // $this->prescription->ajoutermedicamenttous(); - $this->prescription->ajoutermedicamenttouscso(); - $this->executerAction("index"); - } - - public function retirermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - // $this->prescription->retirermedicament($idMedicament); - $this->prescription->retirermedicamentcso($idMedicament); - - $this->executerAction("index"); - } - - public function retirermedicamenttous() - { - // $this->prescription->retirermedicamenttous(); - $this->prescription->retirermedicamenttouscso(); - $this->executerAction("index"); - } - - public function enregistrerpharmacie() - { - $this->prescription->enregistrerpharmacie(); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdetailprescription.php b/Controleur/ControleurAjaxdetailprescription.php deleted file mode 100755 index eface68..0000000 --- a/Controleur/ControleurAjaxdetailprescription.php +++ /dev/null @@ -1,36 +0,0 @@ -prescription = new Prescription(); - $this->detailprescription = new Detailprescription(); - } - - public function index() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - - $prescription = $this->prescription->getprescription($numeroPrescription); - - $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); - - $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions)); - } - - public function consulterremplacement() - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - - $medicaments_remplaces = $this->detailprescription->getmedicamentsremplaces($numeroBonOrdonnance); - - $this->genererVueAjax(array('medicaments_remplaces' => $medicaments_remplaces)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdetailprescriptionexamen.php b/Controleur/ControleurAjaxdetailprescriptionexamen.php deleted file mode 100755 index 1812ef2..0000000 --- a/Controleur/ControleurAjaxdetailprescriptionexamen.php +++ /dev/null @@ -1,57 +0,0 @@ -examen = new Examen_temp(); - $this->detailexamen = new Detailexamem(); - } - - public function index() - { - $numeroExamen = $_SESSION['numeroExamen_C']; - - $examen = $this->examen->getexamentemp(); - - $detailexamens = $this->detailexamen->getdetailexamenfeuille(); - $nbExamens_0 = count($detailexamens); - - $this->genererVueAjax(array('examen' => $examen, 'detailexamens' => $detailexamens, 'nbExamens_0' => $nbExamens_0)); - } - - public function ajouterexamen() - { - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - - $this->detailexamen->ajouterexamen($codeActe, $ententePrealable); - - // $this->executerAction("index"); - } - - public function majquantite() - { - $idExamen = $this->requete->getParametre("idExamen"); - $quantite = $this->requete->getParametreFormulaire("quantite", "numerique"); - - $this->detailexamen->majquantite($idExamen, $quantite); - - $this->executerAction("index"); - } - - public function supprimer() - { - $idExamen = $this->requete->getParametre("idExamen"); - - $this->detailexamen->supprimerexamen($idExamen); - - $this->executerAction("index"); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdetailseance.php b/Controleur/ControleurAjaxdetailseance.php deleted file mode 100755 index 49960bd..0000000 --- a/Controleur/ControleurAjaxdetailseance.php +++ /dev/null @@ -1,22 +0,0 @@ -seance = new Seance_temp(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function enregistrerseance() - { - $this->seance->enregistrerseance(); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdiagnosticsbeneficiaire.php b/Controleur/ControleurAjaxdiagnosticsbeneficiaire.php deleted file mode 100755 index 4c17410..0000000 --- a/Controleur/ControleurAjaxdiagnosticsbeneficiaire.php +++ /dev/null @@ -1,22 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $diagnostics = $this->feuillemaladie->getDiagnosticsBeneficiaire($idBeneficiaire); - - $this->genererVueAjax(array('diagnostics' => $diagnostics)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdossiercons.php b/Controleur/ControleurAjaxdossiercons.php deleted file mode 100755 index 1d08d75..0000000 --- a/Controleur/ControleurAjaxdossiercons.php +++ /dev/null @@ -1,28 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $numeroBonConsultation = $this->requete->getParametreFormulaire("numeroBonConsultation"); - - $factures = $this->feuillemaladie->getfacturesfeuilleconsultation($numeroBonConsultation); - - $factures_total = null; - - if(count($factures)>"0") - { - $factures_total = $factures['0']; - } - - $this->genererVueAjax(array('factures' => $factures, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdossiers.php b/Controleur/ControleurAjaxdossiers.php deleted file mode 100755 index 159434c..0000000 --- a/Controleur/ControleurAjaxdossiers.php +++ /dev/null @@ -1,22 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $feuillemaladies = $this->feuillemaladie->getfeuillesmaladie($idBeneficiaire, $d1, $d2) ; - - $this->genererVueAjax(array('feuillemaladies' => $feuillemaladies)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdossierscontestes.php b/Controleur/ControleurAjaxdossierscontestes.php deleted file mode 100755 index 7cffd5a..0000000 --- a/Controleur/ControleurAjaxdossierscontestes.php +++ /dev/null @@ -1,32 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $feuillemaladies = $this->feuillemaladie->getfeuillesmaladiecontestee($idAdherent, $d1, $d2) ; - - //var_dump($feuillemaladies); die(); - - $this->genererVueAjax(array('feuillemaladies' => $feuillemaladies)); - } - - public function reactiver() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $motif = $this->requete->getParametreFormulaire("motif"); - - $this->feuillemaladie->reactiverdossier($numeroFeuilleMaladie, $motif); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxdossiersfamille.php b/Controleur/ControleurAjaxdossiersfamille.php deleted file mode 100755 index 9cee3f6..0000000 --- a/Controleur/ControleurAjaxdossiersfamille.php +++ /dev/null @@ -1,23 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $feuillemaladies = $this->feuillemaladie->getfeuillesmaladiefamille($idAdherent, $d1, $d2) ; - - $this->genererVueAjax(array('feuillemaladies' => $feuillemaladies)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxententeprealables.php b/Controleur/ControleurAjaxententeprealables.php deleted file mode 100755 index 72577ae..0000000 --- a/Controleur/ControleurAjaxententeprealables.php +++ /dev/null @@ -1,30 +0,0 @@ -ententeprealable = new Ententeprealable(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $ententeprealables = $this->ententeprealable->getEntenteprealables($codePrestataire, $codeReponseEntentePrealable, $debut, $fin); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxententeprealablesmont.php b/Controleur/ControleurAjaxententeprealablesmont.php deleted file mode 100755 index 2f07941..0000000 --- a/Controleur/ControleurAjaxententeprealablesmont.php +++ /dev/null @@ -1,22 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $ententeprealables = $this->ententeprealable->getEntenteprealablesmont($codeReponseEntentePrealable, $debut, $fin); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxententeprealablesopt.php b/Controleur/ControleurAjaxententeprealablesopt.php deleted file mode 100755 index e04f023..0000000 --- a/Controleur/ControleurAjaxententeprealablesopt.php +++ /dev/null @@ -1,22 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $ententeprealables = $this->ententeprealable->getEntenteprealablesopt($codeReponseEntentePrealable, $debut, $fin); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxententeprealablespha.php b/Controleur/ControleurAjaxententeprealablespha.php deleted file mode 100755 index 7b20983..0000000 --- a/Controleur/ControleurAjaxententeprealablespha.php +++ /dev/null @@ -1,22 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $ententeprealables = $this->ententeprealable->getEntenteprealablespha($codeReponseEntentePrealable, $debut, $fin); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxenvoimaildivers.php b/Controleur/ControleurAjaxenvoimaildivers.php deleted file mode 100755 index 31c9310..0000000 --- a/Controleur/ControleurAjaxenvoimaildivers.php +++ /dev/null @@ -1,116 +0,0 @@ -finger = new Finger(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function verifiertentativeidentitification() - { - $user_id = $this->requete->getParametreFormulaire("user_id"); - - $nbTentative = $this->finger->verifier_tentative_identification($user_id); - - $_SESSION['nbTentative'] = $nbTentative; - $this->executerAction("index"); - } - - public function mailfraudeidentite() - { - require_once 'Framework/Ebenegmail.php'; - - $emailDestination = $_SESSION['emailGestionBon_C']; - - /* Pour les tests */ - $email_standard = $_SESSION['email_standard']; - if($email_standard>" ") - { - $emailDestination .= ";".$email_standard ; - } - /* Fin mails tests */ - - /* Pour empêcher les envois de mails */ - $emailDestination = "lkane@ebene.info"; - /* Fin Pour empêcher les envois de mails */ - - $obejt = "ALERTE PLUS DE 3 TENTATIVES D'IDENTIFICATION"; - - $body = "- Prestataire : ".$_SESSION['prestataire_C']." - -- Patient : ".$_SESSION['beneficiaire_C']." (".$_SESSION['numeroBeneficiaire_C'].") - -- Date : ".heureCourante()." - -Merci et bonne réception."; - - $body = convertirc($body); - - $addr = explode(';', $emailDestination); - foreach ($addr as $ad) - { - $mail->AddAddress(trim($ad) ); - } - - $mail->Subject = $obejt; - - $mail->Body=$body; - - $mail->send(); - } - - public function mailententeprealable() - { - $numeroBon = $this->requete->getParametreFormulaire("numeroBon"); - - require_once 'Framework/Ebenegmail.php'; - - $emailDestination = $_SESSION['emailMedecinConseil_C']; - - /* Pour les tests */ - $email_standard = $_SESSION['email_standard']; - if($email_standard>" ") - { - $emailDestination .= ";".$email_standard ; - } - /* Fin mails tests */ - - /* Pour empêcher les envois de mails */ - $emailDestination = "lkane@ebene.info"; - /* Fin Pour empêcher les envois de mails */ - - $obejt = "ALERTE HOSPITALISATION"; - - $body = "- Prestataire : ".$_SESSION['prestataire_C']." - -- Patient : ".$_SESSION['beneficiaire_C']." (".$_SESSION['numeroBeneficiaire_C'].") - -- Date : ".heureCourante()." - -- N° Bon Hospitalisation : ".$numeroBon." - -Merci et bonne réception."; - - $body = convertirc($body); - - $addr = explode(';', $emailDestination); - foreach ($addr as $ad) - { - $mail->AddAddress(trim($ad) ); - } - - $mail->Subject = $obejt; - - $mail->Body=$body; - - $mail->send(); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxenvoism_kanzea_v2.php b/Controleur/ControleurAjaxenvoism_kanzea_v2.php deleted file mode 100755 index f6eab13..0000000 --- a/Controleur/ControleurAjaxenvoism_kanzea_v2.php +++ /dev/null @@ -1,222 +0,0 @@ -envoimail = new Envoimail(); - } - - public function index() - { - } - - - // fonction_envoyersms_kaneza_avec_curl => En vigueur 02/06/2018 - - public function envoyersms() - { - // $typeSms = $this->requete->getParametreFormulaire("typeSms"); - - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - - $url = "https://gateway.esicia.com/sendsms/?"; - - /* pour evoyer en boucle sur la liste des destinataires - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - else - { - // echo "Veuillez revoir cette adresse PHP : " . $ad; - // exit(); - } - } - */ - - // Pour tester - $destinataires = "250780440758"; - $message = "TESTSMSKANEZA"; - // Fin tester - - $postFields = array( - 'ohereza' =>'MEDICARE', - 'kuri' =>$destinataires, - 'ubutumwa' =>$message, - 'client' =>'radiant', - 'password' =>'umugozi', - 'msgid' =>'kane' - ); - - $post = http_build_query($postFields); - - $url .= $post; - - echo $url; - exit(); - - $result= file_get_contents($url); - print_r($result); - exit(); - } - -/* fonction_envoyersms_kaneza_avec_curl - public function envoyersms() - { - - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - // $typeSms = $this->requete->getParametreFormulaire("typeSms"); - - $url = "https://gateway.esicia.com/sendsms/"; - - - - // pour evoyer en boucle sur la liste des destinataires - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - else - { - // echo "Veuillez revoir cette adresse PHP : " . $ad; - // exit(); - } - } - // FIN EACH - - $destinataires = "250780440758"; - $message = "TESTSMSKANEZA"; - - // utilisation de la méthode POST de cURL - - $postFields = array( - 'ohereza' =>'MEDICARE', - 'kuri' =>$destinataires, - 'ubutumwa' =>$message, - 'client' =>'radiant', - 'password' =>'umugozi', - 'msgid' =>'kane' - ); - - $post = http_build_query($postFields); - - $url .= "?".$post; - - // echo $url; - // exit(); - - $result= file_get_contents($url); - print_r($result); - exit(); - - $ch=curl_init(); - - if(empty($ch)) - { - die("ERREUR curl_init : Il semble que cURL ne soit pas disponible."); - } - - $options=array - ( - CURLOPT_URL => $url, // Url cible (l'url de la page que vous voulez télécharger) - CURLOPT_RETURNTRANSFER => TRUE, // Retourner le contenu téléchargé dans une chaine (au lieu de l'afficher directement) - CURLOPT_HEADER => FALSE, // Ne pas inclure l'entête de réponse du serveur dans la chaine retournée - CURLOPT_FAILONERROR => TRUE, // Gestion des codes d'erreur HTTP supérieurs ou égaux à 400 - CURLOPT_POST => TRUE, // Effectuer une requête de TYPE POST - CURLOPT_TIMEOUT => 10, - CURLOPT_POSTFIELDS => $postFields // Le tableau associatif contenant les VARIABLES envoyées par POST au serveur - // CURLOPT_POSTFIELDS => $post // Le tableau associatif contenant les VARIABLES envoyées par POST au serveur - ); - - // var_dump($options); - // exit(); - - curl_setopt_array($ch, $options); - - if( ! $result = curl_exec($ch)) - { - trigger_error(curl_error($ch)); - } - - // $info = curl_getinfo($ch); - - curl_close($ch); - - // var_dump($result); - // var_dump($info); - // print_r($info); - // echo $result; - // var_dump($result); - // print_r($result); - // return $result; - } -*/ - -/* fonction_envoyersms_hooza_victor_nkindi - - public function envoyersms() - { - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - // $typeSms = $this->requete->getParametreFormulaire("typeSms"); - - - $this->envoimail->logenvoisms($destinataires, $message); - - - // RADIANT - $get = array('username'=>'HoAj-radiant', - 'password'=>'radiant', - 'type'=>'0', - 'dlr'=>'1', - 'destination'=>$destinataires, - 'source'=>'MEDICARE', - 'message'=>$message - ); - - // EBENE - $get = array('username'=>'HoAj-ebene', - 'password'=>'ebene201', - 'type'=>'0', - 'dlr'=>'1', - 'destination'=>$destinataires, - 'source'=>'INTERSANTE', - 'message'=>$message - ); - - $url = "http://rslr.connectbind.com/bulksms/bulksms"; - - - $defaults = array( - CURLOPT_URL => $url. (strpos($url, '?') === FALSE ? '?' : ''). http_build_query($get), - // CURLOPT_URL => $url, - CURLOPT_HEADER => 0, - CURLOPT_RETURNTRANSFER => TRUE, - CURLOPT_TIMEOUT => 10 - ); - - - $ch = curl_init(); - - curl_setopt_array($ch, ($defaults)); - if( ! $result = curl_exec($ch)) - { - trigger_error(curl_error($ch)); - } - - curl_close($ch); - - return $result; - } -*/ -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxenvoisms_hooza.php b/Controleur/ControleurAjaxenvoisms_hooza.php deleted file mode 100755 index c09e5d2..0000000 --- a/Controleur/ControleurAjaxenvoisms_hooza.php +++ /dev/null @@ -1,49 +0,0 @@ -1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'ionCube')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'get-loader.ioncube.com')." for install assistance.\n\n");exit(199); -?> -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 \ No newline at end of file diff --git a/Controleur/ControleurAjaxenvoisms_old.php b/Controleur/ControleurAjaxenvoisms_old.php deleted file mode 100755 index c09e5d2..0000000 --- a/Controleur/ControleurAjaxenvoisms_old.php +++ /dev/null @@ -1,49 +0,0 @@ -1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'ionCube')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'get-loader.ioncube.com')." for install assistance.\n\n");exit(199); -?> -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 \ No newline at end of file diff --git a/Controleur/ControleurAjaxenvoismshooza.php b/Controleur/ControleurAjaxenvoismshooza.php deleted file mode 100755 index 2847650..0000000 --- a/Controleur/ControleurAjaxenvoismshooza.php +++ /dev/null @@ -1,225 +0,0 @@ -envoimail = new Envoimail(); - } - - public function index() - { - } - - - // fonction_envoyersms_kaneza_avec_curl => En vigueur 02/06/2018 - - public function envoyersms() - { - // echo 'Curl: ', function_exists('curl_init') ? 'Enabled' : 'Disabled'; - // exit(); - - // $typeSms = $this->requete->getParametreFormulaire("typeSms"); - - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - - $url = "https://gateway.esicia.com/sendsms/?"; - - /* pour evoyer en boucle sur la liste des destinataires - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - else - { - // echo "Veuillez revoir cette adresse PHP : " . $ad; - // exit(); - } - } - */ - - // Pour tester - $destinataires = "250780440758"; - $message = "TESTSMSKANEZA"; - // Fin tester - - $postFields = array( - 'ohereza' =>'MEDICARE', - 'kuri' =>$destinataires, - 'ubutumwa' =>$message, - 'client' =>'radiant', - 'password' =>'umugozi', - 'msgid' =>'kane' - ); - - $post = http_build_query($postFields); - - $url .= $post; - - echo $url; - exit(); - - $result= file_get_contents($url); - print_r($result); - exit(); - } - -/* fonction_envoyersms_kaneza_avec_curl - public function envoyersms() - { - - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - // $typeSms = $this->requete->getParametreFormulaire("typeSms"); - - $url = "https://gateway.esicia.com/sendsms/"; - - - - // pour evoyer en boucle sur la liste des destinataires - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - else - { - // echo "Veuillez revoir cette adresse PHP : " . $ad; - // exit(); - } - } - // FIN EACH - - $destinataires = "250780440758"; - $message = "TESTSMSKANEZA"; - - // utilisation de la méthode POST de cURL - - $postFields = array( - 'ohereza' =>'MEDICARE', - 'kuri' =>$destinataires, - 'ubutumwa' =>$message, - 'client' =>'radiant', - 'password' =>'umugozi', - 'msgid' =>'kane' - ); - - $post = http_build_query($postFields); - - $url .= "?".$post; - - // echo $url; - // exit(); - - $result= file_get_contents($url); - print_r($result); - exit(); - - $ch=curl_init(); - - if(empty($ch)) - { - die("ERREUR curl_init : Il semble que cURL ne soit pas disponible."); - } - - $options=array - ( - CURLOPT_URL => $url, // Url cible (l'url de la page que vous voulez télécharger) - CURLOPT_RETURNTRANSFER => TRUE, // Retourner le contenu téléchargé dans une chaine (au lieu de l'afficher directement) - CURLOPT_HEADER => FALSE, // Ne pas inclure l'entête de réponse du serveur dans la chaine retournée - CURLOPT_FAILONERROR => TRUE, // Gestion des codes d'erreur HTTP supérieurs ou égaux à 400 - CURLOPT_POST => TRUE, // Effectuer une requête de TYPE POST - CURLOPT_TIMEOUT => 10, - CURLOPT_POSTFIELDS => $postFields // Le tableau associatif contenant les VARIABLES envoyées par POST au serveur - // CURLOPT_POSTFIELDS => $post // Le tableau associatif contenant les VARIABLES envoyées par POST au serveur - ); - - // var_dump($options); - // exit(); - - curl_setopt_array($ch, $options); - - if( ! $result = curl_exec($ch)) - { - trigger_error(curl_error($ch)); - } - - // $info = curl_getinfo($ch); - - curl_close($ch); - - // var_dump($result); - // var_dump($info); - // print_r($info); - // echo $result; - // var_dump($result); - // print_r($result); - // return $result; - } -*/ - -/* fonction_envoyersms_hooza_victor_nkindi - - public function envoyersms() - { - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - // $typeSms = $this->requete->getParametreFormulaire("typeSms"); - - - $this->envoimail->logenvoisms($destinataires, $message); - - - // RADIANT - $get = array('username'=>'HoAj-radiant', - 'password'=>'radiant', - 'type'=>'0', - 'dlr'=>'1', - 'destination'=>$destinataires, - 'source'=>'MEDICARE', - 'message'=>$message - ); - - // EBENE - $get = array('username'=>'HoAj-ebene', - 'password'=>'ebene201', - 'type'=>'0', - 'dlr'=>'1', - 'destination'=>$destinataires, - 'source'=>'INTERSANTE', - 'message'=>$message - ); - - $url = "http://rslr.connectbind.com/bulksms/bulksms"; - - - $defaults = array( - CURLOPT_URL => $url. (strpos($url, '?') === FALSE ? '?' : ''). http_build_query($get), - // CURLOPT_URL => $url, - CURLOPT_HEADER => 0, - CURLOPT_RETURNTRANSFER => TRUE, - CURLOPT_TIMEOUT => 10 - ); - - - $ch = curl_init(); - - curl_setopt_array($ch, ($defaults)); - if( ! $result = curl_exec($ch)) - { - trigger_error(curl_error($ch)); - } - - curl_close($ch); - - return $result; - } -*/ -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfacturecons.php b/Controleur/ControleurAjaxfacturecons.php deleted file mode 100755 index 224595f..0000000 --- a/Controleur/ControleurAjaxfacturecons.php +++ /dev/null @@ -1,139 +0,0 @@ -prescription = new Prescription_temp(); - $this->detailprescription = new Detailprescription(); - $this->prestation = new Prestationactes(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $numeroPrescription = $_SESSION['numeroPrescription_C']; - - $prescription = $this->prescription->getprescription_pha($numeroBonOrdonnance); - - $detailprescriptions = $this->detailprescription->getdetailprescription_pha($numeroBonOrdonnance); - - $detailnonlivres = $this->prescription->getdetailnonlivre(); - - // $detaillivres = $this->prescription->getdetaillivre(); - $detaillivres = $this->prescription->getdetaillivrepha(); - - // $factures = $this->prescription->getfactures_ordonnance($numeroBonOrdonnance); - - $garantieadherent_temp = $this->prestation->getgarantieadherent_temp($numeroFeuilleMaladie, $codePrestataire); - - /* - $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'detailnonlivres' => $detailnonlivres, - 'detaillivres' => $detaillivres, 'garantieadherent_temp' => $garantieadherent_temp, 'factures' => $factures)); - */ - - $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'detailnonlivres' => $detailnonlivres, - 'detaillivres' => $detaillivres, 'garantieadherent_temp' => $garantieadherent_temp)); - } - - public function ajoutermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->prescription->ajoutermedicament($idMedicament); - - $this->executerAction("index"); - } - - public function ajoutermedicamenttous() - { - $this->prescription->ajoutermedicamenttous(); - $this->executerAction("index"); - } - - public function retirermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->prescription->retirermedicament($idMedicament); - - $this->executerAction("index"); - } - - public function retirermedicamenttous() - { - $this->prescription->retirermedicamenttous(); - $this->executerAction("index"); - } - - public function enregistrerpharmacie() - { - $this->prescription->facturerpharmacie(); - } - - public function annulersubstitutionmedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->prescription->annulersubstitutionmedicament($idMedicament); - - $this->executerAction("index"); - } - - public function enregistrersubstitutionmedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - $prixSubstitut = $this->requete->getParametreFormulaire("prixSubstitut", "numerique"); - - $this->prescription->enregistrersubstitutionmedicament($idMedicament, $prixSubstitut); - - $this->executerAction("index"); - } - - public function ajoutermedicamentprescription() - { - $codeMedicament = $this->requete->getParametreFormulaire("codeMedicament"); - - $this->detailprescription->ajoutermedicamentpha($codeMedicament); - - $this->executerAction("index"); - } - - public function majquantitepha() - { - $idMedicament = $this->requete->getParametre("idMedicament"); - $quantite = $this->requete->getParametreFormulaire("quantite", "numerique"); - - $this->detailprescription->majquantitepha($idMedicament, $quantite); - - $this->executerAction("index"); - } - - public function demanderaccordpha() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->detailprescription->demanderaccordpha($idMedicament); - - $this->executerAction("index"); - } - - public function majprixpha() - { - $idMedicament = $this->requete->getParametre("idMedicament"); - $prix = $this->requete->getParametreFormulaire("prix", "numerique"); - - $this->detailprescription->majprixpha($idMedicament, $prix); - - $this->executerAction("index"); - } -} - diff --git a/Controleur/ControleurAjaxfactureconsassure.php b/Controleur/ControleurAjaxfactureconsassure.php deleted file mode 100755 index 319d98c..0000000 --- a/Controleur/ControleurAjaxfactureconsassure.php +++ /dev/null @@ -1,72 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $_SESSION['idFacture_C'] = $idFacture; - - $facture = $this->facture->consulterfacturefacture($idFacture) ; - - $this->genererVueAjax(array('facture' => $facture)); - } - - public function feuillemaladie() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $feuillemaladie = $this->facture->consulterfacturefeuillemaladie($idFacture) ; - - $diagnostics = $this->facture->consulterfacturediagnostics($idFacture); - - $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'diagnostics' => $diagnostics)); - } - - public function prestationactes() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $prestations = $this->facture->consulterfactureprestationactes($idFacture) ; - - $this->genererVueAjax(array('prestations' => $prestations)); - } - - public function medicaments() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $medicaments = $this->facture->consulterfacturemedicaments($idFacture) ; - - $this->genererVueAjax(array('medicaments' => $medicaments)); - } - - public function geds() - { - unset($_FILES['fichier_upload']); - - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $geds = $this->facture->getgedfacture($idFacture); - - $this->genererVueAjax(array('geds' => $geds)); - } - - public function verres() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $verres = $this->facture->consulterfactureverres($idFacture) ; - - $this->genererVueAjax(array('verres' => $verres)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfactureconspop.php b/Controleur/ControleurAjaxfactureconspop.php deleted file mode 100755 index 7e21cb4..0000000 --- a/Controleur/ControleurAjaxfactureconspop.php +++ /dev/null @@ -1,72 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $_SESSION['idFacture_C'] = $idFacture; - - $facture = $this->facture->consulterfacturefacture($idFacture) ; - - $this->genererVueAjax(array('facture' => $facture)); - } - - public function feuillemaladie() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $feuillemaladie = $this->facture->consulterfacturefeuillemaladie($idFacture) ; - - $diagnostics = $this->facture->consulterfacturediagnostics($idFacture); - - $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'diagnostics' => $diagnostics)); - } - - public function prestationactes() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $prestations = $this->facture->consulterfactureprestationactes($idFacture) ; - - $this->genererVueAjax(array('prestations' => $prestations)); - } - - public function medicaments() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $medicaments = $this->facture->consulterfacturemedicaments($idFacture) ; - - $this->genererVueAjax(array('medicaments' => $medicaments)); - } - - public function geds() - { - unset($_FILES['fichier_upload']); - - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $geds = $this->facture->getgedfacture($idFacture); - - $this->genererVueAjax(array('geds' => $geds)); - } - - public function verres() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $verres = $this->facture->consulterfactureverres($idFacture) ; - - $this->genererVueAjax(array('verres' => $verres)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfactureconsprestataire.php b/Controleur/ControleurAjaxfactureconsprestataire.php deleted file mode 100755 index 241aa8a..0000000 --- a/Controleur/ControleurAjaxfactureconsprestataire.php +++ /dev/null @@ -1,72 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $_SESSION['idFacture_C'] = $idFacture; - - $facture = $this->facture->consulterfacturefacture($idFacture) ; - - $this->genererVueAjax(array('facture' => $facture)); - } - - public function feuillemaladie() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $feuillemaladie = $this->facture->consulterfacturefeuillemaladie($idFacture) ; - - $diagnostics = $this->facture->consulterfacturediagnostics($idFacture); - - $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'diagnostics' => $diagnostics)); - } - - public function prestationactes() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $prestations = $this->facture->consulterfactureprestationactes($idFacture) ; - - $this->genererVueAjax(array('prestations' => $prestations)); - } - - public function medicaments() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $medicaments = $this->facture->consulterfacturemedicaments($idFacture) ; - - $this->genererVueAjax(array('medicaments' => $medicaments)); - } - - public function geds() - { - unset($_FILES['fichier_upload']); - - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $geds = $this->facture->getgedfacture($idFacture); - - $this->genererVueAjax(array('geds' => $geds)); - } - - public function verres() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $verres = $this->facture->consulterfactureverres($idFacture) ; - - $this->genererVueAjax(array('verres' => $verres)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfacturerfeuillemaladie.php b/Controleur/ControleurAjaxfacturerfeuillemaladie.php deleted file mode 100755 index 38860d9..0000000 --- a/Controleur/ControleurAjaxfacturerfeuillemaladie.php +++ /dev/null @@ -1,20 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - } - - public function facturer() - { - $this->feuillemaladie->facturer(); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfactures.php b/Controleur/ControleurAjaxfactures.php deleted file mode 100755 index 9ef80a2..0000000 --- a/Controleur/ControleurAjaxfactures.php +++ /dev/null @@ -1,22 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $factures = $this->facture->getfactures($idBeneficiaire, $d1, $d2) ; - - $this->genererVueAjax(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfacturesfamille.php b/Controleur/ControleurAjaxfacturesfamille.php deleted file mode 100755 index def944b..0000000 --- a/Controleur/ControleurAjaxfacturesfamille.php +++ /dev/null @@ -1,22 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $factures = $this->facture->getfacturesfamille($idAdherent, $d1, $d2) ; - - $this->genererVueAjax(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfacturesfeuille.php b/Controleur/ControleurAjaxfacturesfeuille.php deleted file mode 100755 index eced291..0000000 --- a/Controleur/ControleurAjaxfacturesfeuille.php +++ /dev/null @@ -1,29 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $factures = $this->feuillemaladie->getfacturesfeuille($numeroFeuilleMaladie); - - $factures_total = null; - - if(count($factures)>"0") - { - $factures_total = $factures['0']; - } - - $this->genererVueAjax(array('factures' => $factures, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfeuillemaladie.php b/Controleur/ControleurAjaxfeuillemaladie.php deleted file mode 100755 index ff0169c..0000000 --- a/Controleur/ControleurAjaxfeuillemaladie.php +++ /dev/null @@ -1,39 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - $this->prestation = new Prestationactes(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $garantieadherent_temp = null; - - $infosfeuillemaladie = $this->feuillemaladie->getinfosfeuillemaladie($numeroFeuilleMaladie); - $facture = $infosfeuillemaladie['facture']; - - $this->prestation->vider_garantieadherent_temp($numeroFeuilleMaladie, $codePrestataire); - - if($facture==0) - { - $garantieadherent_temp = $this->prestation->init_garantieadherent_temp($numeroFeuilleMaladie, $codePrestataire); - } - - $feuillemaladie = $this->feuillemaladie->getfeuillemaladie($numeroFeuilleMaladie); - - $prestations = $this->prestation->getprestationsfeuille($numeroFeuilleMaladie, $codePrestataire); - - $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'prestations' => $prestations, - 'garantieadherent_temp' => $garantieadherent_temp)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxged.php b/Controleur/ControleurAjaxged.php deleted file mode 100755 index 9335a30..0000000 --- a/Controleur/ControleurAjaxged.php +++ /dev/null @@ -1,34 +0,0 @@ -ged = new Ged(); - } - - public function index() { - // $this->genererVueAjax(array('reponse' => $reponse)); - $this->genererVueAjax(); - } - - public function verifierexistancefichier() - { - $cheminFichier = $this->requete->getParametreFormulaire("cheminFichier"); - - // modifié à cause de l'url distant chez le prestataire => remote_file_exists($url) - // if(file_exists($cheminFichier)) - if(remote_file_exists($cheminFichier)) - { - $reponse = "1"; - } else - { - $reponse = "0"; - } - - echo "$reponse"; - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxhistoriqueprestation.php b/Controleur/ControleurAjaxhistoriqueprestation.php deleted file mode 100755 index dd0cee5..0000000 --- a/Controleur/ControleurAjaxhistoriqueprestation.php +++ /dev/null @@ -1,90 +0,0 @@ -examen = new Examen(); - $this->prestationactes = new Prestationactes(); - $this->garantie = new Garantie(); - - } - - public function index() - { - /* - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $beneficiaire = $this->prestationactes->getInfoBeneficiaire($numeroBeneficiaire); - - $garanties = $this->garantie->getListePourActe(); - - $this->genererVueAjax(/*array('beneficiaire' => $beneficiaire, 'garanties' => $garanties)); - */ - $this->genererVueAjax(); - } - - public function prestations() - { - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - - //$_SESSION['numeroBeneficiaire'] = $numeroBeneficiaire; - - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - - $garanties = $this->garantie->getListePourActe(); - - $historiqueprestations = $this->prestationactes->gethistoriqueprestation($numeroAdherent, $codeGarantie, $d1, $d2); - - $totalprestations = $this->prestationactes->gettotalprestation($numeroAdherent, $codeGarantie, $d1, $d2); - - - $this->genererVueAjax(array('garanties' => $garanties,'historiqueprestations' => $historiqueprestations, - 'totalprestations' => $totalprestations)); - - } - - public function majquantite() - { - $idExamen = $this->requete->getParametre("idExamen"); - $quantite = $this->requete->getParametreFormulaire("quantite", "numerique"); - - $tm = intval($_SESSION['tm_C']); - - $this->examen->majquantite($idExamen, $quantite, $tm); - - $this->executerAction("index"); - } - - public function supprimer() - { - $idExamen = $this->requete->getParametre("idExamen"); - - $this->examen->supprimerexamen($idExamen); - - $this->examen->updateexamen($_SESSION['numeroFeuilleMaladie_C']); - - $this->executerAction("index"); - } - - - public function gettotalprestation($numeroBeneficiaire, $codeGarantie, $d1, $d2) - { - $sql = 'call sp_get_total_historique_prestation(?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($numeroBeneficiaire, $codeGarantie, $d1, $d2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxhistsupprempreinte.php b/Controleur/ControleurAjaxhistsupprempreinte.php deleted file mode 100755 index 3bd7537..0000000 --- a/Controleur/ControleurAjaxhistsupprempreinte.php +++ /dev/null @@ -1,21 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $empreintesupprimers = $this->beneficiaire->gethistoempreintesupprimers($debut, $fin); - - $this->genererVueAjax(array('empreintesupprimers' => $empreintesupprimers)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaximprimerlimite.php b/Controleur/ControleurAjaximprimerlimite.php deleted file mode 100755 index e61f9cc..0000000 --- a/Controleur/ControleurAjaximprimerlimite.php +++ /dev/null @@ -1,88 +0,0 @@ -adherent = new Adherent(); - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); - $totalgarantieadherent = $this->garantieadherent->getTotalGarantieAdherent($idAdherent); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Cell(0,$ht,convertirc("RADIANT INSURANCE COMPANY : KIGALI"),0,1,'C',false); - - $pdf->SetFont('Arial','BIU', 9); - - $pdf->Cell(0,$ht,convertirc("LILITES DE LA FAMILLE"),0,1,'C',false); - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Cell(30,$ht,convertirc("Nom Adhérent"),0,0,'C',false); - $pdf->Cell(50,$ht,convertirc(" : ".$adherent['nom']),0,0,'L',false); - - $pdf->Cell(40,$ht,convertirc("Prénoms Adhérent"),0,0,'C',false); - $pdf->Cell(60,$ht,convertirc(" : ".$adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(0,$ht,convertirc('Edité le : '.heureCourante()),0,1,'R',false); - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Cell(55,$ht,convertirc("Garantie"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Annuelles"),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc("Taux(%)"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("En vigeur"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Consommations"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Solde"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - foreach ($garantieadherents as $garantieadherent) - { - $pdf->Cell(55,$ht,convertirc($garantieadherent['garantie']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($garantieadherent['plafondAnnuel']),1,0,'C',false); - $pdf->Cell(15,$ht,$garantieadherent['tauxAvenant'],1,0,'C',false); - $pdf->Cell(30,$ht,format_N($garantieadherent['plafond']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($garantieadherent['consommation']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($garantieadherent['solde']),1,1,'C',false); - } - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Cell(55,$ht,convertirc("Totaux : "),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($totalgarantieadherent['plafondAnnuel']),1,0,'C',false); - $pdf->Cell(15,$ht,"",1,0,'C',false); - $pdf->Cell(30,$ht,format_N($totalgarantieadherent['plafond']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($totalgarantieadherent['consommation']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($totalgarantieadherent['solde']),1,1,'C',false); - - $fichier="Temp/limites_famille"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - echo 'Télécharger le résultat : LIMITES DE LA FAMILLE'; - exit(); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxinfosbeneficiaire.php b/Controleur/ControleurAjaxinfosbeneficiaire.php deleted file mode 100755 index ff5921c..0000000 --- a/Controleur/ControleurAjaxinfosbeneficiaire.php +++ /dev/null @@ -1,86 +0,0 @@ -beneficiaire = new Beneficiaire(); - $this->police = new Police(); - $this->garantieadherent = new Garantieadherent(); - $this->adherent = new Adherent(); - - $this->garantie = new Garantie(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - - $infos = $this->beneficiaire->getBeneficiaireNumeroId($numeroBeneficiaire); - - $idBeneficiaire = $infos['idBeneficiaire']; - //var_dump($idBeneficiaire); - - $dateJour = date('Y-m-d'); - - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - $idPolice = $infos['idPolice']; - - $this->police->getContextePoliceId($idPolice); - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $idAdherent = $infos['idAdherent']; - - $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($idBeneficiaire); - - $beneficiaire = $this->beneficiaire->getBeneficiaireId($idBeneficiaire); - - $_SESSION['dateEffetCouvert'] = $beneficiaire['dateEffetCouvert']; - - $this->adherent->getNbassure($idPolice); - - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - $beneficiaires = $this->beneficiaire->getBeneficiairesId($idAdherent, $dateJour); - $totalbeneficiaires = $this->beneficiaire->getTotalBeneficiairesId($idAdherent); - - $this->adherent->controlerplafondadherentannuel($idAdherent); - $_SESSION['controlerPlafondBeneficiaire'] = "0"; - - $limite_adherent = $this->garantieadherent->getSituationPolice($infos['idBeneficiaire']); - - $actes = $this->garantieadherent->getBaremePlafondAdherent($idAdherent, $idBeneficiaire); - - $police = $this->beneficiaire->getSituationPolice($idBeneficiaire); - - $college = $this->beneficiaire->getSituationCollege($idBeneficiaire); - - $baseTarification = $this->beneficiaire->getBaseTarificationBeneficiaire($idBeneficiaire); - - $garanties = $this->garantie->getListePourActe(); - - $this->genererVueAjax(array('beneficiaire' => $beneficiaire, 'garantieadherents' => $garantieadherents, - 'adherent' => $adherent, 'beneficiaires' => $beneficiaires, 'totalbeneficiaires' => $totalbeneficiaires, - 'limite_adherent' => $limite_adherent, 'actes' => $actes, 'police' => $police, 'college' => $college, - 'baseTarification' => $baseTarification, 'numeroBeneficiaire' => $numeroBeneficiaire, 'garanties' => $garanties)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxinsererbaremeactecollege.php b/Controleur/ControleurAjaxinsererbaremeactecollege.php deleted file mode 100755 index eef91bc..0000000 --- a/Controleur/ControleurAjaxinsererbaremeactecollege.php +++ /dev/null @@ -1,85 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - - } - - public function index() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $actes = $this->garantie->getActesGarantieBareme($idBaremePriseEnCharge,$codeGarantie); - - $this->genererVueAjax(array - ( - 'actes' => $actes - )); - - } - - public function ajouter() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $dateEffetActe = $this->requete->getParametreDate("dateEffetActe"); - $forfaitPlafondActeAdherent = $this->requete->getParametreFormulaire("forfaitPlafondActeAdherent"); - $codePeriodicitePlafondActeAdherent = $this->requete->getParametreFormulaire("codePeriodicitePlafondActeAdherent"); - $nbreTransactionActeAdherent = $this->requete->getParametreFormulaire("nbreTransactionActeAdherent"); - $codePeriodiciteActeAdherent = $this->requete->getParametreFormulaire("codePeriodiciteActeAdherent"); - $forfaitPlafondActe = $this->requete->getParametreFormulaire("forfaitPlafondActe"); - $codePeriodicitePlafondActe = $this->requete->getParametreFormulaire("codePeriodicitePlafondActe"); - $nbreTransactionActe = $this->requete->getParametreFormulaire("nbreTransactionActe"); - $codePeriodiciteActe = $this->requete->getParametreFormulaire("codePeriodiciteActe"); - $codeTypeRemboursementActe = $this->requete->getParametreFormulaire("codeTypeRemboursementActe"); - $delaiCarenceActe = $this->requete->getParametreFormulaire("delaiCarenceActe"); - $ticketModerateurActe = $this->requete->getParametreFormulaire("ticketModerateurActe"); - $ageMinimumActe = $this->requete->getParametreFormulaire("ageMinimumActe"); - $ageMaximumActe = $this->requete->getParametreFormulaire("ageMaximumActe"); - $actifActe = $this->requete->getParametreFormulaire("actifActe"); - - $forfaitTmActe = $this->requete->getParametreFormulaire("forfaitTmActe"); - - $this->garantie->insererActeBareme($idBaremePriseEnCharge,$codeGarantie,$codeActe,$dateEffetActe,$forfaitPlafondActeAdherent, - $codePeriodicitePlafondActeAdherent,$nbreTransactionActeAdherent,$codePeriodiciteActeAdherent,$forfaitPlafondActe, - $codePeriodicitePlafondActe,$nbreTransactionActe,$codePeriodiciteActe,$codeTypeRemboursementActe,$delaiCarenceActe, - $ticketModerateurActe,$ageMinimumActe,$ageMaximumActe,$actifActe, $forfaitTmActe); - - - } - - public function controle() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $maxDateEffetActeBareme = $this->garantie->getMaxDateEffetActeBareme($idBaremePriseEnCharge,$codeGarantie,$codeActe); - - $this->genererVueAjax(array - ( - 'maxDateEffetActeBareme' => $maxDateEffetActeBareme - )); - - - } - - public function supprimer() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - - $this->garantie->supprimerActeBareme($idActe); - - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxinsererbaremeactelienparentecollege.php b/Controleur/ControleurAjaxinsererbaremeactelienparentecollege.php deleted file mode 100755 index 74ee0aa..0000000 --- a/Controleur/ControleurAjaxinsererbaremeactelienparentecollege.php +++ /dev/null @@ -1,88 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - - } - - public function index() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $acteslienparente = $this->garantie->getActesGarantieBaremeLienParente($idBaremePriseEnCharge,$codeGarantie); - - - $this->genererVueAjax(array - ( - 'acteslienparente' => $acteslienparente - )); - - } - - public function ajouter() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $codeActeLienParente = $this->requete->getParametreFormulaire("codeActeLienParente"); - - $dateEffetActeLienParente = $this->requete->getParametreDate("dateEffetActeLienParente"); - - $codeLienParenteActeLienParente = $this->requete->getParametreFormulaire("codeLienParenteActeLienParente"); - - $forfaitPlafondActeLienParente = $this->requete->getParametreFormulaire("forfaitPlafondActeLienParente"); - $codePeriodicitePlafondActeLienParente = $this->requete->getParametreFormulaire("codePeriodicitePlafondActeLienParente"); - $nbreTransactionActeLienParente = $this->requete->getParametreFormulaire("nbreTransactionActeLienParente"); - $codePeriodiciteActeLienParente = $this->requete->getParametreFormulaire("codePeriodiciteActeLienParente"); - - $codeTypeRemboursementActeLienParente = $this->requete->getParametreFormulaire("codeTypeRemboursementActeLienParente"); - $delaiCarenceActeLienParente = $this->requete->getParametreFormulaire("delaiCarenceActeLienParente"); - $ticketModerateurActeLienParente = $this->requete->getParametreFormulaire("ticketModerateurActeLienParente"); - $ageMinimumActeLienParente = $this->requete->getParametreFormulaire("ageMinimumActeLienParente"); - $ageMaximumActeLienParente = $this->requete->getParametreFormulaire("ageMaximumActeLienParente"); - $actifActeLienParente = $this->requete->getParametreFormulaire("actifActeLienParente"); - - $forfaitTmActeLienParente = $this->requete->getParametreFormulaire("forfaitTmActeLienParente"); - - - $this->garantie->insererActeBaremeLienParente($idBaremePriseEnCharge,$codeGarantie,$codeActeLienParente,$dateEffetActeLienParente,$codeLienParenteActeLienParente, - $forfaitPlafondActeLienParente,$codePeriodicitePlafondActeLienParente,$nbreTransactionActeLienParente,$codePeriodiciteActeLienParente,$codeTypeRemboursementActeLienParente, - $delaiCarenceActeLienParente,$ticketModerateurActeLienParente,$ageMinimumActeLienParente,$ageMaximumActeLienParente,$actifActeLienParente, $forfaitTmActeLienParente); - - - } - - public function controle() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - $codeActeLienParente = $this->requete->getParametreFormulaire("codeActeLienParente"); - $codeLienParenteActeLienParente = $this->requete->getParametreFormulaire("codeLienParenteActeLienParente"); - - $maxDateEffetActeBaremeLienParente = $this->garantie->getMaxDateEffetActeBaremeLienParente($idBaremePriseEnCharge,$codeGarantie,$codeActeLienParente,$codeLienParenteActeLienParente); - - $this->genererVueAjax(array - ( - 'maxDateEffetActeBaremeLienParente' => $maxDateEffetActeBaremeLienParente - )); - - - } - - public function supprimer() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - - $this->garantie->supprimerActeBaremeLienparente($idActe); - - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxinsererbaremegarantiecollege.php b/Controleur/ControleurAjaxinsererbaremegarantiecollege.php deleted file mode 100755 index a4999ac..0000000 --- a/Controleur/ControleurAjaxinsererbaremegarantiecollege.php +++ /dev/null @@ -1,73 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - - } - - public function index() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $familleacte = $this->garantie->getFamilleActeGarantieBareme($idBaremePriseEnCharge,$codeGarantie); - - $maxDateEffetGarantie = $this->garantie->getMaxDateEffetGarantie($idBaremePriseEnCharge,$codeGarantie); - - - $this->genererVueAjax(array - ( - 'familleacte' => $familleacte, - 'maxDateEffetGarantie' => $maxDateEffetGarantie - )); - - } - - public function ajouter() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $dateEffetGarantie = $this->requete->getParametreDate("dateEffetGarantie"); - $forfaitPlafondGarantieAdherent = $this->requete->getParametreFormulaire("forfaitPlafondGarantieAdherent"); - $codePeriodicitePlafondGarantieAdherent = $this->requete->getParametreFormulaire("codePeriodicitePlafondGarantieAdherent"); - $nbreTransactionGarantieAdherent = $this->requete->getParametreFormulaire("nbreTransactionGarantieAdherent"); - $codePeriodiciteGarantieAdherent = $this->requete->getParametreFormulaire("codePeriodiciteGarantieAdherent"); - $forfaitPlafondGarantie = $this->requete->getParametreFormulaire("forfaitPlafondGarantie"); - $codePeriodicitePlafondGarantie = $this->requete->getParametreFormulaire("codePeriodicitePlafondGarantie"); - $nbreTransactionGarantie = $this->requete->getParametreFormulaire("nbreTransactionGarantie"); - $codePeriodiciteGarantie = $this->requete->getParametreFormulaire("codePeriodiciteGarantie"); - //$codeObservationFamilleActe = $this->requete->getParametreFormulaire("codeObservationFamilleActe"); - $codeTypeRemboursement = $this->requete->getParametreFormulaire("codeTypeRemboursement"); - $delaiCarenceFamilleActe = $this->requete->getParametreFormulaire("delaiCarenceFamilleActe"); - $ticketModerateurFamilleActe = $this->requete->getParametreFormulaire("ticketModerateurFamilleActe"); - $ageMinimumFamilleActe = $this->requete->getParametreFormulaire("ageMinimumFamilleActe"); - $ageMaximumFamilleActe = $this->requete->getParametreFormulaire("ageMaximumFamilleActe"); - $actifFamilleActe = $this->requete->getParametreFormulaire("actifFamilleActe"); - - $forfaitTmGarantie = $this->requete->getParametreFormulaire("forfaitTmGarantie"); - - - $this->garantie->insererGarantieBareme($idBaremePriseEnCharge,$codeGarantie,$dateEffetGarantie,$forfaitPlafondGarantieAdherent, - $codePeriodicitePlafondGarantieAdherent,$nbreTransactionGarantieAdherent,$codePeriodiciteGarantieAdherent,$forfaitPlafondGarantie, - $codePeriodicitePlafondGarantie,$nbreTransactionGarantie,$codePeriodiciteGarantie,$codeTypeRemboursement,$delaiCarenceFamilleActe, - $ticketModerateurFamilleActe,$ageMinimumFamilleActe,$ageMaximumFamilleActe,$actifFamilleActe,$forfaitTmGarantie); - - - } - - public function supprimer() - { - $idGarantie = $this->requete->getParametreFormulaire("idGarantie"); - - $this->garantie->supprimerGarantieBareme($idGarantie); - - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxinsererbaremegarantielienparentecollege.php b/Controleur/ControleurAjaxinsererbaremegarantielienparentecollege.php deleted file mode 100755 index b3f8f0d..0000000 --- a/Controleur/ControleurAjaxinsererbaremegarantielienparentecollege.php +++ /dev/null @@ -1,83 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - - } - - public function index() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $garantielienparente = $this->garantie->getGarantieLienParenteBareme($idBaremePriseEnCharge,$codeGarantie); - - - $this->genererVueAjax(array - ( - 'garantielienparente' => $garantielienparente - )); - - } - - public function ajouter() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $dateEffetGarantieLienParente = $this->requete->getParametreDate("dateEffetGarantieLienParente"); - $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); - $forfaitPlafondGarantieLienParente = $this->requete->getParametreFormulaire("forfaitPlafondGarantieLienParente"); - $codePeriodicitePlafondGarantieLienParente = $this->requete->getParametreFormulaire("codePeriodicitePlafondGarantieLienParente"); - $nbreTransactionGarantieLienParente = $this->requete->getParametreFormulaire("nbreTransactionGarantieLienParente"); - $codePeriodiciteGarantieLienParente = $this->requete->getParametreFormulaire("codePeriodiciteGarantieLienParente"); - - //$codeObservationFamilleActeLienParente = $this->requete->getParametreFormulaire("codeObservationFamilleActeLienParente"); - - $codeTypeRemboursementLienParente = $this->requete->getParametreFormulaire("codeTypeRemboursementLienParente"); - - $delaiCarenceFamilleActeLienParente = $this->requete->getParametreFormulaire("delaiCarenceFamilleActeLienParente"); - $ticketModerateurFamilleActeLienParente = $this->requete->getParametreFormulaire("ticketModerateurFamilleActeLienParente"); - $ageMinimumFamilleActeLienParente = $this->requete->getParametreFormulaire("ageMinimumFamilleActeLienParente"); - $ageMaximumFamilleActeLienParente = $this->requete->getParametreFormulaire("ageMaximumFamilleActeLienParente"); - $actifFamilleActeLienParente = $this->requete->getParametreFormulaire("actifFamilleActeLienParente"); - - $forfaitTmGarantieLienParente = $this->requete->getParametreFormulaire("forfaitTmGarantieLienParente"); - - - $this->garantie->insererGarantieBaremeLienparente($idBaremePriseEnCharge,$codeGarantie,$dateEffetGarantieLienParente,$codeLienParente,$forfaitPlafondGarantieLienParente, - $codePeriodicitePlafondGarantieLienParente,$nbreTransactionGarantieLienParente,$codePeriodiciteGarantieLienParente,$codeTypeRemboursementLienParente, - $delaiCarenceFamilleActeLienParente,$ticketModerateurFamilleActeLienParente,$ageMinimumFamilleActeLienParente,$ageMaximumFamilleActeLienParente,$actifFamilleActeLienParente, - $forfaitTmGarantieLienParente); - - } - - public function controle() - { - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); - - $maxDateEffetGarantieLienParente = $this->garantie->getMaxDateEffetGarantieLienparente($idBaremePriseEnCharge,$codeGarantie,$codeLienParente); - - $this->genererVueAjax(array - ( - 'maxDateEffetGarantieLienParente' => $maxDateEffetGarantieLienParente - )); - } - - public function supprimer() - { - $idGarantie = $this->requete->getParametreFormulaire("idGarantie"); - - $this->garantie->supprimerGarantieBaremeLienparente($idGarantie); - - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxinsererdetailbaremecollege.php b/Controleur/ControleurAjaxinsererdetailbaremecollege.php deleted file mode 100755 index 8718968..0000000 --- a/Controleur/ControleurAjaxinsererdetailbaremecollege.php +++ /dev/null @@ -1,48 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - - } - - public function index() - { - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $maxDateEffetBareme = $this->garantie->getMaxDateEffetBareme($idBaremePriseEnCharge); - - $detailbareme = $this->garantie->getDetailBareme($idBaremePriseEnCharge); - - $this->genererVueAjax(array - ( - 'maxDateEffetBareme' => $maxDateEffetBareme, - 'detailbareme' => $detailbareme - )); - - } - - public function ajouter() - { - $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); - - $dateEffetBareme = $this->requete->getParametreDate("dateEffetBareme"); - $ticketModerateurBareme = $this->requete->getParametreFormulaire("ticketModerateurBareme"); - - $this->garantie->insererBareme($idBaremePriseEnCharge, $dateEffetBareme, $ticketModerateurBareme); - } - - public function supprimer() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - - $this->garantie->supprimerBareme($idDetail); - - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlienparente.php b/Controleur/ControleurAjaxlienparente.php deleted file mode 100755 index 2613fb1..0000000 --- a/Controleur/ControleurAjaxlienparente.php +++ /dev/null @@ -1,24 +0,0 @@ -remboursement = new Remboursement(); - } - - public function index() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - $lienParente = $this->remboursement->getLienParenteBeneficaire($numeroBeneficiaire); - - - $this->genererVueAjax(array('lienParente' => $lienParente)); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlisteged.php b/Controleur/ControleurAjaxlisteged.php deleted file mode 100755 index ba56d23..0000000 --- a/Controleur/ControleurAjaxlisteged.php +++ /dev/null @@ -1,24 +0,0 @@ -ged = new Ged(); - } - - public function index() - { - // unset($_FILES['fichier_upload']); - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - - $geds = $this->ged->getged($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistegedadherent.php b/Controleur/ControleurAjaxlistegedadherent.php deleted file mode 100755 index 72e131b..0000000 --- a/Controleur/ControleurAjaxlistegedadherent.php +++ /dev/null @@ -1,24 +0,0 @@ -ged = new Ged(); - } - - public function index() - { - unset($_FILES['fichier_upload']); - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - - $geds = $this->ged->getgedadherent($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistegedbeneficiaire.php b/Controleur/ControleurAjaxlistegedbeneficiaire.php deleted file mode 100755 index 8a6461b..0000000 --- a/Controleur/ControleurAjaxlistegedbeneficiaire.php +++ /dev/null @@ -1,24 +0,0 @@ -ged = new Ged(); - } - - public function index() - { - unset($_FILES['fichier_upload']); - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - - $geds = $this->ged->getgedbeneficiaireprest($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistegedbeneficiaireprest.php b/Controleur/ControleurAjaxlistegedbeneficiaireprest.php deleted file mode 100755 index d493a40..0000000 --- a/Controleur/ControleurAjaxlistegedbeneficiaireprest.php +++ /dev/null @@ -1,24 +0,0 @@ -ged = new Ged(); - } - - public function index() - { - unset($_FILES['fichier_upload']); - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - - $geds = $this->ged->getgedbeneficiaireprest($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistegedfeuillemaladie.php b/Controleur/ControleurAjaxlistegedfeuillemaladie.php deleted file mode 100755 index 38d5286..0000000 --- a/Controleur/ControleurAjaxlistegedfeuillemaladie.php +++ /dev/null @@ -1,24 +0,0 @@ -ged = new Ged(); - } - - public function index() - { - unset($_FILES['fichier_upload']); - - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - - $geds = $this->ged->getgedfeuillemaladie($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistegedpharmacie.php b/Controleur/ControleurAjaxlistegedpharmacie.php deleted file mode 100755 index e97be01..0000000 --- a/Controleur/ControleurAjaxlistegedpharmacie.php +++ /dev/null @@ -1,116 +0,0 @@ -ged = new Ged(); - } - - public function index($msgErreur=null) - { - unset($_FILES['fichier_upload']); - $geds = $this->ged->getgedpharmacie(); - $this->genererVueAjax(array('geds' => $geds)); - } - - public function chargerged($msgErreur=null) - { - $message = ""; - - $nouveau_fichier = "rien"; - - if(!empty($_POST)) - { - define('TARGET', $_SESSION['cheminGed']); // Repertoire cible - define('MAX_SIZE', 10000000); // Taille max en octets du fichier - - // Tableaux de donnees - // ".avi", ".bmp", ".doc", ".docx", ".gif", ".jpeg", "jpg", "jpe", ".mkv", ".mp3", ".pdf", ".png", ".pps", ".xls", ".xlsx", ".wav" - // $tabExt = array('jpg','png','jpeg'); // Extensions autorisees - - $tabExt = array("avi", "bmp", "doc", "docx", "gif", "jpeg", "jpg", "jpe", "mkv", "mp3", "mp4", "pdf", "png", "pps", "xls", "xlsx", "wav"); // Extensions autorisees - - // Variables - $extension = ''; - - if( !is_dir(TARGET) ) - { - if( !mkdir(TARGET, 0755) ) - { - $message = 'Erreur : le répertoire cible ne peut-être créé ! Vérifiez que vous diposiez des droits suffisants pour le faire ou créez le manuellement !'; - } - } - - // On verifie si le champ est rempli - if( !empty($_FILES['fichier_upload']['name']) ) - { - // Recuperation de l'extension du fichier - - $extension = pathinfo($_FILES['fichier_upload']['name'], PATHINFO_EXTENSION); - - // On verifie l'extension du fichier - if(in_array(strtolower($extension), $tabExt)) - { - $message = $_FILES['fichier_upload']['size']; - - // On verifie les dimensions et taille du fichier - if($_FILES['fichier_upload']['size'] <= MAX_SIZE) - { - $taille = $_FILES['fichier_upload']['size']; - - // Parcours du tableau d'erreurs - if(isset($_FILES['fichier_upload']['error']) && UPLOAD_ERR_OK === $_FILES['fichier_upload']['error']) - { - // On renomme le fichier - $nomOrigine = $_FILES['fichier_upload']['name']; - $nouveau_fichier = dateJourSql()."_".uniqid().".".$extension; - - // Si c'est OK, on teste l'upload - if(move_uploaded_file($_FILES['fichier_upload']['tmp_name'], TARGET.$nouveau_fichier)) - { - $message = 'Chargé avec succès / Uploaded successfully'; - - // on va envoyer dans la base de données - // $this->ged->enregistrergedfeuillemaladie($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille); - } - else - { - // Sinon on affiche une erreur systeme - $message = 'Problème lors du chargement !'; - } - } - else - { - $message = 'Une erreur interne a empêché le chargement'; - } - } - else - { - $message .= $_FILES['fichier_upload']['size']." Erreur dans les dimensions du fichier !"; - // $message = 'Erreur dans les dimensions du fichier !'; - } - } - else - { - // Sinon on affiche une erreur pour l'extension - $message = 'Extension du fichier est incorrecte !'; - } - } - else - { - // Sinon on affiche une erreur pour le champ vide - $message = 'Veuillez sélectionner un fichier SVP! / Please select a file!'; - } - - // fin upload - } - - $msgErreur = $message; - $this->rediriger("Pharmacien"); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistemedecins.php b/Controleur/ControleurAjaxlistemedecins.php deleted file mode 100755 index 9042512..0000000 --- a/Controleur/ControleurAjaxlistemedecins.php +++ /dev/null @@ -1,28 +0,0 @@ -medecin = new Medecin(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - - $mdedecins_pop = $this->medecin->getmedeconspossibles($codePrestataire, $nomsearch, $noOrdreMedecin); - } - else - { - $mdedecins_pop = $this->medecin->getmedecinsvide(); - } - $this->genererVueAjax(array('mdedecins_pop' => $mdedecins_pop, 'nomsearch' => $nomsearch, 'noOrdreMedecin' => $noOrdreMedecin)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistemedecinsrequete.php b/Controleur/ControleurAjaxlistemedecinsrequete.php deleted file mode 100755 index de5af69..0000000 --- a/Controleur/ControleurAjaxlistemedecinsrequete.php +++ /dev/null @@ -1,28 +0,0 @@ -medecin = new Medecin(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - - $mdedecins_pop = $this->medecin->getmedeconspossibles($codePrestataire, $nomsearch, $noOrdreMedecin); - } - else - { - $mdedecins_pop = $this->medecin->getmedecinsvide(); - } - $this->genererVueAjax(array('mdedecins_pop' => $mdedecins_pop, 'nomsearch' => $nomsearch, 'noOrdreMedecin' => $noOrdreMedecin)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistemedicaments.php b/Controleur/ControleurAjaxlistemedicaments.php deleted file mode 100755 index a740348..0000000 --- a/Controleur/ControleurAjaxlistemedicaments.php +++ /dev/null @@ -1,28 +0,0 @@ -medicament = new Detailtarifmedicament(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - - $mdedicaments_pop = $this->medicament->getmedicamentspossibles($nomsearch); - } - else - { - $mdedicaments_pop = $this->medicament->getmedicamentvide(); - } - - $this->genererVueAjax(array('mdedicaments_pop' => $mdedicaments_pop, 'nomsearch' => $nomsearch)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistemedicamentspha.php b/Controleur/ControleurAjaxlistemedicamentspha.php deleted file mode 100755 index 4f7dad0..0000000 --- a/Controleur/ControleurAjaxlistemedicamentspha.php +++ /dev/null @@ -1,38 +0,0 @@ -medicament = new Detailtarifmedicament(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - - $mdedicaments_pop = $this->medicament->getmedicamentspossibles($nomsearch); - } - else - { - $mdedicaments_pop = $this->medicament->getmedicamentvide(); - } - - $this->genererVueAjax(array('mdedicaments_pop' => $mdedicaments_pop, 'nomsearch' => $nomsearch)); - } - - public function creermedicament() - { - $nomMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - $prixMedicament = $this->requete->getParametreFormulaire("prixMedicament", "numerique"); - $qteMedicament = $this->requete->getParametreFormulaire("qteMedicament", "numerique"); - - $this->medicament->creermedicament($nomMedicament, $prixMedicament, $qteMedicament); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlistemessagerie.php b/Controleur/ControleurAjaxlistemessagerie.php deleted file mode 100755 index 4f768d3..0000000 --- a/Controleur/ControleurAjaxlistemessagerie.php +++ /dev/null @@ -1,44 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $messageLu = $this->requete->getParametreFormulaire("messageLu"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $_SESSION['d1_C'] = $date1; - $_SESSION['d2_C'] = $date2; - - $messages = $this->messagerie->getmessages($codePrestataire, $date1, $date2, $messageLu, $textMessage) ; - - $messages_commun = $this->messagerie->getmessagescommun($date1, $date2); - - $this->genererVueAjax(array('messages' => $messages, 'messages_commun' => $messages_commun)); - - } - - public function repondremessage() - { - $idMessagerie = $this->requete->getParametreFormulaire("idMessagerie"); - $idParent = $this->requete->getParametreFormulaire("idParent"); - - $this->messagerie->repondremessage($idMessagerie, $idParent); - - // $this->executerAction("index"); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlisteprestataireparametrage.php b/Controleur/ControleurAjaxlisteprestataireparametrage.php deleted file mode 100755 index 88bcaf5..0000000 --- a/Controleur/ControleurAjaxlisteprestataireparametrage.php +++ /dev/null @@ -1,44 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $codePays = $this->requete->getParametreFormulaire("codePays"); - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - - $prestataires = $this->prestataire->getprestataireparametrage($codeTypePrestataire, $codeReseau, $libelle, - $codePays, $codeVille, $codeLocalite) ; - - $this->genererVueAjax(array('prestataires' => $prestataires)); - } - - public function prestatairesactifs() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $codePays = $this->requete->getParametreFormulaire("codePays"); - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - - $prestataires = $this->prestataire->getprestataireparametrageactif($codeTypePrestataire, $codeReseau, $libelle, - $codePays, $codeVille, $codeLocalite) ; - - $this->genererVueAjax(array('prestataires' => $prestataires)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlisteprestataires.php b/Controleur/ControleurAjaxlisteprestataires.php deleted file mode 100755 index 9fafda0..0000000 --- a/Controleur/ControleurAjaxlisteprestataires.php +++ /dev/null @@ -1,29 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $codePrestataire = $this->requete->getParametreFormulaire("codesearch"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataires_pop = $this->prestataire->getprestatairelike($codePrestataire, $nomsearch); - } - else - { - $prestataires_pop = $this->prestataire->getprestatairesvide(); - } - $this->genererVueAjax(array('prestataires_pop' => $prestataires_pop, 'nomsearch' => $nomsearch, 'codePrestataire' => $codePrestataire)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlisteprestatairesb.php b/Controleur/ControleurAjaxlisteprestatairesb.php deleted file mode 100755 index 77739a6..0000000 --- a/Controleur/ControleurAjaxlisteprestatairesb.php +++ /dev/null @@ -1,29 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $codePrestataire = $this->requete->getParametreFormulaire("codesearch"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataires_pop = $this->prestataire->getprestatairelike($codePrestataire, $nomsearch); - } - else - { - $prestataires_pop = $this->prestataire->getprestatairesvide(); - } - $this->genererVueAjax(array('prestataires_pop' => $prestataires_pop, 'nomsearch' => $nomsearch, 'codePrestataire' => $codePrestataire)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlocalite.php b/Controleur/ControleurAjaxlocalite.php deleted file mode 100755 index 92b0c9b..0000000 --- a/Controleur/ControleurAjaxlocalite.php +++ /dev/null @@ -1,31 +0,0 @@ -requete->getSession()->getAttribut('codeSociete'); - - $codePays = $this->requete->getParametreFormulaire("codePays"); - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - - $listelocalite = (new Localite())->getListe($codePays, $codeVille); - $this->genererVueAjax(array('listelocalite' => $listelocalite)); - } - - public function consultation() - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - - $codePays = $this->requete->getParametreFormulaire("codePays"); - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - - $listelocalite = (new Localite())->getListe($codePays, $codeVille); - $this->genererVueAjax(array('listelocalite' => $listelocalite)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxmailattente.php b/Controleur/ControleurAjaxmailattente.php deleted file mode 100755 index 8dc570f..0000000 --- a/Controleur/ControleurAjaxmailattente.php +++ /dev/null @@ -1,150 +0,0 @@ -envoimail = new Envoimail(); - } - - public function index() - { - } - - public function ajouter() - { - $typeMail = $this->requete->getParametreFormulaire("typeMail"); - - if ($typeMail == 'mailhospitalisation') - { - $numeroBon = $this->requete->getParametreFormulaire("numeroBon"); - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - - $this->envoimail->ajoutermailhospitalisation($typeMail, $numeroBon, $numeroFeuilleMaladie); - } - - if ($typeMail == 'mailfacturationfeuillemaladie') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - - $this->envoimail->ajoutermailfacturationfeuillemaladie($typeMail, $numeroFeuilleMaladie); - } - - if ($typeMail == 'mailpharmacie') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->envoimail->ajoutermailpharmacie($typeMail, $numeroFeuilleMaladie, $codePrestataire); - } - - if ($typeMail == 'maillabo') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->envoimail->ajoutermaillabo($typeMail, $numeroFeuilleMaladie, $codePrestataire); - } - - if ($typeMail == 'mailkine') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->envoimail->ajoutermailkine($typeMail, $numeroFeuilleMaladie, $codePrestataire); - } - - if ($typeMail == 'mailoptique') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->envoimail->ajoutermailoptique($typeMail, $numeroFeuilleMaladie, $codePrestataire); - } - - if ($typeMail == 'mailcommandebon') - { - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - $quantite = $this->requete->getParametreFormulaire("quantite"); - $prestataire = $this->requete->getParametreFormulaire("prestataire"); - - $this->envoimail->ajoutermailcommandebon($typeMail, $codeTypeBon, $quantite, $prestataire); - } - - if ($typeMail == 'mailreceptionbon') - { - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - $noDepart = $this->requete->getParametreFormulaire("noDepart"); - $noFin = $this->requete->getParametreFormulaire("noFin"); - $prestataire = $this->requete->getParametreFormulaire("prestataire"); - - $this->envoimail->ajoutermailreceptionbon($typeMail, $codeTypeBon, $noDepart, $noFin, $prestataire); - } - - if ($typeMail == 'maildemandeannulationbon') - { - $idBon = $this->requete->getParametreFormulaire("idBon"); - - $this->envoimail->ajoutermaildemandeannulationbon($typeMail, $idBon); - } - - if ($typeMail == 'maildemandederogation') - { - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $observations = $this->requete->getParametreFormulaire("observations"); - $prestataire = $this->requete->getParametreFormulaire("prestataire"); - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - - $this->envoimail->ajoutermaildemandederogation($typeMail, $codeDerogation, $observations, $prestataire, $idBeneficiaire); - } - - - if ($typeMail == 'mailfraudeidentite') - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $prestataire = $this->requete->getParametreFormulaire("prestataire"); - - $this->envoimail->ajoutermailfraudeidentite($typeMail, $idBeneficiaire, $prestataire); - } - - if ($typeMail == 'mailententeprealable') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $this->envoimail->ajoutermailententeprealable($typeMail, $numeroFeuilleMaladie, $codeActe); - } - - if ($typeMail == 'mailautorisation') - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $this->envoimail->ajoutermailautorisation($typeMail, $numeroFeuilleMaladie, $codeActe); - } - - if ($typeMail == 'mailententeprealablepha') - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->envoimail->ajoutermailententeprealablepha($typeMail, $idMedicament); - } - - if ($typeMail == 'mailententeprealableopt') - { - $idOptique = $this->requete->getParametreFormulaire("idOptique"); - - $this->envoimail->ajoutermailententeprealableopt($typeMail, $idOptique); - } - - if ($typeMail == 'mailententeprealablemont') - { - $idOptique = $this->requete->getParametreFormulaire("idOptique"); - - $this->envoimail->ajoutermailententeprealablemont($typeMail, $idOptique); - } - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxmessagerie.php b/Controleur/ControleurAjaxmessagerie.php deleted file mode 100755 index 0f89393..0000000 --- a/Controleur/ControleurAjaxmessagerie.php +++ /dev/null @@ -1,83 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - // Ajout du 26/10/2024 => déconnecter si session expirée - $deconnexion='0'; - $dureeSession = (isset($_SESSION['dureeSession'])) ? $_SESSION['dureeSession'] : 10; - $session_expiree = session_expiree($dureeSession); - if($session_expiree) - { - session_destroy(); - $deconnexion='1'; - } - - /* - var_dump - ( - array - ( - "session_expiree" => $session_expiree, - "time" => time(), - "dureeSession" => $_SESSION['dureeSession'], - "derniere_action" => $_SESSION['derniere_action'], - "codeSociete" => $_SESSION['codeSociete'], - "dureeSession*60" => $_SESSION['dureeSession']*60, - "time() - derniere_action" => time() - $_SESSION['derniere_action'] - ) - ); - */ - - if (!isset($_SESSION['codeSociete'])) - { - $deconnexion='1'; - } - - $_SESSION['deconnexion'] = $deconnexion; - - $this->genererVueAjax(array('deconnexion' => $deconnexion)); - - /* - $nbMessagesNonLus = $this->messagerie->countmessagesnonlus(); - - $this->genererVueAjax(array('nbMessagesNonLus' => $nbMessagesNonLus, - 'deconnexion' => $deconnexion)); - */ - } - - public function creermessage() - { - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - $idParent = $this->requete->getParametreFormulaire("idParent"); - - $this->messagerie->creermessage($textMessage, $idParent); - } - - public function marquercommelu() - { - $idMessagerie = $this->requete->getParametreFormulaire("idMessagerie"); - - // $this->messagerie->marquercommelu($idMessagerie); - $this->messagerie->marquercommeluser($idMessagerie); - } - - - public function repondremessage() - { - $idMessagerie = $this->requete->getParametreFormulaire("idMessagerie"); - $idParent = $this->requete->getParametreFormulaire("idParent"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->repondremessage($idMessagerie, $idParent, $textMessage); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxmessageriehistorique.php b/Controleur/ControleurAjaxmessageriehistorique.php deleted file mode 100755 index c433cc7..0000000 --- a/Controleur/ControleurAjaxmessageriehistorique.php +++ /dev/null @@ -1,21 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $idParent = $this->requete->getParametreFormulaire("idParent"); - - $messages = $this->messagerie->getmessageriehistorique($idParent) ; - - $this->genererVueAjax(array('messages' => $messages)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxmessagerieliste.php b/Controleur/ControleurAjaxmessagerieliste.php deleted file mode 100755 index bec168a..0000000 --- a/Controleur/ControleurAjaxmessagerieliste.php +++ /dev/null @@ -1,38 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $messagesnonlus = $this->messagerie->getmessagesnonlus(); - - $this->genererVueAjax(array('messagesnonlus' => $messagesnonlus)); - } - - public function marquercommelu() - { - $idMessagerie = $this->requete->getParametreFormulaire("idMessagerie"); - - // $this->messagerie->marquercommelu($idMessagerie); - $this->messagerie->marquercommeluser($idMessagerie); - - // $this->executerAction("index"); - } - - public function derniermessage() - { - // $derniermessage = $this->messagerie->getderniermessagenonlu(); - - $derniermessage = $this->messagerie->getderniermessagenonluuser(); - - $this->genererVueAjax(array('derniermessage' => $derniermessage)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxmessagerienew.php b/Controleur/ControleurAjaxmessagerienew.php deleted file mode 100755 index 1ce198c..0000000 --- a/Controleur/ControleurAjaxmessagerienew.php +++ /dev/null @@ -1,16 +0,0 @@ -genererVueAjax(); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxmessageriereponse.php b/Controleur/ControleurAjaxmessageriereponse.php deleted file mode 100755 index 9004a33..0000000 --- a/Controleur/ControleurAjaxmessageriereponse.php +++ /dev/null @@ -1,24 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $idMessagerie = $this->requete->getParametreFormulaire("idMessagerie"); - $idParent = $this->requete->getParametreFormulaire("idParent"); - - $message_reponse = $this->messagerie->getmessageriesimple($idMessagerie, $idParent) ; - - $this->genererVueAjax(array('message_reponse' => $message_reponse)); - - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxnbrelignebaremecollege.php b/Controleur/ControleurAjaxnbrelignebaremecollege.php deleted file mode 100755 index 93d274e..0000000 --- a/Controleur/ControleurAjaxnbrelignebaremecollege.php +++ /dev/null @@ -1,63 +0,0 @@ -garantie = new Garantiesbaremepriseencharge(); - } - - public function index() - { - - $this->genererVueAjax(); - } - - - public function garantiesbaremepriseencharge() - { - $table = $this->requete->getParametreFormulaire("table"); - - $nbgarantie = $this->garantie->getNbreLigneBareme($table); - - $this->genererVueAjax(array('nbgarantie'=>$nbgarantie)); - } - - public function garantiesbaremepriseenchargelienparente() - { - $table = $this->requete->getParametreFormulaire("table"); - - $nbgarantieLien = $this->garantie->getNbreLigneBareme($table); - - $this->genererVueAjax(array('nbgarantieLien'=>$nbgarantieLien)); - } - - public function actesbaremepriseencharge() - { - $table = $this->requete->getParametreFormulaire("table"); - - $nbacte = $this->garantie->getNbreLigneBareme($table); - - $this->genererVueAjax(array('nbacte'=>$nbacte)); - } - - public function actesbaremepriseenchargelienparente() - { - $table = $this->requete->getParametreFormulaire("table"); - - $nbacteLien = $this->garantie->getNbreLigneBareme($table); - - $this->genererVueAjax(array('nbacteLien'=>$nbacteLien)); - } - - public function detailbareme() - { - $table = $this->requete->getParametreFormulaire("table"); - - $nbdetail = $this->garantie->getNbreLigneBareme($table); - - $this->genererVueAjax(array('nbdetail'=>$nbdetail)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxnotesbeneficiaire.php b/Controleur/ControleurAjaxnotesbeneficiaire.php deleted file mode 100755 index 3bb8653..0000000 --- a/Controleur/ControleurAjaxnotesbeneficiaire.php +++ /dev/null @@ -1,22 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $notesfeuillemaladie = $this->feuillemaladie->getnotesBeneficiaire($idBeneficiaire); - - $this->genererVueAjax(array('notesfeuillemaladie' => $notesfeuillemaladie)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxnotesfeuillemaladie.php b/Controleur/ControleurAjaxnotesfeuillemaladie.php deleted file mode 100755 index 9a05873..0000000 --- a/Controleur/ControleurAjaxnotesfeuillemaladie.php +++ /dev/null @@ -1,36 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $notesfeuillemaladie = $this->feuillemaladie->getnotesfeuillemaladie($numeroFeuilleMaladie); - - $this->genererVueAjax(array('notesfeuillemaladie' => $notesfeuillemaladie)); - } - - public function nouvellenote() - { - $this->genererVueAjax(); - } - - public function creernote() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $notesNew = $this->requete->getParametreFormulaire("notesNew"); - - $this->feuillemaladie->creernote($numeroFeuilleMaladie, $notesNew); - } - -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxplafondadherent.php b/Controleur/ControleurAjaxplafondadherent.php deleted file mode 100755 index 4227d99..0000000 --- a/Controleur/ControleurAjaxplafondadherent.php +++ /dev/null @@ -1,24 +0,0 @@ -garantieadherent = new Garantieadherent(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $idEntetecontrat = $this->requete->getParametreFormulaire("idEntetecontrat"); - - $garantieadherents = $this->garantieadherent->getGarantieAdherentEnteteContrat($idAdherent, $idEntetecontrat); - - $this->genererVueAjax(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxplafondbeneficiaire.php b/Controleur/ControleurAjaxplafondbeneficiaire.php deleted file mode 100755 index 26a1e71..0000000 --- a/Controleur/ControleurAjaxplafondbeneficiaire.php +++ /dev/null @@ -1,25 +0,0 @@ -garantieadherent = new Garantieadherent(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $idEntetecontrat = $this->requete->getParametreFormulaire("idEntetecontrat"); - - $garantieadherents = $this->garantieadherent->getGarantieBeneficiaireEnteteContrat($idBeneficiaire, $idEntetecontrat); - - $this->genererVueAjax(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequeteentetefacture.php b/Controleur/ControleurAjaxrequeteentetefacture.php deleted file mode 100755 index 611481f..0000000 --- a/Controleur/ControleurAjaxrequeteentetefacture.php +++ /dev/null @@ -1,17 +0,0 @@ -ouinonfacture = (new Ouinon())->getListe(); - $this->ouinonhospit = (new Ouinon())->getListe(); - $this->ouinonchirurgie = (new Ouinon())->getListe(); - } - - public function index() { - $this->genererVueAjax(array('ouinonhospit' => $this->ouinonhospit, 'ouinonchirurgie' => $this->ouinonchirurgie)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequeteentetefeuillemaladie.php b/Controleur/ControleurAjaxrequeteentetefeuillemaladie.php deleted file mode 100755 index 735ed0f..0000000 --- a/Controleur/ControleurAjaxrequeteentetefeuillemaladie.php +++ /dev/null @@ -1,21 +0,0 @@ -raison = (new Raisonconsultation())->getListe(); - $this->ouinonfacture = (new Ouinon())->getListe(); - $this->ouinonhospit = (new Ouinon())->getListe(); - $this->ouinonchirurgie = (new Ouinon())->getListe(); - } - - public function index() { - $this->genererVueAjax(array('raison' => $this->raison, 'ouinonfacture' => $this->ouinonfacture, - 'ouinonhospit' => $this->ouinonhospit, 'ouinonchirurgie' => $this->ouinonchirurgie)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequeteenteteoptique.php b/Controleur/ControleurAjaxrequeteenteteoptique.php deleted file mode 100755 index 6380c87..0000000 --- a/Controleur/ControleurAjaxrequeteenteteoptique.php +++ /dev/null @@ -1,15 +0,0 @@ -prestataireprescription = (new Prestataire())->getListeTypePrestataire("CSO"); - } - - public function index() { - $this->genererVueAjax(array('prestataireprescription' => $this->prestataireprescription)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequeteentetepharmacie.php b/Controleur/ControleurAjaxrequeteentetepharmacie.php deleted file mode 100755 index a7f0785..0000000 --- a/Controleur/ControleurAjaxrequeteentetepharmacie.php +++ /dev/null @@ -1,15 +0,0 @@ -prestataireprescription = (new Prestataire())->getListeTypePrestataire("CSO"); - } - - public function index() { - $this->genererVueAjax(array('prestataireprescription' => $this->prestataireprescription)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequeteentetepharmacieb.php b/Controleur/ControleurAjaxrequeteentetepharmacieb.php deleted file mode 100755 index a4e4df3..0000000 --- a/Controleur/ControleurAjaxrequeteentetepharmacieb.php +++ /dev/null @@ -1,15 +0,0 @@ -prestataireprescription = (new Prestataire())->getListeTypePrestataire("CSO"); - } - - public function index() { - $this->genererVueAjax(array('prestataireprescription' => $this->prestataireprescription)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequeteenteteprestationactes.php b/Controleur/ControleurAjaxrequeteenteteprestationactes.php deleted file mode 100755 index 23d906e..0000000 --- a/Controleur/ControleurAjaxrequeteenteteprestationactes.php +++ /dev/null @@ -1,22 +0,0 @@ -typeprestation = (new Typeprestation())->getListe(); - $this->ouinonfacture = (new Ouinon())->getListe(); - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() { - $this->genererVueAjax(array('typeprestation' => $this->typeprestation, 'ouinonfacture' => $this->ouinonfacture, - 'reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequetefacture.php b/Controleur/ControleurAjaxrequetefacture.php deleted file mode 100755 index 106f127..0000000 --- a/Controleur/ControleurAjaxrequetefacture.php +++ /dev/null @@ -1,66 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOrdonnance1 = $this->requete->getParametreFormulaire("numeroBonOrdonnance1"); - $numeroBonOrdonnance2 = $this->requete->getParametreFormulaire("numeroBonOrdonnance2"); - - $numeroBonHospitalisation1 = $this->requete->getParametreFormulaire("numeroBonHospitalisation1"); - $numeroBonHospitalisation2 = $this->requete->getParametreFormulaire("numeroBonHospitalisation2"); - - $numeroBonOptique1 = $this->requete->getParametreFormulaire("numeroBonOptique1"); - $numeroBonOptique2 = $this->requete->getParametreFormulaire("numeroBonOptique2"); - - // Ligne 3 - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - - $numeroDecompte1 = $this->requete->getParametreFormulaire("numeroDecompte1"); - $numeroDecompte2 = $this->requete->getParametreFormulaire("numeroDecompte2"); - - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - $numeroChambre = $this->requete->getParametreFormulaire("numeroChambre"); - $chirurgie = $this->requete->getParametreFormulaire("chirurgie"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacture($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) ; - - $factures_total = $this->facture->requetesfacturetotal($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) ; - - $this->genererVueAjax(array('factures' => $factures, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/Controleur/ControleurAjaxrequetefactureexport.php b/Controleur/ControleurAjaxrequetefactureexport.php deleted file mode 100755 index 87480b3..0000000 --- a/Controleur/ControleurAjaxrequetefactureexport.php +++ /dev/null @@ -1,138 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOrdonnance1 = $this->requete->getParametreFormulaire("numeroBonOrdonnance1"); - $numeroBonOrdonnance2 = $this->requete->getParametreFormulaire("numeroBonOrdonnance2"); - - $numeroBonHospitalisation1 = $this->requete->getParametreFormulaire("numeroBonHospitalisation1"); - $numeroBonHospitalisation2 = $this->requete->getParametreFormulaire("numeroBonHospitalisation2"); - - $numeroBonOptique1 = $this->requete->getParametreFormulaire("numeroBonOptique1"); - $numeroBonOptique2 = $this->requete->getParametreFormulaire("numeroBonOptique2"); - - // Ligne 3 - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - - $numeroDecompte1 = $this->requete->getParametreFormulaire("numeroDecompte1"); - $numeroDecompte2 = $this->requete->getParametreFormulaire("numeroDecompte2"); - - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - $numeroChambre = $this->requete->getParametreFormulaire("numeroChambre"); - $chirurgie = $this->requete->getParametreFormulaire("chirurgie"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfactureexport($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) ; - - // Excel - /* - $headerXLS = array( - 'prestataire', - 'dateSysteme', - 'NoAdherent', - 'adherent', - 'NoBeneficiaire', - 'beneficiaire', - 'NoFeuille', - 'dateFacture', - 'NoBonCons', - 'NoBonOrd', - 'NoBonHosp', - 'NoBonOpt', - 'fraisReel', - 'TM', - 'Arembourser', - 'Exclu', - 'Retenu', - 'MtForce', - 'Redresse', - 'Apayer', - 'Paye', - 'Rembourse', - 'hospitalisation', - 'Hospit', - 'chirurgie', - 'NoDecompte', - 'valide', - 'regle', - 'login'); - */ - - $headerXLS = array( - 'prestataire', - 'NoAdherent', - 'adherent', - 'NoBeneficiaire', - 'beneficiaire', - 'dateFacture', - 'NoBon', - 'fraisReel', - 'TM', - 'Arembourser', - 'Depass', - 'Retenu'); - - $dataXLS = array(); - - - foreach ($factures as $facture) - { - $dataXLS[]=$facture; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle('FACTURES MEDICARE'); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/FACTURES_MEDICARE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
| = _('Légende').':'?> | -= _('Consommation').' >= 50%'?> | -- | - | - | = _('Consommation').' >= 80%'?> | -- | - | - | = _('Consommation').' = 100% / '._('Transaction').' = 100%'?> | -- | - |