From fc54c19d4cb38e49ddc1e61d1e1dc98eaeb14d12 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 25 Mar 2026 06:19:27 +0000 Subject: [PATCH] a --- Controleur/ControleurAjaxbaremelettrecle.php | 89 ++++ ...ControleurBaremepriseenchargelettrecle.php | 12 +- Vue/Accepterententeprealables_copy/index.php | 367 ---------------- Vue/Accepterententeprealables_old/index.php | 413 ------------------ Vue/Ajaxbaremelettrecle/controle.php | 4 + Vue/Ajaxbaremelettrecle/index.php | 109 +++++ 6 files changed, 205 insertions(+), 789 deletions(-) create mode 100755 Controleur/ControleurAjaxbaremelettrecle.php delete mode 100755 Vue/Accepterententeprealables_copy/index.php delete mode 100755 Vue/Accepterententeprealables_old/index.php create mode 100755 Vue/Ajaxbaremelettrecle/controle.php create mode 100755 Vue/Ajaxbaremelettrecle/index.php diff --git a/Controleur/ControleurAjaxbaremelettrecle.php b/Controleur/ControleurAjaxbaremelettrecle.php new file mode 100755 index 00000000..7b171c20 --- /dev/null +++ b/Controleur/ControleurAjaxbaremelettrecle.php @@ -0,0 +1,89 @@ +garantie = new Garantiesbaremepriseencharge(); + + } + + public function index() + { + $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); + $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("idBaremePriseEnCharge"); + + $actes = $this->garantie->getActesGarantieBaremeInitial($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->insererActeBaremeInitial($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->getMaxDateEffetActeBaremeInitial($idBaremePriseEnCharge,$codeGarantie,$codeActe); + + $this->genererVueAjax(array + ( + 'maxDateEffetActeBareme' => $maxDateEffetActeBareme + )); + + + } + + public function supprimer() + { + $idActe = $this->requete->getParametreFormulaire("idActe"); + + $this->garantie->supprimerActeBaremeInitial($idActe); + + } +} \ No newline at end of file diff --git a/Controleur/ControleurBaremepriseenchargelettrecle.php b/Controleur/ControleurBaremepriseenchargelettrecle.php index d7c9ff9e..0112a187 100755 --- a/Controleur/ControleurBaremepriseenchargelettrecle.php +++ b/Controleur/ControleurBaremepriseenchargelettrecle.php @@ -1,24 +1,18 @@ menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Baremepriseenchargelettrecle'); - $this->tarif = new Tarifsactes(); - $this->familleacte = new Familleacte(); - $this->prestataire = new Prestataire(); + $this->garantie = new Garantiesbaremepriseencharge(); } public function index() diff --git a/Vue/Accepterententeprealables_copy/index.php b/Vue/Accepterententeprealables_copy/index.php deleted file mode 100755 index d79b8c81..00000000 --- a/Vue/Accepterententeprealables_copy/index.php +++ /dev/null @@ -1,367 +0,0 @@ -titre = "INTER-SANTE - Autoriser un acte"; - -$codeActe = $this->nettoyer($ententeprealable['codeActe']); -$libelleActe = $this->nettoyer($ententeprealable['libelleActe']); -$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']); -$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']); - -$quantiteHospit = $this->nettoyer($ententeprealable['quantiteHospit']); - -$quantiteModifieeHospit = $this->nettoyer($ententeprealable['quantiteModifieeHospit']); - -$numeroBon = $this->nettoyer($ententeprealable['numeroBon']); - -if ($codeActe=="EXAM"){ - if (est_anglophone()){ - $libelleActe = "DISPLAY THE LIST OF VOUCHER ACTS: ".$numeroBonExamen; - }else{ - $libelleActe = "AFFICHER LA LISTE DES ACTES DU BON: ".$numeroBonExamen; - } -} -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "0") : ?> - - - - - - - - - - "0") : ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- - -
-

-
- -
-
- -

- - - -

- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - -
-

Voir les garanties

- -
-
- -
- - - - - - - - - - - - - - - - - - -
Niveau de consommation: Supérieur ou égal à 50%Supérieur ou égal à 80%Egal à 100% ou Nbre Transaction atteint
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - $pourcentConsoFamille = $this->nettoyer($garantieadherent['pourcentConsoFamille']); - $pourcentConso = $this->nettoyer($garantieadherent['pourcentConso']); - - $transactionFamille = $this->nettoyer($garantieadherent['transactionFamille']); - $transactionBeneficiaire = $this->nettoyer($garantieadherent['transactionBeneficiaire']); - $idBeneficiaire = $this->nettoyer($garantieadherent['idBeneficiaire']); - $codeGarantie = $this->nettoyer($garantieadherent['codeGarantie']); - $exercieReference = $this->nettoyer($garantieadherent['exercieReference']); - - $plafond = format_N($this->nettoyer($garantieadherent['plafond'])); - /* - $style=""; - if($plafond=="9 999 999 999"){ - $plafond = "8"; - $style="font-size:12pt;"; - } - */ - ?> - - ='50' && $pourcentConso<'80'): ?> - - ='80' && $pourcentConso <'100'): ?> - - ='100' || $transactionBeneficiaire=="1"): ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> - ='95' || $transactionBeneficiaire=="1"): ?> - - - nettoyer($garantieadherent['garantie'])?> - - - - nettoyer($garantieadherent['garantie'])?> - - nettoyer($garantieadherent['tauxPlafond']).'%'; ?>nettoyer($garantieadherent['codePeriodicite']) ?>nettoyer($garantieadherent['nbreTransaction']) ?>nettoyer($garantieadherent['comptePrestationFamille'])) ?>nettoyer($garantieadherent['comptePrestation'])) ?>nettoyer($garantieadherent['consommationFamille'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['soldeGarantieFamille'])) ?>nettoyer($garantieadherent['soldeGarantie'])) ?>
-
-
- -
-

Voir les actes plafonnés

- -
- - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($v['libelle']); - $garantie = $this->nettoyer($v['garantie']); - $codeGarantie = $this->nettoyer($v['codeGarantie']); - $periodicite = $this->nettoyer($v['periodicite']); - $observation = $this->nettoyer($v['observation']); - if (est_anglophone()) - { - $libelle = $this->nettoyer($v['libelleEng']); - $garantie = $this->nettoyer($v['garantieEng']); - $periodicite = $this->nettoyer($v['periodiciteEng']); - $observation = $this->nettoyer($v['observationEng']); - } - $pourcentConsoFamille = $this->nettoyer($v['pourcentConsoFamille']); - $pourcentConso = $this->nettoyer($v['pourcentConso']); - $transactionFamille = $this->nettoyer($v['transactionFamille']); - $transactionBeneficiaire = $this->nettoyer($v['transactionBeneficiaire']); - $idBeneficiaire = $this->nettoyer($v['idBeneficiaire']); - $codeActe = $this->nettoyer($v['codeActe']); - $exercieReference = $this->nettoyer($v['exercieReference']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($v['tauxPlafond'])?>nettoyer($v['delaiCarenceActe'])?>nettoyer($v['forfaitPlafond']))?>nettoyer($v['nbreTransaction'])?>nettoyer($v['comptePrestationFamille'])) ?>nettoyer($v['comptePrestation'])) ?>nettoyer($v['consommationFamille'])) ?>nettoyer($v['consommation'])) ?>
-
-
diff --git a/Vue/Accepterententeprealables_old/index.php b/Vue/Accepterententeprealables_old/index.php deleted file mode 100755 index 5bef840d..00000000 --- a/Vue/Accepterententeprealables_old/index.php +++ /dev/null @@ -1,413 +0,0 @@ -titre = "INTER-SANTE - Autoriser un acte"; - -$codeActe = $this->nettoyer($ententeprealable['codeActe']); -$libelleActe = $this->nettoyer($ententeprealable['libelleActe']); -$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']); -$numeroFeuilleMaladie = $this->nettoyer($ententeprealable['numeroFeuilleMaladie']); -$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']); - -$numeroBon = $this->nettoyer($ententeprealable['numeroBon']); - -if ($codeActe=="EXAM"){ - if (est_anglophone()){ - $libelleActe = "DISPLAY THE LIST OF VOUCHER ACTS: ".$numeroBonExamen; - }else{ - $libelleActe = "AFFICHER LA LISTE DES ACTES DU BON: ".$numeroBonExamen; - } -} -//highlight_string(""); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "0") : ?> - - - - - - - - - - "0") : ?> - - - - - - - - - - - "0") : ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- - -
-

-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -

- - - -

- -
- -
-
- - - -
-

Voir les garanties

- -
-
- -
- - - - - - - - - - - - - - - - - - -
Niveau de consommation: Supérieur ou égal à 50%Supérieur ou égal à 80%Egal à 100% ou Nbre Transaction atteint
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - $pourcentConsoFamille = $this->nettoyer($garantieadherent['pourcentConsoFamille']); - $pourcentConso = $this->nettoyer($garantieadherent['pourcentConso']); - - $transactionFamille = $this->nettoyer($garantieadherent['transactionFamille']); - $transactionBeneficiaire = $this->nettoyer($garantieadherent['transactionBeneficiaire']); - $idBeneficiaire = $this->nettoyer($garantieadherent['idBeneficiaire']); - $codeGarantie = $this->nettoyer($garantieadherent['codeGarantie']); - $exercieReference = $this->nettoyer($garantieadherent['exercieReference']); - - $plafond = format_N($this->nettoyer($garantieadherent['plafond'])); - /* - $style=""; - if($plafond=="9 999 999 999"){ - $plafond = "∞"; - $style="font-size:12pt;"; - } - */ - ?> - - ='50' && $pourcentConso<'80'): ?> - - ='80' && $pourcentConso <'100'): ?> - - ='100' || $transactionBeneficiaire=="1"): ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> - ='95' || $transactionBeneficiaire=="1"): ?> - - - nettoyer($garantieadherent['garantie'])?> - - - - nettoyer($garantieadherent['garantie'])?> - - nettoyer($garantieadherent['tauxPlafond']).'%'; ?>nettoyer($garantieadherent['codePeriodicite']) ?>nettoyer($garantieadherent['nbreTransaction']) ?>nettoyer($garantieadherent['comptePrestationFamille'])) ?>nettoyer($garantieadherent['comptePrestation'])) ?>nettoyer($garantieadherent['consommationFamille'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['soldeGarantieFamille'])) ?>nettoyer($garantieadherent['soldeGarantie'])) ?>
-
-
- -
-

Voir les actes plafonnés

- -
- -
- - - - - - - - - - - - - - - - - - -
Niveau de consommation: Supérieur ou égal à 50%Supérieur ou égal à 80%Egal à 100% ou Nbre Transaction atteint
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($v['libelle']); - $garantie = $this->nettoyer($v['garantie']); - $codeGarantie = $this->nettoyer($v['codeGarantie']); - $periodicite = $this->nettoyer($v['periodicite']); - $observation = $this->nettoyer($v['observation']); - if (est_anglophone()) - { - $libelle = $this->nettoyer($v['libelleEng']); - $garantie = $this->nettoyer($v['garantieEng']); - $periodicite = $this->nettoyer($v['periodiciteEng']); - $observation = $this->nettoyer($v['observationEng']); - } - $pourcentConsoFamille = $this->nettoyer($v['pourcentConsoFamille']); - $pourcentConso = $this->nettoyer($v['pourcentConso']); - $transactionFamille = $this->nettoyer($v['transactionFamille']); - $transactionBeneficiaire = $this->nettoyer($v['transactionBeneficiaire']); - $idBeneficiaire = $this->nettoyer($v['idBeneficiaire']); - $codeActe = $this->nettoyer($v['codeActe']); - $exercieReference = $this->nettoyer($v['exercieReference']); - ?> - ='50' && $pourcentConso<'80'): ?> - - ='80' && $pourcentConso <'100'): ?> - - ='100' || $transactionBeneficiaire=="1"): ?> - - - - - - - - - - - - - - - - - - - - - -
nettoyer($v['tauxPlafond'])?>nettoyer($v['delaiCarenceActe'])?>nettoyer($v['forfaitPlafond']))?>nettoyer($v['nbreTransaction'])?>nettoyer($v['comptePrestationFamille'])) ?>nettoyer($v['comptePrestation'])) ?>nettoyer($v['consommationFamille'])) ?>nettoyer($v['consommation'])) ?>nettoyer($v['soldeActeFamille'])) ?>nettoyer($v['soldeActe'])) ?>
-
-
\ No newline at end of file diff --git a/Vue/Ajaxbaremelettrecle/controle.php b/Vue/Ajaxbaremelettrecle/controle.php new file mode 100755 index 00000000..ef5bc4c6 --- /dev/null +++ b/Vue/Ajaxbaremelettrecle/controle.php @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Vue/Ajaxbaremelettrecle/index.php b/Vue/Ajaxbaremelettrecle/index.php new file mode 100755 index 00000000..c21bff2e --- /dev/null +++ b/Vue/Ajaxbaremelettrecle/index.php @@ -0,0 +1,109 @@ + + + "0"): ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nettoyer($v['id']); + $supprime = $v['supprime']; + $libelle = $this->nettoyer($v['libelle']); + if (est_anglophone()) + { + $libelle = $this->nettoyer($v['libelleEng']); + } + + if($this->nettoyer($v['codeObservation'])=="VD"){ + $codeObservation = ""; + }else{ + $codeObservation = $this->nettoyer($v['codeObservation']); + } + + if($this->nettoyer($v['actif'])=="1"){ + $actif = "Oui"; + }else{ + $actif = "Non"; + } + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
nettoyer($v['dateEffet'])); ?>nettoyer($v['forfaitPlafondFamille'])); ?>nettoyer($v['codePeriodicitePlafondFamille']);?>nettoyer($v['nbreTransactionFamille']);?>nettoyer($v['codePeriodiciteFamille']);?>nettoyer($v['forfaitPlafond']));?>nettoyer($v['codePeriodicitePlafond']);?>nettoyer($v['nbreTransaction']);?>nettoyer($v['codePeriodicite']); ?> nettoyer($v['codeTypeRemboursement']); ?>nettoyer($v['delaiCarenceActe']);?>nettoyer($v['ticketModerateur']);?>nettoyer($v['forfaitTm']));?>nettoyer($v['ageMinimum']);?>nettoyer($v['ageMaximum']);?> + +
+ +
+ +
+ \ No newline at end of file