diff --git a/radiantproduction/Controleur/ControleurAccepteracteexclu.php b/radiantproduction/Controleur/ControleurAccepteracteexclu.php deleted file mode 100644 index 85a20c9..0000000 --- a/radiantproduction/Controleur/ControleurAccepteracteexclu.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepteracteexclu'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeautorisation = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getActeExcluId($idDemandeautorisation); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepteracteexclus.php b/radiantproduction/Controleur/ControleurAccepteracteexclus.php deleted file mode 100644 index 91bed4c..0000000 --- a/radiantproduction/Controleur/ControleurAccepteracteexclus.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepteracteexclus'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeautorisation = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getActeExcluId($idDemandeautorisation); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterderogation.php b/radiantproduction/Controleur/ControleurAccepterderogation.php deleted file mode 100644 index 9f59a0d..0000000 --- a/radiantproduction/Controleur/ControleurAccepterderogation.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterderogation'); - - $this->derogation = new Derogation(); - } - public function index() { - $idDemandederogation = $this->requete->getParametre("id"); - - $derogation = $this->derogation->getDerogationId($idDemandederogation); - - $this->genererVue(array('derogation' => $derogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterderogations.php b/radiantproduction/Controleur/ControleurAccepterderogations.php deleted file mode 100644 index f6059f1..0000000 --- a/radiantproduction/Controleur/ControleurAccepterderogations.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterderogations'); - - $this->derogation = new Derogation(); - } - public function index() - { - $idDemandederogation = $this->requete->getParametre("id"); - - $derogation = $this->derogation->getDerogationId($idDemandederogation); - - $this->genererVue(array('derogation' => $derogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterententeprealable.php b/radiantproduction/Controleur/ControleurAccepterententeprealable.php deleted file mode 100644 index f5f0f45..0000000 --- a/radiantproduction/Controleur/ControleurAccepterententeprealable.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterententeprealable'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterententeprealables.php b/radiantproduction/Controleur/ControleurAccepterententeprealables.php deleted file mode 100644 index f359684..0000000 --- a/radiantproduction/Controleur/ControleurAccepterententeprealables.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterententeprealables'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterententeprealablesmont.php b/radiantproduction/Controleur/ControleurAccepterententeprealablesmont.php deleted file mode 100644 index d3bb054..0000000 --- a/radiantproduction/Controleur/ControleurAccepterententeprealablesmont.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterententeprealablesmont'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealablemontId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterententeprealablesopt.php b/radiantproduction/Controleur/ControleurAccepterententeprealablesopt.php deleted file mode 100644 index 59c0800..0000000 --- a/radiantproduction/Controleur/ControleurAccepterententeprealablesopt.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterententeprealablesopt'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableoptId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccepterententeprealablespha.php b/radiantproduction/Controleur/ControleurAccepterententeprealablespha.php deleted file mode 100644 index 133cf8d..0000000 --- a/radiantproduction/Controleur/ControleurAccepterententeprealablespha.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accepterententeprealablespha'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealablephaId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccesmenuprincipalass.php b/radiantproduction/Controleur/ControleurAccesmenuprincipalass.php deleted file mode 100644 index 2c39942..0000000 --- a/radiantproduction/Controleur/ControleurAccesmenuprincipalass.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accesmenuprincipalass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profil = $this->utilisateur->getListeProfilCode(); - - $this->genererVue(array('profil' => $profil)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccessousmenusass.php b/radiantproduction/Controleur/ControleurAccessousmenusass.php deleted file mode 100644 index 88e4c72..0000000 --- a/radiantproduction/Controleur/ControleurAccessousmenusass.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Accessousmenusass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profil = $this->utilisateur->getListeProfilCode(); - $module = $this->utilisateur->getListeModule(); - - $codeModule = ""; - $listevue = $this->utilisateur->getListeVueModule($codeModule); - - $this->genererVue(array('profil' => $profil, 'module' => $module, 'listevue' => $listevue)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAccueil.php b/radiantproduction/Controleur/ControleurAccueil.php deleted file mode 100644 index 8e5ef43..0000000 --- a/radiantproduction/Controleur/ControleurAccueil.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Accueil"); - $this->billet = new Billet(); - } - - // Affiche la liste de tous les billets du blog - public function index() { - $billets = $this->billet->getBillets(); - $this->genererVue(array('billets' => $billets)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAdmin.php b/radiantproduction/Controleur/ControleurAdmin.php deleted file mode 100644 index 73eb8bf..0000000 --- a/radiantproduction/Controleur/ControleurAdmin.php +++ /dev/null @@ -1,38 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Admin"); - - $this->billet = new Billet(); - $this->commentaire = new Commentaire(); - } - - public function index() - { - $nbBillets = $this->billet->getNombreBillets(); - $nbCommentaires = $this->commentaire->getNombreCommentaires(); - $login = $this->requete->getSession()->getAttribut("login"); - $this->genererVue(array('nbBillets' => $nbBillets, 'nbCommentaires' => $nbCommentaires, 'login' => $login)); - } - -} - diff --git a/radiantproduction/Controleur/ControleurAfficherbons.php b/radiantproduction/Controleur/ControleurAfficherbons.php deleted file mode 100644 index d7791c7..0000000 --- a/radiantproduction/Controleur/ControleurAfficherbons.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Afficherbons'); - - $this->typebon = (new Typebon())->getListe(); - $this->etatbon = (new Etatbon())->getListe(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire_courant' => $prestataire_courant, 'typebon' => $this->typebon, 'etatbon' => $this->etatbon)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAgentcommercial.php b/radiantproduction/Controleur/ControleurAgentcommercial.php deleted file mode 100644 index 3f349d1..0000000 --- a/radiantproduction/Controleur/ControleurAgentcommercial.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Agentcommercial"); - - $this->apporteur = new Apporteur(); - } - - public function index() - { - $idApporteur = $this->requete->getParametre("id"); - $_SESSION['idApporteur_C'] = $idApporteur; - - $apporteur = $this->apporteur->afficheruncommercial($idApporteur); - - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $codeApporteur = $apporteur['codeApporteur']; - $libelleApporteur = $apporteur['codeApporteur']; - - $_SESSION['codeTypeApporteur_C'] = $codeTypeApporteur; - $_SESSION['codeApporteur_C'] = $codeApporteur; - $_SESSION['libelleApporteur_C'] = $libelleApporteur; - - $this->genererVue(array('apporteur' => $apporteur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxAjaxrequeteverificateurrexport.php b/radiantproduction/Controleur/ControleurAjaxAjaxrequeteverificateurrexport.php deleted file mode 100644 index e19bf99..0000000 --- a/radiantproduction/Controleur/ControleurAjaxAjaxrequeteverificateurrexport.php +++ /dev/null @@ -1,73 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturelegerexport($dateFacture1, $dateFacture2); - - // Excel - $headerXLS = array - ( - _('No Fact'), - _('Fact Mig'), - _('Prestataire'), - _('Souscripteur'), - _('Date'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('No Police') - ); - - $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 LEGERES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_LEGERE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
apporteur = new Apporteur(); - } - - public function index() - { - $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $libelleApporteur = $this->requete->getParametreFormulaire("libelleApporteur"); - - $apporteurs = $this->apporteur->recherchercommercaiauxtypeparam($codeTypeApporteur, $libelleApporteur); - - $this->genererVueAjax(array('apporteurs' => $apporteurs)); - } - - public function tous() - { - $libelleApporteur = $this->requete->getParametreFormulaire("libelleApporteur"); - - $apporteurs = $this->apporteur->recherchercommercaiauxtypeparamtous($libelleApporteur); - - $this->genererVueAjax(array('apporteurs' => $apporteurs)); - } - - public function exporterlistecommercail() - { - $donnees = $this->apporteur->exporterlistecommercail(); - - // Excel - $headerXLS = array - ( - _('Type'), - _('Nom'), - _('Code'), - _('Tél Portable'), - _('E-mail'), - _('Adresse Géo'), - _('Adresse Post') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE COMMERCIAUX')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('LISTE COMMERCIAUX'))); - $feuille->mergeCells('B1:D1'); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LIST_COMERCIAUX'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
apporteur = new Apporteur(); - } - - public function index() - { - $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $libelleApporteur = $this->requete->getParametreFormulaire("libelleApporteur"); - - $apporteurs = $this->apporteur->recherchercommercaiauxtypeparam($codeTypeApporteur, $libelleApporteur); - - $this->genererVueAjax(array('apporteurs' => $apporteurs)); - } - - public function tous() - { - $libelleApporteur = $this->requete->getParametreFormulaire("libelleApporteur"); - - $apporteurs = $this->apporteur->recherchercommercaiauxtypeparamtous($libelleApporteur); - - $this->genererVueAjax(array('apporteurs' => $apporteurs)); - } - - public function enregistrernouveaucommercial() - { - $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - - $this->apporteur->enregistrernouveaucommercial($codeTypeApporteur, $libelle, $telephone, $email, $adresseGeo, $adressePost); - } - - public function enregistrermodifcommercial() - { - $idApporteur = $this->requete->getParametreFormulaire("idApporteur"); - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - - $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - - $this->apporteur->enregistrermodifcommercial($idApporteur, $codeApporteur, $codeTypeApporteur, $libelle, $telephone, - $email, $adresseGeo, $adressePost); - } - - public function exporterlistecommercail() - { - $donnees = $this->apporteur->exporterlistecommercail(); - - // Excel - $headerXLS = array - ( - _('Type'), - _('Nom'), - _('Code'), - _('Tél Portable'), - _('E-mail'), - _('Adresse Géo'), - _('Adresse Post') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE COMMERCIAUX')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('LISTE COMMERCIAUX'))); - $feuille->mergeCells('B1:D1'); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LIST_COMERCIAUX'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
acte = new Acte(); - $this->familleacte = new Familleacte(); - $this->oui_non = new Ouinon(); - $this->garantie = new Garantie(); - $this->tarif = new Tarifsactes(); - $this->typeprestation = new Typeprestation(); - } - - public function index() - { - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - - $actes = $this->acte->getcaracteristiquesacte($codeFamilleActe, $libelleActe); - - $this->genererVueAjax(array('actes' => $actes)); - } - - - public function contexteacte() - { - $_SESSION['idActe_C'] = $this->requete->getParametre("idActe"); - $this->genererVueAjax(array('idActe' => $_SESSION['idActe_C'])); - } - - - public function fichecracteristiquesacte() - { - $_SESSION['idActe_C'] = $this->requete->getParametre("idActe"); - - $idActe = $_SESSION['idActe_C']; - - $acte = $this->acte->getcaracteristiqueunsacte($idActe); - $familleacte = $this->familleacte->getListeCode(); - $acte_ententePrealable = $this->oui_non->getListe(); - $acte_exclu = $this->oui_non->getListe(); - $acte_chirurgie = $this->oui_non->getListe(); - $acte_actif = $this->oui_non->getListe(); - $garanties = $this->garantie->getListePourActe(); - $tarifs = $this->tarif->getListeCreation(); - $typesprestation = $this->typeprestation->getListe(); - $acte_alerte = $this->oui_non->getListe(); - - - $this->genererVueAjax(array('acte' => $acte, 'acte_ententePrealable' => $acte_ententePrealable, - 'acte_exclu' => $acte_exclu, 'acte_chirurgie' => $acte_chirurgie, 'acte_actif' => $acte_actif, - 'idActe' => $idActe, 'familleacte' => $familleacte, 'garanties' => $garanties, 'tarifs' => $tarifs, - 'typesprestation' => $typesprestation, 'acte_alerte' => $acte_alerte)); - } - - public function enregistrermodifcaracteristiquesacte() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - - $exclu = $this->requete->getParametreFormulaire("exclu"); - $actif = $this->requete->getParametreFormulaire("actif"); - $alerte = $this->requete->getParametreFormulaire("alerte"); - $delaiCarenceActe = $this->requete->getParametreFormulaire("delaiCarenceActe", "numerique"); - - /* - echo "idActe => $idActe
"; - echo "codeActe => $codeActe
"; - echo "libelle => $libelle
"; - exit(); - */ - - $this->acte->enregistrermodifcaracteristiquesacte($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe); - - // $this->genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxactefamilleparam.php b/radiantproduction/Controleur/ControleurAjaxactefamilleparam.php deleted file mode 100644 index f85e730..0000000 --- a/radiantproduction/Controleur/ControleurAjaxactefamilleparam.php +++ /dev/null @@ -1,46 +0,0 @@ -acte = new Acte(); - } - - public function index() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - $_SESSION['codeFamilleActe_C'] = $codeFamilleActe; - - $actes = $this->acte->rechercheractesfamilleparam($codeTarifActe, $codeFamilleActe, $libelleActe); - - $this->genererVueAjax(array('actes' => $actes)); - } - - public function tous() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - $_SESSION['codeFamilleActe_C'] = ""; - - $actes = $this->acte->rechercheractesfamilleparamtous($codeTarifActe, $libelleActe); - - $this->genererVueAjax(array('actes' => $actes)); - } - - public function maj() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - $prix = $this->requete->getParametreFormulaire("prix"); - - $this->detailtarif->majPrix($idDetail, $prix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxactesexclus.php b/radiantproduction/Controleur/ControleurAjaxactesexclus.php deleted file mode 100644 index 0ed2803..0000000 --- a/radiantproduction/Controleur/ControleurAjaxactesexclus.php +++ /dev/null @@ -1,26 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeReponseAutorisation = $this->requete->getParametreFormulaire("codeReponseAutorisation"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $ententeprealables = $this->ententeprealable->getActesExclus($codePrestataire, $codeReponseAutorisation, $debut, $fin); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxactesexclusbenficiaire.php b/radiantproduction/Controleur/ControleurAjaxactesexclusbenficiaire.php deleted file mode 100644 index 3f9aefd..0000000 --- a/radiantproduction/Controleur/ControleurAjaxactesexclusbenficiaire.php +++ /dev/null @@ -1,22 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $ententeprealables = $this->ententeprealable->getacteexclusbenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxactespossiblesselectiondec.php b/radiantproduction/Controleur/ControleurAjaxactespossiblesselectiondec.php deleted file mode 100644 index 5f088b6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxactespossiblesselectiondec.php +++ /dev/null @@ -1,21 +0,0 @@ -acte = new Detailtarifactedec(); - } - - public function index() - { - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - - $actes = $this->acte->geatactesspossiblesselectiondec($codeFamilleActe); - - $this->genererVueAjax(array('actes' => $actes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxadherent.php b/radiantproduction/Controleur/ControleurAjaxadherent.php deleted file mode 100644 index 8a4ed70..0000000 --- a/radiantproduction/Controleur/ControleurAjaxadherent.php +++ /dev/null @@ -1,30 +0,0 @@ -adherent = new Adherent(); - } - - public function index() { - $this->genererVueAjax(); - } - - public function supprimer() { - $idAherent = $this->requete->getParametreFormulaire("idAherent"); - $this->adherent->supprimer($idAherent); - - // On actualise le contexte : NbAdh et NbAss - $idPolice = $_SESSION['idPolice_C']; - $this->adherent->getNbassure($idPolice); - } - - public function recalculersoldefamille() - { - $this->adherent->recalculersoldefamille(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxafficherajoutactesdec.php b/radiantproduction/Controleur/ControleurAjaxafficherajoutactesdec.php deleted file mode 100644 index 35706f7..0000000 --- a/radiantproduction/Controleur/ControleurAjaxafficherajoutactesdec.php +++ /dev/null @@ -1,38 +0,0 @@ -acte = new Actes_temp(); - } - - public function index() - { - $prestations = $this->acte->get_prestations_ajoute_dec(); - - $this->genererVueAjax(array('prestations' => $prestations)); - } - - public function ajouteractedecompte() - { - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - - $this->acte->ajouteractedecompte($codeActe, $ententePrealable); - - $this->executerAction("index"); - } - - public function retireractedecompte() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - - $this->acte->retireractedecompte($idActe); - - $this->executerAction("index"); - } - -} diff --git a/radiantproduction/Controleur/ControleurAjaxafficherbons.php b/radiantproduction/Controleur/ControleurAjaxafficherbons.php deleted file mode 100644 index 22fbf40..0000000 --- a/radiantproduction/Controleur/ControleurAjaxafficherbons.php +++ /dev/null @@ -1,44 +0,0 @@ -bonpec = new Bonpec(); - $this->typebon = new Typebon(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeTypeBon = $this->requete->getParametre("codeTypeBon"); - $codeEtatBon = $this->requete->getParametreFormulaire("codeEtatBon"); - $noDepart = $this->requete->getParametreFormulaire("noDepart", "numerique"); - $noFin = $this->requete->getParametreFormulaire("noFin", "numerique"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $bonpecs = $this->bonpec->afficherBonpecs($codePrestataire, $codeTypeBon, $codeEtatBon, $noDepart, $noFin); - - $this->genererVueAjax(array('bonpecs' => $bonpecs)); - } - - public function annulerBon() { - $idBon = $this->requete->getParametreFormulaire("idBon"); - $motifAnnulation = $this->requete->getParametreFormulaire("motifAnnulation"); - - $this->bonpec->annulerBonId($idBon, $motifAnnulation); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxafficherverifierfacture.php b/radiantproduction/Controleur/ControleurAjaxafficherverifierfacture.php deleted file mode 100644 index 0f72b9b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxafficherverifierfacture.php +++ /dev/null @@ -1,71 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idFacture = $_SESSION['idFacture_C']; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->afficherprestationsfeuille_temp(); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } - - public function validerprestation() - { - $idPrestationactes = $this->requete->getParametreFormulaire("idPrestationactes"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->prestations->validerprestation($idPrestationactes, $choix); - - $this->executerAction("index"); - } - - public function validerfacturedec() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $this->prestations->validerfacturedec($idFacture); - } - - public function reinitfacturedec() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $this->prestations->reinitfacturedec($idFacture); - - $this->executerAction("index"); - } - - public function majmontantforce() - { - $idPrestationactes = $this->requete->getParametreFormulaire("idPrestationactes"); - $montantForce = $this->requete->getParametreFormulaire("montantForce"); - - $this->prestations->majmontantforce($idPrestationactes, $montantForce); - - $this->executerAction("index"); - } - - public function substituermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->prescription->annulersubstitutionmedicament($idMedicament); - - // $this->executerAction("index"); - } - -} diff --git a/radiantproduction/Controleur/ControleurAjaxafficherverifierfactureopt.php b/radiantproduction/Controleur/ControleurAjaxafficherverifierfactureopt.php deleted file mode 100644 index 75b1799..0000000 --- a/radiantproduction/Controleur/ControleurAjaxafficherverifierfactureopt.php +++ /dev/null @@ -1,70 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->afficherprestationsfeuille_temp_opt(); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } - - public function validerprestation() - { - $idPrestationactes = $this->requete->getParametreFormulaire("idPrestationactes"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->prestations->validerprestation($idPrestationactes, $choix); - - $this->executerAction("index"); - } - - public function validerfacturedec() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $this->prestations->validerfacturedecopt($idFacture); - } - - public function reinitfacturedec() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $this->prestations->reinitfacturedec($idFacture); - - $this->executerAction("index"); - } - - public function majmontantforce() - { - $idPrestationactes = $this->requete->getParametreFormulaire("idPrestationactes"); - $montantForce = $this->requete->getParametreFormulaire("montantForce"); - - $this->prestations->majmontantforce($idPrestationactes, $montantForce); - - $this->executerAction("index"); - } - - public function substituermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->prescription->annulersubstitutionmedicament($idMedicament); - - // $this->executerAction("index"); - } - -} diff --git a/radiantproduction/Controleur/ControleurAjaxafficherverifierfacturepha.php b/radiantproduction/Controleur/ControleurAjaxafficherverifierfacturepha.php deleted file mode 100644 index a777e45..0000000 --- a/radiantproduction/Controleur/ControleurAjaxafficherverifierfacturepha.php +++ /dev/null @@ -1,70 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->afficherprestationsfeuille_temp_pha(); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } - - public function validerprestation() - { - $idPrestationactes = $this->requete->getParametreFormulaire("idPrestationactes"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->prestations->validerprestation($idPrestationactes, $choix); - - $this->executerAction("index"); - } - - public function validerfacturedec() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $this->prestations->validerfacturedecpha($idFacture); - } - - public function reinitfacturedec() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $this->prestations->reinitfacturedec($idFacture); - - $this->executerAction("index"); - } - - public function majmontantforce() - { - $idPrestationactes = $this->requete->getParametreFormulaire("idPrestationactes"); - $montantForce = $this->requete->getParametreFormulaire("montantForce"); - - $this->prestations->majmontantforce($idPrestationactes, $montantForce); - - $this->executerAction("index"); - } - - public function substituermedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - - $this->prescription->annulersubstitutionmedicament($idMedicament); - - // $this->executerAction("index"); - } - -} diff --git a/radiantproduction/Controleur/ControleurAjaxajoutactesdec.php b/radiantproduction/Controleur/ControleurAjaxajoutactesdec.php deleted file mode 100644 index 2952d99..0000000 --- a/radiantproduction/Controleur/ControleurAjaxajoutactesdec.php +++ /dev/null @@ -1,22 +0,0 @@ -acte = new Actes_temp(); - } - - public function index() - { - $codeTarifActe = $_SESSION['codeTarifActe_Dec'] ; - - $familleacte = $this->acte->getListeFamilleComplet($codeTarifActe) ; - - $prestations = $this->acte->get_prestations_ajoute_dec(); - - $this->genererVueAjax(array('familleacte' => $familleacte, 'prestations' => $prestations)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxalistedemandebon.php b/radiantproduction/Controleur/ControleurAjaxalistedemandebon.php deleted file mode 100644 index e320976..0000000 --- a/radiantproduction/Controleur/ControleurAjaxalistedemandebon.php +++ /dev/null @@ -1,29 +0,0 @@ -demandesbons = new Demandebonpec(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $demandesbons = $this->demandesbons->getDemandeBons($codePrestataire, $codeTypeBon, $d1, $d2); - - $this->genererVueAjax(array('demandesbons' => $demandesbons)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxalistegenererbons.php b/radiantproduction/Controleur/ControleurAjaxalistegenererbons.php deleted file mode 100644 index b784925..0000000 --- a/radiantproduction/Controleur/ControleurAjaxalistegenererbons.php +++ /dev/null @@ -1,29 +0,0 @@ -generartionbon = new Generartionbon(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeTypeBon = $this->requete->getParametre("codeTypeBon"); - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $generartionbons = $this->generartionbon->afficherListeGenererBonpecs($codePrestataire, $codeTypeBon, $d1, $d2); - - $this->genererVueAjax(array('generartionbons' => $generartionbons)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxanomaliesdecomptes.php b/radiantproduction/Controleur/ControleurAjaxanomaliesdecomptes.php deleted file mode 100644 index 737289a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxanomaliesdecomptes.php +++ /dev/null @@ -1,19 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $decomptes = $this->reglement->getanomaliesdecomptes(); - - $this->genererVueAjax(array('decomptes' => $decomptes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxanomaliesdecomptesexport.php b/radiantproduction/Controleur/ControleurAjaxanomaliesdecomptesexport.php deleted file mode 100644 index 43564e9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxanomaliesdecomptesexport.php +++ /dev/null @@ -1,72 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - - $decomptes = $this->reglement->getanomaliesdecomptesexport(); - - // Excel - - $headerXLS = array( - _('No Fact'), - _('Nb Actes'), - _('Prestataire'), - _('Code Prestataire'), - _('No Lot'), - _('No Décompte'), - _('Souscripteur'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Validé'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('Forcé'), - _('A payer'), - _('Redressé'), - _('Vérificateur'), - _('Exercice'), - _('Mois')); - - $dataXLS = array(); - - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ANOMALIES DECOMPTE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ANOMALIES_DECOMPTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
apporteur = new Apporteur(); - } - - public function index() - { - $libelleApporteur = $this->requete->getParametreFormulaire("libelleApporteur"); - - $apporteurs = $this->apporteur->rechercherapporteursparam($libelleApporteur); - - $this->genererVueAjax(array('apporteurs' => $apporteurs)); - } - - public function enregistrernouvelapporteur() - { - // $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - - $this->apporteur->enregistrernouvelapporteur($libelle, $telephone, $email, $adresseGeo, $adressePost); - } - - public function enregistrermodifapporteur() - { - $idApporteur = $this->requete->getParametreFormulaire("idApporteur"); - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - - // $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - - $this->apporteur->enregistrermodifapporteur($idApporteur, $codeApporteur, $libelle, $telephone, - $email, $adresseGeo, $adressePost); - } - - public function exporterlisteapporteur() - { - $donnees = $this->apporteur->exporterlisteapporteur(); - - // Excel - $headerXLS = array - ( - _('Nom'), - _('Code'), - _('Tél Portable'), - _('E-mail'), - _('Adresse Géo'), - _('Adresse Post') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE COURTIERS')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('LISTE COURTIERS'))); - $feuille->mergeCells('B1:D1'); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LIST_COURTIER'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire = new Beneficiaire(); - } - - public function index() - { - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $beneficiaires = $this->beneficiaire->getBeneficiairesActifs($dateAnalyse); - - $ente_etat = null; - - if(count($beneficiaires)>"0") - { - $ente_etat = $beneficiaires['0']; - } - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires, 'ente_etat' => $ente_etat)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxassuresactifsexport.php b/radiantproduction/Controleur/ControleurAjaxassuresactifsexport.php deleted file mode 100644 index afff903..0000000 --- a/radiantproduction/Controleur/ControleurAjaxassuresactifsexport.php +++ /dev/null @@ -1,64 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() - { - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $beneficiaires = $this->beneficiaire->getBeneficiairesActifsExport($dateAnalyse); - - // Excel - $headerXLS = array( - _('Souscripteur'), - _('No Police'), - _('Type'), - _('Date Effet'), - _('Echéance'), - _('Nb Adhérents'), - _('Nb Dépendants'), - _('Nb Bénéficiaires') - ); - - $dataXLS = array(); - - - foreach ($beneficiaires as $beneficiaire) - { - $dataXLS[]=$beneficiaire; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ASSURES ACTIFS')); - - $feuille->setCellValue('A1', convertirc(_("DATE ANALYSE")." : ".$dateAnalyse)); - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ASS_ACTIFS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $decomptes = $this->reglement->getattentedemandesreglement(); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxattentedemandesteglementexport.php b/radiantproduction/Controleur/ControleurAjaxattentedemandesteglementexport.php deleted file mode 100644 index 43ec364..0000000 --- a/radiantproduction/Controleur/ControleurAjaxattentedemandesteglementexport.php +++ /dev/null @@ -1,54 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $decomptes = $this->reglement->getattentedemandesreglementexport(); - - // Excel - - $headerXLS = array( - _('Exercice'), - _('Mois'), - _('Prestataire'), - _('Montant'), - "Type Decompte"); - - $dataXLS = array(); - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ATTENTE DEMANDES DE REGLEMENT')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ATT_DMDE_REGLEMENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
avenant = new Avenant(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function getdateavenant() - { - $idAvenant = $this->requete->getParametre("idAvenant"); - $dateAvenant = $this->avenant->getdateavenant($idAvenant); - - // echo "dateAvenant => $dateAvenant"; - // exit(); - - $this->genererVueAjax(array('dateAvenant' => $dateAvenant)); - } - - public function getdateavenantbeneficiaire() - { - $idAvenant = $this->requete->getParametre("idAvenant"); - $dateAvenant = $this->avenant->getdateavenant($idAvenant); - - // echo "dateAvenant => $dateAvenant"; - // exit(); - - $this->genererVueAjax(array('dateAvenant' => $dateAvenant)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxbeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxbeneficiaire.php deleted file mode 100644 index 62b02ec..0000000 --- a/radiantproduction/Controleur/ControleurAjaxbeneficiaire.php +++ /dev/null @@ -1,23 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() { - } - - public function supprimer() { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $this->beneficiaire->supprimer($idBeneficiaire); - - // On actualise le contexte : NbAdh et NbAss - $idPolice = $_SESSION['idPolice_C']; - $this->beneficiaire->getNbassure($idPolice); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxbeneficiaireafacturer.php b/radiantproduction/Controleur/ControleurAjaxbeneficiaireafacturer.php deleted file mode 100644 index 7354680..0000000 --- a/radiantproduction/Controleur/ControleurAjaxbeneficiaireafacturer.php +++ /dev/null @@ -1,20 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() { - } - - public function selectionner() { - $idBeneficiairePrime = $this->requete->getParametre("idBeneficiairePrime"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire->selectionfacturation($idBeneficiairePrime, $choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxbeneficiaireprimeadherent.php b/radiantproduction/Controleur/ControleurAjaxbeneficiaireprimeadherent.php deleted file mode 100644 index 65887e1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxbeneficiaireprimeadherent.php +++ /dev/null @@ -1,32 +0,0 @@ -emission = new Emission(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $beneficiaires = $this->emission->getbeneficiaireprimeadherent($idAdherent, $debutPeriode, $finPeriode); - - $beneficiaires_total = null; - - if(count($beneficiaires)>"0") - { - $beneficiaires_total = $beneficiaires['0']; - } - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires, 'beneficiaires_total' => $beneficiaires_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxbeneficiaireprimebeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxbeneficiaireprimebeneficiaire.php deleted file mode 100644 index 4632b01..0000000 --- a/radiantproduction/Controleur/ControleurAjaxbeneficiaireprimebeneficiaire.php +++ /dev/null @@ -1,32 +0,0 @@ -emission = new Emission(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $beneficiaires = $this->emission->getbeneficiaireprimebeneficiaire($idBeneficiaire, $debutPeriode, $finPeriode); - - $beneficiaires_total = null; - - if(count($beneficiaires)>"0") - { - $beneficiaires_total = $beneficiaires['0']; - } - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires, 'beneficiaires_total' => $beneficiaires_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxborderauencaissement.php b/radiantproduction/Controleur/ControleurAjaxborderauencaissement.php deleted file mode 100644 index fb09dd6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxborderauencaissement.php +++ /dev/null @@ -1,29 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatbordereauenc($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxborderauencaissementexport.php b/radiantproduction/Controleur/ControleurAjaxborderauencaissementexport.php deleted file mode 100644 index c123c8c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxborderauencaissementexport.php +++ /dev/null @@ -1,68 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->eetatbordereauencexport($debutPeriode, $finPeriode) ; - // Excel - $headerXLS = array( - _('Date Cpt'), - _('No Encaissement'), - _('Mode Encaissement'), - _('Compte Cpt'), - _('Références Encaissement'), - _('Libellé Encaissement'), - _('Nom Client'), - _('No Police'), - _('Date Effet'), - _('No Quittance'), - _('P Nette'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales'), - _('Etape') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('BORDEREAU ENCAISSEMENTS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_BORD_ENCSISSEMENTS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatfactparemission($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxborderaufacturationexport.php b/radiantproduction/Controleur/ControleurAjaxborderaufacturationexport.php deleted file mode 100644 index 3240761..0000000 --- a/radiantproduction/Controleur/ControleurAjaxborderaufacturationexport.php +++ /dev/null @@ -1,68 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatfactparemissionexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - _('Nom Client'), - _('No Police'), - _('Emission'), - _('No Quittance'), - _('Date Effet'), - _('Echéance'), - _('P Nette'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales'), - _('Encaissements'), - _('Solde'), - _('Etape'), - _('Facturation') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('BORDEREAU FACTURATION')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_BORD_FACTURATION'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $gcs = $this->facture->get_cartes_gc_cons(); - - $this->genererVueAjax(array('gcs' => $gcs)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcartegcnonsel.php b/radiantproduction/Controleur/ControleurAjaxcartegcnonsel.php deleted file mode 100644 index bb50991..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcartegcnonsel.php +++ /dev/null @@ -1,75 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $gcs = $this->facture->get_cartes_gc_non_sel($codeGcAssureur, $dateFacture1, $dateFacture2); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_cartes_gc_non_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->selectionner_carte_gc($idCarteTemp); - } - - public function deselectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->de_selectionner_carte_gc($idCarteTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_cartes_gc_non_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_carte_gc_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcartegcnonselentete.php b/radiantproduction/Controleur/ControleurAjaxcartegcnonselentete.php deleted file mode 100644 index dafd35e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcartegcnonselentete.php +++ /dev/null @@ -1,20 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index($msgErreur=null) - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('reglement' => $reglement)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcartegcsel.php b/radiantproduction/Controleur/ControleurAjaxcartegcsel.php deleted file mode 100644 index 2209458..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcartegcsel.php +++ /dev/null @@ -1,68 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $gcs = $this->facture->get_cartes_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_cartes_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->selectionner_carte_gc_sel($idCarteTemp); - } - - public function deselectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->de_selectionner_carte_gc_sel($idCarteTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_cartes_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_carte_gc_sel_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxchangecategorie.php b/radiantproduction/Controleur/ControleurAjaxchangecategorie.php deleted file mode 100644 index e3449ce..0000000 --- a/radiantproduction/Controleur/ControleurAjaxchangecategorie.php +++ /dev/null @@ -1,28 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function changecategorie() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $categorie = $this->college_temp->changecategorie($codeProduit); - - // var_dump($categorie); - // exit(); - - $this->genererVueAjax(array('categorie' => $categorie)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxchangercollege.php b/radiantproduction/Controleur/ControleurAjaxchangercollege.php deleted file mode 100644 index b08095b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxchangercollege.php +++ /dev/null @@ -1,22 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $collegeTemp = $this->college_temp->changer_college_temp($idAdherent, $idCollege); - - $this->genererVueAjax(array('collegeTemp' => $collegeTemp)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxchangerlangue.php b/radiantproduction/Controleur/ControleurAjaxchangerlangue.php deleted file mode 100644 index 7cf0228..0000000 --- a/radiantproduction/Controleur/ControleurAjaxchangerlangue.php +++ /dev/null @@ -1,20 +0,0 @@ -utilisateur = new Utilisateur(); - } - - public function index() - { - } - - public function changerlangue() - { - $this->utilisateur->changerlangueutilisateur(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxclientliaison.php b/radiantproduction/Controleur/ControleurAjaxclientliaison.php deleted file mode 100644 index ad0206d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxclientliaison.php +++ /dev/null @@ -1,31 +0,0 @@ -client = new Client(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function supprimerliaisonclient() - { - $idClient = $this->requete->getParametreFormulaire("idClient", "numerique"); - $this->client->supprimer_liaison_client($idClient); - } - - public function clientlieraunparent() - { - $idClient = $this->requete->getParametreFormulaire("idClient", "numerique"); - $idClientP = $this->requete->getParametreFormulaire("idClientP", "numerique"); - - $this->client->client_lier_a_un_parent($idClient, $idClientP); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcollege.php b/radiantproduction/Controleur/ControleurAjaxcollege.php deleted file mode 100644 index 7d91da6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcollege.php +++ /dev/null @@ -1,64 +0,0 @@ -college = new Collegepolice(); - } - - public function index() { - // $this->genererVueAjax(array('garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, 'garoptacquises' => $garoptacquises)); - } - - public function archivergarntie() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $this->college->archiverGarntie($idCollege) ; - } - - public function desarchivergarntie() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $this->college->desarchiverGarntie($idCollege) ; - } - - public function accorderderogationmedicament() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $this->college->accorderderogationmedicament($idCollege) ; - } - - public function refuserderogationmedicament() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $this->college->refuserderogationmedicament($idCollege) ; - } - - public function archiveradherent() - { - $idAherent = $this->requete->getParametreFormulaire("idAherent"); - $this->college->archiveradherent($idAherent) ; - } - - public function desarchiveradherent() - { - $idAherent = $this->requete->getParametreFormulaire("idAherent"); - $this->college->desarchiveradherent($idAherent) ; - } - - public function archiverbeneficiaire() - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $this->college->archiverbeneficiaire($idBeneficiaire) ; - } - - public function desarchiverbeneficiaire() - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $this->college->desarchiverbeneficiaire($idBeneficiaire) ; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcommission.php b/radiantproduction/Controleur/ControleurAjaxcommission.php deleted file mode 100644 index 00024f6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcommission.php +++ /dev/null @@ -1,26 +0,0 @@ -tableaucommission = new Tableaucommission(); - $this->apporteur = new Apporteur(); - } - - public function index() { - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - - $codeEtape = $this->requete->getParametreFormulaire("codeEtape"); - - $tauxCommission_info = $this->tableaucommission->getInfoscommission($codeApporteur, $codeEtape); - - $deduireComm_info = $this->apporteur->getdeduireComm($codeApporteur); - - $this->genererVueAjax(array('tauxCommission_info' => $tauxCommission_info, 'deduireComm_info' => $deduireComm_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcommissionautre.php b/radiantproduction/Controleur/ControleurAjaxcommissionautre.php deleted file mode 100644 index 075d4a0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcommissionautre.php +++ /dev/null @@ -1,21 +0,0 @@ -tableaucommission = new Tableaucommission(); - } - - public function index() { - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - - $codeEtape = $this->requete->getParametreFormulaire("codeEtape"); - - $tauxCommission_info = $this->tableaucommission->getInfoscommissionAutre($codeApporteur, $codeEtape); - - $this->genererVueAjax(array('tauxCommission_info' => $tauxCommission_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcomposantetarif.php b/radiantproduction/Controleur/ControleurAjaxcomposantetarif.php deleted file mode 100644 index e11803c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcomposantetarif.php +++ /dev/null @@ -1,93 +0,0 @@ -detailtarifacte = new Detailtarifacte(); - } - - public function index() - { - } - - public function affichercomposantetarif() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - $_SESSION['codeFamilleActe_C'] = $codeFamilleActe; - - $actes_in = $this->detailtarifacte->getactesin($codeTarifActe, $codeFamilleActe); - - $actes_out = $this->detailtarifacte->getactesout($codeTarifActe, $codeFamilleActe); - - $this->genererVueAjax(array('actes_in' => $actes_in, 'actes_out' => $actes_out)); - } - - public function ajouterunacteautarif() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - - $this->detailtarifacte->ajouterunacteautarif($idActe, $codeTarifActe, $codeFamilleActe); - - // $this->genererVueAjax(); - } - - - public function retirerunactedutarif() - { - $idDetailtarifacte = $this->requete->getParametreFormulaire("idDetailtarifacte"); - - $this->detailtarifacte->retirerunactedutarif($idDetailtarifacte); - - // $this->genererVueAjax(); - } - - public function majprix() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - $prix = $this->requete->getParametreFormulaire("prix", "numerique"); - - $this->detailtarifacte->majPrix($idActe, $prix); - } - - - public function ajoutertousactsautarif() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - - $this->detailtarifacte->ajoutertousactsautarif($codeTarifActe, $codeFamilleActe); - } - - public function retirertousactsautarif() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - - $this->detailtarifacte->retirertousactsautarif($codeTarifActe, $codeFamilleActe); - } - - public function affichercomposantetarifcons() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - $_SESSION['codeFamilleActe_C'] = $codeFamilleActe; - - $actes_in = $this->detailtarifacte->getactesin($codeTarifActe, $codeFamilleActe); - - $this->genererVueAjax(array('actes_in' => $actes_in)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcomposantetarifmedicament.php b/radiantproduction/Controleur/ControleurAjaxcomposantetarifmedicament.php deleted file mode 100644 index 673b293..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcomposantetarifmedicament.php +++ /dev/null @@ -1,158 +0,0 @@ -detailtarifmedicament = new Detailtarifmedicament(); - } - - public function index() - { - } - - public function affichercomposantetarif() - { - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - $_SESSION['codeTarifMedicament_C'] = $codeTarifMedicament; - - $medicaments_in = $this->detailtarifmedicament->getmedicamentsin($codeTarifMedicament, $libelleMedicament); - - $medicaments_out = $this->detailtarifmedicament->getmedicamentsout($codeTarifMedicament, $libelleMedicament); - - $this->genererVueAjax(array('medicaments_in' => $medicaments_in, 'medicaments_out' => $medicaments_out)); - } - - public function ajouterunamedicamentautarif() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - - /* - echo "idMedicament => $idMedicament
"; - echo "codeTarifMedicament => $codeTarifMedicament
"; - exit(); - */ - - $this->detailtarifmedicament->ajouterunamedicamentautarif($idMedicament, $codeTarifMedicament); - - // $this->genererVueAjax(); - } - - - public function retirerunamedicamentutarif() - { - $idDetailtarifMedicament = $this->requete->getParametreFormulaire("idDetailtarifMedicament"); - - $this->detailtarifmedicament->retirerunamedicamentutarif($idDetailtarifMedicament); - - // $this->genererVueAjax(); - } - - public function majprix() - { - $idDetailtarifMedicament = $this->requete->getParametreFormulaire("idDetailtarifMedicament"); - $prix = $this->requete->getParametreFormulaire("prix", "numerique"); - - /* - echo "idDetailtarifMedicament => $idDetailtarifMedicament
"; - echo "prix => $prix
"; - exit(); - */ - - $this->detailtarifmedicament->majPrix($idDetailtarifMedicament, $prix); - } - - public function ajoutertousmedicamentsautarif() - { - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - /* - echo "codeTarifMedicament => $codeTarifMedicament
"; - echo "libelleMedicament => $libelleMedicament
"; - exit(); - */ - - $this->detailtarifmedicament->ajoutertousmedicamentsautarif($codeTarifMedicament, $libelleMedicament); - } - - public function retirertousmedicamentsautarif() - { - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - /* - echo "codeTarifMedicament => $codeTarifMedicament
"; - echo "libelleMedicament => $libelleMedicament
"; - exit(); - */ - - $this->detailtarifmedicament->retirertousmedicamentsautarif($codeTarifMedicament, $libelleMedicament); - } - - public function affichercomposantetarifcons() - { - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - $_SESSION['codeTarifMedicament_C'] = $codeTarifMedicament; - - $medicaments_in = $this->detailtarifmedicament->getmedicamentsin($codeTarifMedicament, $libelleMedicament); - - $this->genererVueAjax(array('medicaments_in' => $medicaments_in)); - } - - public function listemedicaments() - { - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - $medicaments = $this->detailtarifmedicament->getlistemedicaments($libelleMedicament); - - $this->genererVueAjax(array('medicaments' => $medicaments)); - } - - public function getunmedicament($idMedicament) - { - $medicament = $this->detailtarifmedicament->getunmedicament($idMedicament); - - $this->genererVueAjax(array('medicament' => $medicament)); - } - - public function enregistrermodifmedicament() - { - $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); - $codeMedicament = $this->requete->getParametreFormulaire("codeMedicament"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - $unite = $this->requete->getParametreFormulaire("unite"); - - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - $exclu = $this->requete->getParametreFormulaire("exclu"); - $actif = $this->requete->getParametreFormulaire("actif"); - $instructions = $this->requete->getParametreFormulaire("instructions"); - - $this->detailtarifmedicament->enregistrermodifmedicament($idMedicament, $codeMedicament, $libelle, $unite, $ententePrealable, $exclu, $actif, $instructions); - } - - public function enregistrernouveaumedicament() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $unite = $this->requete->getParametreFormulaire("unite"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - $exclu = $this->requete->getParametreFormulaire("exclu"); - $actif = $this->requete->getParametreFormulaire("actif"); - $instructions = $this->requete->getParametreFormulaire("instructions"); - $this->detailtarifmedicament->enregistrernouveaumedicament($libelle, $unite, $ententePrealable, $exclu, $actif, $instructions); - - // $this->genererVueAjax(); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcomposantetarifoptique.php b/radiantproduction/Controleur/ControleurAjaxcomposantetarifoptique.php deleted file mode 100644 index c3ac712..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcomposantetarifoptique.php +++ /dev/null @@ -1,139 +0,0 @@ -detailtarif = new Detailtarifoptique(); - } - - public function index() - { - } - - public function affichercomposantetarif() - { - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $libelleVerre = $this->requete->getParametreFormulaire("libelleVerre"); - - // $_SESSION['codeTarifOptique_C'] = $codeTarifOptique; - - $verres_in = $this->detailtarif->getverresin($codeTarifOptique, $libelleVerre); - - $verres_out = $this->detailtarif->getverresout($codeTarifOptique, $libelleVerre); - - $this->genererVueAjax(array('verres_in' => $verres_in, 'verres_out' => $verres_out)); - } - - public function ajouterunverreautarif() - { - $idVerre = $this->requete->getParametreFormulaire("idVerre"); - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - - $this->detailtarif->ajouterunverreautarif($idVerre, $codeTarifOptique); - - // $this->genererVueAjax(); - } - - public function retirerunverredutarif() - { - $idDetailtarifOptique = $this->requete->getParametreFormulaire("idDetailtarifOptique"); - - $this->detailtarif->retirerunverredutarif($idDetailtarifOptique); - - // $this->genererVueAjax(); - } - - public function majprix() - { - $idDetailtarifOptique = $this->requete->getParametreFormulaire("idDetailtarifOptique"); - $prix = $this->requete->getParametreFormulaire("prix", "numerique"); - - /* - echo "idDetailtarifOptique => $idDetailtarifOptique
"; - echo "prix => $prix
"; - exit(); - */ - - $this->detailtarif->majPrix($idDetailtarifOptique, $prix); - } - - public function ajoutertousverressautarif() - { - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $libelleVerre = $this->requete->getParametreFormulaire("libelleVerre"); - - $this->detailtarif->ajoutertousverressautarif($codeTarifOptique, $libelleVerre); - } - - public function affichercomposantetarifcons() - { - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $libelleVerre = $this->requete->getParametreFormulaire("libelleVerre"); - - // $_SESSION['codeTarifOptique_C'] = $codeTarifOptique; - - $verres_in = $this->detailtarif->getverresin($codeTarifOptique, $libelleVerre); - - $this->genererVueAjax(array('verres_in' => $verres_in)); - } - - public function listeverres() - { - $libelleVerre = $this->requete->getParametreFormulaire("libelleVerre"); - - $verres = $this->detailtarif->getlisteverress($libelleVerre); - - $this->genererVueAjax(array('verres' => $verres)); - } - - public function getunmedicament($idMedicament) - { - $medicament = $this->detailtarif->getunmedicament($idMedicament); - - $this->genererVueAjax(array('medicament' => $medicament)); - } - - public function enregistrermodifverre() - { - $idVerre = $this->requete->getParametreFormulaire("idVerre"); - $codeOptique = $this->requete->getParametreFormulaire("codeOptique"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $actif = $this->requete->getParametreFormulaire("actif"); - - /* - echo "idVerre => $idVerre
"; - echo "codeOptique => $codeOptique
"; - echo "libelle => $libelle
"; - echo "libelleEng => $libelleEng
"; - echo "actif => $actif
"; - */ - - $this->detailtarif->enregistrermodifverre($idVerre, $codeOptique, $libelle, $libelleEng, $actif); - } - - public function enregistrernouveauverre() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $actif = $this->requete->getParametreFormulaire("actif"); - - $this->detailtarif->enregistrernouveauverre($libelle, $libelleEng, $actif); - - // $this->genererVueAjax(); - } - - public function retirertousverressautarif() - { - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $libelleVerre = $this->requete->getParametreFormulaire("libelleVerre"); - - $this->detailtarif->retirertousverressautarif($codeTarifOptique, $libelleVerre); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxconnexioncookie.php b/radiantproduction/Controleur/ControleurAjaxconnexioncookie.php deleted file mode 100644 index fd6f50e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxconnexioncookie.php +++ /dev/null @@ -1,18 +0,0 @@ -requete->getParametreFormulaire("msgErreur"); - - $this->genererVueAjax(array('msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxconsultertableauprestation.php b/radiantproduction/Controleur/ControleurAjaxconsultertableauprestation.php deleted file mode 100644 index 9ebc0f3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxconsultertableauprestation.php +++ /dev/null @@ -1,20 +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/radiantproduction/Controleur/ControleurAjaxcontextclient.php b/radiantproduction/Controleur/ControleurAjaxcontextclient.php deleted file mode 100644 index fd91380..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextclient.php +++ /dev/null @@ -1,16 +0,0 @@ -client = new Client(); - } - - public function index() { - $idClient = $this->requete->getParametre("idClient"); - $this->client->getContexteAjaxClient($idClient); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextclientd.php b/radiantproduction/Controleur/ControleurAjaxcontextclientd.php deleted file mode 100644 index 1e9323d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextclientd.php +++ /dev/null @@ -1,16 +0,0 @@ -client = new Client_d(); - } - - public function index() { - $idClient = $this->requete->getParametre("idClient"); - $this->client->getContexteAjaxClient($idClient); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextdemandedecompte.php b/radiantproduction/Controleur/ControleurAjaxcontextdemandedecompte.php deleted file mode 100644 index 158c54a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextdemandedecompte.php +++ /dev/null @@ -1,13 +0,0 @@ -requete->getParametre("idDemandeDecompte"); - $_SESSION['numeroDemandeDecompte_C'] = $this->requete->getParametre("numeroDemandeDecompte"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextfacture.php b/radiantproduction/Controleur/ControleurAjaxcontextfacture.php deleted file mode 100644 index bd61f52..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextfacture.php +++ /dev/null @@ -1,12 +0,0 @@ -requete->getParametre("numeroFeuilleMaladie"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextfeuillemaladie.php b/radiantproduction/Controleur/ControleurAjaxcontextfeuillemaladie.php deleted file mode 100644 index 3ed76ff..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextfeuillemaladie.php +++ /dev/null @@ -1,12 +0,0 @@ -requete->getParametre("numeroFeuilleMaladie"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextfraisfuneraire.php b/radiantproduction/Controleur/ControleurAjaxcontextfraisfuneraire.php deleted file mode 100644 index 6a6efe9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextfraisfuneraire.php +++ /dev/null @@ -1,19 +0,0 @@ -beneficiaire = new Pbeneficiaire(); - } - - public function index() { - $idReglement = $this->requete->getParametre("idReglement"); - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextgcreglement.php b/radiantproduction/Controleur/ControleurAjaxcontextgcreglement.php deleted file mode 100644 index ab70393..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextgcreglement.php +++ /dev/null @@ -1,28 +0,0 @@ -reglement = new Gestionconfiee(); - } - - public function index() { - $_SESSION['idGcReglement'] = $this->requete->getParametre("idGcReglement"); - $_SESSION['gcNumeroDecompte'] = $this->requete->getParametre("gcNumeroDecompte"); - } - - public function getcontextbyid() - { - $idGcReglement = $this->requete->getParametre("idGcReglement"); - $this->reglement->getGcContextById($idGcReglement); - } - - public function getcontextbyno() - { - $gcNumeroDecompte = $this->requete->getParametre("gcNumeroDecompte"); - $this->reglement->getGcContextByNo($gcNumeroDecompte); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextidentification.php b/radiantproduction/Controleur/ControleurAjaxcontextidentification.php deleted file mode 100644 index 57fff44..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextidentification.php +++ /dev/null @@ -1,12 +0,0 @@ -requete->getParametre("numeroBonOptique"); - $_SESSION['codePrestataireLivraison_C'] = $this->requete->getParametre("codePrestataireLivraison"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextpharmaciencien.php b/radiantproduction/Controleur/ControleurAjaxcontextpharmaciencien.php deleted file mode 100644 index c05cd9d..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxcontextpolice.php b/radiantproduction/Controleur/ControleurAjaxcontextpolice.php deleted file mode 100644 index a3dc6e8..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextpolice.php +++ /dev/null @@ -1,16 +0,0 @@ -police = new Police(); - } - - public function index() { - $idPolice = $this->requete->getParametre("idPolice"); - $this->police->getContexteAjaxPolice($idPolice); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontextpoliced.php b/radiantproduction/Controleur/ControleurAjaxcontextpoliced.php deleted file mode 100644 index 24635db..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontextpoliced.php +++ /dev/null @@ -1,18 +0,0 @@ -police = new Police_d(); - } - - public function index() { - $idPolice = $this->requete->getParametre("idPolice"); - $this->police->getContexteAjaxPolice($idPolice); - $numeroOptionTarif = $this->police->fn_min_numero_option_tarif($idPolice); - $_SESSION['numeroOptionTarif'] = $numeroOptionTarif; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontroleavenantpolice.php b/radiantproduction/Controleur/ControleurAjaxcontroleavenantpolice.php deleted file mode 100644 index 9c67a9f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontroleavenantpolice.php +++ /dev/null @@ -1,32 +0,0 @@ -police = new Police(); - } - - public function index() - { - $controler_avenant_info = "0"; - - $idPolice = $_SESSION['idPolice_C']; - - $controle = $this->requete->getParametreFormulaire("controle"); - - if($controle=="existequittance") - { - $controler_avenant_info = $this->police->getExisteQuittance($idPolice); - - if($controler_avenant_info=="0") - { - $controler_avenant_info = $this->police->getExisteConsommationPolice($idPolice); - } - } - - $this->genererVueAjax(array('controler_avenant_info' => $controler_avenant_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcontrolepiece.php b/radiantproduction/Controleur/ControleurAjaxcontrolepiece.php deleted file mode 100644 index dd12684..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcontrolepiece.php +++ /dev/null @@ -1,61 +0,0 @@ -ben = new Beneficiaire(); - } - - public function index() - { - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - - $controle_piece = $this->ben->controlenopieceglobal($numeroPiece); - - $resultatPiece = $controle_piece['resultatPiece']; - $nomBeneficiaire = $controle_piece['nomBeneficiaire']; - - /* - var_dump - ( - array - ( - "numeroPiece" => $numeroPiece, - "controle_piece" => $controle_piece, - // "resultatPiece" => $resultatPiece, - ) - ); - exit(); - -/* -- Longueur < 13 => 1 -- Doublon => 2 -- OK, Bon => 0 -*/ - $MessagePiece = ""; - - // Un autre bénéficiaire possède déjà le même numéro d’identification : $nomBeneficiaire. - - switch ($resultatPiece) - { - case "1": - $MessagePiece = (est_anglophone()) ? "Length shorter than the standard!" : "Longueur inférieur à la norme!"; - break; - case "2": - $MessagePiece = (est_anglophone()) ? "Length shorter than the standard!" : "Un autre bénéficiaire possède déjà le même numéro d’identification : $nomBeneficiaire ."; - break; - case "0": - $MessagePiece = (est_anglophone()) ? "Numberr OK!" : "Numéro OK!"; - break; - default: - $MessagePiece = (est_anglophone()) ? "Numberr OK!" : "Numéro OK!"; - } - - $this->genererVueAjax(array('resultatPiece' => $resultatPiece, 'MessagePiece' => $MessagePiece)); - - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxcreergcpolice.php b/radiantproduction/Controleur/ControleurAjaxcreergcpolice.php deleted file mode 100644 index d69f625..0000000 --- a/radiantproduction/Controleur/ControleurAjaxcreergcpolice.php +++ /dev/null @@ -1,49 +0,0 @@ -gc = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - - $gc = $this->gc->getInfoGcAssureur($codeGcAssureur); - - $this->genererVueAjax(array('gc' => $gc)); - } - - public function creerpolicegc() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $tauxFraisReel = $this->requete->getParametreFormulaire("tauxFraisReel","numerique"); - $tauxRedressement = $this->requete->getParametreFormulaire("tauxRedressement","numerique"); - $tauxTva = $this->requete->getParametreFormulaire("tauxTva","numerique"); - $fraisCarteAfn = $this->requete->getParametreFormulaire("fraisCarteAfn","numerique"); - $fraisCarteRen = $this->requete->getParametreFormulaire("fraisCarteRen","numerique"); - $fraisCarteImp = $this->requete->getParametreFormulaire("fraisCarteImp","numerique"); - - $this->gc->creerpolicegc($idPolice, $codeGcAssureur, $tauxFraisReel, $tauxRedressement, $tauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp); - } - - public function modifierpolicegc() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - $tauxFraisReel = $this->requete->getParametreFormulaire("tauxFraisReel","numerique"); - $tauxRedressement = $this->requete->getParametreFormulaire("tauxRedressement","numerique"); - $tauxTva = $this->requete->getParametreFormulaire("tauxTva","numerique"); - $fraisCarteAfn = $this->requete->getParametreFormulaire("fraisCarteAfn","numerique"); - $fraisCarteRen = $this->requete->getParametreFormulaire("fraisCarteRen","numerique"); - $fraisCarteImp = $this->requete->getParametreFormulaire("fraisCarteImp","numerique"); - - $this->gc->modifierpolicegc($idPolice, $tauxFraisReel, $tauxRedressement, $tauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxdecompte.php b/radiantproduction/Controleur/ControleurAjaxdecompte.php deleted file mode 100644 index 21e0d5f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdecompte.php +++ /dev/null @@ -1,298 +0,0 @@ -reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() { - $this->genererVueAjax(array('regle' => $_SESSION['decompteRegle_C'])); - } - - public function initierdecompte() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $_SESSION['codePrestataire_Dec'] = $codePrestataire; - $_SESSION['codeTarifActe_Dec'] = $_SESSION['codeTarifActe_C']; - - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $idReglement = $this->reglement->get_idReglement($codePrestataire, $codeExercice, $codeMois); - - $_SESSION['idReglement_C'] = $idReglement; - - if($idReglement==0) - { - // Créer le décompte dans reglement - $this->reglement->initdecompteprestataire(); - - $idReglement = $this->reglement->get_idReglement($codePrestataire, $codeExercice, $codeMois); - - $_SESSION['idReglement_C'] = $idReglement; - } - // Afficher le décompte - $idReglement = $_SESSION['idReglement_C']; - - $infosdecompte = $this->reglement->getinfosdecompte($idReglement); - - $_SESSION['decompteRegle_C'] = $infosdecompte['regle']; - $_SESSION['numeroDecompte_C'] = $infosdecompte['numeroDecompte']; - $_SESSION['numeroLotDecompte_C'] = $infosdecompte['numeroLotDecompte']; - - $this->executerAction("index"); - // $this->genererVueAjax(); - } - - public function rechargerfacture() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $numeroLotDecompte = $_SESSION['numeroLotDecompte_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeExercice = $_SESSION['codeExercice_C']; - $codeMois = $_SESSION['codeMois_C']; - - $this->reglement->rechargerfacture($idReglement, $numeroDecompte, $numeroLotDecompte, $codePrestataire, $codeExercice, $codeMois); - } - - public function reinitialiserdecompte() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->reinitialiserdecompte($idReglement, $numeroDecompte); - } - - public function majobservations() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $observations = $this->requete->getParametreFormulaire("observations"); - - $this->reglement->majobservations($idFacture, $observations); - } - - public function majbordereaudecompte() - { - $idReglement = $this->requete->getParametreFormulaire("idReglement"); - $numeroBordereau = $this->requete->getParametreFormulaire("numeroBordereau"); - - $this->reglement->majbordereaudecompte($idReglement, $numeroBordereau); - } - - public function validerdecompte() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->validerdecompte($idReglement, $numeroDecompte); - } - - - public function validerdecomptepremier() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->validerdecomptepremier($idReglement, $numeroDecompte); - } - - public function enregistrerreglementdecompte() - { - // $idReglement = $this->requete->getParametreFormulaire("idReglement"); - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $montantPaye = $this->requete->getParametreFormulaire("montantPaye", "numerique"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $codeBanquePayeur = $this->requete->getParametreFormulaire("codeBanquePayeur"); - - $this->reglement->enregistrerreglementdecompte($idReglement, $numeroDecompte, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur); - } - - public function enregistrerdemandefraisfuneraire() - { - $codeLienDemandeur = $this->requete->getParametreFormulaire("codeLienDemandeur"); - $demandeur = $this->requete->getParametreFormulaire("demandeur"); - $codeLienBeneficiaire = $this->requete->getParametreFormulaire("codeLienBeneficiaire"); - $beneficiaireReglement = $this->requete->getParametreFormulaire("beneficiaireReglement"); - $observations = $this->requete->getParametreFormulaire("observations"); - $fraisReel = $this->requete->getParametreFormulaire("fraisReel", "numerique"); - $montantApayer = $this->requete->getParametreFormulaire("montantApayer", "numerique"); - $dateDeces = $this->requete->getParametreDate("dateDeces"); - $causeDeces = $this->requete->getParametreFormulaire("causeDeces"); - - $this->fraisfuneraire->enregistrerdemandefraisfuneraire($fraisReel, $montantApayer, $demandeur, $codeLienDemandeur, - $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces); - } - - public function enregistrermodificationsfraisfuneraire() - { - $idFraisfuneraire = $this->requete->getParametreFormulaire("idFraisfuneraire"); - $codeLienDemandeur = $this->requete->getParametreFormulaire("codeLienDemandeur"); - $demandeur = $this->requete->getParametreFormulaire("demandeur"); - $codeLienBeneficiaire = $this->requete->getParametreFormulaire("codeLienBeneficiaire"); - $beneficiaireReglement = $this->requete->getParametreFormulaire("beneficiaireReglement"); - $observations = $this->requete->getParametreFormulaire("observations"); - $montantApayer = $this->requete->getParametreFormulaire("montantApayer", "numerique"); - $dateDeces = $this->requete->getParametreDate("dateDeces"); - $causeDeces = $this->requete->getParametreFormulaire("causeDeces"); - - $this->fraisfuneraire->enregistrermodificationsfraisfuneraire($idFraisfuneraire, $montantApayer, $demandeur, $codeLienDemandeur, - $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces); - } - - public function enregistrerpaiementfraisfuneraire() - { - $idFraisfuneraire = $this->requete->getParametreFormulaire("idFraisfuneraire"); - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $montantPaye = $this->requete->getParametreFormulaire("montantPaye", "numerique"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $this->fraisfuneraire->enregistrerpaiementfraisfuneraire($idFraisfuneraire, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement); - } - - public function maildemandefraisfuneraire() - { - $emailDestination = $_SESSION['emailAdherent_C']; - - if($emailDestination>" ") - { - $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 */ - - if($emailDestination>" ") - { - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $libelleDerogation = $this->requete->getParametreFormulaire("libelleDerogation"); - $observations = $this->requete->getParametreFormulaire("observations"); - - // DEBUT ENVOI DU MAIL - - require_once 'Framework/Ebenegmail.php'; - - $obejt = "DEMANDE DE DEROGATION"; - - $body = "- Prestataire : ".$_SESSION['prestataire_C']." - -- Patient : ".$_SESSION['beneficiaire_C']." (".$_SESSION['numeroBeneficiaire_C'].") - -- Date : ".heureCouranteLang($_SESSION['lang'])." - -- Dérogation : ".$libelleDerogation." - -- Motivations : ".$observations." - -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 changerverificateur() - { - $this->reglement->changerverificateur(); - } - - public function majdatereception() - { - $dateReception = $this->requete->getParametreDate("dateReception"); - $this->reglement->majdatereception($dateReception); - } - - public function majreceptionfactureprestataire() - { - $dateReception = $this->requete->getParametreDate("dateReception"); - $montantPrestataire = $this->requete->getParametreFormulaire("montantPrestataire", "numerique"); - - $this->reglement->majreceptionfactureprestataire($dateReception, $montantPrestataire); - } - - public function validertouteslesfacturesdecompte() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->validertouteslesfacturesdecompte($idReglement, $numeroDecompte); - } - - public function novalidprestataire() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->novalidprestataire($idReglement, $numeroDecompte); - } - - public function demanderreglement() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->demanderreglement($idReglement, $numeroDecompte); - } - - public function initrattrapagereceptionfactureprestataire() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $hmajreceptionfactureprestataires = $this->reglement->getrattrapagereceptionfactureprestataire($idReglement); - - $this->genererVueAjax(array('reglement' => $reglement, 'hmajreceptionfactureprestataires' => $hmajreceptionfactureprestataires)); - } - - public function rattrapagereceptionfactureprestataire() - { - $dateReception = $this->requete->getParametreDate("dateReception"); - $montantPrestataire = $this->requete->getParametreFormulaire("montantPrestataire", "numerique"); - $motif = $this->requete->getParametreFormulaire("motif"); - - $this->reglement->rattrapagereceptionfactureprestataire($dateReception, $montantPrestataire, $motif); - - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $this->genererVueAjax(array('reglement' => $reglement)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdeconnexion.php b/radiantproduction/Controleur/ControleurAjaxdeconnexion.php deleted file mode 100644 index 39e564e..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxdelaicarencetypecontrat.php b/radiantproduction/Controleur/ControleurAjaxdelaicarencetypecontrat.php deleted file mode 100644 index a7a7265..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdelaicarencetypecontrat.php +++ /dev/null @@ -1,19 +0,0 @@ -typecontrat = new Typecontrat(); - } - - public function index() { - $codeTypeContrat = $this->requete->getParametreFormulaire("codeTypeContrat"); - - $delaiCarencePolice_info = $this->typecontrat->getinfosdelaicarence($codeTypeContrat); - - $this->genererVueAjax(array('delaiCarencePolice_info' => $delaiCarencePolice_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdemandesdecomptes.php b/radiantproduction/Controleur/ControleurAjaxdemandesdecomptes.php deleted file mode 100644 index d23a915..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdemandesdecomptes.php +++ /dev/null @@ -1,31 +0,0 @@ -reglement = new Demandedecompte(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $decomptes = $this->reglement->getdemendesdecomptes($codePrestataire, $codeExercice, $codeMois) ; - - $this->genererVueAjax(array('decomptes' => $decomptes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdernieresfacturesoptique.php b/radiantproduction/Controleur/ControleurAjaxdernieresfacturesoptique.php deleted file mode 100644 index dbacded..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdernieresfacturesoptique.php +++ /dev/null @@ -1,21 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - - $factures = $this->ententeprealable->getdernieresfacturesoptiques($idBeneficiaire) ; - - $this->genererVueAjax(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxderniernumerobon.php b/radiantproduction/Controleur/ControleurAjaxderniernumerobon.php deleted file mode 100644 index 62276f3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxderniernumerobon.php +++ /dev/null @@ -1,19 +0,0 @@ -typebon = new Typebon(); - } - - public function index() { - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - - $denierNumeroBon_info = $this->typebon->getDenierNumeroBon($codeTypeBon); - - $this->genererVueAjax(array('denierNumeroBon_info' => $denierNumeroBon_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxderogations.php b/radiantproduction/Controleur/ControleurAjaxderogations.php deleted file mode 100644 index 0cfcaca..0000000 --- a/radiantproduction/Controleur/ControleurAjaxderogations.php +++ /dev/null @@ -1,37 +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)); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxderogationsbenficiaire.php b/radiantproduction/Controleur/ControleurAjaxderogationsbenficiaire.php deleted file mode 100644 index 0b7f4fa..0000000 --- a/radiantproduction/Controleur/ControleurAjaxderogationsbenficiaire.php +++ /dev/null @@ -1,86 +0,0 @@ -derogation = new Derogation(); - $this->envoimail = new Envoimail(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $derogations = $this->derogation->getderogationsbenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVueAjax(array('derogations' => $derogations)); - } - - public function enregistrerrefusderogation() - { - $idDemandederogation = $this->requete->getParametreFormulaire("idDemandederogation"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $motifRefusAssure = $this->requete->getParametreFormulaire("motifRefusAssure"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->derogation->enregistrerrefusderogation($idDemandederogation, $motifReel, $motifRefusAssure); - - $typeMail = "refusderogation"; - $this->envoimail->ajouterrefusderogation($typeMail, $idDemandederogation, $codePrestataire); - } - - public function enregistreraccordderogation() - { - $idDemandederogation = $this->requete->getParametreFormulaire("idDemandederogation"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $tmDerogation = $this->requete->getParametreFormulaire("tmDerogation", "numerique"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->derogation->enregistreraccordderogation($idDemandederogation, $motifReel, $debut, $fin, $codeDerogation, $tmDerogation); - - $typeMail = "accordderogation"; - $this->envoimail->ajouteraccordderogation($typeMail, $idDemandederogation, $codePrestataire); - } - - public function desactiverderogationpermanente() - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $observations = $this->requete->getParametreFormulaire("observations"); - - // echo "idBeneficiaire => $idBeneficiaire ; observations => $observations"; - // exit(); - - $this->derogation->desactiverderogationpermanente($idBeneficiaire, $observations); - - // $this->genererVueAjax(); - } - - public function activerderogationpermanente() - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $observations = $this->requete->getParametreFormulaire("observations"); - - $this->derogation->activerderogationpermanente($idBeneficiaire, $observations); - - // $this->genererVueAjax(); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdestinatairesms.php b/radiantproduction/Controleur/ControleurAjaxdestinatairesms.php deleted file mode 100644 index a7b47f9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdestinatairesms.php +++ /dev/null @@ -1,209 +0,0 @@ -messagerie = new Messagerie(); - $this->pays = new Pays(); - $this->ville = new Ville(); - $this->localite = new Localite(); - $this->typedestinatairesms = new Typedestinatairesms(); -} - - public function index() - { - $destinataire_selections = $this->messagerie->getdestinatairesselectionnes(); - - $destinataire_non_selections = $this->messagerie->getdestinatairesnonselectionnes(); - - $this->genererVueAjax(array('destinataire_selections' => $destinataire_selections, 'destinataire_non_selections' => $destinataire_non_selections)); - } - - public function init() - { - $codeTypeDestinataire = $this->requete->getParametreFormulaire("codeTypeDestinataire"); - - $this->messagerie->initenvoisms($codeTypeDestinataire); - - $destinataire_selections = $this->messagerie->getdestinatairesselectionnes(); - - $destinataire_non_selections = $this->messagerie->getdestinatairesnonselectionnes(); - - $this->genererVueAjax(array('destinataire_selections' => $destinataire_selections, 'destinataire_non_selections' => $destinataire_non_selections)); - } - - public function libre() - { - $this->genererVueAjax(); - } - - public function adherent() - { - $typedestinatairesms = $this->typedestinatairesms->getListeAdhrent(); - - $this->genererVueAjax(array('typedestinatairesms' => $typedestinatairesms)); - } - - public function adherentclient() - { - $this->genererVueAjax(); - } - - public function ajouterprestaire() - { - $idPrestataire = $this->requete->getParametreFormulaire("idPrestataire"); - - $this->messagerie->ajouterprestaire($idPrestataire); - } - - public function retirerprestaire() - { - $idPrestataire = $this->requete->getParametreFormulaire("idPrestataire"); - - $this->messagerie->retirerprestaire($idPrestataire); - } - - public function ajouterdestinatairesmstous() - { - $this->messagerie->ajouterdestinatairesmstous(); - } - - public function retirerdestinatairesmstous() - { - $this->messagerie->retirerdestinatairesmstous(); - } - - public function ajouterundestinatairesms() - { - $idDestinataire = $this->requete->getParametreFormulaire("idDestinataire"); - - $this->messagerie->ajouterundestinatairesms($idDestinataire); - } - - public function retirerundestinatairesms() - { - $idDestinataire = $this->requete->getParametreFormulaire("idDestinataire"); - - $this->messagerie->retirerundestinatairesms($idDestinataire); - } - - public function mettresmscommeunattente() - { - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->mettresmscommeunattente($textMessage); - } - - public function mettresmscommeunattentelibre() - { - $noDestination = $this->requete->getParametreFormulaire("noDestination"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->mettresmscommeunattentelibre($noDestination, $textMessage); - } - - 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 adherentclienliste() - { - $nomClientAdherent = $this->requete->getParametreFormulaire("nomClientAdherent"); - - $clients = $this->messagerie->smsrechercheclient($nomClientAdherent); - - $this->genererVueAjax(array('clients' => $clients)); - } - - /* - public function adherentclientafficher() - { - $nomClientAdherent = $this->requete->getParametreFormulaire("nomClientAdherent"); - - $this->messagerie->initenvoismsadherentclient($nomClientAdherent); - } - */ - - public function initenvoismsadherentclient() - { - $numeroClientAdherent = $this->requete->getParametreFormulaire("numeroClientAdherent"); - - $this->messagerie->initenvoismsadherentclient($numeroClientAdherent); - } - - public function adherentlocalite() - { - $codeSociete = $_SESSION['codeSociete']; - $codePays = $_SESSION['codePaysSociete']; - $codeVille = ""; - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $this->genererVueAjax(array('pays' => $pays, 'ville' => $ville, 'listelocalite' => $localite)); - } - - public function initenvoismsadherentlocalite() - { - $codePays = $this->requete->getParametreFormulaire("codePays"); - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - - $this->messagerie->initenvoismsadherentlocalite($codePays, $codeVille ,$codeLocalite); - } - - public function adherentclientlocalite() - { - $this->genererVueAjax(); - } - - public function adherentclientlocaliteliste() - { - $nomClientAdherent = $this->requete->getParametreFormulaire("nomClientAdherent"); - $clients = $this->messagerie->smsrechercheclient($nomClientAdherent); - - $codeSociete = $_SESSION['codeSociete']; - $codePays = $_SESSION['codePaysSociete']; - $codeVille = ""; - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $this->genererVueAjax(array('clients' => $clients, 'pays' => $pays, 'ville' => $ville, 'listelocalite' => $localite)); - } - - public function initenvoismsadherentclientlocalite() - { - $numeroClientAdherent = $this->requete->getParametreFormulaire("numeroClientAdherent"); - - $codePays = $this->requete->getParametreFormulaire("codePays"); - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - - $this->messagerie->initenvoismsadherentclientlocalite($numeroClientAdherent, $codePays, $codeVille ,$codeLocalite); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailcartegcpdf.php b/radiantproduction/Controleur/ControleurAjaxdetailcartegcpdf.php deleted file mode 100644 index 53a5844..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailcartegcpdf.php +++ /dev/null @@ -1,135 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_cartes_gc_sel(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc(_("DETAIL DES CARTES DE LA FACTURATION")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(12,5,convertirc(_("Assureur")),0,0,'L',false); - $pdf->Cell(18,5,convertirc(': '.$reglement['gcassureur']),0,0,'L',false); - - $pdf->Cell(8,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(14,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(10,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,1,'L',false); - } - - $pdf->Cell(12,5,convertirc('Observ'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['observations']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',5); - - $pdf->Cell(20,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc(_("Souscripteur")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("No Bénéf")),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc(_("Bénéficiaire")),"1",0,'C'); - // $pdf->Cell(20,$hl,convertirc(_("Carte")),"1",1,'C'); - - if(isset($_SESSION['composanteprime']['Carte'])) - { - $pdf->Cell(20,$hl,convertirc(_($_SESSION['composanteprime']['Carte'])),"1",1,'C'); - } - else - { - $pdf->Cell(20,$hl,convertirc(_("Carte")),"1",1,'C'); - } - - - $pdf->SetFont('Arial','I',5); - foreach ($gcs as $gc) - { - $pdf->Cell(20,$hl,dateFr($gc['dateCarte']),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc($gc['souscripteur']),"1",0,'L'); - $pdf->Cell(20,$hl,convertirc($gc['numeroBeneficiaire']),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc($gc['beneficiaire']),"1",0,'L'); - $pdf->Cell(20,$hl,format_N($gc['montantCarte']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(160,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['montantCarte']),1,1,'C'); - - $pdf->Cell(60,$hl, _("Nb Carte") . " : " . format_N($reglement['nbCarte']),"1",0,'C'); - $pdf->Cell(60,$hl,_("HT") . " : " . format_N($reglement['htCarte']),"1",0,'C'); - $pdf->Cell(60,$hl,_("TVA") . " : " . format_N($reglement['tvaCarte']),1,1,'C'); - - $fichier="Temp/TMP_DETAIL_CARTES_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_cartes_gc_sel_xls(); - - // Excel - - $headerXLS = array( - _('Souscripteur'), - _('Bénéficiaire'), - _('No Bénéf'), - 'Date', - _('Carte') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('CARTES GESTION CONFIEE')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('CARTES GESTION CONFIEE'))); - - $feuille->setCellValue('A2', convertirc(_('Assureur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - - $feuille->setCellValue('A5', convertirc(_('Nb Carte').' : ')); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbCarte']))); - - $feuille->setCellValue('A6', convertirc(_('TTC').' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantCarte']))); - - $feuille->setCellValue('A7', convertirc(_('HT').' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['htCarte']))); - - $feuille->setCellValue('A8', convertirc(_('TVA').' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['tvaCarte']))); - - $feuille->fromArray($headerXLS, NULL, 'A10', true); - $feuille->fromArray($dataXLS, NULL, 'A11', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_CARTES_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - $this->ouinonhospit = (new Ouinon())->getListe(); - $this->prestation = new Prestationactes(); - $this->beneficiaire = new Beneficiaire(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $facture = $this->facture->getfactureclassique_temp(); - - $prestations = $this->facture->getprestationsclassiques_temp(); - - $garantieadherent_temp = $this->facture->afficher_garantieadherent_temp(); - - $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); - - $limite_beneficiaire = $this->prestation->getLimitesBeneficiaireTempAssureur(); - - $this->genererVueAjax(array('facture' => $facture, 'prestations' => $prestations, 'garantieadherent_temp' => $garantieadherent_temp, - 'ouinonhospit' => $this->ouinonhospit, 'limite_beneficiaire' => $limite_beneficiaire)); - } - - public function majprix() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $valeurActe = $this->requete->getParametreFormulaire("valeurActe", "numerique"); - - $this->facture->majprix($idPrestation, $valeurActe); - - $this->executerAction("index"); - } - - public function majtm() - { - $tm = $this->requete->getParametreFormulaire("tm", "numerique"); - - $this->facture->majtm($tm); - - $this->executerAction("index"); - } - - public function enregistrerfacturetemp() - { - $prestataire = $this->requete->getParametreFormulaire("prestataire"); - $dateFacture = $this->requete->getParametreDate("dateFacture"); - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - $observations = $this->requete->getParametreFormulaire("observations"); - $tm = $this->requete->getParametreFormulaire("tm", "numerique"); - $numeroFacture = $this->requete->getParametreFormulaire("numeroFacture"); - - $this->facture->enregistrerfacturetemp($prestataire, $dateFacture, $hospitalisation, $observations, $tm, $numeroFacture); - - $this->executerAction("index"); - } - - public function validerfactureclassique() - { - $this->facture->validerfactureclassique(); - } - - public function enregistrerpaiementfactureclassique() - { - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $this->facture->enregistrerpaiementfactureclassique($dateComptable, $codeModePaiement, $referencePaiement); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailfacturegcpdf.php b/radiantproduction/Controleur/ControleurAjaxdetailfacturegcpdf.php deleted file mode 100644 index 17c54e0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailfacturegcpdf.php +++ /dev/null @@ -1,135 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_factures_gc_sel(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(10, 10, 10) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc(_("DETAIL DES SINISTRES DE LA FACTURATION")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(12,5,convertirc(_("Assureur")),0,0,'L',false); - $pdf->Cell(18,5,convertirc(': '.$reglement['gcassureur']),0,0,'L',false); - - $pdf->Cell(8,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(14,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(10,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,1,'L',false); - } - - $pdf->Cell(12,5,convertirc('Observ'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['observations']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',5); - - $pdf->Cell(12,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_("Facture")),"1",0,'C'); - $pdf->Cell(33,$hl,convertirc(_("Prestataire")),"1",0,'C'); - $pdf->Cell(45,$hl,convertirc(_("Souscripteur")),"1",0,'C'); - $pdf->Cell(13,$hl,convertirc(_("No Bénéf")),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_("Bénéficiaire")),"1",0,'C'); - $pdf->Cell(14,$hl,convertirc(_("Frais")),"1",0,'C'); - $pdf->Cell(12,$hl,convertirc(_("Redres")),"1",0,'C'); - $pdf->Cell(14,$hl,convertirc(_("A payer")),"1",1,'C'); - - $pdf->SetFont('Arial','I',5); - foreach ($gcs as $gc) - { - $pdf->Cell(12,$hl,dateFr($gc['dateFacture']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($gc['idFacture']),"1",0,'C'); - $pdf->Cell(33,$hl,convertirc($gc['prestataire']),"1",0,'L'); - $pdf->Cell(45,$hl,convertirc(substr($gc['souscripteur'], 0, 45)),"1",0,'L'); - $pdf->Cell(13,$hl,convertirc($gc['numeroBeneficiaire']),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc($gc['beneficiaire']),"1",0,'L'); - $pdf->Cell(14,$hl,format_N($gc['montantFacture']),"1",0,'C'); - $pdf->Cell(12,$hl,format_N($gc['montantRedresse']),"1",0,'C'); - $pdf->Cell(14,$hl,format_N($gc['montantApayer']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(148,$hl,convertirc(_('TOTAL SINISTRES')),"1",0,'C'); - $pdf->Cell(14,$hl,format_N($reglement['montantFacture']),"1",0,'C'); - $pdf->Cell(12,$hl,format_N($reglement['montantRedresse']),"1",0,'C'); - $pdf->Cell(14,$hl,format_N($reglement['montantApayer']),1,1,'C'); - - $pdf->Cell(60,$hl, _('Nb Factures') . " : " . format_N($reglement['nbFacture']),"1",0,'C'); - $pdf->Cell(63,$hl, _('Frais de Gestion') . " : " .format_N($reglement['commissionFacture']),"1",0,'C'); - $pdf->Cell(65,$hl,_('Frais Redressement') . " : " . format_N($reglement['commissionRedresse']),1,1,'C'); - - $fichier="Temp/TMP_DETAIL_FACTURES_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_factures_gc_xls(); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Souscripteur'), - "Date", - _('No Fact'), - _('No Bénéf'), - _('Bénéficiaire'), - _('Frais'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES GESTION CONFIEE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES GESTION CONFIEE'))); - - $feuille->setCellValue('A2', convertirc(_('Assureur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - -// maj entete - $feuille->setCellValue('A5', convertirc(_('Nb Fact').' : ')); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbFacture']))); - - $feuille->setCellValue('A6', convertirc(_('Sinistres').' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantApayer']))); - - $feuille->setCellValue('A7', convertirc(_('Frais Gest').' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['commissionFacture']))); - - $feuille->setCellValue('A8', convertirc(_('Redressé').' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['montantRedresse']))); - - $feuille->setCellValue('A9', convertirc(_('Com Redr').' : ')); - $feuille->setCellValue('B9', convertirc(" ".format_N($entete['commissionRedresse']))); - - - $feuille->fromArray($headerXLS, NULL, 'A11', true); - $feuille->fromArray($dataXLS, NULL, 'A12', true); -// fin entete - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_factures_gc_xls_gar(); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Souscripteur'), - "Date", - _('No Fact'), - _('No Bénéf'), - _('Bénéficiaire'), - _('Frais'), - _('Redressé'), - _('A payer'), - _('Gar') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES GESTION CONFIEE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES GESTION CONFIEE'))); - - $feuille->setCellValue('A2', convertirc(_('Assureur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - -// maj entete - $feuille->setCellValue('A5', convertirc(_('Nb Fact').' : ')); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbFacture']))); - - $feuille->setCellValue('A6', convertirc(_('Sinistres').' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantApayer']))); - - $feuille->setCellValue('A7', convertirc(_('Frais Gest').' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['commissionFacture']))); - - $feuille->setCellValue('A8', convertirc(_('Redressé').' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['montantRedresse']))); - - $feuille->setCellValue('A9', convertirc(_('Com Redr').' : ')); - $feuille->setCellValue('B9', convertirc(" ".format_N($entete['commissionRedresse']))); - - - $feuille->fromArray($headerXLS, NULL, 'A11', true); - $feuille->fromArray($dataXLS, NULL, 'A12', true); -// fin entete - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_GC_GAR'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_frais_gestion_gc_sel(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc(_("FRAIS DE GESTION DE LA FACTURATION PAR MOIS")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(12,5,convertirc(_("Assureur")),0,0,'L',false); - $pdf->Cell(18,5,convertirc(': '.$reglement['gcassureur']),0,0,'L',false); - - $pdf->Cell(8,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(14,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(10,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,1,'L',false); - } - - $pdf->Cell(12,5,convertirc('Observ'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['observations']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(30,$hl,convertirc(_("Exercice")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Mois")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Nb Carte")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Montant")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("TVA")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("TTC")),"1",1,'C'); - - $pdf->SetFont('Arial','I',7); - foreach ($gcs as $gc) - { - $pdf->Cell(30,$hl,convertirc($gc['codeExercice']),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc($gc['codeMois']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['nbCarte']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['montantFrais']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['tvaFrais']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['ttcFrais']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',7); - - $pdf->Cell(60,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($reglement['nbCarte']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($reglement['montantFrais']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($reglement['tvaFrais']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($reglement['ttcFrais']),1,1,'C'); - - $fichier="Temp/TMP_DETAIL_FG_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_frais_gestion_gc_sel_xls(); - - // Excel - - $headerXLS = array( - _("Exercice"), - _("Mois"), - _("Nb Carte"), - _("Montant"), - _("TVA"), - _("TTC")); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_("FRAIS GESTION CONFIEE")); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_("FRAIS GESTION CONFIEE"))); - - $feuille->setCellValue('A2', convertirc(_("Assureur"))); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - - $feuille->setCellValue('A5', convertirc(_("Nb Carte")." : ")); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbCarte']))); - - $feuille->setCellValue('A6', convertirc(_("Montant").' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantFrais']))); - - $feuille->setCellValue('A7', convertirc(_("TVA").' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['tvaFrais']))); - - $feuille->setCellValue('A8', convertirc(_("TTC").' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['ttcFrais']))); - - $feuille->fromArray($headerXLS, NULL, 'A10', true); - $feuille->fromArray($dataXLS, NULL, 'A11', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FRAIS_GESTION_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $reglement = $this->reglement->getpaiementdecompte($idPaiementDecompte); - - $decomptes = $this->reglement->get_paiementdecompte_cons(); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(10, 10, 10) ; - - // $pdf->AliasNbPages(); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->SetFont('Arial','BU',10); - - $pdf->Ln(5); - - $pdf->Cell(0,6,convertirc(_("DETAIL PAIEMENT DECOMPTES")),0,1,'C',false); - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(10,5,convertirc(_("No Règlt")),0,0,'L',false); - $pdf->Cell(15,5,convertirc(': '.$reglement['numeroReglement']),0,0,'L',false); - - $pdf->Cell(6,5,convertirc('Init'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateheureFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(4,5,convertirc('Init'),0,0,'L',false); - $pdf->Cell(20,5,convertirc(': '.$reglement['codeUtilisateur']),0,0,'L',false); - - $pdf->Cell(10,5,convertirc(_("Décptes")),0,0,'L',false); - $pdf->Cell(8,5,convertirc(': '.$reglement['nbDecomptes']),0,0,'L',false); - - $pdf->Cell(10,5,convertirc(_("Montant")),0,0,'L',false); - $pdf->Cell(20,5,convertirc(': '.format_N($reglement['montantApayer'])),0,0,'L',false); - - if($reglement['valide']=="1") - { - $pdf->Cell(6,5,convertirc('Valid'),0,0,'L',false); - $pdf->Cell(20,5,convertirc(': '.$reglement['userPaiement']),0,0,'L',false); - - $pdf->Cell(7,5,convertirc(_("Heure Valid")),0,0,'L',false); - $pdf->Cell(0,5,convertirc(': '.dateheureFr($reglement['heureReglement'])),0,1,'R',false); - } - else - { - $pdf->Cell(0,5,convertirc(_("ATTENTE VALIDATION")),0,1,'R',false); - } - - - // 2ème ligne - - $pdf->Cell(10,5,convertirc(_("Mod P")),0,0,'L',false); - $pdf->Cell(15,5,convertirc(': '.$reglement['modepaiement']),0,0,'L',false); - - $pdf->Cell(6,5,convertirc(_("Banque")),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['banquePayeur']),0,0,'L',false); - - $pdf->Cell(4,5,convertirc(_("Réf")),0,0,'L',false); - $pdf->Cell(20,5,convertirc(': '.$reglement['referencePaiement']),0,0,'L',false); - - $pdf->Cell(10,5,convertirc(_("Date Cpt")),0,0,'L',false); - $pdf->Cell(8,5,convertirc(': '.dateFr($reglement['dateComptable'])),0,0,'L',false); - - // FIN ENTETE - - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(20,$hl,convertirc(_("Exercice")),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_("Mois")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("No Demande")),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc(_("Prestataire")),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_("Montant")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Date Demande")),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_("No Lot")),"1",1,'C'); - - // détail des demandes de règlements - - $pdf->SetFont('Arial','I',6); - - foreach ($decomptes as $decompte) - { - $pdf->Cell(20,$hl,convertirc($decompte['codeExercice']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($decompte['codeMois']),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc($decompte['numeroDemandeReglement']),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc($decompte['prestataire']),"1",0,'L'); - $pdf->Cell(25,$hl,format_N($decompte['montantApayer']),"1",0,'C'); - $pdf->Cell(30,$hl,dateheureFr($decompte['dateDemandeReglement']),"1",0,'C'); - $pdf->Cell(35,$hl,$decompte['numeroLotDecompte'],"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(100,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($reglement['montantApayer']),"1",0,'C'); - $pdf->Cell(65,$hl,"",1,1,'C'); - - $fichier="Temp/TMP_DETAIL_PAIEMENT_DCPTE"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $reglement = $this->reglement->getpaiementdecompte($idPaiementDecompte); - - $decomptes = $this->reglement->get_paiementdecompte_export(); - - // Excel - - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('No Demande'), - _('Prestataire'), - _('Montant'), - _('Date Demande'), - _('No Lot') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $decompte) - { - $dataXLS[]=$decompte; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL PAIEMENT DECOMPTES')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A3', convertirc(_("DETAIL PAIEMENT DECOMPTES"))); - $feuille->mergeCells('A3:E3'); - - $feuille->setCellValue('A5', 'No Reglement : '); - $feuille->setCellValue('B5', convertirc($reglement['numeroReglement'])); - - $feuille->fromArray($headerXLS, NULL, 'A7', true); - $feuille->fromArray($dataXLS, NULL, 'A8', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_DETAIL_PAIEMENT_DCPTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailprescription = new Detailprescription(); - } - - public function index() - { - } - - public function initremplacement() - { - $idMedicament = $this->requete->getParametre("idMedicament"); - - $_SESSION['p_idMedicament_a_remplacer'] = $idMedicament; - } - - public function consulterremplacement() - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - - $medicaments_remplaces = $this->detailprescription->getmedicamentsremplaces($numeroBonOrdonnance); - - $this->genererVueAjax(array('medicaments_remplaces' => $medicaments_remplaces)); - } - - public function liberermedicament() - { - $idDetailprescription = $this->requete->getParametreFormulaire("idDetailprescription"); - - - $this->detailprescription->liberermedicament($idDetailprescription); - - } - - public function consultermedicamentliberes() - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - - $medicaments_liberes = $this->detailprescription->consultermedicamentliberes($numeroBonOrdonnance); - - $this->genererVueAjax(array('medicaments_liberes' => $medicaments_liberes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailrapportmail.php b/radiantproduction/Controleur/ControleurAjaxdetailrapportmail.php deleted file mode 100644 index 1f4ce31..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailrapportmail.php +++ /dev/null @@ -1,181 +0,0 @@ -detailsp = new Statistique(); - require_once 'Framework/Ebenegmail.php'; - $this->mail_C = $mail; - } - - public function index() - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $email = $this->requete->getParametreFormulaire("emailRapport"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportsppdf($idPolice); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur'] . " : " . _("RAPPORT SINISTRE A PRIME PAR FAMILLE")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc('E-mail : '.$email),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Période couverte').' : '.$entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(60,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Date Effet')),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_('Jours')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('Prime An')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('Prim Acq')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('Sinistres')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc("Ratio"),"1",1,'C'); - - $pdf->SetFont('Arial','I',7); - foreach ($detailsps as $detailsp) - { - $pdf->Cell(60,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateEffetAdherent']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['duree_acq']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAnnuelle']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAcquise']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['sinistres']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSp']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSpAn']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',7); - - $pdf->Cell(85,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAnnuelleTotal']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAcquiseTotal']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['sinistresTotal']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSpTotal']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSpTotalAn']),"1",1,'C'); - - // DEBUT ENVOI DU MAIL AVEC PIECE JOINTE - - $mail_C = $this->mail_C; - - $mail_C->ClearAllRecipients(); - $mail_C->clearAttachments(); - - $addr = explode(';', $email); - - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - } - - if (est_anglophone()) - { - $fichier="Temp/SUMMARY_END_".$dateAnalyse."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $obejt = "SUMMARY END : ".$dateAnalyse; - - $body = convertirc("Dear Customer,"); - - $body .= "

"; - - $body .= convertirc("Hope this email find you well,"); - - $body .= "

"; - - $body .= convertirc("Attached file is claims report of your staff from starting date up to ".$dateAnalyse).'.'; - - $body .= "

"; - - $body .= convertirc("You can share those informations with every one and if any more clarification do not hesitate to contact us for more details."); - - $body .= "

"; - - $body .= convertirc("Kind Regards."); - - $altbody = "SEE ATTACHMENT"; - } - else - { - $fichier="Temp/RAPPORT_SP_".$dateAnalyse."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $obejt = "RAPPORT AU : ".$dateAnalyse; - - $body = convertirc("Cher Client,"); - - $body .= "

"; - - $body .= convertirc("Nous vous prions de trouver en pièce jointe votre rapport de consommations par famille à la date du ".$dateAnalyse).'.'; - - $body .= "

"; - - $body .= convertirc("Vous pouvez partager ces informations avec tout le monde et si vous avez besoin de précisions,"); - - $body .= "

"; - - $body .= convertirc("N'hésitez pas à nous contacter pour plus de détails."); - - $body .= "

"; - - $body .= convertirc("Cordialement!"); - - $altbody = "VOIR PIECE JOINTE"; - } - - $obejt = convertirc($obejt); - - $pj = $fichier; - - $mail_C->Subject = $obejt; - - $mail_C->AltBody = $altbody; - $mail_C->Body=$body; - - $mail_C->addAttachment($pj); - - if (!$mail_C->send()) - { - // echo "Erreur mail : " . $mail_C->ErrorInfo; - } - else - { - // echo "Message envoyé!"; - } - - // FIN ENVOI DU MAIL AVEC PIECE JOINTE - - // supprimons le fichier - unlink ($pj); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailrapportsp.php b/radiantproduction/Controleur/ControleurAjaxdetailrapportsp.php deleted file mode 100644 index be38a87..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailrapportsp.php +++ /dev/null @@ -1,80 +0,0 @@ -detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportsp($idPolice); - - // Excel - $headerXLS = array - ( - _('Adhérent'), - _('Date Effet'), - _('Durée Acquise'), - _('Primes Totales'), - _('Primes Acquises'), - _('Sinistres'), - _('Rapport S/P'), - _('S/P Annuel'), - _('Cat') - ); - - $dataXLS = array(); - - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL SP CLIENT')); - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_("RAPPORT SINISTRE A PRIME PAR FAMILLE"))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - // $feuille->setCellValue('A4', convertirc(_('Période couverte').' : ')); - $feuille->setCellValue('A4', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B4', convertirc($entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice'])); - - $feuille->fromArray($headerXLS, NULL, 'A6', true); - $feuille->fromArray($dataXLS, NULL, 'A7', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_SP_CLIENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspanomalies($idPolice); - - // Excel - $headerXLS = array - ( - _('ID Police'), - _('Adhérent'), - _('Bénéficiaire'), - _('Date'), - _('Prestataire'), - _('Montant Facture'), - _('Montant Actes'), - _('Différence'), - _('No Fact') - ); - - $dataXLS = array(); - - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ANOMALIE POLICE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_("ANOMALIES STATISTIQUES DE LA POLICE"))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B4', convertirc($entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice'])); - - $feuille->fromArray($headerXLS, NULL, 'A6', true); - $feuille->fromArray($dataXLS, NULL, 'A7', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/ANOMALIES_STAT_POLICE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspfacture($idPolice); - - // Excel - $headerXLS = array - ( - _('Adhérent'), - _('Bénéficiaire'), - _('Date'), - _('Prestataire'), - _('Montant'), - _('No Fact') - ); - - $dataXLS = array(); - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES CLIENT')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_("RAPPORT SINISTRE A PRIME PAR FAMILLE"))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B4', convertirc($entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice'])); - - $feuille->fromArray($headerXLS, NULL, 'A6', true); - $feuille->fromArray($dataXLS, NULL, 'A7', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_FACTURE_CLIENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $entete = $this->detailsp->detailrapportspadhpdfentete($idAdherent); - - $detailsps = $this->detailsp->detailrapportspfactureadh($idAdherent); - - // Excel - $headerXLS = array - ( - _('Bénéficiaire'), - _('Date'), - _('Prestataire'), - _('Montant'), - _('No Fact') - ); - - $dataXLS = array(); - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL FACTURE FAMILLE')); - - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_("RAPPORT SINISTRE A PRIME PAR FAMILLE"))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Adhérent').' : ')); - $feuille->setCellValue('B4', convertirc($entete['adherent'])); - - $feuille->setCellValue('A5', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B5', convertirc($entete['dateEffetAdherent']." To ".$entete['dateFinAdherent'])); - - $feuille->fromArray($headerXLS, NULL, 'A7', true); - $feuille->fromArray($dataXLS, NULL, 'A8', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_FACTURE_FAMILLE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $entete = $this->detailsp->detailrapportspadhpdfentete($idAdherent); - - $detailsps = $this->detailsp->detailrapportspadhfacturepdf($idAdherent); - - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES FACTURES FAMILLE')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Adhérent').' : '.$entete['adherent']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Couverture').' : '.$entete['dateEffetAdherent']." To ".$entete['dateFinAdherent']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(70,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('No Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(70,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc($detailsp['prestataire']),"1",0,'L'); - $pdf->Cell(20,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(145,$hl,convertirc("TOTAL"),"1",0,'C'); - // $pdf->Cell(20,$hl,format_N($detailsp['montantTotal']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($montantTotal),"1",0,'C'); - $pdf->Cell(15,$hl,"","1",1,'C'); - - $fichier="Temp/TMP_DETAIL_FACTURES_FAM"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - $debutSinistre = $this->requete->getParametreFormulaire("debutSinistre"); - $finSinistre = $this->requete->getParametreFormulaire("finSinistre"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspfactureexercice($idPolice, $debutSinistre, $finSinistre); - - // Excel - $headerXLS = array - ( - _('Adhérent'), - _('Bénéficiaire'), - _('Date'), - _('Prestataire'), - _('Montant'), - _('No Fact') - ); - - $dataXLS = array(); - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES POLICE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_('Rapport S/P'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Période').' : ')); - $feuille->setCellValue('B4', convertirc($debutSinistre." To ".$finSinistre)); - - $feuille->fromArray($headerXLS, NULL, 'A6', true); - $feuille->fromArray($dataXLS, NULL, 'A7', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DET_FACT_POL_PERIOD'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - $debutSinistre = $this->requete->getParametreFormulaire("debutSinistre"); - $finSinistre = $this->requete->getParametreFormulaire("finSinistre"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspfactureexercicepdf($idPolice, $debutSinistre, $finSinistre); - - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES FACTURES SUR UNE PERIODE')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Période').' : '.$debutSinistre.' '._('au').' '.$finSinistre),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(50,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_('No Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(50,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(50,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(substr($detailsp['prestataire'], 0, 30)),"1",0,'L'); - $pdf->Cell(15,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(155,$hl,convertirc("TOTAL"),"1",0,'C'); - // $pdf->Cell(15,$hl,format_N($detailsp['montantTotal']),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($montantTotal),"1",0,'C'); - $pdf->Cell(10,$hl,"","1",1,'C'); - - $fichier="Temp/TMP_FACTURES_SP_EXERCICE"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - require_once 'Framework/Ebenegmail.php'; - $this->mail_C = $mail; - } - - public function index() - { - - $dateAnalyse = $_SESSION['dateAnalyse']; - - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $email = $this->requete->getParametreFormulaire("emailRapport"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspfacturepdf($idPolice); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES FACTURES')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc('E-mail : '.$email),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Couverture').' : '.$entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(50,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_('No Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(50,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(50,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(substr($detailsp['prestataire'], 0, 30)),"1",0,'L'); - $pdf->Cell(15,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(155,$hl,convertirc("TOTAL"),"1",0,'C'); - // $pdf->Cell(15,$hl,format_N($detailsp['montantTotal']),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($montantTotal),"1",0,'C'); - $pdf->Cell(10,$hl,"","1",1,'C'); - - $fichier="Temp/DETAILS_END_KANE".$dateAnalyse."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - // DEBUT ENVOI DU MAIL AVEC PIECE JOINTE - - $mail_C = $this->mail_C; - - $mail_C->ClearAllRecipients(); - $mail_C->clearAttachments(); - - // pour envoi à moi seul - // $email = "kanelazeni@gmail.com"; - // fin envoi à moi seul - - $addr = explode(';', $email); - - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - else - { - // echo "Veuillez revoir cette adresse PHP : " . $ad; - // exit(); - } - } - - // $mail_C->AddCC("lkane@ebene.info"); - - $obejt = "DETAILS END : ".$dateAnalyse; - - $body = "Dear Customer, - -Hope this email find you well, - -Attached file is claims report of your staff from starting date up to ".$dateAnalyse." - -You can share those information with every one and if any more clarification do not hesitate to contact me for more details. - -Kind Regards."; - - $altbody = "VOIR PIECE JOINTE"; - - $pj = $fichier; - - $mail_C->Subject = $obejt; - - $mail_C->AltBody = $altbody; - $mail_C->Body=$body; - - $mail_C->addAttachment($pj); - - // var_dump($mail_C); - // exit(); - - if (!$mail_C->send()) - { - // echo "Erreur mail : " . $mail_C->ErrorInfo; - } - else - { - // echo "Message envoyé!"; - } - - // FIN ENVOI DU MAIL AVEC PIECE JOINTE - - // supprimons le fichier - unlink ($pj); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailrapportspfacturepdf.php b/radiantproduction/Controleur/ControleurAjaxdetailrapportspfacturepdf.php deleted file mode 100644 index 701f145..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailrapportspfacturepdf.php +++ /dev/null @@ -1,86 +0,0 @@ -detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspfacturepdf($idPolice); - - // echo "idPolice => $idPolice"; - // var_dump(count($detailsps)); - // var_dump($detailsps); - // exit(); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES FACTURES')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Couverture').' : '.$entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(50,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_('No Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(50,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(50,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(substr($detailsp['prestataire'], 0, 30)),"1",0,'L'); - // $pdf->Cell(36,$ht,convertirc(substr($facture['souscripteur'], 0, 30)),1,0,'L',false); - $pdf->Cell(15,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(155,$hl,convertirc("TOTAL"),"1",0,'C'); - // $pdf->Cell(15,$hl,format_N($detailsp['montantTotal']),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($montantTotal),"1",0,'C'); - $pdf->Cell(10,$hl,"","1",1,'C'); - - $fichier="Temp/TMP_DETAIL_FACTURES_SP"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspgarantie($idPolice); - - // Excel - $headerXLS = array - ( - _('Adhérent'), - _('Bénéficiaire'), - _('Cat'), - _('Collège'), - _('Date'), - _('Prestataire'), - _('Réseau'), - _('Tarif'), - _('No Fact'), - _('Gar'), - _('Montant') - ); - - $dataXLS = array(); - - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL GARANTIES CLIENT')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_("RAPPORT SINISTRE A PRIME PAR FAMILLE"))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B4', convertirc($entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice'])); - - $feuille->fromArray($headerXLS, NULL, 'A6', true); - $feuille->fromArray($dataXLS, NULL, 'A7', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_GARANTIES_CLIENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $entete = $this->detailsp->detailrapportspadhpdfentete($idAdherent); - - $detailsps = $this->detailsp->detailrapportspgarantieadh($idAdherent); - - // Excel - $headerXLS = array - ( - _('Bénéficiaire'), - _('Date'), - _('Prestataire'), - _('Réseau'), - _('Tarif'), - _('No Fact'), - _('Gar'), - _('Montant') - ); - - $dataXLS = array(); - - - foreach ($detailsps as $detailsp) - { - $dataXLS[]=$detailsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL GARANTIES FAMILLE')); - - $feuille->setCellValue('A1', convertirc($entete['nomAssureur'])); - $feuille->setCellValue('B1', convertirc(_("RAPPORT SINISTRE A PRIME PAR FAMILLE"))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Adhérent').' : ')); - $feuille->setCellValue('B4', convertirc($entete['adherent'])); - - $feuille->setCellValue('A5', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B5', convertirc($entete['dateEffetAdherent']." To ".$entete['dateFinAdherent'])); - - $feuille->fromArray($headerXLS, NULL, 'A7', true); - $feuille->fromArray($dataXLS, NULL, 'A8', true); - - $fichier = 'Temp/DETAIL_GARANTIES_FAMILLE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $entete = $this->detailsp->detailrapportspadhpdfentete($idAdherent); - - $detailsps = $this->detailsp->detailrapportspgarantieadhpdf($idAdherent); - - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES GARANTIES DE LA FAMILLE')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Adhérent').' : '.$entete['adherent']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Couvverture').' : '.$entete['dateEffetAdherent']." To ".$entete['dateFinAdherent']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(60,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_('Gar')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('No Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(60,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc($detailsp['prestataire']),"1",0,'L'); - $pdf->Cell(10,$hl,convertirc($detailsp['gar']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(145,$hl,convertirc("TOTAL"),"1",0,'C'); - // $pdf->Cell(20,$hl,format_N($detailsp['montantTotal']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($montantTotal),"1",0,'C'); - $pdf->Cell(15,$hl,"","1",1,'C'); - - $fichier="Temp/TMP_DETAIL_GARANTIES_SP"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - require_once 'Framework/Ebenegmail.php'; - $this->mail_C = $mail; - } - - public function index() - { - - $dateAnalyse = $_SESSION['dateAnalyse']; - - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $email = $this->requete->getParametreFormulaire("emailRapport"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspgarantiepdf($idPolice); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES FACTURES')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc('E-mail : '.$email),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Couverture').' : '.$entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(40,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_('College')),"1",0,'C'); - $pdf->Cell(13,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(5,$hl,convertirc(_('Gar')),"1",0,'C'); - $pdf->Cell(13,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(9,$hl,convertirc(_('Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(40,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(40,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(35,$hl,convertirc($detailsp['college']),"1",0,'L'); - $pdf->Cell(13,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - // $pdf->Cell(40,$hl,convertirc($detailsp['prestataire']),"1",0,'L'); - $pdf->Cell(35,$hl,convertirc(substr($detailsp['prestataire'], 0, 28)),"1",0,'L'); - $pdf->Cell(5,$hl,convertirc($detailsp['gar']),"1",0,'C'); - $pdf->Cell(13,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(9,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - $fichier="Temp/DET_GAR_".$idPolice."_".$dateAnalyse."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $mail_C = $this->mail_C; - - $mail_C->ClearAllRecipients(); - $mail_C->clearAttachments(); - - $addr = explode(';', $email); - - foreach ($addr as $ad) - { - if(tester_une_adresse_email($ad)) - { - $mail_C->AddAddress(trim($ad) ); - } - } - - $obejt = $_SESSION['nomSociete']." : "._('DETAIL DES GARANTIES'); - - if (est_anglophone()) - { - $fichier="Temp/DET_BENEF_".$idPolice."_".$dateAnalyse."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $body = convertirc("Dear Customer,"); - - $body .= "

"; - - $body .= convertirc("Hope this email find you well,"); - - $body .= "

"; - - $body .= convertirc("Attached file is claims report of your staff by benefits and family from starting date up to ".$dateAnalyse).'.'; - - $body .= "

"; - - $body .= convertirc("You can share those informations with every one and if any more clarification do not hesitate to contact us for more details."); - - $body .= "

"; - - $body .= convertirc("Kind Regards."); - - $altbody = "SEE ATTACHMENT"; - } - else - { - $fichier="Temp/DET_GAR_".$idPolice."_".$dateAnalyse."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $body = convertirc("Cher Client,"); - - $body .= "

"; - - $body .= convertirc("Nous vous prions de trouver en pièce jointe votre rapport de consommations détaillé par garantie et par famille à la date du ".$dateAnalyse).'.'; - - $body .= "

"; - - $body .= convertirc("Vous pouvez partager ces informations avec tout le monde et si vous avez besoin de précisions,"); - - $body .= "

"; - - $body .= convertirc("N'hésitez pas à nous contacter pour plus de détails."); - - $body .= "

"; - - $body .= convertirc("Cordialement!"); - - $altbody = "VOIR PIECE JOINTE"; - } - - $obejt = convertirc($obejt); - - $pj = $fichier; - - $mail_C->Subject = $obejt; - - $mail_C->AltBody = $altbody; - $mail_C->Body=$body; - - $mail_C->addAttachment($pj); - - if (!$mail_C->send()) - { - // echo "Erreur mail : " . $mail_C->ErrorInfo; - } - else - { - // echo "Message envoyé!"; - } - - // FIN ENVOI DU MAIL AVEC PIECE JOINTE - - // supprimons le fichier - unlink ($pj); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailrapportspgarantiepdf.php b/radiantproduction/Controleur/ControleurAjaxdetailrapportspgarantiepdf.php deleted file mode 100644 index 9d7cc73..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailrapportspgarantiepdf.php +++ /dev/null @@ -1,88 +0,0 @@ -detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - $detailsps = $this->detailsp->detailrapportspgarantiepdf($idPolice); - - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(10, 10, 10) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur']." : "._('DETAIL DES GARANTIES')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Couverture').' : '.$entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(40,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(_('Bénéficiaire')),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_('College')),"1",0,'C'); - $pdf->Cell(13,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_('Prestataire')),"1",0,'C'); - $pdf->Cell(5,$hl,convertirc(_('Gar')),"1",0,'C'); - $pdf->Cell(13,$hl,convertirc(_('Montant')),"1",0,'C'); - $pdf->Cell(9,$hl,convertirc(_('Fact')),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - $montantTotal = 0; - foreach ($detailsps as $detailsp) - { - $pdf->Cell(40,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(40,$hl,convertirc($detailsp['beneficiaire']),"1",0,'L'); - $pdf->Cell(35,$hl,convertirc($detailsp['college']),"1",0,'L'); - $pdf->Cell(13,$hl,convertirc($detailsp['dateFacture']),"1",0,'C'); - // $pdf->Cell(40,$hl,convertirc($detailsp['prestataire']),"1",0,'L'); - $pdf->Cell(35,$hl,convertirc(substr($detailsp['prestataire'], 0, 30)),"1",0,'L'); - $pdf->Cell(5,$hl,convertirc($detailsp['gar']),"1",0,'C'); - $pdf->Cell(13,$hl,format_N($detailsp['montant']),"1",0,'C'); - $pdf->Cell(9,$hl,convertirc($detailsp['facture']),"1",1,'C'); - $montantTotal = $detailsp['montantTotal']; - } - - /* mis en commentaire le 01/08/2018 => proposition de MUGABO*/ - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(168,$hl,convertirc("TOTAL"),"1",0,'C'); - // $pdf->Cell(13,$hl,format_N($detailsp['montantTotal']),"1",0,'C'); - $pdf->Cell(13,$hl,format_N($montantTotal),"1",0,'C'); - $pdf->Cell(9,$hl,"","1",1,'C'); - - $fichier="Temp/TMP_DETAIL_GARANTIES_SP"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailsp = new Statistique(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - $entete = $this->detailsp->detailrapportsppdfentete($idPolice); - - // var_dump($entete); - // exit(); - - $detailsps = $this->detailsp->detailrapportsppdf($idPolice); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc($entete['nomAssureur'] . " : " . _("RAPPORT SINISTRE A PRIME PAR FAMILLE")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',7); - - $pdf->Cell(0,5,convertirc(_('Souscripteur').' : '.$entete['souscripteur']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('No Police').' : '.$entete['numeroPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Période couverte').' : '.$entete['dateEffetPolice'].' '._('au').' '.$entete['dateFinPolice']),0,1,'L',false); - $pdf->Cell(0,5,convertirc(_('Date Analyse').' : '.$entete['dateAnalyse']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->Cell(60,$hl,convertirc(_('Adhérent')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Date Effet')),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_('Jours')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('Prime An')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('Prim Acq')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('Sinistres')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc("Ratio"),"1",1,'C'); - - $pdf->SetFont('Arial','I',7); - foreach ($detailsps as $detailsp) - { - $pdf->Cell(60,$hl,convertirc($detailsp['adherent']),"1",0,'L'); - $pdf->Cell(15,$hl,convertirc($detailsp['dateEffetAdherent']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['duree_acq']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAnnuelle']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAcquise']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['sinistres']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSp']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSpAn']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',7); - - $pdf->Cell(85,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAnnuelleTotal']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['primeAcquiseTotal']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($detailsp['sinistresTotal']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSpTotal']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailsp['rapportSpTotalAn']),"1",1,'C'); - - $fichier="Temp/TMP_CUMUL_SP_FAMILLE"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
avenant2 = new Police(); - $this->beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $emission2 = $this->avenant2->getEmissionTemp($idPolice); - $avenant2 = $this->avenant2->getAvenantTemp($idPolice); - - $beneficiaires = $this->beneficiaire_temp->getListeBeneficiaire_temp_Ren(); - - $this->genererVueAjax(array('emission2' => $emission2, 'avenant2' => $avenant2, 'beneficiaires' => $beneficiaires)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailresiliation.php b/radiantproduction/Controleur/ControleurAjaxdetailresiliation.php deleted file mode 100644 index e0bae23..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailresiliation.php +++ /dev/null @@ -1,25 +0,0 @@ -avenant2 = new Police(); - $this->beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $emission2 = $this->avenant2->getEmissionTemp($idPolice); - $avenant2 = $this->avenant2->getAvenantTemp($idPolice); - - $beneficiaires = $this->beneficiaire_temp->getListeBeneficiaire_temp(); - - $this->genererVueAjax(array('emission2' => $emission2, 'avenant2' => $avenant2, 'beneficiaires' => $beneficiaires)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailretrait.php b/radiantproduction/Controleur/ControleurAjaxdetailretrait.php deleted file mode 100644 index 9201748..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailretrait.php +++ /dev/null @@ -1,37 +0,0 @@ -avenant = new Police(); - $this->beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $avenant = $this->avenant->getAvenantTemp($idPolice); - $beneficiaires_sel = $this->beneficiaire_temp->getListeBeneficiaire_temp_Ret(); - - - $this->genererVueAjax(array('beneficiaires_sel' => $beneficiaires_sel, 'avenant' => $avenant)); - } - - public function recapituler() { - $this->beneficiaire_temp->recapitulerretrait(); - $this->executerAction("index"); - } - - public function appliquertauxristourne() - { - $tauxRistourne = $this->requete->getParametreFormulaire("tauxRistourne","numerique"); - $this->beneficiaire_temp->appliquertauxristourne($tauxRistourne); - $this->executerAction("index"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdetailtousgcpdf.php b/radiantproduction/Controleur/ControleurAjaxdetailtousgcpdf.php deleted file mode 100644 index e2feab2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdetailtousgcpdf.php +++ /dev/null @@ -1,196 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_factures_gc_sel(); - - $cartes = $this->facture->get_cartes_gc_sel(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(10, 10, 10) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc(_("DETAIL DES SINISTRES DE LA FACTURATION")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(12,5,convertirc(_("Assureur")),0,0,'L',false); - $pdf->Cell(18,5,convertirc(': '.$reglement['gcassureur']),0,0,'L',false); - - $pdf->Cell(8,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(14,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(10,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,1,'L',false); - } - - $pdf->Cell(12,5,convertirc('Observ'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['observations']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',5); - - $pdf->Cell(12,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_("Facture")),"1",0,'C'); - $pdf->Cell(33,$hl,convertirc(_("Prestataire")),"1",0,'C'); - $pdf->Cell(45,$hl,convertirc(_("Souscripteur")),"1",0,'C'); - $pdf->Cell(13,$hl,convertirc(_("No Bénéf")),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc(_("Bénéficiaire")),"1",0,'C'); - $pdf->Cell(14,$hl,convertirc(_("Frais")),"1",0,'C'); - $pdf->Cell(12,$hl,convertirc(_("Redres")),"1",0,'C'); - $pdf->Cell(14,$hl,convertirc(_("A payer")),"1",1,'C'); - - $pdf->SetFont('Arial','I',5); - foreach ($gcs as $gc) - { - $pdf->Cell(12,$hl,dateFr($gc['dateFacture']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($gc['idFacture']),"1",0,'C'); - $pdf->Cell(33,$hl,convertirc($gc['prestataire']),"1",0,'L'); - $pdf->Cell(45,$hl,convertirc(substr($gc['souscripteur'], 0, 45)),"1",0,'L'); - $pdf->Cell(13,$hl,convertirc($gc['numeroBeneficiaire']),"1",0,'C'); - $pdf->Cell(35,$hl,convertirc($gc['beneficiaire']),"1",0,'L'); - $pdf->Cell(14,$hl,format_N($gc['montantFacture']),"1",0,'C'); - $pdf->Cell(12,$hl,format_N($gc['montantRedresse']),"1",0,'C'); - $pdf->Cell(14,$hl,format_N($gc['montantApayer']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(148,$hl,convertirc(_('TOTAL SINISTRES')),"1",0,'C'); - $pdf->Cell(14,$hl,format_N($reglement['montantFacture']),"1",0,'C'); - $pdf->Cell(12,$hl,format_N($reglement['montantRedresse']),"1",0,'C'); - $pdf->Cell(14,$hl,format_N($reglement['montantApayer']),1,1,'C'); - - $pdf->Cell(60,$hl,'Nb Factures : '.format_N($reglement['nbFacture']),"1",0,'C'); - $pdf->Cell(63,$hl,'Frais de Gestion : '.format_N($reglement['commissionFacture']),"1",0,'C'); - $pdf->Cell(65,$hl,'Frais Redressement : '.format_N($reglement['commissionRedresse']),1,1,'C'); - - // FIN FACYURE - $pdf->AddPage(); - - $pdf->Cell(0,6,convertirc(_("DETAIL DES CARTES DE LA FACTURATION")),0,1,'C',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',5); - - $pdf->Cell(20,$hl,convertirc("Date"),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc(_("Souscripteur")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("No Bénéf")),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc(_("Bénéficiaire")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("Carte")),"1",1,'C'); - - $pdf->SetFont('Arial','I',5); - foreach ($cartes as $gc) - { - $pdf->Cell(20,$hl,dateFr($gc['dateCarte']),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc($gc['souscripteur']),"1",0,'L'); - $pdf->Cell(20,$hl,convertirc($gc['numeroBeneficiaire']),"1",0,'C'); - $pdf->Cell(60,$hl,convertirc($gc['beneficiaire']),"1",0,'L'); - $pdf->Cell(20,$hl,format_N($gc['montantCarte']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(160,$hl,convertirc(_('TOTAL CARTES')),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['montantCarte']),1,1,'C'); - - $pdf->Cell(60,$hl,'Nb Cartes : '.format_N($reglement['nbCarte']),"1",0,'C'); - $pdf->Cell(60,$hl,'H T : '.format_N($reglement['htCarte']),"1",0,'C'); - $pdf->Cell(60,$hl,'TVA : '.format_N($reglement['tvaCarte']),1,1,'C'); - // FIN CARTES - - $pdf->Cell(0,6,convertirc(_('RECAPITULATIF')),0,1,'C',false); - $pdf->Cell(15,$hl,convertirc(_('Nb Fact')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('Sinistres')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('Frais Gest')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('Redressé')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Com Redr')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Nb Cart')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('Val Carte')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_('HT')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('TVA')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc("Total"),"1",1,'C'); - - $pdf->Cell(15,$hl,format_N($reglement['nbFacture']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['montantFacture']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['commissionFacture']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['montantRedresse']),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($reglement['commissionRedresse']),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($reglement['nbCarte']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['montantCarte']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['htCarte']),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($reglement['tvaCarte']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['montantDu']),"1",1,'C'); - - $fichier="Temp/TMP_DETAIL_FACT_CART_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_factures_gc_xls(); - - // Excel - - $headerXLS = array( - _('Prestataire'), - _('Souscripteur'), - "Date", - _('No Fact'), - _('No Bénéf'), - _('Bénéficiaire'), - _('Frais'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES GESTION CONFIEE')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES GESTION CONFIEE'))); - - $feuille->setCellValue('A2', convertirc(_('Assureur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - - $feuille->setCellValue('A5', convertirc(_('Nb Fact').' : ')); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbFacture']))); - - $feuille->setCellValue('A6', convertirc(_('Sinistres').' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantApayer']))); - - $feuille->setCellValue('A7', convertirc(_('Frais Gest').' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['commissionFacture']))); - - $feuille->setCellValue('A8', convertirc(_('Redressé').' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['montantRedresse']))); - - $feuille->setCellValue('A9', convertirc(_('Com Redr').' : ')); - $feuille->setCellValue('B9', convertirc(" ".format_N($entete['commissionRedresse']))); - - - $feuille->fromArray($headerXLS, NULL, 'A11', true); - $feuille->fromArray($dataXLS, NULL, 'A12', true); - - // FIN 1ere feuille - - // 2ème feuille - - $donnees = $this->facture->get_cartes_gc_sel_xls(); - - // Excel - - $headerXLS = array( - _('Souscripteur'), - _('Bénéficiaire'), - _('No Bénéf'), - 'Date', - _('Carte') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - //création de la nouvelle feuille - $feuille2 = $classeur->createSheet(); - $feuille2->setTitle(_('CARTES GESTION CONFIEE')); - - $feuille2->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille2->setCellValue('B1', convertirc(_("CARTES GESTION CONFIEE"))); - - $feuille2->setCellValue('A2', convertirc(_('Assureur').' : ')); - $feuille2->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille2->setCellValue('A3', convertirc('Date : ')); - $feuille2->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille2->setCellValue('A4', convertirc('Observ : ')); - $feuille2->setCellValue('B4', convertirc($entete['observations'])); - - $feuille2->setCellValue('A5', convertirc(_('Nb Carte').' : ')); - $feuille2->setCellValue('B5', convertirc(" ".format_N($entete['nbCarte']))); - - $feuille2->setCellValue('A6', convertirc(_('TTC').' : ')); - $feuille2->setCellValue('B6', convertirc(" ".format_N($entete['montantCarte']))); - - $feuille2->setCellValue('A7', convertirc(_('HT').' : ')); - $feuille2->setCellValue('B7', convertirc(" ".format_N($entete['htCarte']))); - - $feuille2->setCellValue('A8', convertirc(_('TVA').' : ')); - $feuille2->setCellValue('B8', convertirc(" ".format_N($entete['tvaCarte']))); - - $feuille2->fromArray($headerXLS, NULL, 'A10', true); - $feuille2->fromArray($dataXLS, NULL, 'A11', true); - - // FIN 2ème feuille - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
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/radiantproduction/Controleur/ControleurAjaxdiagnosticscons.php b/radiantproduction/Controleur/ControleurAjaxdiagnosticscons.php deleted file mode 100644 index 1a319ac..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdiagnosticscons.php +++ /dev/null @@ -1,22 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $diagnostics = $this->feuillemaladie->getDiagnostics($numeroFeuilleMaladie); - - $this->genererVueAjax(array('diagnostics' => $diagnostics)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdossierclassique.php b/radiantproduction/Controleur/ControleurAjaxdossierclassique.php deleted file mode 100644 index 66ae08d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxdossierclassique.php +++ /dev/null @@ -1,121 +0,0 @@ -facture = new Facture(); - $this->beneficiaire = new Pbeneficiaire(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $this->genererVueAjax(array('numeroFeuilleMaladie' => $numeroFeuilleMaladie)); - } - - public function enregistrerdossierclassique() - { - // $codeAffection = $this->requete->getParametreFormulaire("codeAffection"); - - $codeLienDemandeur = $this->requete->getParametreFormulaire("codeLienDemandeur"); - $demandeur = $this->requete->getParametreFormulaire("demandeur"); - $codeLienBeneficiaire = $this->requete->getParametreFormulaire("codeLienBeneficiaire"); - $beneficiaireReglement = $this->requete->getParametreFormulaire("beneficiaireReglement"); - $observations = $this->requete->getParametreFormulaire("observations"); - - $codeModePaiementDemande = $this->requete->getParametreFormulaire("codeModePaiementDemande"); - $codeBanqueBeneficiaire = $this->requete->getParametreFormulaire("codeBanqueBeneficiaire"); - $numeroCompteBeneficiaire = $this->requete->getParametreFormulaire("numeroCompteBeneficiaire"); - - $prestataireConsultation = $this->requete->getParametreFormulaire("prestataireConsultation"); - $codeRaisonConsultation = $this->requete->getParametreFormulaire("codeRaisonConsultation"); - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - $dateConsultation = $this->requete->getParametreDate("dateConsultation"); - - $idDossierClassique = $this->facture->enregistrerdossierclassique($demandeur, $codeLienDemandeur, $beneficiaireReglement, $codeLienBeneficiaire, $observations, - $codeBanqueBeneficiaire, $numeroCompteBeneficiaire, $codeModePaiementDemande, $prestataireConsultation, $dateConsultation, - $codeRaisonConsultation, $hospitalisation); - - $_SESSION['idDossierClassique'] = $idDossierClassique; - - // $this->genererVueAjax(); - // $this->genererVueAjax(array('idDossierClassique' => $idDossierClassique)); - } - - public function enregistrermodificationsdossierclassique() - { - $idDossierClassique = $_SESSION['idDossierClassique'] ; - $codeLienDemandeur = $this->requete->getParametreFormulaire("codeLienDemandeur"); - $demandeur = $this->requete->getParametreFormulaire("demandeur"); - $codeLienBeneficiaire = $this->requete->getParametreFormulaire("codeLienBeneficiaire"); - $beneficiaireReglement = $this->requete->getParametreFormulaire("beneficiaireReglement"); - $observations = $this->requete->getParametreFormulaire("observations"); - - $codeModePaiementDemande = $this->requete->getParametreFormulaire("codeModePaiementDemande"); - $codeBanqueBeneficiaire = $this->requete->getParametreFormulaire("codeBanqueBeneficiaire"); - $numeroCompteBeneficiaire = $this->requete->getParametreFormulaire("numeroCompteBeneficiaire"); - - $prestataireConsultation = $this->requete->getParametreFormulaire("prestataireConsultation"); - $codeRaisonConsultation = $this->requete->getParametreFormulaire("codeRaisonConsultation"); - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - $dateConsultation = $this->requete->getParametreDate("dateConsultation"); - - $this->facture->enregistrermodificationsdossierclassique($idDossierClassique, $demandeur, $codeLienDemandeur, $beneficiaireReglement, - $codeLienBeneficiaire, $observations, $codeBanqueBeneficiaire, $numeroCompteBeneficiaire, $codeModePaiementDemande, - $prestataireConsultation, $dateConsultation, $codeRaisonConsultation, $hospitalisation); - - // $this->genererVueAjax(); - } - - public function getcontextbyid() - { - $idDossierClassique = $this->requete->getParametre("idDossierClassique"); - $_SESSION['idDossierClassique'] = $idDossierClassique; - } - - public function enregistrerpaiementdossierclassique() - { - $idDossierClassique = $_SESSION['idDossierClassique'] ; - - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $montantPaye = $this->requete->getParametreFormulaire("montantPaye", "numerique"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $codeBanquePayeur = $this->requete->getParametreFormulaire("codeBanquePayeur"); - - $this->facture->enregistrerpaiementdossierclassique($idDossierClassique, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur); - - $this->genererVueAjax(); - } - - public function getcontextbyidreglement() - { - $numeroDecompte = $this->requete->getParametre("numeroDecompte"); - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $idDossierClassique = $this->facture->get_id_dossier_by_numerodecompte($numeroDecompte); - - $_SESSION['idDossierClassique'] = $idDossierClassique; - - // $this->genererVueAjax(); - } - - public function demanderreglement() - { - $idDossierClassique = $_SESSION['idDossierClassique'] ; - - $this->facture->demanderreglement($idDossierClassique); - - $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxdossiercons.php b/radiantproduction/Controleur/ControleurAjaxdossiercons.php deleted file mode 100644 index 1d08d75..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxdossiers.php b/radiantproduction/Controleur/ControleurAjaxdossiers.php deleted file mode 100644 index 159434c..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxecartdecompte.php b/radiantproduction/Controleur/ControleurAjaxecartdecompte.php deleted file mode 100644 index 338e82a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxecartdecompte.php +++ /dev/null @@ -1,114 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $recapecartdecompte = $this->reglement->getrecapecartdecompte($idReglement); - - $this->genererVueAjax(array('reglement' => $reglement, 'recapecartdecompte' => $recapecartdecompte)); - } - - public function ecartfacture() - { - $ecartfactures = $this->reglement->getecartsdecompte("1"); - - $this->genererVueAjax(array('ecartfactures' => $ecartfactures)); - } - - public function ecartnonsaisi() - { - $ecartnonsaisis = $this->reglement->getecartsdecompte("0"); - - $this->genererVueAjax(array('ecartnonsaisis' => $ecartnonsaisis)); - } - - public function majobservations() - { - $idEcart = $this->requete->getParametreFormulaire("idEcart"); - $observations = $this->requete->getParametreFormulaire("observations"); - - $this->reglement->majobservationsecart($idEcart, $observations); - } - - public function recapecratdecompte() - { - $idReglement = $_SESSION['idReglement_C']; - $this->reglement->recapecratdecompte($idReglement); - - $this->executerAction("index"); - } - - public function initnewecart() - { - $this->genererVueAjax(); - } - - public function initmajecartnonsaisi() - { - $idEcart = $this->requete->getParametreFormulaire("idEcart"); - - $facture = $this->reglement->getunecartdecompte($idEcart); - - $this->genererVueAjax(array('facture' => $facture)); - } - - public function rechercherbeneficiaireecart() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - $_SESSION['numeroBeneficiaire_ecart'] = $numeroBeneficiaire; - - $beneficiaire = $this->reglement->getBeneficiaire($numeroBeneficiaire); - - $this->genererVueAjax(array('beneficiaire' => $beneficiaire, 'numeroBeneficiaire' => $numeroBeneficiaire)); - } - - public function ajouterecartdecomptenonsaisi() - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $dateFacture = $this->requete->getParametreDate("dateFacture"); - $montantPrestataire = $this->requete->getParametreFormulaire("montantPrestataire","numerique"); - $observations = $this->requete->getParametreFormulaire("observations"); - - $this->reglement->ajouter_ecartdecompte_non_saisi($idBeneficiaire, $dateFacture, $montantPrestataire, $observations); - } - - public function supprimerecart() - { - $idEcart = $this->requete->getParametreFormulaire("idEcart"); - - $this->reglement->supprimerecart($idEcart); - } - - public function majecartnonsaisi() - { - $idEcart = $this->requete->getParametreFormulaire("idEcart"); - $dateFacture = $this->requete->getParametreDate("dateFacture"); - $montantPrestataire = $this->requete->getParametreFormulaire("montantPrestataire","numerique"); - $observations = $this->requete->getParametreFormulaire("observations"); - - /* - echo "idEcart=>$idEcart ; dateFacture=>$dateFacture; montantPrestataire=>$montantPrestataire; observations=>$observations"; - exit(); - */ - - $this->reglement->maj_ecartdecompte_non_saisi($idEcart, $dateFacture, $montantPrestataire, $observations); - - // $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxecartdecomptecons.php b/radiantproduction/Controleur/ControleurAjaxecartdecomptecons.php deleted file mode 100644 index 1b2c76f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxecartdecomptecons.php +++ /dev/null @@ -1,46 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $recapecartdecompte = $this->reglement->getrecapecartdecompte($idReglement); - - $this->genererVueAjax(array('reglement' => $reglement, 'recapecartdecompte' => $recapecartdecompte)); - } - - public function ecartfacture() - { - $ecartfactures = $this->reglement->getecartsdecompte("1"); - - $this->genererVueAjax(array('ecartfactures' => $ecartfactures)); - } - - public function ecartnonsaisi() - { - $ecartnonsaisis = $this->reglement->getecartsdecompte("0"); - - $this->genererVueAjax(array('ecartnonsaisis' => $ecartnonsaisis)); - } - - public function recapecratdecompte() - { - $idReglement = $_SESSION['idReglement_C']; - $this->reglement->recapecratdecompte($idReglement); - - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxeditioncarteassure.php b/radiantproduction/Controleur/ControleurAjaxeditioncarteassure.php deleted file mode 100644 index f487a42..0000000 --- a/radiantproduction/Controleur/ControleurAjaxeditioncarteassure.php +++ /dev/null @@ -1,128 +0,0 @@ -carte = new Carteassure(); - } - - public function index() - { - - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - - - // 1. Récupération des assurés - $assures = $this->carte->getListeEditionCarteAssure($idPolice); - - // Vérification des données avant création PDF - if (empty($assures)) { - echo '
'._("Aucun assuré trouvé pour les critères sélectionnés").'
'; - return; - } - - // Vérification des chemins des images - // $logoSocietePath = $_SESSION['dossierSociete'] . '/Tarifs/Img/logo_societe.png'; - $logoSocietePath = $_SESSION['dossierSociete'] . '/Tarifs/Img/logo_carte.png'; - // $fondPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/fond_carte.png'; - - - if (!file_exists($logoSocietePath)) { - echo '
'._("Le logo de la société est introuvable").'
'; - return; - } - - $pdf = new FPDF_Protection('L', 'mm', array(85.6, 54)); - $pdf->SetAuthor('EBENE SOLUTIONS INFORMATIQUES'); - - // $userPassword = $_SESSION['motPassPdf']; - // $ownerPassword = null; - // $pdf->SetProtection(['print'], $userPassword, $ownerPassword); - - $pdf->SetAutoPageBreak(false); - $pdf->SetMargins(0, 0, 0); - $pdf->SetCreator(_('Système d\'édition de cartes')); - - // Vérification avant d'ajouter des pages - $nombreAssures = count($assures); - if ($nombreAssures == 0) { - echo '
'._("Aucune carte à générer").'
'; - return; - } - - // Définition de la colonne d'alignement pour les deux-points - $colonneAlignement = 20; // Position X commune pour l'alignement des deux-points - - // Traitement de chaque assuré - $cartesGenerees = 0; - - /* - echo $_SESSION['dossierSociete'] . '/Tarifs/Controleur/Editioncarteassure.php'; - echo "
"; - exit("Point d'arrêt"); - */ - - foreach ($assures as $index => $assure) { - - $idCarte = $assure['beneficiaire_carte_temp']; - - // Vérification des données obligatoires - //if (empty($assure['nomBeneficiaire']) || empty($assure['prenomsBeneficiaire']) || !isset($assure['tauxCouverture'])) { - if (empty($assure['nomBeneficiaire']) || empty($assure['prenomsBeneficiaire'])) { - // Empêcher la confirmation de cette carte - $this->carte->selectionnerUnAssure($idCarte, '0'); - continue; - } - // Ajout d'une nouvelle page pour chaque carte - $pdf->AddPage(); - $cartesGenerees++; - - // kane 23/09/2025 => rendre la carte personalisable par societeuser - require $_SESSION['dossierSociete'] . '/Tarifs/Controleur/Editioncarteassure.php'; - - // Vérification du nombre de pages (limite de sécurité) - if ($pdf->PageNo() >= 100) { - break; - } - } - - // Vérification finale du nombre de pages générées - if ($cartesGenerees == 0) { - echo '
'._("Aucune carte valide n'a pu être générée").'
'; - return; - } - - // création du fichier - $uniqid = uniqid(); - $to_upload="Temp/TMP_CARTES_ASSURES_$uniqid.pdf"; - $fichierTemp="Temp/$uniqid.pdf"; - - $pdf->Output($fichierTemp,"F"); - - // $fichier = pdf_to_image($fichierTemp, $to_upload, $uniqid, "0"); // => Pour cnvertir en image => eviter la cibversion en Word - $fichier = $fichierTemp; - - // Lien de téléchargement - $t_html = '
'; - $t_html .= '' . sprintf(_("%d carte(s) générée(s) sur %d assuré(s)"), $cartesGenerees, $nombreAssures) . ''; - $t_html .= '
'; - // Bouton PRÉVISUALISER avec icône - $t_html .= ''; - $t_html .= '' . _("PRÉVISUALISER"); - $t_html .= ''; - - - // Bouton CONFIRMER avec icône - $t_html .= ''; - $t_html .= '
'; - $t_html .= '
'; - echo $t_html; - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxemandesreglementsglobal.php b/radiantproduction/Controleur/ControleurAjaxemandesreglementsglobal.php deleted file mode 100644 index 3b1ec06..0000000 --- a/radiantproduction/Controleur/ControleurAjaxemandesreglementsglobal.php +++ /dev/null @@ -1,34 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $decomptes = $this->reglement->getpropositionpayementprestataire($codePerdiode1, $codePerdiode2); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxemandesreglementsglobalexport.php b/radiantproduction/Controleur/ControleurAjaxemandesreglementsglobalexport.php deleted file mode 100644 index b4d1ec9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxemandesreglementsglobalexport.php +++ /dev/null @@ -1,88 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $decomptes = $this->reglement->getpropositionpayementprestataireexport($codePerdiode1, $codePerdiode2); - - // Excel - - $headerXLS = array - ( - "No", - _('Prestataire'), - _('Compte Bq'), - _('Banque'), - _('Date Reception'), - _('Date Validation'), - "Situation", - _('Date Reglement'), - _('Mois'), - _('Montant Prestataire'), - _('Retenu'), - _('A payer'), - _('Différence'), - _('Payé'), - _('Nb Factures'), - _('Moyenne'), - _('Vérificateur') - ); - - $dataXLS = array(); - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PROPOSITION DE PAYEMENT')); - - $feuille->setCellValue('A1', convertirc(_("PROPOSITION DE PAYEMENT"))); - $feuille->mergeCells('A1:D1'); - - $feuille->setCellValue('A2', _('Début').' : '.$codePerdiode1); - $feuille->mergeCells('A2:B2'); - - $feuille->setCellValue('A3', _('Fin').' : '.$codePerdiode2); - $feuille->mergeCells('A3:B3'); - - $feuille->fromArray($headerXLS, NULL, 'A5', true); - $feuille->fromArray($dataXLS, NULL, 'A6', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PRESTAT_PROPOSES_PAYEMENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatencparclient($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxencaissementparclientexport.php b/radiantproduction/Controleur/ControleurAjaxencaissementparclientexport.php deleted file mode 100644 index b74044c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxencaissementparclientexport.php +++ /dev/null @@ -1,62 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - - $donnees = $this->etat->etatencparclientexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - _('Client'), - _('Affaires Nouvelles'), - _('Renouvellement'), - _('Prime HT'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Prime TTC'), - 'ETAT'); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENCAISSEMENT GLOBAL')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENC_GLOBAL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatencparmois($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxencaissementpparmoisexport.php b/radiantproduction/Controleur/ControleurAjaxencaissementpparmoisexport.php deleted file mode 100644 index 36051cb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxencaissementpparmoisexport.php +++ /dev/null @@ -1,64 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatencparmoisexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - _('Exercice'), - _('Mois'), - _('Nb AFN'), - _('Affaires Nouvelles'), - _('Nb REN'), - _('Renouvellement'), - _('Nb Polices'), - _('P Nette'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales')); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENCAISSEMENTS PAR MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENCAISSEMENTS_PAR_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailencaissement = new Detailencaissement(); - } - - public function index() - { - $idQuittance_Q = $this->requete->getParametreFormulaire("idQuittance"); - $numeroQuittance_Q = $this->requete->getParametreFormulaire("numeroQuittance"); - $detailencaissements = $this->detailencaissement->getDetailEncaissementsId($idQuittance_Q); - $totalencaissement = $this->detailencaissement->getTotalEncaissement($idQuittance_Q); - $this->genererVueAjax(array('detailencaissements' => $detailencaissements, 'totalencaissement' => $totalencaissement, - 'idQuittance_Q' => $idQuittance_Q, 'numeroQuittance_Q' => $numeroQuittance_Q)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenregistrerdemandefraisfuneraire.php b/radiantproduction/Controleur/ControleurAjaxenregistrerdemandefraisfuneraire.php deleted file mode 100644 index 182c449..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenregistrerdemandefraisfuneraire.php +++ /dev/null @@ -1,151 +0,0 @@ -fraisfuneraire = new Fraisfuneraire(); - $this->envoimail = new Envoimail(); - } - - public function index() - { - } - - public function enregistrerdemandefraisfuneraire() - { - $codeLienDemandeur = $this->requete->getParametreFormulaire("codeLienDemandeur"); - $demandeur = $this->requete->getParametreFormulaire("demandeur"); - $codeLienBeneficiaire = $this->requete->getParametreFormulaire("codeLienBeneficiaire"); - $beneficiaireReglement = $this->requete->getParametreFormulaire("beneficiaireReglement"); - $observations = $this->requete->getParametreFormulaire("observations"); - $fraisReel = $this->requete->getParametreFormulaire("fraisReel", "numerique"); - $montantApayer = $this->requete->getParametreFormulaire("montantApayer", "numerique"); - $dateDeces = $this->requete->getParametreDate("dateDeces"); - $causeDeces = $this->requete->getParametreFormulaire("causeDeces"); - - $codeModePaiementDemande = $this->requete->getParametreFormulaire("codeModePaiementDemande"); - $codeBanqueBeneficiaire = $this->requete->getParametreFormulaire("codeBanqueBeneficiaire"); - $numeroCompteBeneficiaire = $this->requete->getParametreFormulaire("numeroCompteBeneficiaire"); - - $this->fraisfuneraire->enregistrerdemandefraisfuneraire($fraisReel, $montantApayer, $demandeur, $codeLienDemandeur, - $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces, $codeBanqueBeneficiaire, - $numeroCompteBeneficiaire, $codeModePaiementDemande); - - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $typeMail = "fraisfuneraire"; - $this->envoimail->ajouterdemandefraisfuneraire($typeMail, $idBeneficiaire, $montantApayer); - - // $this->genererVueAjax(); - } - - public function enregistrermodificationsfraisfuneraire() - { - $idFraisfuneraire = $this->requete->getParametreFormulaire("idFraisfuneraire"); - $codeLienDemandeur = $this->requete->getParametreFormulaire("codeLienDemandeur"); - $demandeur = $this->requete->getParametreFormulaire("demandeur"); - $codeLienBeneficiaire = $this->requete->getParametreFormulaire("codeLienBeneficiaire"); - $beneficiaireReglement = $this->requete->getParametreFormulaire("beneficiaireReglement"); - $observations = $this->requete->getParametreFormulaire("observations"); - $montantApayer = $this->requete->getParametreFormulaire("montantApayer", "numerique"); - $dateDeces = $this->requete->getParametreDate("dateDeces"); - $causeDeces = $this->requete->getParametreFormulaire("causeDeces"); - - $codeModePaiementDemande = $this->requete->getParametreFormulaire("codeModePaiementDemande"); - $codeBanqueBeneficiaire = $this->requete->getParametreFormulaire("codeBanqueBeneficiaire"); - $numeroCompteBeneficiaire = $this->requete->getParametreFormulaire("numeroCompteBeneficiaire"); - - $this->fraisfuneraire->enregistrermodificationsfraisfuneraire($idFraisfuneraire, $montantApayer, $demandeur, $codeLienDemandeur, - $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces, $codeBanqueBeneficiaire, - $numeroCompteBeneficiaire, $codeModePaiementDemande); - - // $this->genererVueAjax(); - } - - public function enregistrerpaiementfraisfuneraire() - { - $idFraisfuneraire = $this->requete->getParametreFormulaire("idFraisfuneraire"); - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $montantPaye = $this->requete->getParametreFormulaire("montantPaye", "numerique"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $codeBanquePayeur = $this->requete->getParametreFormulaire("codeBanquePayeur"); - - $this->fraisfuneraire->enregistrerpaiementfraisfuneraire($idFraisfuneraire, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur); - - // $this->genererVueAjax(); - } - - public function demanderreglement() - { - $idFraisfuneraire = $this->requete->getParametreFormulaire("idFraisfuneraire"); - - $this->fraisfuneraire->demanderreglement($idFraisfuneraire); - - // $this->genererVueAjax(); - } - - public function maildemandefraisfuneraire() - { - $emailDestination = $_SESSION['emailAdherent_C']; - - if($emailDestination>" ") - { - $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 */ - - if($emailDestination>" ") - { - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $libelleDerogation = $this->requete->getParametreFormulaire("libelleDerogation"); - $observations = $this->requete->getParametreFormulaire("observations"); - - // DEBUT ENVOI DU MAIL - - require_once 'Framework/Ebenegmail.php'; - - $obejt = "DEMANDE DE DEROGATION"; - - $body = "- Prestataire : ".$_SESSION['prestataire_C']." - -- Patient : ".$_SESSION['beneficiaire_C']." (".$_SESSION['numeroBeneficiaire_C'].") - -- Date : ".heureCouranteLang($_SESSION['lang'])." - -- Dérogation : ".$libelleDerogation." - -- Motivations : ".$observations." - -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/radiantproduction/Controleur/ControleurAjaxententeprealables.php b/radiantproduction/Controleur/ControleurAjaxententeprealables.php deleted file mode 100644 index f5f18c5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxententeprealables.php +++ /dev/null @@ -1,36 +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)); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxententeprealablesbenficiaire.php b/radiantproduction/Controleur/ControleurAjaxententeprealablesbenficiaire.php deleted file mode 100644 index 4baf01b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxententeprealablesbenficiaire.php +++ /dev/null @@ -1,167 +0,0 @@ -ententeprealable = new Ententeprealable(); - $this->envoimail = new Envoimail(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $ententeprealables = $this->ententeprealable->getententeprealablesbenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables)); - } - - public function enregistrerrefusententeprealable() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $motifRefusAssure = $this->requete->getParametreFormulaire("motifRefusAssure"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistrerrefusententeprealable($idDemandeententeprealable, $motifReel, $motifRefusAssure); - - $typeMail = "refusententeprealable"; - $this->envoimail->ajouterrefusententeprealable($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function enregistreraccordententeprealable() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistreraccordententeprealable($idDemandeententeprealable, $motifReel); - - $typeMail = "accordententeprealable"; - $this->envoimail->ajouteraccordententeprealable($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function enregistrerrefusacteexclu() - { - $idDemandeautorisation = $this->requete->getParametreFormulaire("idDemandeautorisation"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $motifRefusAssure = $this->requete->getParametreFormulaire("motifRefusAssure"); - - $this->ententeprealable->enregistrerrefusacteexclu($idDemandeautorisation, $motifReel, $motifRefusAssure); - - $typeMail = "refusacteexclu"; - $this->envoimail->ajouterrefusacteexclu($typeMail, $idDemandeautorisation); - } - - public function enregistreraccordacteexclu() - { - $idDemandeautorisation = $this->requete->getParametreFormulaire("idDemandeautorisation"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $valeurActe = $this->requete->getParametreFormulaire("valeurActe", "numerique"); - - $this->ententeprealable->enregistreraccordacteexclu($idDemandeautorisation, $motifReel, $valeurActe); - - $typeMail = "accordacteexclu"; - $this->envoimail->ajouteraccordacteexclu($typeMail, $idDemandeautorisation); - } - - public function enregistrerrefusententeprealablepha() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $motifRefusAssure = $this->requete->getParametreFormulaire("motifRefusAssure"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistrerrefusententeprealablepha($idDemandeententeprealable, $motifReel, $motifRefusAssure); - - $typeMail = "refusententeprealablepha"; - $this->envoimail->ajouterrefusententeprealablepha($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function enregistreraccordententeprealablepha() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $prixAccorde = $this->requete->getParametreFormulaire("prixAccorde"); - $quantiteAccorde = $this->requete->getParametreFormulaire("quantiteAccorde"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistreraccordententeprealablepha($idDemandeententeprealable, $motifReel, $prixAccorde, $quantiteAccorde); - - $typeMail = "accordententeprealablepha"; - $this->envoimail->ajouteraccordententeprealablepha($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function enregistreraccordententeprealableopt() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $prixAccorde = $this->requete->getParametreFormulaire("prixAccorde"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistreraccordententeprealableopt($idDemandeententeprealable, $motifReel, $prixAccorde); - - $typeMail = "accordententeprealableopt"; - $this->envoimail->ajouteraccordententeprealableopt($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - - public function enregistrerrefusententeprealableopt() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $motifRefusAssure = $this->requete->getParametreFormulaire("motifRefusAssure"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistrerrefusententeprealableopt($idDemandeententeprealable, $motifReel, $motifRefusAssure); - - $typeMail = "refusententeprealableopt"; - $this->envoimail->ajouterrefusententeprealableopt($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function enregistreraccordententeprealablemont() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $prixAccorde = $this->requete->getParametreFormulaire("prixAccorde"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistreraccordententeprealablemont($idDemandeententeprealable, $motifReel, $prixAccorde); - - $typeMail = "accordententeprealablemont"; - $this->envoimail->ajouteraccordententeprealablemont($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function enregistrerrefusententeprealablemont() - { - $idDemandeententeprealable = $this->requete->getParametreFormulaire("idDemandeententeprealable"); - $motifReel = $this->requete->getParametreFormulaire("motifReel"); - $motifRefusAssure = $this->requete->getParametreFormulaire("motifRefusAssure"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->ententeprealable->enregistrerrefusententeprealablemont($idDemandeententeprealable, $motifReel, $motifRefusAssure); - - $typeMail = "refusententeprealablemont"; - $this->envoimail->ajouterrefusententeprealablemont($typeMail, $idDemandeententeprealable, $codePrestataire); - } - - public function vide() - { - $this->genererVueAjax(array()); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxententeprealablesmont.php b/radiantproduction/Controleur/ControleurAjaxententeprealablesmont.php deleted file mode 100644 index 50b1bb5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxententeprealablesmont.php +++ /dev/null @@ -1,28 +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)); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxententeprealablesopt.php b/radiantproduction/Controleur/ControleurAjaxententeprealablesopt.php deleted file mode 100644 index 51724ee..0000000 --- a/radiantproduction/Controleur/ControleurAjaxententeprealablesopt.php +++ /dev/null @@ -1,28 +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)); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxententeprealablespha.php b/radiantproduction/Controleur/ControleurAjaxententeprealablespha.php deleted file mode 100644 index c876294..0000000 --- a/radiantproduction/Controleur/ControleurAjaxententeprealablespha.php +++ /dev/null @@ -1,28 +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)); - } - - public function vide() - { - $this->genererVueAjax(array()); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteborderauencaissement.php b/radiantproduction/Controleur/ControleurAjaxenteteborderauencaissement.php deleted file mode 100644 index 2b21bef..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteborderauencaissement.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteborderaufacturation.php b/radiantproduction/Controleur/ControleurAjaxenteteborderaufacturation.php deleted file mode 100644 index a8c3d13..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteborderaufacturation.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetedecompte.php b/radiantproduction/Controleur/ControleurAjaxentetedecompte.php deleted file mode 100644 index f614e44..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetedecompte.php +++ /dev/null @@ -1,46 +0,0 @@ -reglement = new Reglement(); - } - - public function index() { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->recapdecompte($idReglement, $numeroDecompte); - - $reglement = $this->reglement->getreglement($idReglement); - - $this->genererVueAjax(array('reglement' => $reglement)); - } - - public function majmontantforce() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $montantForce = $this->requete->getParametreFormulaire("montantForce"); - - $this->reglement->majmontantforce($idFacture, $montantForce, $idReglement, $numeroDecompte); - - $this->executerAction("index"); - } - - public function validerfacture() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $choix = $this->requete->getParametreFormulaire("choix"); - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - - $this->reglement->validerfacture($idFacture, $choix, $numeroFeuilleMaladie); - - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteencaissementparclient.php b/radiantproduction/Controleur/ControleurAjaxenteteencaissementparclient.php deleted file mode 100644 index 78c60f9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteencaissementparclient.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteencaissementpparmois.php b/radiantproduction/Controleur/ControleurAjaxenteteencaissementpparmois.php deleted file mode 100644 index 3e63a0a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteencaissementpparmois.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteetatperso.php b/radiantproduction/Controleur/ControleurAjaxenteteetatperso.php deleted file mode 100644 index 0b48ceb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteetatperso.php +++ /dev/null @@ -1,24 +0,0 @@ -requetesperso = new Requetesperso(); - } - - public function index() - { - $codeRequete = $this->requete->getParametreFormulaire("codeRequete"); - $paramrequetes = $this->requetesperso->getparamrequetesperso_rq($codeRequete); - - $_SESSION['codeRequete'] = $codeRequete; - - // $this->genererVueAjax(array('paramrequetes' => $paramrequetes, 'codeRequete' => $codeRequete)); - $this->genererVueAjax(array('paramrequetes' => $paramrequetes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteevolspmois.php b/radiantproduction/Controleur/ControleurAjaxenteteevolspmois.php deleted file mode 100644 index 2bd702a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteevolspmois.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteevolspmoisacq.php b/radiantproduction/Controleur/ControleurAjaxenteteevolspmoisacq.php deleted file mode 100644 index 4856ae0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteevolspmoisacq.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefacturationparclient.php b/radiantproduction/Controleur/ControleurAjaxentetefacturationparclient.php deleted file mode 100644 index 1838761..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefacturationparclient.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefacturationpparmois.php b/radiantproduction/Controleur/ControleurAjaxentetefacturationpparmois.php deleted file mode 100644 index a069ccb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefacturationpparmois.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreedetail.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreedetail.php deleted file mode 100644 index cc61cd5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreedetail.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrexe.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrexe.php deleted file mode 100644 index 0ce00fb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrexe.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpcom.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpcom.php deleted file mode 100644 index 01f6b27..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpcom.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpcomech.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpcomech.php deleted file mode 100644 index e5c03a1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpcomech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpech.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpech.php deleted file mode 100644 index 01bfe0d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpexeech.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpexeech.php deleted file mode 100644 index aae9cc5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpexeech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpfam.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpfam.php deleted file mode 100644 index c8ac131..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpfam.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpper.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpper.php deleted file mode 100644 index b7061a5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpper.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpperech.php b/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpperech.php deleted file mode 100644 index 694c2af..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamentreegrpperech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiedetail.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiedetail.php deleted file mode 100644 index 09eded7..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiedetail.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrexe.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrexe.php deleted file mode 100644 index 5109349..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrexe.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpcom.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpcom.php deleted file mode 100644 index 00fe8eb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpcom.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpcomech.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpcomech.php deleted file mode 100644 index 68332a4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpcomech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpech.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpech.php deleted file mode 100644 index 9aadd69..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpexeech.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpexeech.php deleted file mode 100644 index 7ee35f2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpexeech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpfam.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpfam.php deleted file mode 100644 index 2a6600b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpfam.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpper.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpper.php deleted file mode 100644 index c080c74..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpper.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpperech.php b/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpperech.php deleted file mode 100644 index 1bf30f0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetefamsortiegrpperech.php +++ /dev/null @@ -1,21 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index() - { - $codeApporteur = $_SESSION['codeApporteur_C']; - - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - $this->genererVueAjax(array('commercial_courant' => $commercial_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetepaiementprestationcumul.php b/radiantproduction/Controleur/ControleurAjaxentetepaiementprestationcumul.php deleted file mode 100644 index 7ca5ba2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetepaiementprestationcumul.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetepaiementprestationdet.php b/radiantproduction/Controleur/ControleurAjaxentetepaiementprestationdet.php deleted file mode 100644 index f5baf9e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetepaiementprestationdet.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteprodparclient.php b/radiantproduction/Controleur/ControleurAjaxenteteprodparclient.php deleted file mode 100644 index f748cef..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteprodparclient.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteprodparemission.php b/radiantproduction/Controleur/ControleurAjaxenteteprodparemission.php deleted file mode 100644 index c59acee..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteprodparemission.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteprodparmois.php b/radiantproduction/Controleur/ControleurAjaxenteteprodparmois.php deleted file mode 100644 index 8fa3dc1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteprodparmois.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteprodparmoiseclate.php b/radiantproduction/Controleur/ControleurAjaxenteteprodparmoiseclate.php deleted file mode 100644 index 76d0ea7..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteprodparmoiseclate.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteprodparmoiseclateclient.php b/radiantproduction/Controleur/ControleurAjaxenteteprodparmoiseclateclient.php deleted file mode 100644 index 66dc846..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteprodparmoiseclateclient.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteteproductionagences.php b/radiantproduction/Controleur/ControleurAjaxenteteproductionagences.php deleted file mode 100644 index 06a07a2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteteproductionagences.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteterechercheemission.php b/radiantproduction/Controleur/ControleurAjaxenteterechercheemission.php deleted file mode 100644 index 90b6a63..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteterechercheemission.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteterechercheencaissement.php b/radiantproduction/Controleur/ControleurAjaxenteterechercheencaissement.php deleted file mode 100644 index 4e7a662..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteterechercheencaissement.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteterecherchefacturesfeuille.php b/radiantproduction/Controleur/ControleurAjaxenteterecherchefacturesfeuille.php deleted file mode 100644 index e9a084d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteterecherchefacturesfeuille.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxenteterecherchequittance.php b/radiantproduction/Controleur/ControleurAjaxenteterecherchequittance.php deleted file mode 100644 index 4e5d642..0000000 --- a/radiantproduction/Controleur/ControleurAjaxenteterecherchequittance.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxentetesituationclients.php b/radiantproduction/Controleur/ControleurAjaxentetesituationclients.php deleted file mode 100644 index 6b1a569..0000000 --- a/radiantproduction/Controleur/ControleurAjaxentetesituationclients.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatcumulmois.php b/radiantproduction/Controleur/ControleurAjaxetatcumulmois.php deleted file mode 100644 index 86ca5e3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatcumulmois.php +++ /dev/null @@ -1,27 +0,0 @@ -cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - $cumulprestataires = $this->cumulprestataire->etatcumulprestatairemois($debutStat, $finStat) ; - - $cumulprestataires_total = $this->cumulprestataire->etatcumulprestatairemoistotal($debutStat, $finStat); - - $this->genererVueAjax(array('cumulprestataires' => $cumulprestataires, 'cumulprestataires_total' => $cumulprestataires_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatcumulmoisexport.php b/radiantproduction/Controleur/ControleurAjaxetatcumulmoisexport.php deleted file mode 100644 index 0caa4e6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatcumulmoisexport.php +++ /dev/null @@ -1,99 +0,0 @@ -cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - $cumulprestataires = $this->cumulprestataire->etatcumulprestatairmoiseexport($debutStat, $finStat) ; - - // var_dump($cumulprestataires); - // exit(); - - // Excel - $headerXLS = array( - _('Prestataire'), - 'mt_01', - 'nb_01', - 'moy_01', - 'mt_02', - 'nb_02', - 'moy_02', - 'mt_03', - 'nb_03', - 'moy_03', - 'mt_04', - 'nb_04', - 'moy_04', - 'mt_05', - 'nb_05', - 'moy_05', - 'mt_06', - 'nb_06', - 'moy_06', - 'mt_07', - 'nb_07', - 'moy_07', - 'mt_08', - 'nb_08', - 'moy_08', - 'mt_09', - 'nb_09', - 'moy_09', - 'mt_10', - 'nb_10', - 'moy_10', - 'mt_11', - 'nb_11', - 'moy_11', - 'mt_12', - 'nb_12', - 'moy_12', - 'mt_an', - 'nb_an', - 'moy_an'); - - $dataXLS = array(); - - - foreach ($cumulprestataires as $cumulprestataire) - { - $dataXLS[]=$cumulprestataire; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('CUMULE PAR MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_CUMUL_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - $cumulprestataires = $this->cumulprestataire->etatcumulprestataire($debutStat, $finStat) ; - - $cumulprestataires_total = null; - - if(count($cumulprestataires)>"0") - { - $cumulprestataires_total = $cumulprestataires['0']; - } - - $this->genererVueAjax(array('cumulprestataires' => $cumulprestataires, 'cumulprestataires_total' => $cumulprestataires_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatcumulprestataireexport.php b/radiantproduction/Controleur/ControleurAjaxetatcumulprestataireexport.php deleted file mode 100644 index 0a13880..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatcumulprestataireexport.php +++ /dev/null @@ -1,64 +0,0 @@ -cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - $cumulprestataires = $this->cumulprestataire->etatcumulprestataireexport($debutStat, $finStat) ; - - // Excel - $headerXLS = array - ( - _('Type Prestataire'), - _('Prestataire'), - _('Code Prestataire'), - _('Nb Factures'), - _('A payer'), - _('Moyenne') - ); - - $dataXLS = array(); - - - foreach ($cumulprestataires as $cumulprestataire) - { - $dataXLS[]=$cumulprestataire; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('CUMUL PAR PRESTATAIRE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_CUMUL_PRESTATAIRE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - $cumulprestataires = $this->cumulprestataire->etatcumultypeprestataire($debutStat, $finStat) ; - - $cumulprestataires_total = null; - - if(count($cumulprestataires)>"0") - { - $cumulprestataires_total = $cumulprestataires['0']; - } - - - $this->genererVueAjax(array('cumulprestataires' => $cumulprestataires, 'cumulprestataires_total' => $cumulprestataires_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatcumultypeprestataireexport.php b/radiantproduction/Controleur/ControleurAjaxetatcumultypeprestataireexport.php deleted file mode 100644 index 7c45bf1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatcumultypeprestataireexport.php +++ /dev/null @@ -1,61 +0,0 @@ -cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - $cumulprestataires = $this->cumulprestataire->etatcumultypeprestataireexport($debutStat, $finStat) ; - - // Excel - $headerXLS = array - ( - _('Type Prestataire'), - _('Nb Factures'), - _('A payer'), - _('Moyenne') - ); - - $dataXLS = array(); - - - foreach ($cumulprestataires as $cumulprestataire) - { - $dataXLS[]=$cumulprestataire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('CUMUL PAR TYPE PRESTATAIRE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_CUMUL_TYPE_PREST'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
statistique = new Statistique(); - } - - public function index() - { - $entetestat = $this->statistique->getParametreStat(); - $this->genererVueAjax(array('entetestat' => $entetestat)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatentetecumulprestataire.php b/radiantproduction/Controleur/ControleurAjaxetatentetecumulprestataire.php deleted file mode 100644 index d44dc91..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatentetecumulprestataire.php +++ /dev/null @@ -1,16 +0,0 @@ -statistique = new Statistique(); - } - - public function index() - { - $entetestat = $this->statistique->getParametreStat(); - $this->genererVueAjax(array('entetestat' => $entetestat)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatentetecumultypeprestataire.php b/radiantproduction/Controleur/ControleurAjaxetatentetecumultypeprestataire.php deleted file mode 100644 index e9bcf44..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatentetecumultypeprestataire.php +++ /dev/null @@ -1,16 +0,0 @@ -statistique = new Statistique(); - } - - public function index() - { - $entetestat = $this->statistique->getParametreStat(); - $this->genererVueAjax(array('entetestat' => $entetestat)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatentetefacture.php b/radiantproduction/Controleur/ControleurAjaxetatentetefacture.php deleted file mode 100644 index 394a275..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatentetefacture.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatentetemoycategmedprestataire.php b/radiantproduction/Controleur/ControleurAjaxetatentetemoycategmedprestataire.php deleted file mode 100644 index 78e655e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatentetemoycategmedprestataire.php +++ /dev/null @@ -1,16 +0,0 @@ -statistique = new Statistique(); - } - - public function index() - { - $entetestat = $this->statistique->getParametreStat(); - $this->genererVueAjax(array('entetestat' => $entetestat)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatentetepolicesnonren.php b/radiantproduction/Controleur/ControleurAjaxetatentetepolicesnonren.php deleted file mode 100644 index 7602415..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatentetepolicesnonren.php +++ /dev/null @@ -1,17 +0,0 @@ -cat = (new Produit())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('cat' => $this->cat)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportsp.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportsp.php deleted file mode 100644 index a9d8261..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportsp.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspadheleve.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspadheleve.php deleted file mode 100644 index d844db4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspadheleve.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcat.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcat.php deleted file mode 100644 index 32d6706..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcat.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatdet.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatdet.php deleted file mode 100644 index df32fae..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatdet.php +++ /dev/null @@ -1,17 +0,0 @@ -cat = (new Produit())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('cat' => $this->cat)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatgp.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatgp.php deleted file mode 100644 index 5f28604..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatgp.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatgpdet.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatgpdet.php deleted file mode 100644 index 60af924..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspcatgpdet.php +++ /dev/null @@ -1,17 +0,0 @@ -cat = (new Produit())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('cat' => $this->cat)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercice.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercice.php deleted file mode 100644 index f2b32bb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercice.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercicecat.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercicecat.php deleted file mode 100644 index 37dbf9d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercicecat.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercicecatdate.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercicecatdate.php deleted file mode 100644 index e82ef39..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexercicecatdate.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexo.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexo.php deleted file mode 100644 index 362d39f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportspexo.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportsppolcat.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportsppolcat.php deleted file mode 100644 index a6dd945..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportsppolcat.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatenteterapportsppolcatdet.php b/radiantproduction/Controleur/ControleurAjaxetatenteterapportsppolcatdet.php deleted file mode 100644 index 4646416..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatenteterapportsppolcatdet.php +++ /dev/null @@ -1,17 +0,0 @@ -cat = (new Produit())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('cat' => $this->cat)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatfactureexport.php b/radiantproduction/Controleur/ControleurAjaxetatfactureexport.php deleted file mode 100644 index 30a8258..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatfactureexport.php +++ /dev/null @@ -1,58 +0,0 @@ -cumulprestataire = new Statistique(); - } - - public function index() - { - $factures = $this->cumulprestataire->etatdetailfactureeexport() ; - - // Excel - $headerXLS = array - ( - _('Type Prestataire'), - _('Prestataire'), - _('Souscripteur'), - _('Bénéficiaire'), - _('Système'), - _('A payer'), - _('Payé'), - _('ID Facture') - ); - - $dataXLS = array(); - - foreach ($factures as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL DES FACTURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_DETAIL_FACTURES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - // $cumulprestataires = $this->cumulprestataire->etatcumultypeprestataire($debutStat, $finStat) ; - $cumulprestataires = $this->cumulprestataire->etatmoycategmedprestataire($debutStat, $finStat) ; - - $cumulprestataires_total = null; - - if(count($cumulprestataires)>"0") - { - $cumulprestataires_total = $cumulprestataires['0']; - } - - $this->genererVueAjax(array('cumulprestataires' => $cumulprestataires, 'cumulprestataires_total' => $cumulprestataires_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatmoycategmedprestataireexport.php b/radiantproduction/Controleur/ControleurAjaxetatmoycategmedprestataireexport.php deleted file mode 100644 index ab24b32..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatmoycategmedprestataireexport.php +++ /dev/null @@ -1,64 +0,0 @@ -cumulprestataire = new Statistique(); - } - - public function index() - { - $debutStat = $this->requete->getParametreDate("debutStat"); - $finStat = $this->requete->getParametreDate("finStat"); - - $_SESSION['debutStat'] = $debutStat; - $_SESSION['finStat'] = $finStat; - - // $cumulprestataires = $this->cumulprestataire->etatcumultypeprestataireexport($debutStat, $finStat) ; - $cumulprestataires = $this->cumulprestataire->etatmoycategmedprestataireexport($debutStat, $finStat) ; - - // Excel - $headerXLS = array - ( - _('Catégorie Médecin'), - _('Catégorie Prestataire'), - _('Prestataire'), - _('Nb Cas'), - _('Montant'), - _('Moyenne') - ); - - $dataXLS = array(); - - - foreach ($cumulprestataires as $cumulprestataire) - { - $dataXLS[]=$cumulprestataire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('MOY CATEG MEDCIN ET PREST')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_MOY_CAT_MED__PREST'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requetesperso = new Requetesperso(); - } - - public function index() - { - // $codeRequete = $_SESSION['codeRequete']; - - $paramrequetes = $this->requete->getParametreDonnees(); - - $donnees = $this->requetesperso->executerrequeteperso($paramrequetes); - - $nbLignes = count($donnees); - - // var_dump($donnees); - // exit(); - - if ($nbLignes>0) - { - $headerXLS = array_keys($donnees[0]); - - // var_dump($headerXLS); - // exit(); - - // Excel - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ETATS PERSONNALISES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_CUST_QUERY'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
'; - $t_html .=' rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatpolnonren() ; - - $this->genererVueAjax(array('rapportsps' => $rapportsps)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatpolicesnonrenexport.php b/radiantproduction/Controleur/ControleurAjaxetatpolicesnonrenexport.php deleted file mode 100644 index 9553e00..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatpolicesnonrenexport.php +++ /dev/null @@ -1,55 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatpolnonrenexport(); - - // Excel - $headerXLS = array - ( - _('Client'), - _('No Client'), - _('ID Police'), - _('No Police'), - _('Date Effet'), - _('Date Echéance') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('POLICES NON RENOUVELLEES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_POL_NON_REN'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportsp(); - - $rapportspsTotal = null; - - if(count($rapportsps)>"0") - { - $rapportspsTotal = $rapportsps['0']; - } - - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'rapportsps' => $rapportsps)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspadheleve.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspadheleve.php deleted file mode 100644 index abb691d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspadheleve.php +++ /dev/null @@ -1,30 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspadheleve() ; - - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspadheleveexport.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspadheleveexport.php deleted file mode 100644 index dae1e78..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspadheleveexport.php +++ /dev/null @@ -1,58 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspadheleveexport() ; - - // Excel - $headerXLS = array( - _('Souscripteur'), - _('No Police'), - _('No Adhérent'), - _('Adhérent'), - _('Date Effet'), - _('Date Echéance'), - _('Jrs'), - _('Primes'), - _('Sinistres'), - _('S/P')); - - $dataXLS = array(); - - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('RAPPORT SINISTRES A PRIMES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FAM_CONSO_ELELVE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspcat() ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatdet.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspcatdet.php deleted file mode 100644 index 5fa226c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatdet.php +++ /dev/null @@ -1,49 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $nbAdhTotal = "0"; - $nbBenefTotal = "0"; - $primeNetteCatTotal = "0"; - $moyBenefTotal = "0"; - $PNMoyBenefTotal = "0"; - $PNMoyAdhTotal = "0"; - - $PNMoyAdhOptTotal = "0"; - $PNAdhOptTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspcatdet() ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - - $nbAdhTotal = $rapportsps['0']['nbAdhTotal']; - $nbBenefTotal = $rapportsps['0']['nbBenefTotal']; - $primeNetteCatTotal = $rapportsps['0']['primeNetteCatTotal']; - $moyBenefTotal = $rapportsps['0']['moyBenefTotal']; - $PNMoyBenefTotal = $rapportsps['0']['PNMoyBenefTotal']; - $PNMoyAdhTotal = $rapportsps['0']['PNMoyAdhTotal']; - - $PNMoyAdhOptTotal = $rapportsps['0']['PNMoyAdhOptTotal']; - $PNAdhOptTotal = $rapportsps['0']['PNAdhOptTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal, - 'nbAdhTotal' => $nbAdhTotal, 'nbBenefTotal' => $nbBenefTotal, 'primeNetteCatTotal' => $primeNetteCatTotal, 'moyBenefTotal' => $moyBenefTotal, - 'PNMoyBenefTotal' => $PNMoyBenefTotal, 'PNMoyAdhTotal' => $PNMoyAdhTotal, 'PNMoyAdhOptTotal' => $PNMoyAdhOptTotal, 'PNAdhOptTotal' => $PNAdhOptTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatdetexport.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspcatdetexport.php deleted file mode 100644 index ba02d87..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatdetexport.php +++ /dev/null @@ -1,62 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspcatdetexport(); - - // Excel - $headerXLS = array - ( - _('Code Cat'), - _('Catégorie'), - _('Nb Adhérents'), - _('Nb Bénéficiaires'), - _('Moy Bénéficiaires'), - _('P Nette Cat'), - _('P Adhérent'), - _('P Bénéficiaires'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P'), - _('P Adh Opt'), - _('P Adh Opt Cumul') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP CAT DETAILLE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_CAT_DETAIL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspcatexport() ; - - // Excel - $headerXLS = array - ( - _('Code Cat'), - _('Catégorie'), - _('Primes'), - _('Sinistres'), - _('S/P') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('RAPPORT SINISTRES A PRIMES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_CATEG'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspcatgp() ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatgpdet.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspcatgpdet.php deleted file mode 100644 index 6048089..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatgpdet.php +++ /dev/null @@ -1,49 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $nbAdhTotal = "0"; - $nbBenefTotal = "0"; - $primeNetteCatTotal = "0"; - $moyBenefTotal = "0"; - $PNMoyBenefTotal = "0"; - $PNMoyAdhTotal = "0"; - - $PNMoyAdhOptTotal = "0"; - $PNAdhOptTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspcatgpdet() ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - - $nbAdhTotal = $rapportsps['0']['nbAdhTotal']; - $nbBenefTotal = $rapportsps['0']['nbBenefTotal']; - $primeNetteCatTotal = $rapportsps['0']['primeNetteCatTotal']; - $moyBenefTotal = $rapportsps['0']['moyBenefTotal']; - $PNMoyBenefTotal = $rapportsps['0']['PNMoyBenefTotal']; - $PNMoyAdhTotal = $rapportsps['0']['PNMoyAdhTotal']; - - $PNMoyAdhOptTotal = $rapportsps['0']['PNMoyAdhOptTotal']; - $PNAdhOptTotal = $rapportsps['0']['PNAdhOptTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal, - 'nbAdhTotal' => $nbAdhTotal, 'nbBenefTotal' => $nbBenefTotal, 'primeNetteCatTotal' => $primeNetteCatTotal, 'moyBenefTotal' => $moyBenefTotal, - 'PNMoyBenefTotal' => $PNMoyBenefTotal, 'PNMoyAdhTotal' => $PNMoyAdhTotal, 'PNMoyAdhOptTotal' => $PNMoyAdhOptTotal, 'PNAdhOptTotal' => $PNAdhOptTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatgpdetexport.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspcatgpdetexport.php deleted file mode 100644 index 1bfa24c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspcatgpdetexport.php +++ /dev/null @@ -1,62 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspcatgpdetexport(); - - // Excel - $headerXLS = array - ( - _('Code Cat'), - _('Catégorie'), - _('Nb Adhérents'), - _('Nb Bénéficiaires'), - _('Moy Bénéficiaires'), - _('P Nette Cat'), - _('P Adhérent'), - _('P Bénéficiaires'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P'), - _('P Adh Opt'), - _('P Adh Opt Cumul') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP CAT DET GRP')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_CAT_DET_GRP'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspcatgpexport() ; - - // Excel - $headerXLS = array - ( - _('Code Cat'), - _('Catégorie'), - _('Primes'), - _('Sinistres'), - _('S/P') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('S_P PAR CAT GROUPE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_CAT_GRP'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $primeAnnuelleTotal = "0"; - $primeAcquiseTotal = "0"; - $sinistresTotal = "0"; - $rapportSpTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspexercice() ; - - if(count($rapportsps)>"0") - { - $primeAnnuelleTotal = $rapportsps['0']['primeAnnuelleTotal']; - $primeAcquiseTotal = $rapportsps['0']['primeAcquiseTotal']; - $sinistresTotal = $rapportsps['0']['sinistresTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnnuelleTotal' => $primeAnnuelleTotal, 'primeAcquiseTotal' => $primeAcquiseTotal, - 'sinistresTotal' => $sinistresTotal, 'rapportSpTotal' => $rapportSpTotal)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecat.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecat.php deleted file mode 100644 index aae91e2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecat.php +++ /dev/null @@ -1,52 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $primeAnnuelleTotal = "0"; - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $nbPoliceTotal = "0"; - $nbAdherentTotal = "0"; - $nbBeneficiaireTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspexercicecat() ; - - // var_dump($rapportsps); - // exit(); - - if(count($rapportsps)>"0") - { - - $primeAnnuelleTotal = $rapportsps['0']['primeAnnuelleTotal']; - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - - $nbPoliceTotal = $rapportsps['0']['nbPoliceTotal']; - $nbAdherentTotal = $rapportsps['0']['nbAdherentTotal']; - $nbBeneficiaireTotal = $rapportsps['0']['nbBeneficiaireTotal']; - } - $this->genererVueAjax(array( - 'rapportsps' => $rapportsps, - 'primeAnnuelleTotal' => $primeAnnuelleTotal, - 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, - 'rapportSpTotal' => $rapportSpTotal, - - 'nbPoliceTotal' => $nbPoliceTotal, - 'nbAdherentTotal' => $nbAdherentTotal, - 'nbBeneficiaireTotal' => $nbBeneficiaireTotal - )); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecatdate.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecatdate.php deleted file mode 100644 index f6da05d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecatdate.php +++ /dev/null @@ -1,53 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $primeAnnuelleTotal = "0"; - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $nbPoliceTotal = "0"; - $nbAdherentTotal = "0"; - $nbBeneficiaireTotal = "0"; - - $debut = $this->requete->getParametreDate("debut"); - $rapportsps = $this->rapportsp->etatrapportspexercicecatdate($debut) ; - - // var_dump($rapportsps); - // exit(); - - if(count($rapportsps)>"0") - { - - $primeAnnuelleTotal = $rapportsps['0']['primeAnnuelleTotal']; - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - - $nbPoliceTotal = $rapportsps['0']['nbPoliceTotal']; - $nbAdherentTotal = $rapportsps['0']['nbAdherentTotal']; - $nbBeneficiaireTotal = $rapportsps['0']['nbBeneficiaireTotal']; - } - $this->genererVueAjax(array( - 'rapportsps' => $rapportsps, - 'primeAnnuelleTotal' => $primeAnnuelleTotal, - 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, - 'rapportSpTotal' => $rapportSpTotal, - - 'nbPoliceTotal' => $nbPoliceTotal, - 'nbAdherentTotal' => $nbAdherentTotal, - 'nbBeneficiaireTotal' => $nbBeneficiaireTotal - )); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecatdateexport.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecatdateexport.php deleted file mode 100644 index f39f1d4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspexercicecatdateexport.php +++ /dev/null @@ -1,62 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $rapportsps = $this->rapportsp->etatrapportspexercicecatdateexport($debut); - - // Excel - $headerXLS = array - ( - _('Code Cat'), - _('Catégorie'), - _('Début'), - _('Fin'), - _('Jrs'), - _('Nb Polices'), - _('Nb Adh'), - _('Nb Bénrféf'), - _('Prime An'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP POUR UN EXERCICE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_EXERCICE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspexercicecatexport(); - - // Excel - $headerXLS = array - ( - _('Code Cat'), - _('Catégorie'), - _('Début'), - _('Fin'), - _('Jrs'), - _('Nb Polices'), - _('Nb Adh'), - _('Nb Bénrféf'), - _('Prime An'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP POUR UN EXERCICE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_EXERCICE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspexerciceexport() ; - - // Excel - $headerXLS = array - ( - _('Souscripteur'), - _('No Police'), - _('Type Contrat'), - _('Prime An'), - _('Début'), - _('Fin'), - _('Jrs'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP POUR UN EXERCICE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_EXERCICE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportspexo() ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportspexoexport.php b/radiantproduction/Controleur/ControleurAjaxetatrapportspexoexport.php deleted file mode 100644 index 7ed05d0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportspexoexport.php +++ /dev/null @@ -1,59 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspexoexport() ; - - // Excel - - $headerXLS = array( - _('Souscripteur'), - _('No Police'), - _('Exercice'), - _('Date Effet'), - _('Date Echéance'), - _('Durée'), - _('Durée Acquise'), - _('Primes'), - _('Sinistres'), - _('S/P')); - - $dataXLS = array(); - - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('RAPPORT SINISTRES A PRIMES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_RAPPRT_SIN_PRIME'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportspexport() ; - - // Excel - $headerXLS = array - ( - _('Souscripteur'), - _('No Police'), - _('Type'), - _('Date Effet'), - _('Date Echéance'), - _('Jrs'), - _('Primes Annuelles'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P'), - _('S/P Annuel') - ); - - $dataXLS = array(); - - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('RAPPORT SINISTRES A PRIMES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_RAPPRT_SIN_PRIME'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $rapportsps = $this->rapportsp->etatrapportsppolcat() ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, - 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportsppolcatdet.php b/radiantproduction/Controleur/ControleurAjaxetatrapportsppolcatdet.php deleted file mode 100644 index 85c0a08..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportsppolcatdet.php +++ /dev/null @@ -1,41 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $primeAnalyseTotal = "0"; - $montantApayerTotal = "0"; - $rapportSpTotal = "0"; - - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $rapportsps = $this->rapportsp->etatrapportsppolcatdet($codeProduit) ; - - if(count($rapportsps)>"0") - { - $primeAnalyseTotal = $rapportsps['0']['primeAnalyseTotal']; - $montantApayerTotal = $rapportsps['0']['montantApayerTotal']; - $rapportSpTotal = $rapportsps['0']['rapportSpTotal']; - - $nbAdhTotal = $rapportsps['0']['nbAdhTotal']; - $nbBenefTotal = $rapportsps['0']['nbBenefTotal']; - $primeNetteCatTotal = $rapportsps['0']['primeNetteCatTotal']; - $moyBenefTotal = $rapportsps['0']['moyBenefTotal']; - $PNMoyBenefTotal = $rapportsps['0']['PNMoyBenefTotal']; - $PNMoyAdhTotal = $rapportsps['0']['PNMoyAdhTotal']; - - $PNMoyAdhOptTotal = $rapportsps['0']['PNMoyAdhOptTotal']; - $PNAdhOptTotal = $rapportsps['0']['PNAdhOptTotal']; - } - $this->genererVueAjax(array('rapportsps' => $rapportsps, 'primeAnalyseTotal' => $primeAnalyseTotal, 'montantApayerTotal' => $montantApayerTotal, 'rapportSpTotal' => $rapportSpTotal, - 'nbAdhTotal' => $nbAdhTotal, 'nbBenefTotal' => $nbBenefTotal, 'primeNetteCatTotal' => $primeNetteCatTotal, 'moyBenefTotal' => $moyBenefTotal, - 'PNMoyBenefTotal' => $PNMoyBenefTotal, 'PNMoyAdhTotal' => $PNMoyAdhTotal, 'PNMoyAdhOptTotal' => $PNMoyAdhOptTotal, 'PNAdhOptTotal' => $PNAdhOptTotal)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxetatrapportsppolcatdetexport.php b/radiantproduction/Controleur/ControleurAjaxetatrapportsppolcatdetexport.php deleted file mode 100644 index 2e0ec16..0000000 --- a/radiantproduction/Controleur/ControleurAjaxetatrapportsppolcatdetexport.php +++ /dev/null @@ -1,67 +0,0 @@ -rapportsp = new Statistique(); - } - - public function index() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $rapportsps = $this->rapportsp->etatrapportsppolcatdetexport($codeProduit); - - // Excel - $headerXLS = array - ( - _('Souscripteur'), - _('No Police'), - _('Code Cat'), - _('Date Effet'), - _('Date Echéance'), - _('Jrs'), - _('Nb Adhérents'), - _('Nb Bénéficiaires'), - _('Moy Bénéficiaires'), - _('P Nette Cat'), - _('P Adhérent'), - _('P Bénéficiaires'), - _('Primes Acquises'), - _('Sinistres'), - _('S/P'), - _('P Adh Opt'), - _('P Adh Opt Cumul') - ); - - $dataXLS = array(); - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP DETAILLE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_POL_DETAIL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rapportsp = new Statistique(); - } - - public function index() - { - $rapportsps = $this->rapportsp->etatrapportsppolcatexport() ; - - // Excel - $headerXLS = array( - _('Souscripteur'), - _('No Police'), - _('Code Cat'), - _('Date Effet'), - _('Date Echéance'), - _('Primes'), - _('Sinistres'), - _('S/P')); - - $dataXLS = array(); - - - foreach ($rapportsps as $rapportsp) - { - $dataXLS[]=$rapportsp; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('RAPPORT SINISTRES A PRIMES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_STAT_SP_POL_CATEG'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatevolspmois($debutPeriode, $finPeriode) ; - - $this->genererVueAjax(array('donnees' => $donnees)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxevolspmoisacq.php b/radiantproduction/Controleur/ControleurAjaxevolspmoisacq.php deleted file mode 100644 index 93fde57..0000000 --- a/radiantproduction/Controleur/ControleurAjaxevolspmoisacq.php +++ /dev/null @@ -1,22 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatevolspmoisacqu($debutPeriode, $finPeriode) ; - - $this->genererVueAjax(array('donnees' => $donnees)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxevolspmoisacqexport.php b/radiantproduction/Controleur/ControleurAjaxevolspmoisacqexport.php deleted file mode 100644 index b5e7b1b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxevolspmoisacqexport.php +++ /dev/null @@ -1,103 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatevolspmoisacquexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - 'id', - _('Exercice'), - - 'P_Jan', - 'S_Jan', - 'SP_Jan', - - 'P_Fev', - 'S_Fev', - 'SP_Fev', - - 'P_Mar', - 'S_Mar', - 'SP_Mar', - - 'P_Avr', - 'S_Avr', - 'SP_Avr', - - 'P_Mai', - 'S_Mai', - 'SP_Mai', - - 'P_Juin', - 'S_Juin', - 'SP_Juin', - - 'P_Juil', - 'S_Juil', - 'SP_Juil', - - 'P_Aou', - 'S_Aou', - 'SP_Aou', - - 'P_Sept', - 'S_Sept', - 'SP_Sept', - - 'P_Oct', - 'S_Oct', - 'SP_Oct', - - 'P_Nov', - 'S_Nov', - 'SP_Nov', - - 'P_Dec', - 'S_Dec', - 'SP_Dec'); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SP MOIS PRIME ACQUISE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_EVOL_SP_MOIS_P_ACQ'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatevolspmoisexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - 'id', - _('Exercice'), - 'prime_1', - 'sin_1', - 'prime_2', - 'sin_2', - 'prime_3', - 'sin_3', - 'prime_4', - 'sin_4', - 'prime_5', - 'sin_5', - 'prime_6', - 'sin_6', - 'prime_7', - 'sin_7', - 'prime_8', - 'sin_8', - 'prime_9', - 'sin_9', - 'prime_10', - 'sin_10', - 'prime_11', - 'sin_11', - 'prime_12', - 'sin_12', - 'prime_an', - 'sin_an', - 'sp_an', - 'prime_cumul', - 'sin_cumul', - 'sp_cumul'); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PAR MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_EVOL_SP_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
exclusion = new Exclusioncollege(); - } - - public function index() { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $exclusions = $this->exclusion->getExclusionCollege($idCollege); - - $this->genererVueAjax(array('exclusions' => $exclusions)); - } - - public function exclure() { - /* - $idCollege = $this->requete->getParametreFormulaire("idCollege", "numerique"); - $id_exclusioncollege = $this->requete->getParametreFormulaire("id_exclusioncollege", "numerique"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - $choix = $this->requete->getParametreFormulaire("choix"); - */ - - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $id_exclusioncollege = $this->requete->getParametreFormulaire("id_exclusioncollege"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->exclusion->exclure($id_exclusioncollege, $idCollege, $codeActe, $choix) ; - } - - public function selectionner() { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire->selectionfacturation($idBeneficiaire, $choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxexistancebeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxexistancebeneficiaire.php deleted file mode 100644 index 430159e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxexistancebeneficiaire.php +++ /dev/null @@ -1,29 +0,0 @@ -ben = new Beneficiaire(); - } - - public function index() - { - $nom = $this->requete->getParametreFormulaire("nomBeneficiaire"); - $prenoms = $this->requete->getParametreFormulaire("prenomsBeneficiaire"); - $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $existe = $this->ben->getVerifieExistance($nom, $prenoms, $sexe, $codeLienParente, $dateNaissance, $idAdherent); - - //var_dump($existe); - - $this->genererVueAjax(array('existe' => $existe)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxexporterbons.php b/radiantproduction/Controleur/ControleurAjaxexporterbons.php deleted file mode 100644 index 9ad4969..0000000 --- a/radiantproduction/Controleur/ControleurAjaxexporterbons.php +++ /dev/null @@ -1,76 +0,0 @@ -bonpec = new Bonpec(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeTypeBon = $this->requete->getParametre("codeTypeBon"); - $codeEtatBon = $this->requete->getParametreFormulaire("codeEtatBon"); - $noDepart = $this->requete->getParametreFormulaire("noDepart", "numerique"); - $noFin = $this->requete->getParametreFormulaire("noFin", "numerique"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - - $entete = $this->bonpec->getInfos($codeTypeBon); - - $donnees = $this->bonpec->exporterBonpecs($codePrestataire, $codeTypeBon, $codeEtatBon, $noDepart, $noFin); - - // Excel - $headerXLS = array - ( - _('No Bon'), - _('Attribution'), - _('Réception'), - _('Etat'), - _('No Bénéf'), - _('Bénéficiaire'), - _('Utilisation') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('EXPORT BONS')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->mergeCells('A1:D1'); - - $feuille->setCellValue('A3', convertirc(_('Type Bon').' : '.$entete['libelle'])); - $feuille->mergeCells('A3:D3'); - - $feuille->fromArray($headerXLS, NULL, 'A5', true); - $feuille->fromArray($dataXLS, NULL, 'A6', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_EXPORT_BONS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire = new Beneficiaire(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $beneficiaires = $this->beneficiaire->getBeneficiairesAexporter($idPolice, $dateAnalyse); - - // Excel - $headerXLS = array - ( - _('No Client'), - _('Nom Client'), - _('No Police'), - _('Date Effet'), - _('Echéance'), - _('No Adhérent'), - _('Adhérent'), - _('Catégorie'), - _('No Bénéficiaire'), - _('Nom'), - _('Prénoms'), - _('Lien Parenté'), - _('Nature Pièce'), - _('No Pièce'), - _('Sexe'), - _('Groupe Sang'), - _('Naissance'), - _('Tél Portable'), - _('Entrée'), - _('Sortie'), - _('Motif Sortie'), - _('Etat'), - _('P Nette Com'), - _('Com Court'), - _('Com Commerc'), - _('Commisions'), - _('P NETTE STAT'), - _('P Nette'), - (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Prime TTC'), - _('Facturé'), - 'dateSysteme' - ); - - $dataXLS = array(); - - - foreach ($beneficiaires as $beneficiaire) - { - $dataXLS[]=$beneficiaire; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES ASSURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LISTE_ASSURE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreDate("dateAnalyse"); - - $beneficiaires = $this->beneficiaire->getBeneficiairesAexporterSansFormat($idPolice, $dateAnalyse); - - // Excel - $headerXLS = array - ( - _('No Client'), - _('Nom Client'), - _('No Police'), - _('Date Effet'), - _('Echéance'), - _('No Adhérent'), - _('Adhérent'), - _('Catégorie'), - _('Collège'), - _('No Bénéficiaire'), - _('Nom'), - _('Prénoms'), - _('Lien Parenté'), - _('Nature Pièce'), - _('No Pièce'), - _('Sexe'), - _('Groupe Sang'), - _('Naissance'), - _('Tél Portable'), - _('Entrée'), - _('Sortie'), - _('Motif Sortie'), - _('Etat'), - _('P Nette Com'), - _('Com Court'), - _('Com Commerc'), - _('Commisions'), - _('P NETTE STAT'), - _('P Nette'), - (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Prime TTC'), - _('Facturé'), - 'dateSysteme' - ); - - - $dataXLS = array(); - - - foreach ($beneficiaires as $beneficiaire) - { - $dataXLS[]=$beneficiaire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES ASSURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LISTE_ASSURE_SANS_FORMAT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
client = new Client(); - } - - public function index() - { - $clients = $this->client->getListeClientsExport(); - - // Excel - $headerXLS = array - ( - _('Client'), - _('No Client'), - _('ID Police'), - _('No Police'), - _('Police Spéciale'), - _('Limite Consommation'), - _('Gest Conf'), - "email", - "Type" - ); - - $dataXLS = array(); - - - foreach ($clients as $client) - { - $dataXLS[]=$client; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES CLIENTS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LISTE_CLIENTS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
adherent = new Adherent(); - $this->police = new Police(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $entetepolice = $this->police->getentetepolice($idPolice); - - $donnees = $this->adherent->getadherentlocaliteexport(); - - // Excel -/* -localite -nom -prenoms -numeroAdherent -*/ - $headerXLS = array - ( - _('Localité'), - _('Nom'), - _('Prénoms'), - _('No Adhérent') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FAMILLES PAR LOCALITE')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('A2', convertirc($entetepolice['souscripteur'])); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - $fichier = 'Temp/TMP_FAM_LOCALITE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $reglements = $this->reglement->getpaiementdecomptesexport($debut, $fin); - - // Excel - $headerXLS = array - ( - _('Prestataire'), - _('Exercice'), - _('Mois'), - _('Mod P'), - _('Réf P'), - _('No Règlement'), - _('Dde Règlt'), - _('User'), - _('Montant'), - _('date') - ); - - $dataXLS = array(); - - foreach ($reglements as $reglement) - { - $dataXLS[]=$reglement; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DECOMTES PAYES')); - - $feuille->setCellValue('A1', convertirc(_("DECOMTES PAYES"))); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A2', convertirc(_("PERIODE PAIEMENT")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A2:E2'); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DECPTE_PAYES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $reglements = $this->reglement->getdecomptesnonpayesexport($debut, $fin); - - // Excel - $headerXLS = array - ( - _('Date Dde Règlt'), - _('No Dde'), - _('Prestataire'), - _('Exercice'), - _('Mois'), - _('Montant'), - _('User Dd') - ); - - $dataXLS = array(); - - foreach ($reglements as $reglement) - { - $dataXLS[]=$reglement; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DECOMTES NON PAYES')); - - $feuille->setCellValue('A1', convertirc(_("DECOMTES NON PAYES"))); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A2', convertirc(_("PERIODE DEMANDE PAIEMENT")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A2:E2'); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DECPTE_NON_PAYES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
police = new Police(); - $this->emission = new Emission(); - $this->quittance = new Quittance(); - } - - public function index() - { - $idEmission = $this->requete->getParametre("idEmission"); - $idPolice = $this->requete->getParametre("idPolice"); - - $entetepolice = $this->police->getentetepolice($idPolice); - $emission = $this->emission->getEmissionId($idEmission); - $quittances = $this->quittance->getQuittancesEmission($idEmission); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=6; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 8); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - $pdf->SetFont('Arial','BIU', 8); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc(_("QUITTANCES D'UNE EMISSION")),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc(_('CONTRAT').' : '),0,1,'L',false); - $pdf->SetFont('Arial','', 8); - - $pdf->Cell(15,$ht,convertirc(_('No Client')),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".$entetepolice['numeroClient']),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_('Client')),0,0,'L',false); - $pdf->Cell(100,$ht,convertirc(" : ".$entetepolice['souscripteur']),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_('Police')),0,0,'L',false); - $pdf->Cell(30,$ht,convertirc(" : ".$entetepolice['numeroPolice']),0,1,'L',false); - - $pdf->Cell(15,$ht,convertirc(_('Date Effet')),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".dateLang($emission['dateEffet'])),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_('Echéance')),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".dateLang($emission['dateEcheance'])),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc('Edition : '.heureCouranteLang($_SESSION['lang'])),0,1,'R',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 8); - $pdf->Cell(0,$ht,convertirc(_('EMISSION No').' : '.$emission['numeroEmission'].' '._('du').' '.dateLang($emission['dateEffet']).' '._('au').' '.dateLang($emission['dateEcheance'])),0,1,'L',false); - $pdf->SetFont('Arial','', 8); - - /* - $pdf->Cell(20,$ht,convertirc(_("No Emission")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".$emission['numeroEmission']),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Avenant")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".$emission['numeroAvenant']),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Mouvement")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".$emission['codeTypeAvenant']),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Effet")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".dateLang($emission['dateEffet'])),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Echéance")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".dateLang($emission['dateEcheance'])),0,1,'L',false); - */ - - // 2eme ligne - $pdf->Cell(20,$ht,convertirc(_("P Nette Com")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['primeNette'])),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Com Court")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['commission'])),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Com Commer")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['commissionAutre'])),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Accessoires")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['accessoire'])),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Prime Nette")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['primeHt'])),0,1,'L',false); - - // 3eme ligne - $pdf->Cell(20,$ht,convertirc((isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['taxe'])),0,0,'L',false); - - if(isset($_SESSION['composanteprime']['Carte'])) - { - $pdf->Cell(20,$ht,convertirc(_($_SESSION['composanteprime']['Carte'])),0,0,'L',false); - } - else - { - $pdf->Cell(20,$ht,convertirc(_("Cartes")),0,0,'L',false); - } - - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['fraisCarte'])),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Prime TTC")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['primeTtcInitial'])),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Tx Intérêt")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".$emission['tauxInteret']),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Intérêts")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['interet'])),0,1,'L',false); - - - // 4eme ligne - $pdf->Cell(20,$ht,convertirc(_("Nouv Prime")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['primeTtc'])),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Nb Echéances")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['nbEcheance'])),0,0,'L',false); - - $pdf->Cell(20,$ht,convertirc(_("Nb Pers")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".format_N($emission['nbAliment'])),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_("Producteur")),0,0,'L',false); - $pdf->Cell(20,$ht,convertirc(" : ".$emission['user']." => ".dateheureLang($emission['dateSysteme'], $_SESSION['lang'])),0,1,'L',false); - - - $pdf->Ln(5); - $pdf->SetFont('Arial','BIU', 8); - $pdf->Cell(0,$ht,convertirc(_('QUITTANCES').' : '),0,1,'L',false); - - $pdf->SetFont('Arial','BI', 8); - - $pdf->Cell(10,$ht,convertirc(_("Num")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Effet")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Echéance")),1,0,'C',false); - $pdf->Cell(60,$ht,convertirc(_("Libellé")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Payer avant")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Prime TTC")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Encaissé")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Solde")),1,1,'C',false); - - $pdf->SetFont('Arial','', 8); - - foreach ($quittances as $quittance) - { - $pdf->Cell(10,$ht,convertirc($quittance['id']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(dateLang($quittance['dateEffet'])),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(dateLang($quittance['dateEcheance'])),1,0,'C',false); - $pdf->Cell(60,$ht,convertirc($quittance['libelleQuittance']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(dateLang($quittance['datePaiement'])),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(format_N($quittance['primeTtc'])),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(format_N($quittance['encaisse'])),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(format_N($quittance['solde'])),1,1,'C',false); - } - - $fichier="Temp/TMP_quittances_emission"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailtarifacte = new Detailtarifacte(); - } - - public function index() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $entete = $this->detailtarifacte->getentetetarifacte($codeTarifActe); - - $donnees = $this->detailtarifacte->exportertarifactes($codeTarifActe); - - // Excel - - $headerXLS = array - ( - _('Famille'), - _('Acte'), - _('Prix') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('TARIF DES ACTES')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc($entete['libelleTarif'])); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_TARIF_ACTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("codeTarifActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $entete = $this->detailtarifacte->getentetetarifacte($codeTarifActe); - - $donnees = $this->detailtarifacte->exporterlisteactes($codeTarifActe); - - // Excel - $headerXLS = array - ( - _('Famille'), - _('Acte'), - _('Gar'), - _('Type'), - _('Accord'), - _('Exclu'), - _('Actif'), - _('Dél Car') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES ACTES')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc($entete['libelleTarif'])); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LIST_ACTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailtarif = new Detailtarifmedicament(); - } - - public function index() - { - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - - $entete = $this->detailtarif->getentetetarif($codeTarifMedicament); - - $detailtarifs = $this->detailtarif->exportertarifmedicament($codeTarifMedicament); - - // Excel - $headerXLS = array - ( - _('Code'), - _('Désignation'), - _('Prix'), - _('Unité'), - _('Accord'), - _('Exclu'), - _('Actif') - ); - - $dataXLS = array(); - - foreach ($detailtarifs as $detailtarif) - { - $dataXLS[]=$detailtarif; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('TARIF DES MEDICAMENTS')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - - $feuille->setCellValue('A2', convertirc($entete['libelleTarif'])); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_TARIF_MED'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailtarif->exporterlistemedicament(); - - // Excel - $headerXLS = array - ( - _('Code'), - _('Désignation'), - _('Unité'), - _('Accord'), - _('Exclu'), - _('Actif') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES MEDICAMENTS')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete']." : "._('LISTE DES MEDICAMENTS'))); - - $feuille->mergeCells('A1:B1'); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LIST_MED'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailtarif = new Detailtarifoptique(); - } - - public function index() - { - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - - $entete = $this->detailtarif->getentetetarif($codeTarifOptique); - - $detailtarifs = $this->detailtarif->exportertarifverre($codeTarifOptique); - - // Excel -/* -codeOptique -libelleVerre -prix -actif -*/ - $headerXLS = array - ( - _('Code'), - _('Désignation'), - _('Prix'), - _('Actif') - ); - - $dataXLS = array(); - - foreach ($detailtarifs as $detailtarif) - { - $dataXLS[]=$detailtarif; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('TARIF DES VERRES')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - - $feuille->setCellValue('A2', convertirc($entete['libelleTarif'])); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_TARIF_OPT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
detailtarif->exporterlisteverres(); - - // Excel - $headerXLS = array - ( - _('Code'), - _('Désignation'), - _('Actif') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES VERRES')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete']." : "._('LISTE DES VERRES'))); - - $feuille->mergeCells('A1:B1'); - - $feuille->fromArray($headerXLS, NULL, 'A3', true); - $feuille->fromArray($dataXLS, NULL, 'A4', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LIST_VERRES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
quittance = new Quittance(); - } - - public function index() - { - $idQuittance = $this->requete->getParametre("idQuittance"); - - $quittance = $this->quittance->getQuittanceIdExport($idQuittance); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=6; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - $pdf->SetFont('Arial','BIU', 9); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc(_("QUITTANCE DE PRIME")),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc(_('CONTRAT').' : '),0,1,'L',false); - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(15,$ht,convertirc(_('No Client')),0,0,'L',false); - $pdf->Cell(15,$ht,convertirc(" : ".$quittance['numeroClient']),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_('Client')),0,0,'L',false); - $pdf->Cell(100,$ht,convertirc(" : ".$quittance['souscripteur']),0,0,'L',false); - - $pdf->Cell(10,$ht,convertirc(_('Police')),0,0,'L',false); - $pdf->Cell(25,$ht,convertirc(" : ".$quittance['numeroPolice']),0,1,'L',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 9); - $pdf->Cell(0,$ht,convertirc(_('QUITTANCE No').' : '.$quittance['idQuittance'] . ' => '.$quittance['libelleQuittance']),0,1,'L',false); - $pdf->SetFont('Arial','', 9); - - // 1ere ligne - /* - $pdf->Cell(25,$ht,convertirc(_("No Quittance")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['idQuittance']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Avenant")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['numeroAvenant']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Mouvement")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['codeTypeAvenant']),0,1,'L',false); - */ - // 2eme ligne - - $pdf->Cell(25,$ht,convertirc(_('Effet')),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEffet'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_('Echéance')),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEcheance'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_('Edition')),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(' : '.heureCouranteLang($_SESSION['lang'])),0,1,'L',false); - - // 3eme ligne - $pdf->Cell(25,$ht,convertirc(_("P Nette Com")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeNette'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Com Court")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['commission'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Com Commer")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['commissionAutre'])),0,1,'L',false); - - // 4eme ligne - $pdf->Cell(25,$ht,convertirc(_("Accessoires")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['accessoire'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Prime Nette")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeHt'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc((isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['taxe'])),0,1,'L',false); - - // 5eme ligne - - if(isset($_SESSION['composanteprime']['Carte'])) - { - $pdf->Cell(25,$ht,convertirc(_($_SESSION['composanteprime']['Carte'])),0,0,'L',false); - } - else - { - $pdf->Cell(25,$ht,convertirc(_("Cartes")),0,0,'L',false); - } - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['fraisCarte'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Prime TTC")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeTtcInitial'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Tx Intérêt")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['tauxInteret']),0,1,'L',false); - - // 6eme ligne - $pdf->Cell(25,$ht,convertirc(_("Intérêts")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['interet'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Nouv Prime")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeTtc'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Nb Pers")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['nbAliment'])),0,1,'L',false); - - // 7eme ligne - $pdf->Cell(25,$ht,convertirc(_("A Payer avant")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['datePaiement'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Encaissé")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['encaisse'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Solde")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['solde'])),0,1,'L',false); - - // 8eme ligne - - $pdf->Ln(10); - - $pdf->Cell(25,$ht,convertirc(_("Producteur")),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(" : ".$quittance['user']." => ".dateheureLang($quittance['dateSysteme'], $_SESSION['lang'])),0,1,'L',false); - - $fichier="Temp/TMP_quittances_emission"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
quittance = new Quittance(); - } - - public function index() - { - $idQuittance = $this->requete->getParametre("idQuittance"); - - $quittance = $this->quittance->getQuittanceIdExport($idQuittance); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=6; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - $pdf->SetFont('Arial','BIU', 9); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc(_("QUITTANCE DE PRIME")),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc(_('CONTRAT').' : '),0,1,'L',false); - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(15,$ht,convertirc(_('No Client')),0,0,'L',false); - $pdf->Cell(15,$ht,convertirc(" : ".$quittance['numeroClient']),0,0,'L',false); - - $pdf->Cell(15,$ht,convertirc(_('Client')),0,0,'L',false); - $pdf->Cell(100,$ht,convertirc(" : ".$quittance['souscripteur']),0,0,'L',false); - - $pdf->Cell(10,$ht,convertirc(_('Police')),0,0,'L',false); - $pdf->Cell(25,$ht,convertirc(" : ".$quittance['numeroPolice']),0,1,'L',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 9); - $pdf->Cell(0,$ht,convertirc(_('QUITTANCE No').' : '.$quittance['idQuittance'] . ' => '.$quittance['libelleQuittance']),0,1,'L',false); - $pdf->SetFont('Arial','', 9); - - // 1ere ligne - /* - $pdf->Cell(25,$ht,convertirc(_("No Quittance")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['idQuittance']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Avenant")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['numeroAvenant']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Mouvement")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['codeTypeAvenant']),0,1,'L',false); - */ - - // 2eme ligne - - $pdf->Cell(25,$ht,convertirc(_('Effet')),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEffet'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_('Echéance')),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEcheance'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_('Edition')),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(' : '.heureCouranteLang($_SESSION['lang'])),0,1,'L',false); - - // 3eme ligne - $pdf->Cell(25,$ht,convertirc(_("P Nette Com")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeNette'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Com Court")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['commission'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Com Commer")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['commissionAutre'])),0,1,'L',false); - - // 4eme ligne - $pdf->Cell(25,$ht,convertirc(_("Accessoires")),0,0,'L',false); - - // $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['accessoire'])),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['accessoire']+$quittance['fraisCarte'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Prime Nette")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeHt'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc((isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['taxe'])),0,1,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Prime TTC")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeTtcInitial'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Tx Intérêt")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".$quittance['tauxInteret']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Intérêts")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['interet'])),0,1,'L',false); - - // 6eme ligne - - $pdf->Cell(25,$ht,convertirc(_("Nouv Prime")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['primeTtc'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Nb Pers")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['nbAliment'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("A Payer avant")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['datePaiement'])),0,1,'L',false); - - // 7eme ligne - - $pdf->Cell(25,$ht,convertirc(_("Encaissé")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['encaisse'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Solde")),0,0,'L',false); - $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['solde'])),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(25,$ht,convertirc(_("Producteur")),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(" : ".$quittance['user']." => ".dateheureLang($quittance['dateSysteme'], $_SESSION['lang'])),0,1,'L',false); - - $fichier="Temp/TMP_quittances_emission"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
rediriger("Facturerpolice"); - /* - if(($avt=="AFN") or ($avt=="REN")) - { - $this->rediriger("Facturerpolice"); - } - else - { - $this->rediriger("Facturercollege"); - } - */ - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturationparclient.php b/radiantproduction/Controleur/ControleurAjaxfacturationparclient.php deleted file mode 100644 index e51df65..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturationparclient.php +++ /dev/null @@ -1,29 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatfactparclient($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturationparclientexport.php b/radiantproduction/Controleur/ControleurAjaxfacturationparclientexport.php deleted file mode 100644 index 64058d3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturationparclientexport.php +++ /dev/null @@ -1,64 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatfactparclientexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Client'), - _('Affaires Nouvelles'), - _('Renouvellement'), - _('Prime HT'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Prime TTC'), - _('Encaissements'), - _('Solde'), - _('Etat') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURATION GLOBALE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURATION_GLOBALE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatfactparmois($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturationpparmoisexport.php b/radiantproduction/Controleur/ControleurAjaxfacturationpparmoisexport.php deleted file mode 100644 index 14b8411..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturationpparmoisexport.php +++ /dev/null @@ -1,70 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatfactparmoisexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Nb AFN'), - _('Affaires Nouvelles'), - _('Nb REN'), - _('Renouvellement'), - _('Nb Polices'), - _('P Nette'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales'), - _('Encaissements'), - _('Solde') - ); - - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURATION PAR MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURATION_PAR_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
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/radiantproduction/Controleur/ControleurAjaxfactureconspop.php b/radiantproduction/Controleur/ControleurAjaxfactureconspop.php deleted file mode 100644 index 7c2c83b..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxfacturegccons.php b/radiantproduction/Controleur/ControleurAjaxfacturegccons.php deleted file mode 100644 index 7aea705..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturegccons.php +++ /dev/null @@ -1,19 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $gcs = $this->facture->get_factures_gc_cons(); - - $this->genererVueAjax(array('gcs' => $gcs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturegcnonsel.php b/radiantproduction/Controleur/ControleurAjaxfacturegcnonsel.php deleted file mode 100644 index 39ec0fc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturegcnonsel.php +++ /dev/null @@ -1,75 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $gcs = $this->facture->get_factures_gc_non_sel($codeGcAssureur, $dateFacture1, $dateFacture2); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_factures_gc_non_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idFactureTemp = $this->requete->getParametreFormulaire("idFactureTemp"); - $this->facture->selectionner_facture_gc($idFactureTemp); - } - - public function deselectionner() - { - $idFactureTemp = $this->requete->getParametreFormulaire("idFactureTemp"); - $this->facture->de_selectionner_facture_gc($idFactureTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_factures_gc_non_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_facture_gc_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturegcnonselentete.php b/radiantproduction/Controleur/ControleurAjaxfacturegcnonselentete.php deleted file mode 100644 index 8c7bcf9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturegcnonselentete.php +++ /dev/null @@ -1,21 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index($msgErreur=null) - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('reglement' => $reglement)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturegcsel.php b/radiantproduction/Controleur/ControleurAjaxfacturegcsel.php deleted file mode 100644 index 4ce78e0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturegcsel.php +++ /dev/null @@ -1,68 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_factures_gc_sel(); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_factures_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idFactureTemp = $this->requete->getParametreFormulaire("idFactureTemp"); - $this->facture->selectionner_facture_gc_sel($idFactureTemp); - } - - public function deselectionner() - { - $idFactureTemp = $this->requete->getParametreFormulaire("idFactureTemp"); - $this->facture->de_selectionner_facture_gc_sel($idFactureTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_factures_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_facture_gc_sel_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturerpolice.php b/radiantproduction/Controleur/ControleurAjaxfacturerpolice.php deleted file mode 100644 index 89a186e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturerpolice.php +++ /dev/null @@ -1,165 +0,0 @@ -menuvue = new Menuvueutilisateur(); - - $this->beneficiaire = new Beneficiaire(); - $this->echeancier = new Echeancier_temp(); - $this->typeecheancier = new Typeecheancier(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $beneficiaires = $this->beneficiaire->afficherfacturationpolice($debut, $fin); - - $total_a_facturer = $this->beneficiaire->affichertotalfacturationpolice($debut, $fin); - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires, 'total_a_facturer' => $total_a_facturer)); - } - - - public function selectionnertoutlignesafacturer() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - $choix = $this->requete->getParametre("choix"); - - $this->beneficiaire->selectionnertoutlignesafacturer($choix, $debut, $fin); - } - - public function selectionner() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - $idBeneficiairePrimeTemp = $this->requete->getParametre("idBeneficiairePrimeTemp"); - $choix = $this->requete->getParametre("choix"); - - $total_a_facturer = $this->beneficiaire->selectionnerunelignesafacturer($idBeneficiairePrimeTemp, $choix, $debut, $fin); - - $this->genererVueAjax(array('total_a_facturer' => $total_a_facturer)); - } - - public function initecheancierfacturation() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $idEmission_temp = $this->beneficiaire->initecheancierfacturation($debut, $fin); - - $_SESSION['idEmission_temp'] = $idEmission_temp; - } - - public function getnbecheancier() - { - $codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier"); - - $nbEcheance_info = $this->typeecheancier->getNbEcheancier($codeTypeEcheancier); - - $this->genererVueAjax(array('nbEcheance_info' => $nbEcheance_info)); - } - - public function majecheancier() - { - $idEmission_temp = $_SESSION['idEmission_temp']; - $codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier"); - $nbEcheance = $this->requete->getParametreFormulaire("nbEcheance"); - $tauxInteret = $this->requete->getParametreFormulaire("tauxInteret"); - - $this->echeancier->majEcheancier_temp($idEmission_temp, $codeTypeEcheancier, $nbEcheance, $tauxInteret); - } - - public function enregistrer() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $this->echeancier->enregistrer($debut, $fin); - } - - public function majlibelle() - { - $idEcheancier = $this->requete->getParametreFormulaire("idEcheancier"); - $libelleEcheance = $this->requete->getParametreFormulaire("libelleEcheance"); - - $this->echeancier->majlibelle($idEcheancier, $libelleEcheance); - } - - public function majdatepaiement() - { - $idEcheancier = $this->requete->getParametreFormulaire("idEcheancier"); - $datePaiement = $this->requete->getParametreDate("datePaiement"); - - $this->echeancier->majdatepaiement($idEcheancier, $datePaiement); - } - - public function majtauxecheance() - { - $idEcheancier = $this->requete->getParametreFormulaire("idEcheancier"); - $tauxEcheance = $this->requete->getParametreFormulaire("tauxEcheance"); - $nbEcheance = $this->requete->getParametreFormulaire("nbEcheance"); - - // var_dump($idEcheancier); - - $this->echeancier->majtauxecheance($idEcheancier, $tauxEcheance, $nbEcheance); - } - - public function afficherecheancierfacturation() - { - $typeecheancier = $this->typeecheancier->getListe(); - - $entete_echeancier = $this->echeancier->getEntete_echeancier_temp(); - - $echeanciers = $this->echeancier->getEcheancier_temp(); - - $total_echeancier = $this->echeancier->getTotalEcheancier_temp(); - - $this->genererVueAjax(array('typeecheancier' => $typeecheancier, 'entete_echeancier' => $entete_echeancier, - 'echeanciers' => $echeanciers, 'total_echeancier' => $total_echeancier)); - } - - public function majaccessoiresfacturation() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte", "numerique"); - - $this->beneficiaire->majaccessoiresfacturation($fraisCarte, $debut, $fin); - } - - - public function majprimesfacturation() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $old_primeNette = $this->requete->getParametreFormulaire("old_primeNette", "numerique"); - $nv_primeNette = $this->requete->getParametreFormulaire("nv_primeNette", "numerique"); - - $this->beneficiaire->majprimesfacturation($idCollege, $old_primeNette, $nv_primeNette, $debut, $fin); - } - - public function getparametrestypeecheancier() - { - $codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier"); - - $parametrestypeecheancier = $this->typeecheancier->getparametrestypeecheancier($codeTypeEcheancier) ; - - $this->genererVueAjax(array('parametrestypeecheancier' => $parametrestypeecheancier)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfactures.php b/radiantproduction/Controleur/ControleurAjaxfactures.php deleted file mode 100644 index 9ef80a2..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxfacturesclassiques.php b/radiantproduction/Controleur/ControleurAjaxfacturesclassiques.php deleted file mode 100644 index 2a33798..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfacturesclassiques.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"); - - $dossiers = $this->facture->getdossiersclassiques($idBeneficiaire, $d1, $d2) ; - - $this->genererVueAjax(array('dossiers' => $dossiers)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfacturesfamille.php b/radiantproduction/Controleur/ControleurAjaxfacturesfamille.php deleted file mode 100644 index def944b..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxfacturesfeuille.php b/radiantproduction/Controleur/ControleurAjaxfacturesfeuille.php deleted file mode 100644 index eced291..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxfamentreedetail.php b/radiantproduction/Controleur/ControleurAjaxfamentreedetail.php deleted file mode 100644 index 9b61c77..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreedetail.php +++ /dev/null @@ -1,31 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreedetail($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreedetailexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreedetailexport.php deleted file mode 100644 index cb54c5b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreedetailexport.php +++ /dev/null @@ -1,104 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreedetailexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Adhérent*/ - _('Entrée Adhérent'), - _('Adhérent'), - _('Commercial'), - - /*Bénéficiaire*/ - _('Entrée Bénéficiaire'), - _('Bénéficiaire'), - _('No Carte'), - _('Lien'), - _('Sexe'), - _('Naissance'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - _('P Base Adhérent'), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES FAM INDIV')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREE_FAM_DET'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpexe($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrexeexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrexeexport.php deleted file mode 100644 index 8035c85..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrexeexport.php +++ /dev/null @@ -1,90 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpexeexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Exercice*/ - _('Exercice'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR EXE ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par exercicce"); - - $feuille->mergeCells('A1:L1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:L2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREES_EXE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpcom($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpcomech.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpcomech.php deleted file mode 100644 index 7f57ef6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpcomech.php +++ /dev/null @@ -1,31 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpcomech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpcomechexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpcomechexport.php deleted file mode 100644 index 2b8eda2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpcomechexport.php +++ /dev/null @@ -1,95 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpcomechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Commercial*/ - _('Commercial'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR COM ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par commercial et type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENT_COM_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpcomexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Commercial*/ - _('Commercial'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES PAR COMM')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par commercial"); - - $feuille->mergeCells('A1:L1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:L2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTR_COMM'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpechexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpechexport.php deleted file mode 100644 index 12be9b8..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpechexport.php +++ /dev/null @@ -1,91 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES PAR ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREES_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpexeech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpexeechexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpexeechexport.php deleted file mode 100644 index 0d9c13e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpexeechexport.php +++ /dev/null @@ -1,95 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpexeechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Exercice*/ - _('Exercice'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR EXE ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par exercicce et type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENT_EXE_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpfam($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpfamexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpfamexport.php deleted file mode 100644 index 11f50d1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpfamexport.php +++ /dev/null @@ -1,97 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpfamexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Adhérent*/ - _('Entrée Adhérent'), - _('Adhérent'), - _("No Fam"), - _('Commercial'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Nb P"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES GRP PAR FAM')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par famille"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREE_FAM'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpper($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpperech.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpperech.php deleted file mode 100644 index 8b99157..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpperech.php +++ /dev/null @@ -1,31 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpperech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamentreegrpperechexport.php b/radiantproduction/Controleur/ControleurAjaxfamentreegrpperechexport.php deleted file mode 100644 index 3abe9b5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamentreegrpperechexport.php +++ /dev/null @@ -1,96 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpperechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Période*/ - _('Exercice'), - _('Trimestre'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR PER ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par période et type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENT_PER_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialeentreegrpperexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Période*/ - _('Exercice'), - _('Trimestre'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR PER ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par période"); - - $feuille->mergeCells('A1:M1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:M2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREE_PERIODE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiedetail($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiedetailexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiedetailexport.php deleted file mode 100644 index 3ee0bbc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiedetailexport.php +++ /dev/null @@ -1,103 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiedetailexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Adhérent*/ - _('Entrée Adhérent'), - _('Adhérent'), - _('Commercial'), - - /*Bénéficiaire*/ - _('Entrée Bénéficiaire'), - _('Bénéficiaire'), - _('No Carte'), - _('Lien'), - _('Sexe'), - _('Naissance'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - _('P Base Adhérent'), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES FAM INDIV')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREE_FAM_DET'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpexe($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrexeexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrexeexport.php deleted file mode 100644 index bb260ae..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrexeexport.php +++ /dev/null @@ -1,90 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpexeexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Exercice*/ - _('Exercice'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR EXE ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par exercicce"); - - $feuille->mergeCells('A1:L1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:L2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREES_EXE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpcom($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpcomech.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpcomech.php deleted file mode 100644 index 2529ee0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpcomech.php +++ /dev/null @@ -1,31 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpcomech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpcomechexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpcomechexport.php deleted file mode 100644 index 24a7d0c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpcomechexport.php +++ /dev/null @@ -1,95 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpcomechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Commercial*/ - _('Commercial'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR COM ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par commercial et type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENT_COM_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpcomexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Commercial*/ - _('Commercial'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES PAR COMM')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par commercial"); - - $feuille->mergeCells('A1:L1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:L2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTR_COMM'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpechexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpechexport.php deleted file mode 100644 index 55e6a08..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpechexport.php +++ /dev/null @@ -1,91 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES PAR ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREES_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpexeech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpexeechexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpexeechexport.php deleted file mode 100644 index 58e5835..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpexeechexport.php +++ /dev/null @@ -1,95 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpexeechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Exercice*/ - _('Exercice'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR EXE ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par exercicce et type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENT_EXE_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpfam($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpfamexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpfamexport.php deleted file mode 100644 index d0966cd..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpfamexport.php +++ /dev/null @@ -1,97 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpfamexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Adhérent*/ - _('Entrée Adhérent'), - _('Adhérent'), - _("No Fam"), - _('Commercial'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Nb P"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTREES GRP PAR FAM')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par famille"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREE_FAM'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpper($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpperech.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpperech.php deleted file mode 100644 index 202c839..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpperech.php +++ /dev/null @@ -1,31 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpperech($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpperechexport.php b/radiantproduction/Controleur/ControleurAjaxfamsortiegrpperechexport.php deleted file mode 100644 index 25a13e4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfamsortiegrpperechexport.php +++ /dev/null @@ -1,96 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpperechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Période*/ - _('Exercice'), - _('Trimestre'), - - /*Echéancier*/ - _('Ech'), - _('Nb Ech'), - _('Taux'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR PER ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par période et type d'échéancier"); - - $feuille->mergeCells('A1:N1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:N2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENT_PER_ECH'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->statfamilialesortiegrpperexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode); - - // Excel - $headerXLS = array( - /*Période*/ - _('Exercice'), - _('Trimestre'), - - _("Fam"), - _("Dép"), - - /*detail*/ - _('P Base Bénéficiaire'), - _('Comm'), - _('P Ht'), - _('Taxe'), - _('Charge'), - _('P Total'), - _('P. Ech'), - - _('Part Assureur'), - _('Part Tiers') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTR PAR PER ET ECH')); - - $feuille->setCellValue('A1', "Entrées assurance maladie individuelle groupées par période"); - - $feuille->mergeCells('A1:M1'); - - $feuille->getStyle('A1')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debutPeriode) . " <==> " . dateLang($finPeriode))); - $feuille->mergeCells('A2:M2'); - - $feuille->getStyle('A2')->getAlignment()->applyFromArray - ( - array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER) - ); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTREE_PERIODE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
quittance = new Quittance(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice"); - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $quittances = $this->quittance->getQuittancesPolicePeriode($idPolice, $debut, $fin); - - $totalquittanceperiode = $this->quittance->getTotalQuittancePeriode($idPolice, $debut, $fin); - - $this->genererVueAjax(array('quittances' => $quittances, 'totalquittanceperiode' => $totalquittanceperiode)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfiltrefamillecomposantetarif.php b/radiantproduction/Controleur/ControleurAjaxfiltrefamillecomposantetarif.php deleted file mode 100644 index a7f44fc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfiltrefamillecomposantetarif.php +++ /dev/null @@ -1,24 +0,0 @@ -familleacte = new Familleacte(); - } - - public function index() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $familleacte = $this->familleacte->getListeComposanteTarif($codeTarifActe); - - $this->genererVueAjax(array('familleacte' => $familleacte)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxfiltrefamilletarif.php b/radiantproduction/Controleur/ControleurAjaxfiltrefamilletarif.php deleted file mode 100644 index 0919036..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfiltrefamilletarif.php +++ /dev/null @@ -1,30 +0,0 @@ -familleacte = new Familleacte(); - } - - public function index() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $actesHarmonises = $_SESSION['actesHarmonises']; - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - $codeTarifActe = "ST"; - } - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $familleacte = $this->familleacte->getListeFamilleActeTarifCombo($codeTarifActe); - - $this->genererVueAjax(array('familleacte' => $familleacte)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxflexcode.php b/radiantproduction/Controleur/ControleurAjaxflexcode.php deleted file mode 100644 index 47773b0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxflexcode.php +++ /dev/null @@ -1,16 +0,0 @@ -client = new Client(); - } - - public function index() { - // $idClient = $this->requete->getParametre("idClient"); - // $this->client->getContexteAjaxClient($idClient); - $this->genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfraisgestiongccons.php b/radiantproduction/Controleur/ControleurAjaxfraisgestiongccons.php deleted file mode 100644 index a8253e9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfraisgestiongccons.php +++ /dev/null @@ -1,68 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $gcs = $this->facture->get_frais_gestion_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_frais_gestion_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->selectionner_frais_gestion_gc_sel($idCarteTemp); - } - - public function deselectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->de_selectionner_frais_gestion_gc_sel($idCarteTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_frais_gestion_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_frais_gestion_gc_sel_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcdetailpdf.php b/radiantproduction/Controleur/ControleurAjaxfraisgestiongcdetailpdf.php deleted file mode 100644 index 20a8374..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcdetailpdf.php +++ /dev/null @@ -1,125 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_frais_gestion_gc_detail(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF("L"); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc(_("FRAIS DE GESTION DE LA FACTURATION : DETAIL")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(12,5,convertirc(_("Assureur")),0,0,'L',false); - $pdf->Cell(18,5,convertirc(': '.$reglement['gcassureur']),0,0,'L',false); - - $pdf->Cell(8,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(14,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(10,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,1,'L',false); - } - - $pdf->Cell(12,5,convertirc('Observ'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['observations']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(15,$hl,convertirc(_("Exercice")),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc(_("Mois")),"1",0,'C'); - $pdf->Cell(70,$hl,convertirc(_("Souscripteur")),"1",0,'C'); - $pdf->Cell(65,$hl,convertirc(_("Adhérent")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("No Bénéf")),"1",0,'C'); - $pdf->Cell(65,$hl,convertirc(_("Bénéficiaire")),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_("Montant")),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - foreach ($gcs as $gc) - { - $pdf->Cell(15,$hl,convertirc($gc['codeExercice']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($gc['codeMois']),"1",0,'C'); - $pdf->Cell(70,$hl,convertirc($gc['souscripteur']),"1",0,'L'); - $pdf->Cell(65,$hl,convertirc($gc['adherent']),"1",0,'L'); - $pdf->Cell(20,$hl,convertirc($gc['numeroBeneficiaire']),"1",0,'C'); - $pdf->Cell(65,$hl,convertirc($gc['beneficiaire']),"1",0,'L'); - $pdf->Cell(15,$hl,format_N($gc['montantFrais']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(245,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(15,$hl,format_N($reglement['montantFrais']),1,1,'C'); - - $fichier="Temp/TMP_DETAIL_FG_DETAIL_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_frais_gestion_gc_detail_xls(); - - // Excel - - $headerXLS = array - ( - _("Exercice"), - _("Mois"), - _("Souscripteur"), - _("Adhérent"), - _("No Bénéf"), - _("Bénéficiaire"), - _("Montant") - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_("FRAIS GESTION CONFIEE")); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_("FRAIS GESTION CONFIEE DETAIL"))); - - $feuille->setCellValue('A2', convertirc(_("Assureur"))); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - - $feuille->setCellValue('A5', convertirc(_("Nb Carte")." : ")); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbCarte']))); - - $feuille->setCellValue('A6', convertirc(_("Montant").' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantFrais']))); - - $feuille->setCellValue('A7', convertirc(_("TVA").' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['tvaFrais']))); - - $feuille->setCellValue('A8', convertirc(_("TTC").' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['ttcFrais']))); - - $feuille->fromArray($headerXLS, NULL, 'A10', true); - $feuille->fromArray($dataXLS, NULL, 'A11', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FG_DETAIL_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - - $gcs = $this->facture->get_frais_gestion_gc_non_sel($codeGcAssureur); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_frais_gestion_gc_non_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->selectionner_frais_gestion_gc($idCarteTemp); - } - - public function deselectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->de_selectionner_frais_gestion_gc($idCarteTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_frais_gestion_gc_non_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_frais_gestion_gc_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcnonselentete.php b/radiantproduction/Controleur/ControleurAjaxfraisgestiongcnonselentete.php deleted file mode 100644 index c43512a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcnonselentete.php +++ /dev/null @@ -1,20 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index($msgErreur=null) - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('reglement' => $reglement)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcsel.php b/radiantproduction/Controleur/ControleurAjaxfraisgestiongcsel.php deleted file mode 100644 index 846cc02..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcsel.php +++ /dev/null @@ -1,68 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $composante = $this->facture->getListeCompsanteReglement(); - - $gcs = $this->facture->get_frais_gestion_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement, 'composante' => $composante)); - } - - public function validerselection() - { - $this->facture->valider_frais_gestion_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $composante = $this->facture->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->selectionner_frais_gestion_gc_sel($idCarteTemp); - } - - public function deselectionner() - { - $idCarteTemp = $this->requete->getParametreFormulaire("idCarteTemp"); - $this->facture->de_selectionner_frais_gestion_gc_sel($idCarteTemp); - } - - public function reafficher() - { - $gcs = $this->facture->re_afficher_frais_gestion_gc_sel(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $this->genererVueAjax(array('gcs' => $gcs, 'reglement' => $reglement)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->facture->selectionner_frais_gestion_gc_sel_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcsouscripteurpdf.php b/radiantproduction/Controleur/ControleurAjaxfraisgestiongcsouscripteurpdf.php deleted file mode 100644 index 112c22d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxfraisgestiongcsouscripteurpdf.php +++ /dev/null @@ -1,122 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_frais_gestion_gc_souscripteur(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - // $pdf->AliasNbPages(); - $pdf->Cell(0,6,convertirc(_("FRAIS DE GESTION DE LA FACTURATION PAR SOUSCRIPTEUR")),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(12,5,convertirc(_("Assureur")),0,0,'L',false); - $pdf->Cell(18,5,convertirc(': '.$reglement['gcassureur']),0,0,'L',false); - - $pdf->Cell(8,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(14,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(14,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(10,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(18,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(18,5,convertirc(_(": Non")),0,1,'L',false); - } - - $pdf->Cell(12,5,convertirc('Observ'),0,0,'L',false); - $pdf->Cell(25,5,convertirc(': '.$reglement['observations']),0,0,'L',false); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - - $pdf->Ln(2); - - $hl=5; - - $pdf->SetFont('Arial','B',6); - - $pdf->Cell(80,$hl,convertirc(_("Souscripteur")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("Exercice")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("Mois")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Nb Carte")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Montant")),"1",1,'C'); - - $pdf->SetFont('Arial','I',6); - foreach ($gcs as $gc) - { - $pdf->Cell(80,$hl,convertirc($gc['souscripteur']),"1",0,'L'); - $pdf->Cell(20,$hl,convertirc($gc['codeExercice']),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc($gc['codeMois']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['nbCarte']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['montantFrais']),"1",1,'C'); - } - $pdf->SetFont('Arial','BI',6); - - $pdf->Cell(120,$hl,convertirc("TOTAL"),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($reglement['nbCarte']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($reglement['montantFrais']),1,1,'C'); - - $fichier="Temp/TMP_DETAIL_FG_SOUSCRP_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_frais_gestion_gc_souscripteur_xls(); - - // Excel - - $headerXLS = array - ( - _("Souscripteur"), - _("Exercice"), - _("Mois"), - _("Nb Carte"), - _("Montant") - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_("FRAIS GESTION CONFIEE")); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_("FRAIS GESTION CONFIEE"))); - - $feuille->setCellValue('A2', convertirc(_("Assureur"))); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - - $feuille->setCellValue('A5', convertirc(_("Nb Carte")." : ")); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbCarte']))); - - $feuille->setCellValue('A6', convertirc(_("Montant").' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantFrais']))); - - $feuille->setCellValue('A7', convertirc(_("TVA").' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['tvaFrais']))); - - $feuille->setCellValue('A8', convertirc(_("TTC").' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['ttcFrais']))); - - $feuille->fromArray($headerXLS, NULL, 'A10', true); - $feuille->fromArray($dataXLS, NULL, 'A11', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FG_SOUSCRP_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
societeuser = new Societeuser(); - } - - public function index() - { - /* - $codeSociete = $_SESSION['codeSociete']; - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - $this->genererVueAjax(array('societeuser' => $societeuser)); - */ - $this->genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgarantiescollege.php b/radiantproduction/Controleur/ControleurAjaxgarantiescollege.php deleted file mode 100644 index 80cd77c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgarantiescollege.php +++ /dev/null @@ -1,99 +0,0 @@ -college_temp = new College_temp(); - $this->ouinonimposerplafond = (new Ouinon())->getListe(); - } - - public function index() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $this->genererVueAjax(array('garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, 'garoptacquises' => $garoptacquises, - 'ouinonimposerplafond' => $this->ouinonimposerplafond)); - } - - public function ajoutergarantie() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $codeGarantie = $this->requete->getParametre("codeGarantie"); - - $this->college_temp->ajouterUneGarantie($idCollegeTemp, $codeGarantie); - $this->executerAction("index"); - } - - public function supprimergarantie() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $this->college_temp->supprimergarantie($idGarantie); - $this->executerAction("index"); - } - - - public function majtauxplafond() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $tauxPlafond = $this->requete->getParametreFormulaire("tauxPlafond"); - $this->college_temp->majtauxplafond($idGarantie, $tauxPlafond); - $this->executerAction("index"); - } - - public function imposerplafond() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $plafond = $this->requete->getParametreFormulaire("plafond"); - $this->college_temp->imposerplafond($idGarantie, $plafond); - $this->executerAction("index"); - } - - public function majprimeopt() - { - $primeOption = $this->requete->getParametreFormulaire("primeOption","numerique"); - $idGarantie = $this->requete->getParametre("idGarantie"); - - $this->college_temp->majPrimeOpt($idGarantie, $primeOption); - $this->executerAction("index"); - } - - public function majplafondopt() - { - $plafondOption = $this->requete->getParametreFormulaire("plafond","numerique"); - $idGarantie = $this->requete->getParametre("idGarantie"); - - $this->college_temp->majPlafondOpt($idGarantie, $plafondOption); - $this->executerAction("index"); - } - - - public function majlibgar() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $libellegarantie = $this->requete->getParametreFormulaire("libellegarantie"); - $this->college_temp->majlibgar($idGarantie, $libellegarantie); - $this->executerAction("index"); - } - - public function majchampapplicationplafond() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $choix = $this->requete->getParametre("choix"); - - // throw new Exception("choix: '$choix'"); - // exit(); - - $this->college_temp->majchampapplicationplafond($idGarantie, $choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgarantiescollegeadd.php b/radiantproduction/Controleur/ControleurAjaxgarantiescollegeadd.php deleted file mode 100644 index 2058d65..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgarantiescollegeadd.php +++ /dev/null @@ -1,83 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $garantiesadd = $this->college_temp->getGarAddCollege($idCollegeTemp); - - $this->genererVueAjax(array('garantiesadd' => $garantiesadd)); - } - - public function majplafondadd() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $plafond = $this->requete->getParametreFormulaire("plafond","numerique"); - $this->college_temp->majplafondadd($idGarantie, $plafond); - $this->executerAction("index"); - } - - public function majprimeadd() - { - $primeOption = $this->requete->getParametreFormulaire("primeOption","numerique"); - $idGarantie = $this->requete->getParametre("idGarantie"); - - $this->college_temp->majprimeadd($idGarantie, $primeOption); - $this->executerAction("index"); - } - - public function majplafondadherentadd() - { - $idCollegeTemp = $this->requete->getParametre("idCollegeTemp"); - $plafond = $this->requete->getParametreFormulaire("plafond","numerique"); - $this->college_temp->majplafondadherentadd($idCollegeTemp, $plafond); - - $this->executerAction("afficherplafondglobal"); - } - - public function afficherplafondglobal() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $limiteadd = $this->college_temp->getLimiteAddCollege($idCollegeTemp); - - $this->genererVueAjax(array('limiteadd' => $limiteadd)); - } - - public function majprimeadherentadd() - { - $idCollegeTemp = $this->requete->getParametre("idCollegeTemp"); - $prime = $this->requete->getParametreFormulaire("prime","numerique"); - $this->college_temp->majprimeadherentadd($idCollegeTemp, $prime); - - $this->executerAction("afficherplafondglobal"); - } - - public function majplafondbeneficiaireadd() - { - $idCollegeTemp = $this->requete->getParametre("idCollegeTemp"); - $plafond = $this->requete->getParametreFormulaire("plafond","numerique"); - $this->college_temp->majplafondbeneficiaireadd($idCollegeTemp, $plafond); - - $this->executerAction("afficherplafondglobal"); - } - - public function majprimebeneficiaireadd() - { - $idCollegeTemp = $this->requete->getParametre("idCollegeTemp"); - $prime = $this->requete->getParametreFormulaire("prime","numerique"); - $this->college_temp->majprimebeneficiaireadd($idCollegeTemp, $prime); - - $this->executerAction("afficherplafondglobal"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgarantiescollegeadherent.php b/radiantproduction/Controleur/ControleurAjaxgarantiescollegeadherent.php deleted file mode 100644 index 5a77f5e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgarantiescollegeadherent.php +++ /dev/null @@ -1,24 +0,0 @@ -adherent = new Adherent(); - } - - public function index() { - $garantiesadd = $this->adherent->getGarAddCollege(); - $this->genererVueAjax(array('garantiesadd' => $garantiesadd)); - } - - public function majplafondadherent() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $plafond = $this->requete->getParametreFormulaire("plafond","numerique"); - $this->adherent->majplafondadd($idGarantie, $plafond); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgarantiespolice.php b/radiantproduction/Controleur/ControleurAjaxgarantiespolice.php deleted file mode 100644 index 2776263..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgarantiespolice.php +++ /dev/null @@ -1,38 +0,0 @@ -garantie = new Garantiepolice(); - } - - public function index() { - $idPolice=$_SESSION['idPolice_C']; - - $garantiesbase = $this->garantie->getGarBasePolice($idPolice); - $garoptionnelles = $this->garantie->getGarOptPolice($idPolice); - $garoptacquises = $this->garantie->getGarOptPoliceAcq($idPolice); - - $this->genererVueAjax(array('garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, 'garoptacquises' => $garoptacquises)); - } - - public function ajoutergarantie() - { - $idPolice=$_SESSION['idPolice_C']; - $codeGarantie = $this->requete->getParametre("codeGarantie"); - - $this->garantie->ajouter($idPolice, $codeGarantie); - $this->executerAction("index"); - } - - public function supprimergarantie() - { - $idGarantie = $this->requete->getParametre("idGarantie"); - $this->garantie->supprimer($idGarantie); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgcassureur.php b/radiantproduction/Controleur/ControleurAjaxgcassureur.php deleted file mode 100644 index f2e42c5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgcassureur.php +++ /dev/null @@ -1,175 +0,0 @@ -gc = new Gestionconfiee(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function ajouter() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $email = $this->requete->getParametreFormulaire("email"); - $gcTauxFraisReel = $this->requete->getParametreFormulaire("gcTauxFraisReel","numerique"); - $gcTauxRedressement = $this->requete->getParametreFormulaire("gcTauxRedressement","numerique"); - $gcTauxTva = $this->requete->getParametreFormulaire("gcTauxTva","numerique"); - $fraisCarteAfn = $this->requete->getParametreFormulaire("fraisCarteAfn","numerique"); - $fraisCarteRen = $this->requete->getParametreFormulaire("fraisCarteRen","numerique"); - $fraisCarteImp = $this->requete->getParametreFormulaire("fraisCarteImp","numerique"); - - $fraisGestion = $this->requete->getParametreFormulaire("fraisGestion","numerique"); - $codeGestionCarte = $this->requete->getParametreFormulaire("codeGestionCarte"); - - - $this->gc->ajouter($codeGcAssureur, $libelle, $email, $gcTauxFraisReel, $gcTauxRedressement, $gcTauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $fraisGestion, $codeGestionCarte); - - // throw new Exception("apres ajout"); - // exit(); - } - - public function enregistrermodif() - { - - $idGc = $this->requete->getParametreFormulaire("idGc"); - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $email = $this->requete->getParametreFormulaire("email"); - $gcTauxFraisReel = $this->requete->getParametreFormulaire("gcTauxFraisReel","numerique"); - $gcTauxRedressement = $this->requete->getParametreFormulaire("gcTauxRedressement","numerique"); - $gcTauxTva = $this->requete->getParametreFormulaire("gcTauxTva","numerique"); - - $fraisCarteAfn = $this->requete->getParametreFormulaire("fraisCarteAfn","numerique"); - $fraisCarteRen = $this->requete->getParametreFormulaire("fraisCarteRen","numerique"); - $fraisCarteImp = $this->requete->getParametreFormulaire("fraisCarteImp","numerique"); - - $fraisGestion = $this->requete->getParametreFormulaire("fraisGestion","numerique"); - $codeGestionCarte = $this->requete->getParametreFormulaire("codeGestionCarte"); - - // throw new Exception("enregistrermodif"); - // throw new Exception("gcTauxTva: ".$gcTauxTva); - // exit(); - - $this->gc->enregistrermodif($idGc, $codeGcAssureur, $libelle, $email, $gcTauxFraisReel, $gcTauxRedressement, $gcTauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $fraisGestion, $codeGestionCarte); - - // throw new Exception("APRES enregistrermodif"); - } - - - public function reinitpaswd() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->gc->reinitpaswd($codeUtilisateur); - } - - public function desactiver() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->gc->desactiver($codeUtilisateur); - } - - public function activer() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->gc->activer($codeUtilisateur); - } - - public function gereraccesactes() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - - if($actVisible=="1") - { - $actVisible = "0"; - } - else - { - $actVisible = "1"; - } - - $this->gc->gereraccesactes($codeUtilisateur, $actVisible); - } - - public function enregistrermodifusergc() - { - $idUtilisateur = $this->requete->getParametreFormulaire("idUtilisateur"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $actif = $this->requete->getParametreFormulaire("actif"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - /* - echo "idUtilisateur=>$idUtilisateur; nom=>$nom; prenoms=>$prenoms; actif=>$actif; - actVisible=>$actVisible; codeLangue=>$codeLangue; AffectionVisible=>$AffectionVisible"; - exit(); - */ - - $this->gc->enregistrermodifusergc($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible); - - // $this->genererVueAjax(); - } - - public function creerusergc() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $motPass = $this->requete->getParametreFormulaire("motPass"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - - /* - echo "codeGcAssureur=>$codeGcAssureur; codeUtilisateur=>$codeUtilisateur; nom=>$nom; prenoms=>$prenoms; - telephone=>$telephone; email=>$email; actVisible=>$actVisible; codeLangue=>$codeLangue;"; - exit(); - */ - - if($this->gc->existelogin($codeUtilisateur)) - { - $this->genererVueAjax(array('uniciteLogin' => "0", 'msgErreur' => "Login $codeUtilisateur déjà utilisé!")); - } - else - { - $this->gc->creerusergc($codeGcAssureur, $codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible); - - $this->genererVueAjax(array('uniciteLogin' => "1", 'msgErreur' => "Utlisateur $codeUtilisateur créé avec succès!")); - } - } - - public function gereraccesaffection() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - if($AffectionVisible=="1") - { - $AffectionVisible = "0"; - } - else - { - $AffectionVisible = "1"; - } - - $this->gc->gereraccesaffection($codeUtilisateur, $AffectionVisible); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgcfraisgestion.php b/radiantproduction/Controleur/ControleurAjaxgcfraisgestion.php deleted file mode 100644 index 111b4be..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgcfraisgestion.php +++ /dev/null @@ -1,103 +0,0 @@ -gc = new Gestionconfiee(); - } - - public function index() - { - $this->genererVueAjax(array('regle' => $_SESSION['GcFraisgestionRegle'])); - } - - public function initiergcfraisgestion() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codeGcAssureur'] = $codeGcAssureur; - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $idEnteteGcFraisgestion = $this->gc->get_idEnteteGcFraisgestion($codeGcAssureur, $codeExercice, $codeMois); - - $_SESSION['idEnteteGcFraisgestion'] = $idEnteteGcFraisgestion; - - if($idEnteteGcFraisgestion==0) - { - // Créer le décompte dans reglement - $this->gc->initiergcfraisgestion($codeGcAssureur); - - $idEnteteGcFraisgestion = $this->gc->get_idEnteteGcFraisgestion($codeGcAssureur, $codeExercice, $codeMois); - - $_SESSION['idEnteteGcFraisgestion'] = $idEnteteGcFraisgestion; - } - // Afficher le décompte - $idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion']; - - $infosdecompte = $this->gc->getinfosdecompte($idEnteteGcFraisgestion); - - $_SESSION['GcFraisgestionRegle'] = $infosdecompte['regle']; - - $this->executerAction("index"); - } - - public function rechargergcfraisgestion() - { - $idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion']; - $codeGcAssureur = $_SESSION['codeGcAssureur']; - $codeExercice = $_SESSION['codeExercice_C']; - $codeMois = $_SESSION['codeMois_C']; - - $this->gc->rechargergcfraisgestion($idEnteteGcFraisgestion, $codeGcAssureur, $codeExercice, $codeMois); - - // $this->executerAction("affichergcfraisgestion"); - } - - public function affichergcfraisgestion() - { - $idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion']; - - $this->gc->recapfraisgestion($idEnteteGcFraisgestion); - - $entetefraisgestion = $this->gc->getentetefraisgestion($idEnteteGcFraisgestion); - - $fraisgestions = $this->gc->getdetailfraisgestion($idEnteteGcFraisgestion); - - $this->genererVueAjax(array('entetefraisgestion' => $entetefraisgestion, 'fraisgestions' => $fraisgestions)); - } - - public function affichergcfraisgestioncumul() - { - $idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion']; - - $this->gc->recapfraisgestion($idEnteteGcFraisgestion); - - $entetefraisgestion = $this->gc->getentetefraisgestion($idEnteteGcFraisgestion); - - $fraisgestions = $this->gc->getdetailfraisgestioncumul($idEnteteGcFraisgestion); - - $this->genererVueAjax(array('entetefraisgestion' => $entetefraisgestion, 'fraisgestions' => $fraisgestions)); - } - - public function listeentetegcfraisgestion() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - - $_SESSION['codeGcAssureur'] = $codeGcAssureur; - $_SESSION['codeExercice_C'] = $codeExercice; - - - $entetegcfraisgestions = $this->gc->listeentetegcfraisgestion($codeGcAssureur, $codeExercice); - - $this->genererVueAjax(array('entetegcfraisgestions' => $entetegcfraisgestions)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgcregelement.php b/radiantproduction/Controleur/ControleurAjaxgcregelement.php deleted file mode 100644 index 66a7a25..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgcregelement.php +++ /dev/null @@ -1,63 +0,0 @@ -reglement = new Gestionconfiee(); - } - - public function index() { - $this->genererVueAjax(); - } - - public function gcinitreglement() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $_SESSION['codeGcAssureur'] = $codeGcAssureur; - - $idGcTempReglement = $this->reglement->gcinittempreglement($codeGcAssureur); - - $_SESSION['idGcTempReglement'] = $idGcTempReglement; - } - - public function confirminitreglement() - { - $observations = $this->requete->getParametreFormulaire("observations"); - $this->reglement->confirminitreglement($observations); - } - - public function enregistrermodificationgcreglement() - { - $observations = $this->requete->getParametreFormulaire("observations"); - $this->reglement->enregistrermodificationgcreglement($observations); - } - - public function validerdecomptepremier() - { - $this->reglement->validerdecomptepremier(); - } - - - public function validerdecompte() - { - $this->reglement->validerdecompte(); - } - - public function enregistrerencaissementgc() - { - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - - $nomTireur = $this->requete->getParametreFormulaire("nomTireur"); - $banquePayeur = $this->requete->getParametreFormulaire("banquePayeur"); - - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $this->reglement->enregistrerencaissementgc($codeModePaiement, $referencePaiement, $nomTireur, $banquePayeur, $dateComptable); - } - -} - diff --git a/radiantproduction/Controleur/ControleurAjaxged.php b/radiantproduction/Controleur/ControleurAjaxged.php deleted file mode 100644 index 6929032..0000000 --- a/radiantproduction/Controleur/ControleurAjaxged.php +++ /dev/null @@ -1,40 +0,0 @@ -ged = new Ged(); - } - - public function index() { - // $this->genererVueAjax(array('reponse' => $reponse)); - $this->genererVueAjax(); - } - - public function verifierexistancefichier() - { - $cheminFichier = $this->requete->getParametreFormulaire("cheminFichier"); - - if(file_exists($cheminFichier)) - { - $reponse = "1"; - } else - { - $reponse = "0"; - } - - echo "$reponse"; - } - - public function supprimerged() - { - $idGed = $this->requete->getParametre("idGed"); - $motifSuppression = $this->requete->getParametre("motifSuppression"); - - $this->ged->supprimerged($idGed, $motifSuppression) ; - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxgedfacture.php b/radiantproduction/Controleur/ControleurAjaxgedfacture.php deleted file mode 100644 index 7be9062..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgedfacture.php +++ /dev/null @@ -1,149 +0,0 @@ -ged = new Ged(); - } - - public function index($msgErreur=null) - { - unset($_FILES['fichier_upload']); - - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $_SESSION['idFacture_C'] = $idFacture; - - $geds = $this->ged->getgedfacture($idFacture); - - $this->genererVueAjax(array('geds' => $geds)); - } - - public function chargerged($msgErreur=null) - { - print_r($_FILES); - die(); - exit(); - - /* - - - - if(!empty($_FILES)) - { - echo "OK"; - } - else - { - echo "Not OK"; - } - - die(); - exit(); - - // début vrai - - $message = ""; - - $nouveau_fichier = "rien"; - - // if(!empty($_POST)) - if(!empty($_FILES)) - { - 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->enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrergedfacture($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!'; - - // echo ''; - } - - // fin upload - } - - $msgErreur = $message; - - echo "$msgErreur"; - */ - - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxgedfacturegc.php b/radiantproduction/Controleur/ControleurAjaxgedfacturegc.php deleted file mode 100644 index 375bee0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgedfacturegc.php +++ /dev/null @@ -1,148 +0,0 @@ -ged = new Ged(); - } - - public function index($msgErreur=null) - { - unset($_FILES['fichier_upload']); - - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $_SESSION['idFacture_C'] = $idFacture; - - $geds = $this->ged->getgedfacture($idFacture); - - $this->genererVueAjax(array('geds' => $geds)); - } - - public function chargerged($msgErreur=null) - { - /* - print_r($_FILES); - die(); - exit(); - - - - if(!empty($_FILES)) - { - echo "OK"; - } - else - { - echo "Not OK"; - } - - die(); - exit(); - - */ - // début vrai - - $message = ""; - - $nouveau_fichier = "rien"; - - // if(!empty($_POST)) - if(!empty($_FILES)) - { - 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->enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrergedfacture($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!'; - - // echo ''; - } - - // fin upload - } - - $msgErreur = $message; - - echo "$msgErreur"; - - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxgenererbons.php b/radiantproduction/Controleur/ControleurAjaxgenererbons.php deleted file mode 100644 index cb5400e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxgenererbons.php +++ /dev/null @@ -1,49 +0,0 @@ -bonpec = new Bonpec(); - $this->typebon = new Typebon(); - $this->prestataire = new Prestataire(); - $this->envoimail = new Envoimail(); - } - - public function index() - { - $msgErreur = 'Génération terminée avec succès!'; - - $typebon = $this->typebon->getListe(); - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'typebon' => $typebon, 'msgErreur' => $msgErreur)); - } - - public function genererBon() { - $codePrestataire = $this->requete->getParametre("codePrestataire"); - $codeTypeBon = $this->requete->getParametre("codeTypeBon"); - $receptionnaire = $this->requete->getParametre("receptionnaire"); - $noDepart = $this->requete->getParametre("noDepart"); - $noFin = $this->requete->getParametre("noFin"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $this->bonpec->genererBon($codePrestataire, $codeTypeBon, $noDepart, $noFin, $receptionnaire); - - $typeMail = "mailgenererbon"; - $this->envoimail->ajoutermailgenererbon($typeMail, $codeTypeBon, $noDepart, $noFin, $receptionnaire, $codePrestataire); - - $this->executerAction("index"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxhabilitationadherent.php b/radiantproduction/Controleur/ControleurAjaxhabilitationadherent.php deleted file mode 100644 index 09cf0c5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxhabilitationadherent.php +++ /dev/null @@ -1,56 +0,0 @@ -adherent = new Adherent(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function reinitpaswd() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $this->adherent->reinitpaswd($idAdherent); - } - - public function desactiver() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $this->adherent->desactiver($idAdherent); - } - - public function activer() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - - $this->adherent->activer($idAdherent); - } - - /* - public function gereraccesactes() - { - $idAdherent = $this->requete->getParametreFormulaire("idAdherent"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - - if($actVisible=="1") - { - $actVisible = "0"; - } - else - { - $actVisible = "1"; - } - - $this->adherent->gereraccesactes($idAdherent, $actVisible); - } - */ -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxhistsupprempreinte.php b/radiantproduction/Controleur/ControleurAjaxhistsupprempreinte.php deleted file mode 100644 index 3bd7537..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxhistsupprempreinteexport.php b/radiantproduction/Controleur/ControleurAjaxhistsupprempreinteexport.php deleted file mode 100644 index 38892b1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxhistsupprempreinteexport.php +++ /dev/null @@ -1,113 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $empreintesupprimers = $this->beneficiaire->gethistoempreintesupprimers($debut, $fin); - - // Excel - $headerXLS = array - ( - "Date Save", - "Motivation", - _('Souscripteur'), - _('ID Police'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - "User" - ); - - $dataXLS = array(); - - foreach ($empreintesupprimers as $empreintesupprimer) - { - $dataXLS[]=$empreintesupprimer; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SUPPRESSION EMPREINTE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_HIST_SUPPR_EMPREINTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $donnees = $this->beneficiaire->gethistoenrollementempreinte($debut, $fin); - -/* -user_name -dateSysteme -prestataire -utilisateur -*/ - - // Excel - $headerXLS = array - ( - _('Bénéficiaire'), - "Date", - _('Prestataire'), - "User" - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENROLEMENTS EMPREINTE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_HIST__EMPREINTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $facesupprimees = $this->beneficiaire->gethistofacesupprimees($debut, $fin); - - $this->genererVueAjax(array('facesupprimees' => $facesupprimees)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxhistsupprfaceexport.php b/radiantproduction/Controleur/ControleurAjaxhistsupprfaceexport.php deleted file mode 100644 index 1d93800..0000000 --- a/radiantproduction/Controleur/ControleurAjaxhistsupprfaceexport.php +++ /dev/null @@ -1,117 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $facesupprimees = $this->beneficiaire->gethistofacesupprimees($debut, $fin); - - // Excel - $headerXLS = array - ( - "Date Save", - "Motivation", - _('Souscripteur'), - _('ID Police'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('prestataire'), - "codeUser", - "User" - ); - - $dataXLS = array(); - - foreach ($facesupprimees as $facesupprimee) - { - $dataXLS[]=$facesupprimee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SUPPRESSION FACES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_HIST_SUPPR_FACE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $donnees = $this->beneficiaire->gethistoenrollementface($debut, $fin); - -/* -beneficiaire -dateSysteme -prestataire -codeUtilisateur -nomUtilisateur -*/ - - // Excel - $headerXLS = array - ( - _('Bénéficiaire'), - "Date", - _('Prestataire'), - "codeUser", - "User" - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENROLEMENTS FACES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_HIST_FACE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
quittance = new Quittance(); - $this->detailencaissement = new Detailencaissement_temp(); - } - - public function index() { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $idClient = $_SESSION['idClient_C']; - $quittances = $this->quittance->getQuittancesimpayees($idClient); - $totalquittanceImpayee = $this->quittance->getTotalQuittanceImpayee($idClient); - $detailencaissements = $this->detailencaissement->getDetailsEncaissementTemp($idEncaissementTemp); - $totaldetailencaissement = $this->detailencaissement->getTotaldetailencaissement($idEncaissementTemp); - - $this->genererVueAjax(array('quittances' => $quittances, 'detailencaissements' => $detailencaissements, - 'totalquittanceImpayee' => $totalquittanceImpayee, 'detailencaissements' => $detailencaissements, - 'totaldetailencaissement' => $totaldetailencaissement)); - } - - public function solderquittance() { - $idQuittance = $this->requete->getParametre("idQuittance"); - $this->quittance->solderquittance($idQuittance); - $this->executerAction("index"); - } - - public function ajouteracomptequittance() { - $idQuittance = $this->requete->getParametre("idQuittance"); - $montantAcpte = $this->requete->getParametre("montantAcpte"); - $primeTtcAcpte = $this->requete->getParametre("primeTtcAcpte"); - - $this->quittance->ajouteracomptequittance($idQuittance, $montantAcpte, $primeTtcAcpte); - $this->executerAction("index"); - } - - public function supprimerquittance() { - $idDetailencaissement = $this->requete->getParametre("idDetailencaissement"); - $this->detailencaissement->supprimer($idDetailencaissement); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximporterdestinatairesms.php b/radiantproduction/Controleur/ControleurAjaximporterdestinatairesms.php deleted file mode 100644 index 64bf270..0000000 --- a/radiantproduction/Controleur/ControleurAjaximporterdestinatairesms.php +++ /dev/null @@ -1,143 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - } - - public function exportermodele() - { - $destinataires = $this->messagerie->getModeleDestinataireSms(); - - // Excel - $headerXLS = array - ( - _('Destinataire'), - _('Destination') - ); - - $dataXLS = array(); - - foreach ($destinataires as $destinataire) - { - $dataXLS[]=$destinataire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('MODEL DEST SMS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/MODEL_DEST_SMS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("cheminFichier"); - - $this->messagerie->initIinsererLigneDestinataireSms(); - - $dataXLS = array(); - - $fichier = "Temp/import/".$cheminFichier; - - if (!file_exists($fichier)) - { - $succesImport = "0"; - $this->genererVueAjax(array('message_erreur_excel' => "Fichier introubable sur le serveur !", 'succes_impot_execl' => "0")); - exit(); - } - - $docXLS = new PHPExcel_Reader_Excel2007(); - - $Excel = $docXLS->load($fichier); - - $Excel->setActiveSheetIndex(0); - - $feuille=$Excel->getActiveSheet(); - - $derniereLigne = $feuille->getHighestRow(); - $derniereColonne = $feuille->getHighestColumn(); - - $tableauExcel = $feuille->toArray(null, true, true, true); - - /* - $idDestintaire, $libelleDestinataire, $destination - */ - - for ($i = 2; $i <= $derniereLigne; $i++) - { - $idDestintaire = $i-1; - $libelleDestinataire = trim($tableauExcel[$i]['A']); - $destination = trim($tableauExcel[$i]['B']); - - if ($libelleDestinataire<=" ") - { - $succesImport = "0"; - $this->genererVueAjax(array('message_erreur_excel' => "Revoir nom destinataire!", 'succes_impot_execl' => "0")); - exit(); - } - - if (strlen($destination)<6) - { - $succesImport = "0"; - $this->genererVueAjax(array('message_erreur_excel' => $libelleDestinataire." => Revoir No de destination!", 'succes_impot_execl' => "0")); - exit(); - } - - $this->messagerie->insererLigneDestinataireSms($idDestintaire, $libelleDestinataire, $destination); - - /* - echo "Ligne ". $i . " => OK"; - echo "
"; - */ - } - if ($succesImport=="1") - { - $this->messagerie->majetape(); - } - $this->genererVueAjax(array('message_erreur_excel' => "Fichier temporaire extrait du serveur avec succes!", 'succes_impot_execl' => "1")); - exit(); - } - - public function majetape() - { - $this->messagerie->majetape(); - } - - public function init() - { - $destinataire_selections = $this->messagerie->getdestinatairesselectionnes(); - - $destinataire_non_selections = $this->messagerie->getdestinatairesnonselectionnes(); - - $this->genererVueAjax(array('destinataire_selections' => $destinataire_selections, 'destinataire_non_selections' => $destinataire_non_selections)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximporterlisteassure.php b/radiantproduction/Controleur/ControleurAjaximporterlisteassure.php deleted file mode 100644 index e23b06a..0000000 --- a/radiantproduction/Controleur/ControleurAjaximporterlisteassure.php +++ /dev/null @@ -1,295 +0,0 @@ -beneficiaire = new Beneficiaire(); - $this->avenant = new Avenant(); - } - - public function index() - { - } - - public function initimportermodele() - { - $idPolice = $_SESSION['idPolice_C']; - $avenants = $this->avenant->getAvenant($idPolice); - - $this->genererVueAjax(array('avenants' => $avenants)); - } - - - public function exportermodele() - { - $beneficiaires = $this->beneficiaire->getModeleAssures(); - - // Excel - $headerXLS = array - ( - _('Catégorie'), - _('No Adhérent'), - _('No Famille'), - _('Nom'), - _('Prénoms'), - _('Lien Parenté'), - _('Nature Pièce'), - _('No Pièce'), - "Sex", - _('Groupe Sang'), - _('Naissance'), - _('Tél Portable'), - 'email' - ); - - $dataXLS = array(); - - - foreach ($beneficiaires as $beneficiaire) - { - $dataXLS[]=$beneficiaire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('MODELE ASSURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TEMPLATE_LISTE_ASSURE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("idAvenant"); - $cheminFichier = $this->requete->getParametreFormulaire("cheminFichier"); - - $_SESSION['idAvenant_C'] = $idAvenant; - - $this->beneficiaire->initIinsererLigneModeleAssure(); - - $dataXLS = array(); - - $fichier = "Temp/import/".$cheminFichier; - - if (!file_exists($fichier)) - { - $this->genererVueAjax(array('message_erreur_excel' => "Fichier introubable sur le serveur !", 'succes_impot_execl' => "0")); - exit(); - } - - $docXLS = new PHPExcel_Reader_Excel2007(); - - $Excel = $docXLS->load($fichier); - - $Excel->setActiveSheetIndex(0); - - $feuille=$Excel->getActiveSheet(); - - $derniereLigne = $feuille->getHighestRow(); - $derniereColonne = $feuille->getHighestColumn(); - - $tableauExcel = $feuille->toArray(null, true, true, true); - - for ($i = 2; $i <= $derniereLigne; $i++) - { - $categorie = trim($tableauExcel[$i]['A']); - $numeroAdherent = trim($tableauExcel[$i]['B']); - - $noFamille = trim($tableauExcel[$i]['C']); - if ($noFamille<=" ") - { - $noFamille = "0"; - } - - $nom = trim($tableauExcel[$i]['D']); - $prenoms = trim($tableauExcel[$i]['E']); - - $codeLienParente = trim($tableauExcel[$i]['F']); - - $codeNaturePiece = trim($tableauExcel[$i]['G']); - $numeroPiece = trim($tableauExcel[$i]['H']); - $sexe = trim($tableauExcel[$i]['I']); - $codeGroupeSanguin = trim($tableauExcel[$i]['J']); - $dateNaissance = trim($tableauExcel[$i]['K']); - $telephonePortable = trim($tableauExcel[$i]['L']); - $email = trim($tableauExcel[$i]['M']); - - $nomComplet = $nom . " " . $prenoms; - - if ( ($categorie<=" ") && ($codeLienParente=="A")) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Pas de catégorie!", 'succes_impot_execl' => "0")); - exit(); - } - - $liste_liens = array("A", "C", "E", "O"); - if (!in_array($codeLienParente, $liste_liens)) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Revoir lien de parenté!", 'succes_impot_execl' => "0")); - exit(); - } - - $liste_sexes = array("M", "F"); - if (!in_array($sexe, $liste_sexes)) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Revoir le sexe!", 'succes_impot_execl' => "0")); - exit(); - } - - // Penser à gérer les erreurs de date - - $this->beneficiaire->insererLigneModeleAssure($idAvenant, $categorie, $numeroAdherent, - $noFamille, $nom, $prenoms, $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, - $codeGroupeSanguin, $dateNaissance, $telephonePortable, $email); - - /* - echo "Ligne ". $i . " => OK"; - echo "
"; - */ - } - - $this->beneficiaire->gererIncorporationSurFamExistante(); - - // Vérification de certaines erreurs : - // 1 => Si nouvelle famille sans Adhérent - $noFamilleSansAdherent = $this->beneficiaire->getadhimpfamillesansadherent(); - if ($noFamilleSansAdherent>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Famille " . $noFamilleSansAdherent . " => Adherent Principal manquant !", 'succes_impot_execl' => "0")); - exit(); - } - - // 2 => Si plus d'1 Adhérent dans une même famille - $noFamillePlusieursAdherent = $this->beneficiaire->getadhimpfamilleplusieursadherent(); - if ($noFamillePlusieursAdherent>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Famille " . $noFamillePlusieursAdherent . " => Plusieurs Adherents Principaux !", 'succes_impot_execl' => "0")); - exit(); - } - - // 3 => Incorporation sur une ancienne famille introuvable dans la police - $noFamilleExistantSansAdherent = $this->beneficiaire->getadhimpfamilleexistantsansadherent(); - if ($noFamilleExistantSansAdherent>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Famille " . $noFamilleExistantSansAdherent . " => Ancienne famille introuvable !", 'succes_impot_execl' => "0")); - exit(); - } - - $this->genererVueAjax(array('message_erreur_excel' => "Fichier temporaire extrait du serveur avec succes!", 'succes_impot_execl' => "1")); - - exit(); - } - - // - public function traiterlignesimportees() - { - $idPolice = $_SESSION['idPolice_C']; - $avenants = $this->avenant->getAvenant($idPolice); - - $this->genererVueAjax(array('avenants' => $avenants)); - } - - public function exclureligneimportee() - { - $idBeneficiairemodel = $this->requete->getParametreFormulaire("idBeneficiairemodel"); - $exclure = $this->requete->getParametreFormulaire("exclure"); - - $this->beneficiaire->exclureligneimportee($idBeneficiairemodel, $exclure); - - // $this->genererVueAjax(); - } - - public function calculerprimeimportee() - { - $this->beneficiaire->calculerprimeimportee(); - } - - public function afficheradherentimportee() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $adherents = $this->beneficiaire->getListeAdherentImportes($idCollege); - - $adherents_college = $this->beneficiaire->getListeAdherentImportesCollege($idCollege); - - $this->genererVueAjax(array('adherents' => $adherents, 'adherents_college' => $adherents_college)); - } - - public function ajouterunadherentaucollege() - { - $idBeneficiairemodel = $this->requete->getParametreFormulaire("idBeneficiairemodel"); - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->ajouterunadherentaucollege($idBeneficiairemodel, $idCollege); - - // $this->genererVueAjax(); - } - - - public function retirerunadherentaucollege() - { - $idBeneficiairemodel = $this->requete->getParametreFormulaire("idBeneficiairemodel"); - - $this->beneficiaire->retirerunadherentaucollege($idBeneficiairemodel); - - // $this->genererVueAjax(); - } - - public function incorpoerassuresimportes() - { - $this->beneficiaire->incorpoerassuresimportes(); - } - - public function ajoutertousadherentaucollege() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->ajoutertousadherentaucollege($idCollege); - - // $this->genererVueAjax(); - } - - public function ajoutersanscollegeadherentaucollege() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->ajoutersanscollegeadherentaucollege($idCollege); - - // $this->genererVueAjax(); - } - - public function retirertousadherentaucollege() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->retirertousadherentaucollege($idCollege); - - // $this->genererVueAjax(); - } - - public function majetape() - { - $this->beneficiaire->majetape(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximporterlisteassurefamiliale.php b/radiantproduction/Controleur/ControleurAjaximporterlisteassurefamiliale.php deleted file mode 100644 index 08049de..0000000 --- a/radiantproduction/Controleur/ControleurAjaximporterlisteassurefamiliale.php +++ /dev/null @@ -1,347 +0,0 @@ -beneficiaire = new Beneficiaire(); - $this->avenant = new Avenant(); - } - - public function index() - { - } - - public function initimportermodele() - { - $idPolice = $_SESSION['idPolice_C']; - $avenants = $this->avenant->getAvenant($idPolice); - - $this->genererVueAjax(array('avenants' => $avenants)); - } - - - public function exportermodele() - { - $beneficiaires = $this->beneficiaire->getModeleAssuresFamiliale(); - - // Excel - $headerXLS = array - ( - _('Catégorie'), - _('No Adhérent'), - _('No Famille'), - _('Nom'), - _('Prénoms'), - _('Lien Parenté'), - _('Nature Pièce'), - _('No Pièce'), - "Sex", - _('Groupe Sang'), - _('Naissance'), - _('Tél Portable'), - 'email', - - _('Commercial'), - _('Type Echéancie'), - _('Prime base'), - _('Entrée'), - ); - - $dataXLS = array(); - - - foreach ($beneficiaires as $beneficiaire) - { - $dataXLS[]=$beneficiaire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('MODELE ASSURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TEMPLATE_LISTE_ASSURE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("idAvenant"); - $cheminFichier = $this->requete->getParametreFormulaire("cheminFichier"); - $dateEffetAvenant = $this->requete->getParametreFormulaire("dateEffet"); - - $_SESSION['idAvenant_C'] = $idAvenant; - - $this->beneficiaire->initIinsererLigneModeleAssureFamiliale(); - - $dataXLS = array(); - - $fichier = "Temp/import/".$cheminFichier; - - if (!file_exists($fichier)) - { - $this->genererVueAjax(array('message_erreur_excel' => "Fichier introubable sur le serveur !", 'succes_impot_execl' => "0")); - exit(); - } - - $docXLS = new PHPExcel_Reader_Excel2007(); - - $Excel = $docXLS->load($fichier); - - $Excel->setActiveSheetIndex(0); - - $feuille=$Excel->getActiveSheet(); - - $derniereLigne = $feuille->getHighestRow(); - $derniereColonne = $feuille->getHighestColumn(); - - $tableauExcel = $feuille->toArray(null, true, true, true); - - for ($i = 2; $i <= $derniereLigne; $i++) - { - $categorie = trim($tableauExcel[$i]['A']); - $numeroAdherent = trim($tableauExcel[$i]['B']); - - $noFamille = trim($tableauExcel[$i]['C']); - if ($noFamille<=" ") - { - $noFamille = "0"; - } - - $nom = trim($tableauExcel[$i]['D']); - $prenoms = trim($tableauExcel[$i]['E']); - - $codeLienParente = trim($tableauExcel[$i]['F']); - - $codeNaturePiece = trim($tableauExcel[$i]['G']); - $numeroPiece = trim($tableauExcel[$i]['H']); - $sexe = trim($tableauExcel[$i]['I']); - $codeGroupeSanguin = trim($tableauExcel[$i]['J']); - $dateNaissance = trim($tableauExcel[$i]['K']); - $telephonePortable = trim($tableauExcel[$i]['L']); - $email = trim($tableauExcel[$i]['M']); - - // ajout du 03/12/2020 => prise en copte des champs liés au commercial - /* - codecommercial - codeTypeEcheancier - primeBase - */ - $codecommercial = trim($tableauExcel[$i]['N']); - $codeTypeEcheancier = trim($tableauExcel[$i]['O']); - $primeBase = trim($tableauExcel[$i]['P']); - $dateEntree = trim($tableauExcel[$i]['Q']); - - $primeBase = str_replace(",", "", $primeBase); - $primeBase = str_replace(".", "", $primeBase); - - settype($primeBase, "double"); - - $nomComplet = $nom . " " . $prenoms; - - - - if ($dateEntree<$dateEffetAvenant) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Revoir la date entrée!", 'succes_impot_execl' => "0")); - exit(); - } - - if ( ($categorie<=" ") && ($codeLienParente=="A")) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Pas de catégorie!", 'succes_impot_execl' => "0")); - exit(); - } - - $liste_liens = array("A", "C", "E", "O"); - if (!in_array($codeLienParente, $liste_liens)) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Revoir lien de parenté!", 'succes_impot_execl' => "0")); - exit(); - } - - $liste_sexes = array("M", "F"); - if (!in_array($sexe, $liste_sexes)) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Revoir le sexe!", 'succes_impot_execl' => "0")); - exit(); - } - - - if ( ($codeLienParente=="A") && ($codecommercial<=" ")) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Pas de commercial!", 'succes_impot_execl' => "0")); - exit(); - } - - if ( ($codeLienParente=="A") && ($codeTypeEcheancier<=" ")) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Pas de type echéancier!", 'succes_impot_execl' => "0")); - exit(); - } - - if ( ($codeLienParente=="A") && ($primeBase<="0")) - { - $this->genererVueAjax(array('message_erreur_excel' => $nomComplet . " => Pas prime de base!", 'succes_impot_execl' => "0")); - exit(); - } - - // Penser à gérer les erreurs de date - - $this->beneficiaire->insererLigneModeleAssureFamiliale($idAvenant, $categorie, $numeroAdherent, $noFamille, $nom, $prenoms, - $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $email, - $codecommercial, $codeTypeEcheancier, $primeBase, $dateEntree); - - /* - echo "Ligne ". $i . " => OK"; - echo "
"; - */ - } - - $this->beneficiaire->gererIncorporationSurFamExistante(); - - // Vérification de certaines erreurs : - // 1 => Si nouvelle famille sans Adhérent - $noFamilleSansAdherent = $this->beneficiaire->getadhimpfamillesansadherent(); - if ($noFamilleSansAdherent>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Famille " . $noFamilleSansAdherent . " => Adherent Principal manquant !", 'succes_impot_execl' => "0")); - exit(); - } - - // 2 => Si plus d'1 Adhérent dans une même famille - $noFamillePlusieursAdherent = $this->beneficiaire->getadhimpfamilleplusieursadherent(); - if ($noFamillePlusieursAdherent>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Famille " . $noFamillePlusieursAdherent . " => Plusieurs Adherents Principaux !", 'succes_impot_execl' => "0")); - exit(); - } - - // 3 => Incorporation sur une ancienne famille introuvable dans la police - $noFamilleExistantSansAdherent = $this->beneficiaire->getadhimpfamilleexistantsansadherent(); - if ($noFamilleExistantSansAdherent>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Famille " . $noFamilleExistantSansAdherent . " => Ancienne famille introuvable !", 'succes_impot_execl' => "0")); - exit(); - } - - // Ajout du 03/12/2020 => renseigner les primes de base des dépendans - $this->beneficiaire->recapitulerImportationAssuresFamliale(); - - $this->genererVueAjax(array('message_erreur_excel' => "Fichier temporaire extrait du serveur avec succes!", 'succes_impot_execl' => "1")); - - exit(); - } - - // - public function traiterlignesimportees() - { - $idPolice = $_SESSION['idPolice_C']; - $avenants = $this->avenant->getAvenant($idPolice); - - $this->genererVueAjax(array('avenants' => $avenants)); - } - - public function exclureligneimportee() - { - $idBeneficiairemodel = $this->requete->getParametreFormulaire("idBeneficiairemodel"); - $exclure = $this->requete->getParametreFormulaire("exclure"); - - $this->beneficiaire->exclureligneimportee($idBeneficiairemodel, $exclure); - - // $this->genererVueAjax(); - } - - public function calculerprimeimportee() - { - $this->beneficiaire->calculerprimeimportee(); - } - - public function afficheradherentimportee() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $adherents = $this->beneficiaire->getListeAdherentImportes($idCollege); - - $adherents_college = $this->beneficiaire->getListeAdherentImportesCollege($idCollege); - - $this->genererVueAjax(array('adherents' => $adherents, 'adherents_college' => $adherents_college)); - } - - public function ajouterunadherentaucollege() - { - $idBeneficiairemodel = $this->requete->getParametreFormulaire("idBeneficiairemodel"); - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->ajouterunadherentaucollege($idBeneficiairemodel, $idCollege); - - // $this->genererVueAjax(); - } - - - public function retirerunadherentaucollege() - { - $idBeneficiairemodel = $this->requete->getParametreFormulaire("idBeneficiairemodel"); - - $this->beneficiaire->retirerunadherentaucollege($idBeneficiairemodel); - - // $this->genererVueAjax(); - } - - public function incorpoerassuresimportesfamiliale() - { - $this->beneficiaire->incorpoerassuresimportesfamiliale(); - } - - public function ajoutertousadherentaucollege() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->ajoutertousadherentaucollege($idCollege); - - // $this->genererVueAjax(); - } - - public function ajoutersanscollegeadherentaucollege() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->ajoutersanscollegeadherentaucollege($idCollege); - - // $this->genererVueAjax(); - } - - public function retirertousadherentaucollege() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $this->beneficiaire->retirertousadherentaucollege($idCollege); - - // $this->genererVueAjax(); - } - - public function majetape() - { - $this->beneficiaire->majetape(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximportertarifmedicament.php b/radiantproduction/Controleur/ControleurAjaximportertarifmedicament.php deleted file mode 100644 index 6ef3ef8..0000000 --- a/radiantproduction/Controleur/ControleurAjaximportertarifmedicament.php +++ /dev/null @@ -1,196 +0,0 @@ -tarif = new Tarifsmedicaments(); - } - - public function index() - { - } - - public function exportermodele() - { - $modeles = $this->tarif->getModeleTarif(); - - // Excel - $headerXLS = array( - "codeMedicament", - "libelle", - "unite", - "substituable", - "nomSubstitut", - "instructions", - "ententePrealable", - "exclu", - "actif", - "prix"); - - $dataXLS = array(); - - foreach ($modeles as $modele) - { - $dataXLS[]=$modele; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('MODELE TARIF MEDICAMENT')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - $fichier = 'Temp/TEMPLATE_MEDICAMENTS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("idTarif"); - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $cheminFichier = $this->requete->getParametreFormulaire("cheminFichier"); - - $this->tarif->initIinsererLigneModeleTarif($idTarif); - - $dataXLS = array(); - - $fichier = "Temp/import/".$cheminFichier; - - if (!file_exists($fichier)) - { - $this->genererVueAjax(array('message_erreur_excel' => "Fichier introubable sur le serveur !", 'succes_impot_execl' => "0")); - exit(); - } - - $docXLS = new PHPExcel_Reader_Excel2007(); - - $Excel = $docXLS->load($fichier); - - $Excel->setActiveSheetIndex(0); - - $feuille=$Excel->getActiveSheet(); - - $derniereLigne = $feuille->getHighestRow(); - $derniereColonne = $feuille->getHighestColumn(); - - $tableauExcel = $feuille->toArray(null, true, true, true); - - for ($i = 2; $i <= $derniereLigne; $i++) - { - $codeMedicament = trim($tableauExcel[$i]['A']); - $libelle = trim($tableauExcel[$i]['B']); - $unite = trim($tableauExcel[$i]['C']); - - $substituable = trim($tableauExcel[$i]['D']); - if ($substituable>"0") - { - $substituable = "1"; - } - - $nomSubstitut = trim($tableauExcel[$i]['E']); - $instructions = trim($tableauExcel[$i]['F']); - - $ententePrealable = trim($tableauExcel[$i]['G']); - if ($ententePrealable>"0") - { - $ententePrealable = "1"; - } - - $exclu = trim($tableauExcel[$i]['H']); - if ($exclu>"0") - { - $exclu = "1"; - } - - $actif = trim($tableauExcel[$i]['I']); - if ($actif>"0") - { - $actif = "1"; - } - - $prix = trim($tableauExcel[$i]['J']); - if ($prix<="0") - { - $prix = "0"; - } - - if ($codeMedicament<=" ") - { - $this->genererVueAjax(array('message_erreur_excel' => "Ligne " . $i ." => codeMedicament ne peut être vide !", 'succes_impot_execl' => "0")); - exit(); - } - - if ($libelle<=" ") - { - $this->genererVueAjax(array('message_erreur_excel' => "Ligne " . $i ." => Le libellé ne peut être vide !", 'succes_impot_execl' => "0")); - exit(); - } - - if ($prix<="0") - { - $this->genererVueAjax(array('message_erreur_excel' => "Ligne " . $i ." => Revoir le prix !", 'succes_impot_execl' => "0")); - exit(); - } - - // codeMedicament inexistant dans p_medicamentmodel et donc p_medicament - $codeMedicamentManquant = $this->tarif->getcodemedicamentmanquant($codeMedicament); - if ($codeMedicamentManquant=="0") - { - $this->genererVueAjax(array('message_erreur_excel' => "codeMedicament " . $codeMedicament . " => manquant dans la liste des medicaments !", 'succes_impot_execl' => "0")); - exit(); - } - - $this->tarif->insererLigneModeleTarif($idTarif, $codeTarifMedicament, $codeMedicament, $libelle, $unite, $substituable, - $nomSubstitut, $instructions, $ententePrealable, $exclu, $actif, $prix); - } - - // $this->genererVueAjax(array('message_erreur_excel' => "Tout est OK !", 'succes_impot_execl' => "0")); - // exit(); - - // Vérification de certaines erreurs : - - // 1 => doublons codeMedicament - $codeMedicamentDoublon = $this->tarif->getdoubloncodemedicament($idTarif); - if ($codeMedicamentDoublon>"0") - { - $this->genererVueAjax(array('message_erreur_excel' => "codeMedicament " . $codeMedicamentDoublon . " => Doublon !", 'succes_impot_execl' => "0")); - exit(); - } - - $this->genererVueAjax(array('message_erreur_excel' => "Fichier temporaire extrait du serveur avec succes!", 'succes_impot_execl' => "1")); - - exit(); - } - - // - - - public function incorporermedicamentsimportes() - { - $this->tarif->incorporermedicamentsimportes(); - - // $this->genererVueAjax(); - } - - public function majetape() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - $this->tarif->majetape($idTarif); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximprimercp.php b/radiantproduction/Controleur/ControleurAjaximprimercp.php deleted file mode 100644 index 76372e1..0000000 --- a/radiantproduction/Controleur/ControleurAjaximprimercp.php +++ /dev/null @@ -1,20 +0,0 @@ -police = new Police(); - } - - public function index() - { - $lienEtat = $this->requete->getParametreFormulaire("lienEtat"); - - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/'.$lienEtat.'.php'; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximprimercp_sav_19_07_24_15h.php b/radiantproduction/Controleur/ControleurAjaximprimercp_sav_19_07_24_15h.php deleted file mode 100644 index a537144..0000000 --- a/radiantproduction/Controleur/ControleurAjaximprimercp_sav_19_07_24_15h.php +++ /dev/null @@ -1,663 +0,0 @@ -police = new Police(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $entetecp = $this->police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - $tableauajustementcps = $this->police->gettableauAjustementCP($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->Cell(0,$ht,convertirc("CONTRAT - GROUPE D'ASSURANCE MALADIE"),0,1,'C',false); - - $pdf->SetFont('Arial','B', 12); - - $pdf->Ln(15); - - $pdf->Cell(40,$ht,convertirc("No POLICE"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc("SOUSCRITE PAR"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(40,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("En qualité de CONTRACTANT "),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false); - - $pdf->SetFont('Arial','B', 15); - // $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Le présent contrat est constitué et régi par les CONDITIONS PARTICULIERES, les DISPOSITIONS"),0,1,'C',false); - $pdf->Cell(0,$ht,convertirc("SPECIALES ainsi que par les CONDITIONS GENERALES."),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Il a pour objet la garantie suivante :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("CONDITIONS PARTICULIERES"),0,1,'C',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat "); - $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']." en faveur des "); - $text .= convertirc("personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les membres du Personnel du Contractant âgés de plus de 18 ans et de moins de 65 ans à "); - $text .= convertirc("l'entrée dans l'assurance au nombre de ".$entetecp['nbAdherent']." et leurs ".$entetecp['nbAyantdroit']." dépndants "); - $text .= convertirc("selon la répartition suivante :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(40,$ht,convertirc("Catégorie"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Rach Tm"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb Adh"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - foreach ($collegecps as $collegecp) - { - $pdf->Cell(40,$ht,convertirc($collegecp['codeProduit']." : ".$collegecp['libelleCollege']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc($collegecp['tmRachete']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(60,$ht,convertirc("Totaux : "),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($entetecp['primeTtc']),1,1,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - - - $pdf->Ln(5); - - $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D'EFFET DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Un mois après la date de leur admission au Service du Contractant pour les personnes engagées "); - $text .= convertirc("postérieurement à la date d'effet du contrat, exclusion faite des cas d'accident."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("A cet effet, le Contractant s'engage à envoyer à l'Assureur les bulletins individuels d'adhésion dans les QUINZE JOURS suivant l'admission de tout nouveau collaborateur, faute de quoi la prise en charge ne pourra être considérée qu'après analyse de la documentation d'adhésion."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU CONTRAT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Le présent contrat est souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']." -Il est renouvelable tacitement dans les conditions prévues à l'article 8 des présentes conditions particulières sauf résiliation avec un préavis de deux mois avant son échéance."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc("Article 4 : CESSATION DE GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat et individuellement, le jour où la personne assurée quitte le service du Contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc("Article 5 : SUSPENSION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties sont suspendues collectivement si les cotisations (primes) ne sont pas payées dans les TRENTE (30) jours de la prise d'effet du contrat et individuellement si les cotisations ne sont pas payées dans les TRENTE (30) jours qui suivent l'adhésion de l'assuré. -Les garanties reprendront effet dans les trois jours ouvrables suivant le paiement de la totalité des cotisations en souffrance au moment de la suspension."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc("Article 6 : GARANTIES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("A. PRESTATIONS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité. -Ainsi, sont prises en charge les prestations médicales suivantes : - - Consultations ; - - Analyses et travaux médicaux de laboratoire ; - - Consultations - - Analyses et tests en laboratoire - - Radiologie - - Soins infirmiers - - Chirurgie - - Hospitalisation - - Soins dentaires - - Lunettes et traitements ophtalmologiques - - Maternité - - Chirurgie reconstructive à la suite d'un accident ou à la suite d'une chirurgie pour un problème médical admissible - - VIH - - Conditions chroniques préexistantes et clause opportuniste sur le VIH - - Tuberculose - - Paludisme - - Les accidents - - Grippe - - Tout autre type de maladie - - Vaccination de routine - - Les conditions de prématurité sont couvertes - - L'IRM et d'autres tests spéciaux sont tous couvertsMRI and other special tests are all covered - - Paiement indirect: le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande - le remboursement ou la différence à ".$_SESSION['nomSociete']." (applicable pour les options avec ticket modérateur) - - Tous les traitements médicaux et les médicaments prescrits par un médecin diplômé et enregistré et qui a été autorisé par le - Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. - Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable - - Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans - et prolongé jusqu'à 25 ans si l'enfant est encore étudiant - - Grossesse et enfants comprenant des traitements et des examens prénatals, des traitements et examens postnatals ainsi que - la prise en charge des nouveau-nés - - Anomalie, déficience constitutionnelle et traitement des malformations chez le nouveau-né - - Chirurgie reconstructive à la suite d'un accident ou à la suite d'une chirurgie pour un problème médical admissible - - La couverture de maternité est déjà incluse dans les garanties soins ambulatoires/hospitalisation selon le département où - la patiente a été admise - - Frais d’Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur - le territoire rwandais - - Traitements dans les pays d'Afrique de l'Est sans référence. Le patient ira dans un établissement approprié en Ouganda et - au Kenya selon le partenariat de l'assureur. - - Traitement en Inde sur un rapport médical attesté par un médecin avec l'approbation préalable de ".$_SESSION['nomSociete']." - - L'extension de la couverture pour les personnes à charge de l’assuré vivant dans les pays d'Afrique de l'Est. - Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement. - - L'hébergement d’un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger - - La chambre individuelle est couverte - - Traitements dentaires et ophtalmologiques (voir les limites prévues dans l'offre financière) - - Limite de couverture pour les patients en ambulatoires (voir les limites prévues dans l'offre financière) - - Limite de couverture pour les patients hospitalisés (voir les limites prévues dans l'offre financière) - - Ajout automatique d’un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte biométrique - - Ajout automatique d’un nouvel agent avec une prime calculée au prorata - - Suppression automatique pour l’agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée - au prorata, si aucun service médical n’a été payé pour lui et les personnes à sa charge; et aucun remboursement si une indemnité - est payée pour le personnel en partance ou les personnes à sa charge - - L'émission de cartes biométriques d’assurance maladie dans les 24 heures suivant la notification et/ou preuve du paiement - aussi en cas de récupération de la carte perdue - - Les cartes biométriques d’assurance maladie contiennent un numéro de téléphone que le patient peut appeler si nécessaire. - Il y aura également un gestionnaire de compte désigné spécifiquement en charge de - ".convertirc($entetecp['nomClient'])." - - La liste de tous les partenaires de ".$_SESSION['nomSociete']." est jointe à cette offre technique - - Remboursement des frais chez un prestataire qui n’a pas de partenariat avec ".$_SESSION['nomSociete']." et n'a pas été résilié ou suspendu pour - faute ou mauvaises pratiques. Le remboursement sera basé sur le tarif des prestataires de la même catégorie que celui concerné - tel que établie par le Ministère de la Santé en cas de traitement au Rwanda - - Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous - les documents requis : 2 jours - - Gestion commune avec l’employeur des cas de fraudes - - Les frais funéraires en cas de décès d’un membre assuré ou son bénéficiaire sont payables à l'Employeur ou à la personne - qu'il peut désigner. Le règlement de la réclamation sera fait dans un délai ne dépassant pas 24 heures suivant la réception de - l'avis par l'Employeur durant les heures normales de travail - - La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement. - - En cas de dépassement des limites de l'assuré au cours de la période d’assurance, ".$_SESSION['nomSociete']." peut fournir son compte sans - prime supplémentaire si le rapport Sinistres à prime de ".convertirc($entetecp['nomClient'])." - Personnel et personnes à charge est inférieur à 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("B. REMBOURSEMENT DES SOINS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste. -Les garanties de l'Assureur ne s'étendent pas aux frais inhérents au décès ; elles se limitent aux frais médicaux du malade encore en vie. -Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur. -Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur. -Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel. -A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent. -Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués. -Les ordonnances doivent porter lisiblement les nom et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("C. ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("D. PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableaux ci-dessous :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['codeProduit']." : ".$tableaupretationcp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleCollege']; - } - - // $pdf->AddPage(); - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['codeProduit']." : ".$garantiescollegecp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - // checkbox( $pdf, $champApplication); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleCollege']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 7 : COTISATIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties définies ci-dessus sont accordées moyennant des cotisations de :"); - - $pdf->MultiCell(0, $ht, $text); - - // if($entetecp['deduireComm']=="1") - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Mutuelle"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces."),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc("Adhérent"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['taxe']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc("Dépendant"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total Général"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($entetecp['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - } - else - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - // $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - // $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Mutuelle"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Acces."),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc("Adhérent"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - //$pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - //$pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['taxe']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc("Dépendant"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - //$pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - //$pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total Général"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($entetecp['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("afin de bénéficier des soins de les catégories respectives dans tous les établissements conventionnés y correspondant moyennant paiement d'un ticket modérateur et avec les plafonds annuels par famille tels qu'indiqués ci haut dans le tableau des prestations et plafonds. -Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant. -Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital Roi Fayçal pour les adhérents de la première catégorie ou de l'Hôpital Public de référence pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement est envoyé au client pour le règlement d'un acompte sur le renouvellement. -La cotisation définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de l'ensemble des garanties du contrat qui seront arrêtées endéans TROIS MOIS après la clôture de chaque exercice. L'Assureur déterminera le rapport S/P dans lequel : -- S représente le montant des sinistres à charge de l'exercice écoulé. -- P représente le montant des cotisations déduction faite de taxes et commissions d'intermédiation afférentes à l'exercice écoulé quelle que soit la date d'émission ou d'encaissement). -En fonction de la valeur du rapport S/P, il est procédé à un ajustement des cotisations pour le nouvel exercice en cours un taux égal à S/P divisé par 0.7"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("Pour associer le souscripteur à l’évolution des consommations, un rapport S/P trimestriel lui sera régulièrement transmis. -En cas de non renouvellement du contrat, le souscripteur est tenu de supporter le supplément de sinistres que l’assureur a dû payer par rapport à la prime nette payée. -Une facture y relative lui est envoyée dans les trois mois qui suivent la date d’expiration du contrat et elle doit être payée dans les trente jours de sa réception faute de quoi un processus de recouvrement judiciaire sera entamé."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 9 : DISPOSITIONS FINALES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Lors de l’exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l’établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l’art médical. -En aucun cas, la responsabilité de l’Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l’établissement de soins. -Le contrat est établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l’Article II des CONDITIONS GENERALES, le ".$entetecp['dateEffet']); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("LE SOUSCRIPTEUR"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("L'ASSUREUR"),0,1,'R',false); - - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
police = new Police_d(); - } - - public function index() - { - $lienEtat = $this->requete->getParametreFormulaire("lienEtat"); - - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/'.$lienEtat.'.php'; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximprimercpeng.php b/radiantproduction/Controleur/ControleurAjaximprimercpeng.php deleted file mode 100644 index 1c4bf4a..0000000 --- a/radiantproduction/Controleur/ControleurAjaximprimercpeng.php +++ /dev/null @@ -1,18 +0,0 @@ -police = new Police(); - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Ajaximprimercpengindex.php'; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximprimercpengd.php b/radiantproduction/Controleur/ControleurAjaximprimercpengd.php deleted file mode 100644 index 5d488d5..0000000 --- a/radiantproduction/Controleur/ControleurAjaximprimercpengd.php +++ /dev/null @@ -1,18 +0,0 @@ -police = new Police_d(); - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Ajaximprimercpengdindex.php'; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximprimerdemandedecompte.php b/radiantproduction/Controleur/ControleurAjaximprimerdemandedecompte.php deleted file mode 100644 index 4d23816..0000000 --- a/radiantproduction/Controleur/ControleurAjaximprimerdemandedecompte.php +++ /dev/null @@ -1,151 +0,0 @@ -reglement = new Demandedecompte(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function imprimerdemandecompte() - { - $idDemandeDecompte = $_SESSION['idDemandeDecompte_C']; - $numeroDemandeDecompte = $_SESSION['numeroDemandeDecompte_C']; - $villeSignature = $_SESSION['villeSignature_C']; - - $reglement = $this->reglement->getdemandedecompte($idDemandeDecompte); - - $codeTypePrestataire = $reglement['codeTypePrestataire']; - - if($codeTypePrestataire=="CSO") - { - $factures = $this->reglement->getdetaildemandedecompteexportcso($numeroDemandeDecompte); - } - elseif($codeTypePrestataire=="PHA") - { - $factures = $this->reglement->getdetaildemandedecompteexportpha($numeroDemandeDecompte); - } - elseif($codeTypePrestataire=="OPT") - { - $factures = $this->reglement->getdetaildemandedecompteexportopt($numeroDemandeDecompte); - } - elseif($codeTypePrestataire=="LAB") - { - $factures = $this->reglement->getdetaildemandedecompteexportlab($numeroDemandeDecompte); - } - elseif($codeTypePrestataire=="SEA") - { - $factures = $this->reglement->getdetaildemandedecompteexportsea($numeroDemandeDecompte); - } - - $pdf = new FPDF('L'); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=4; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 7); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(_("BORDERAU DEMANDE DECOMPTE")." No ".$reglement['numeroDemandeDecompte']." => "._("PRESTATAIRE")." ".$reglement['prestataire']),0,1,'R',false); - - $pdf->SetFont('Arial','', 7); - - $pdf->Cell(0,$ht,convertirc('Edition : '.heureCouranteLang($_SESSION['lang'])),0,0,'L',false); - - if (est_anglophone()) - { - $pdf->Cell(0,$ht,convertirc(_("PERIODE")." : ".$reglement['periodeEng']),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc(_("PERIODE")." : ".$reglement['periode']),0,1,'R',false); - } - - $pdf->SetFont('Arial','', 6); - - $pdf->Cell(10,$ht,convertirc("No"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Dt"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_('Police')),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Souscripteur")),1,0,'L',false); - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'L',false); - $pdf->Cell(15,$ht,convertirc(_('No Bénéf')),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Bénéficiaire")),1,0,'L',false); - $pdf->Cell(15,$ht,convertirc(_('Bon')),1,0,'C',false); - - $pdf->Cell(20,$ht,convertirc(_('Frais')),1,0,'R',false); - $pdf->Cell(15,$ht,convertirc(_('T M')),1,0,'R',false); - $pdf->Cell(20,$ht,convertirc(_('A payer')),1,1,'R',false); - - $ordre = "0"; - $fraisReel = "0"; - $montantTm = "0"; - $montantArembourser = "0"; - - - foreach ($factures as $facture) - { - $ordre++; - $pdf->Cell(10,$ht,$ordre,1,0,'C',false); - $pdf->Cell(10,$ht,$facture['jourFacture'],1,0,'C',false); - $pdf->Cell(20,$ht,convertirc($facture['numeroPolice']),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(substr($facture['souscripteur'], 0, 25)),1,0,'L',false); - $pdf->Cell(50,$ht,substr($facture['adherent'], 0, 30),1,0,'L',false); - $pdf->Cell(15,$ht,convertirc($facture['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,substr($facture['beneficiaire'], 0, 30),1,0,'L',false); - $pdf->Cell(15,$ht,convertirc($facture['numeroBon']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($facture['fraisReel']),1,0,'R',false); - $pdf->Cell(15,$ht,format_N($facture['montantTm']),1,0,'R',false); - $pdf->Cell(20,$ht,format_N($facture['montantArembourser']),1,1,'R',false); - - $fraisReel += $facture['fraisReel']; - $montantTm += $facture['montantTm']; - $montantArembourser += $facture['montantArembourser']; - } - - $pdf->SetFont('Arial','B', 6); - - $pdf->Cell(220,$ht,convertirc("TOTAL : "),1,0,'C',false); - - $pdf->Cell(20,$ht,format_N($fraisReel),1,0,'R',false); - $pdf->Cell(15,$ht,format_N($montantTm),1,0,'R',false); - $pdf->Cell(20,$ht,format_N($montantArembourser),1,1,'R',false); - - $pdf->SetFontSize(8); - $pdf->Cell(0,6,convertirc(_('Arrêté la présente demande de décompte à la somme de').' : '),0,1,'C',false); - $pdf->SetFont('','I'); - $pdf->SetFillColor(135,206,250); // bleu - // $pdf->Cell(0,6,asLetters($montantArembourser)." ".$_SESSION['devise_C'],0,1,'C',true); - $pdf->Cell(0,10, convetirEnLettre($montantArembourser, $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C',true); - $pdf->SetFont(''); - - // $pdf->SetY(-70); - - $pdf->Cell(0,6,convertirc(_('Fait à').' '.$villeSignature.', le ').date('d/m/Y'),0,1,'C',false); - - $pdf->Ln(10); - $pdf->SetFont('','U'); - $pdf->Cell(0,6,convertirc(_('Pour').' : '.$reglement['prestataire']),0,0,'C',false); - - - $fichier="Temp/borderau_decompte"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(20); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_('DEMANDE DE REGLEMENT').' No '.$reglement['numeroDemandeReglement']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("Prestataire")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$reglement['prestataire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("PERIODE")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - if (est_anglophone()) - { - $pdf->Cell(0,10,convertirc(': '.$reglement['periodeEng']),0,1,'L'); - } - else - { - $pdf->Cell(0,10,convertirc(': '.$reglement['periode']),0,1,'L'); - } - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("No Lot")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$reglement['numeroLotDecompte']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("Montant")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($reglement['montantApayer'])." ".$_SESSION['devise_C'],0,1,'L'); - - $pdf->Cell(0,10, convetirEnLettre($reglement['montantApayer'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('A VERSER AU COMPTE').' No'),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$reglement['numeroCompteBancaire'].' => '.$reglement['intituleCompteBancaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('SUR')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$reglement['banque']),0,1,'L'); - - $pdf->Ln(10); - - $pdf->Cell(0,10,convertirc(_('Fait à').' '.$_SESSION['villeSociete'].', le ').heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("SERVICE DEMANDEUR")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(": .........................................."),0,1,'L'); - - $pdf->Ln(20); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc((isset($_SESSION['affichagedynamique']['VISA DIRECTION SANTE'])) ? _($_SESSION['affichagedynamique']['VISA DIRECTION SANTE']) : _("VISA DIRECTION SANTE")),0,0,'L',false); - $pdf->Cell(0,10,convertirc((isset($_SESSION['affichagedynamique']['VISA DAF'])) ? _($_SESSION['affichagedynamique']['VISA DAF']) : _("VISA DAF")),0,1,'R'); - - $pdf->Ln(30); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(_("Chèque").' / '._('OP')." No : _______________________________________"),0,1,'R'); - $pdf->Cell(0,10,convertirc(_("Sur")." : _______________________________________"),0,1,'R'); - $pdf->Cell(0,10,convertirc("Date : _______________________________________"),0,1,'R'); - - $fichier="Temp/TMP_demande_regelement"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement->getreglement($idReglement); - - $codeTypePrestataire = $reglement['codeTypePrestataire']; - - if($codeTypePrestataire=="CSO") - { - $factures = $this->reglement->getdetaildecompteexportcso($numeroDecompte); - } - elseif($codeTypePrestataire=="PHA") - { - $factures = $this->reglement->getdetaildecompteexportpha($numeroDecompte); - } - elseif($codeTypePrestataire=="OPT") - { - $factures = $this->reglement->getdetaildecompteexportopt($numeroDecompte); - } - elseif($codeTypePrestataire=="LAB") - { - $factures = $this->reglement->getdetaildecompteexportlab($numeroDecompte); - } - elseif($codeTypePrestataire=="SEA") - { - $factures = $this->reglement->getdetaildecompteexportsea($numeroDecompte); - } - - $pdf = new FPDF('L'); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=4; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 7); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(_("BORDERAU POUR DECOMPTE")." No ".$reglement['numeroDecompte']." => "._("PRESTATAIRE")." ".$reglement['prestataire']),0,1,'R',false); - - $pdf->SetFont('Arial','', 7); - - $pdf->Cell(65,$ht,convertirc(_('Edité par l\'assureur le').' : '.heureCouranteLang($_SESSION['lang'])),0,0,'L',false); - - $pdf->Cell(50,$ht,convertirc(_('Vérificateur').' : '.$reglement['nomControleur']),0,0,'C',false); - - if (est_anglophone()) - { - $pdf->Cell(50,$ht,convertirc($reglement['etatdecompteEng']),0,0,'C',false); - $pdf->Cell(55,$ht,convertirc(_("PERIODE")." : ".$reglement['periodeEng']),0,0,'C',false); - } - else - { - $pdf->Cell(50,$ht,convertirc($reglement['etatdecompte']),0,0,'C',false); - $pdf->Cell(55,$ht,convertirc(_("PERIODE")." : ".$reglement['periode']),0,0,'C',false); - } - - $pdf->Cell(0,$ht,convertirc(_('Demande Rgt').' : '.$reglement['numeroDemandeReglement'].' => Lot : '.$reglement['numeroLotDecompte']),0,1,'R',false); - - $pdf->SetFont('Arial','', 6); - - $pdf->Cell(7,$ht,convertirc("No"),1,0,'C',false); - $pdf->Cell(7,$ht,convertirc("Dt"),1,0,'C',false); - $pdf->Cell(14,$ht,convertirc(_('Police')),1,0,'C',false); - $pdf->Cell(36,$ht,convertirc(_("Souscripteur")),1,0,'L',false); - $pdf->Cell(44,$ht,convertirc(_('Adhérent')),1,0,'L',false); - $pdf->Cell(14,$ht,convertirc(_('No Bénéf')),1,0,'C',false); - $pdf->Cell(44,$ht,convertirc(_("Bénéficiaire")),1,0,'L',false); - $pdf->Cell(14,$ht,convertirc(_('Bon')),1,0,'C',false); - $pdf->Cell(17,$ht,convertirc(_('Actes')),1,0,'R',false); - $pdf->Cell(17,$ht,convertirc(_('Autres')),1,0,'R',false); - $pdf->Cell(17,$ht,convertirc(_('Frais')),1,0,'R',false); - $pdf->Cell(12,$ht,convertirc(_('T M')),1,0,'R',false); - $pdf->Cell(17,$ht,convertirc(_('A payer')),1,0,'R',false); - $pdf->Cell(17,$ht,convertirc(_('Retenu')),1,1,'R',false); - - $ordre = "0"; - $fraisReel_acte_med = "0"; - $fraisReel_phar_cons = "0"; - $fraisReel = "0"; - $montantTm = "0"; - $montantArembourser = "0"; - $montantApayer = "0"; - - foreach ($factures as $facture) - { - $ordre++; - $pdf->Cell(7,$ht,$ordre,1,0,'C',false); - $pdf->Cell(7,$ht,$facture['jourFacture'],1,0,'C',false); - $pdf->Cell(14,$ht,convertirc($facture['numeroPolice']),1,0,'C',false); - $pdf->Cell(36,$ht,convertirc(substr($facture['souscripteur'], 0, 25)),1,0,'L',false); - $pdf->Cell(44,$ht,substr($facture['adherent'], 0, 30),1,0,'L',false); - $pdf->Cell(14,$ht,convertirc($facture['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(44,$ht,substr($facture['beneficiaire'], 0, 30),1,0,'L',false); - $pdf->Cell(14,$ht,convertirc($facture['numeroBon']),1,0,'C',false); - $pdf->Cell(17,$ht,format_N($facture['fraisReel_acte_med']),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($facture['fraisReel_phar_cons']),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($facture['fraisReel']),1,0,'R',false); - $pdf->Cell(12,$ht,format_N($facture['montantTm']),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($facture['montantArembourser']),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($facture['montantApayer']),1,1,'R',false); - - $fraisReel_acte_med += $facture['fraisReel_acte_med']; - $fraisReel_phar_cons += $facture['fraisReel_phar_cons']; - $fraisReel += $facture['fraisReel']; - $montantTm += $facture['montantTm']; - $montantArembourser += $facture['montantArembourser']; - $montantApayer += $facture['montantApayer']; - } - - $pdf->SetFont('Arial','B', 6); - - $pdf->Cell(180,$ht,convertirc("TOTAL : "),1,0,'C',false); - - $pdf->Cell(17,$ht,format_N($fraisReel_acte_med),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($fraisReel_phar_cons),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($fraisReel),1,0,'R',false); - $pdf->Cell(12,$ht,format_N($montantTm),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($montantArembourser),1,0,'R',false); - $pdf->Cell(17,$ht,format_N($montantApayer),1,1,'R',false); - - // $moyenne = $ordre $montantApayer - $pdf->Cell(260,$ht,convertirc(_("MOYENNE PAR MALADE")." : "),1,0,'C',false); - $pdf->Cell(17,$ht,format_N($reglement['MoyenneDecompte']),1,1,'R',false); - - $pdf->SetFontSize(8); - $pdf->Cell(0,6,convertirc(_('Arrêté le présent décompte à la somme de').' : '),0,1,'C',false); - $pdf->SetFont('','I'); - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,6, convetirEnLettre($montantApayer, $_SESSION['lang'])." ".$_SESSION['devise_C'],0,1,'C',true); - $pdf->SetFont(''); - - // $pdf->SetY(-70); - - $pdf->Cell(0,6,convertirc(_('Fait à').' '.$_SESSION['villeSociete'].', le ').date('d/m/Y'),0,1,'C',false); - - $pdf->Ln(10); - $pdf->SetFont('','U'); - $pdf->Cell(0,6,convertirc(_('Pour').' '.$_SESSION['nomSociete']),0,0,'C',false); - - $fichier="Temp/TMP_borderau_decompte"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("codePrestataire"); - $codeBanque = $this->requete->getParametreFormulaire("codeBanque"); - $codeBanqueInterne = $this->requete->getParametreFormulaire("codeBanqueInterne"); - $codeGuichet = $this->requete->getParametreFormulaire("codeGuichet"); - $numeroCompteBancaire = $this->requete->getParametreFormulaire("numeroCompteBancaire"); - $cleRib = $this->requete->getParametreFormulaire("cleRib"); - $iban = $this->requete->getParametreFormulaire("iban"); - $intituleCompteBancaire = $this->requete->getParametreFormulaire("intituleCompteBancaire"); - - $this->prestataire->majcomptebancaire($codePrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, $intituleCompteBancaire); - } - - public function imprimerdecompteprestataireaccord() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(25); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_('DECOMPTE DE REGLEMENT')),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("Prestataire")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$reglement['prestataire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('PERIODE')),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - - if (est_anglophone()) - { - $pdf->Cell(0,10,convertirc(': '.$reglement['periodeEng']),0,1,'L'); - } - else - { - $pdf->Cell(0,10,convertirc(': '.$reglement['periode']),0,1,'L'); - } - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('MONTANT FACTURE')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($reglement['montantPrestataire'])." ".$_SESSION['devise_C'],0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('MONTANT A PAYER')),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($reglement['montantApayer'])." ".$_SESSION['devise_C'],0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc("DIFFERENCES"),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($reglement['difference'])." ".$_SESSION['devise_C'],0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('MONTANT PAYE')),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($reglement['montantPaye'])." ".$_SESSION['devise_C'],0,1,'L'); - - $pdf->Ln(5); - - $pdf->Cell(0,10,convertirc(_('Date apprrobation')).' : '.dateheureFr($reglement['heureValidationDecompte']).' '._('par').' '.$reglement['userValidationDecompte'],0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell(0,10,convertirc(_('Accord du Prestataire')),0,1,'C'); - - $fichier="Temp/TMP_ACCORD_PREST_DECOMPTE"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $idDossierClassique = $_SESSION['idDossierClassique']; - - $dossier = $this->facture->getdossierclassique($idDossierClassique); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(20); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_("DEMANDE DE REGLEMENT")." No ".$dossier['numeroDemandeReglement']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('NOMS ET PRENOMS')),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,convertirc(': '.$dossier['beneficiaireReglement']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("No Lot")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,convertirc(': '.$dossier['numeroLotDecompte']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('Police')),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,convertirc(': '.$dossier['numeroPolice']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("Souscripteur")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,convertirc(': '.$dossier['souscripteur']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('MONTANT EN CHIFFRES')),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,": ".format_N($dossier['montantApayer'])." ".$_SESSION['devise_C'],0,1,'L'); - $pdf->Cell(0,10, convetirEnLettre($dossier['montantApayer'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("MOTIF (Rembourser soins de )")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,convertirc(": ".$dossier['beneficiaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('A VERSER AU COMPTE')).' No',0,0,'L',false); - $pdf->SetFont('Arial','I',11); - if($dossier['banqueBeneficiaire']>" ") - { - $pdf->Cell(0,10,convertirc(': '.$dossier['numeroCompteBeneficiaire'].' SUR : '.$dossier['banqueBeneficiaire']),0,1,'L'); - } - else - { - $pdf->Cell(0,10,convertirc(': '),0,1,'L'); - } - - $pdf->Ln(5); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].' '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("SERVICE DEMANDEUR")),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(": .........................................."),0,1,'L'); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 11); - /* - $pdf->Cell($lg,10,convertirc(_("VISA DIRECTION SANTE")),0,0,'L',false); - $pdf->Cell(0,10,convertirc(_("VISA DAF")." "),0,1,'R'); - */ - - $pdf->Cell($lg,10,convertirc((isset($_SESSION['affichagedynamique']['VISA DIRECTION SANTE'])) ? _($_SESSION['affichagedynamique']['VISA DIRECTION SANTE']) : _("VISA DIRECTION SANTE")),0,0,'L',false); - $pdf->Cell(0,10,convertirc((isset($_SESSION['affichagedynamique']['VISA DAF'])) ? _($_SESSION['affichagedynamique']['VISA DAF']) : _("VISA DAF")),0,1,'R'); - - $pdf->Ln(30); - - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,10,convertirc(_("Chèque").' / '._('OP')." No : _______________________________________"),0,1,'R'); - $pdf->Cell(0,10,convertirc(_("Sur")." : _______________________________________"),0,1,'R'); - $pdf->Cell(0,10,convertirc("Date : _______________________________________"),0,1,'R'); - - $fichier="Temp/TMP_DMDE_REGT_REMB_CLASS"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture->getdossierclassique($idDossierClassique); - - $factures = $this->facture->getfacturesdossierclassique($idDossierClassique); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(25); - - $pdf->Cell(0,7,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,7,convertirc(_('RELEVE REMBOURSEMENT HORS TIERS PAYANT')),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_('BENEFICIAIRE DU PAIEMENT')),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['beneficiaireReglement']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_("No Lot")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['numeroLotDecompte']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_('Police')),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['numeroPolice']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_("Souscripteur")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['souscripteur']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_("ADHERENT")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['adherent']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_("No BENEFICIAIRE")),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['numeroBeneficiaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc(_('BENEFICIAIRE DES SOINS')),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(': '.$dossier['beneficiaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell($lg,7,convertirc("TOTAL"),0,0,'L',false); - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,": ".format_N($dossier['montantApayer'])." ".$_SESSION['devise_C'],0,1,'L'); - $pdf->Cell(0,7, convetirEnLettre($dossier['montantApayer'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 10); - - $pdf->Cell(0,7,convertirc(_('Liste des Factures du Dossier')),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BI', 7); - - $ht=7; - - $pdf->Cell(20,$ht,convertirc("Date"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc(_('Saisie')),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Prestataire")),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc(_('No Fact')),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Frais")),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc(_('T M')),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc(_('Dépassement')),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_('Retenu')),1,1,'C',false); - - $pdf->SetFont('Arial','I', 7); - - foreach ($factures as $facture) - { - $pdf->Cell(20,$ht,dateFr($facture['dateFacture']),1,0,'C',false); - $pdf->Cell(25,$ht,dateheureFr($facture['dateSysteme_f']),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc($facture['prestataire']),1,0,'C',false); - $pdf->Cell(25,$ht,$facture['numeroFacture'],1,0,'C',false); - $pdf->Cell(20,$ht,format_N($facture['fraisReel']),1,0,'C',false); - $pdf->Cell(15,$ht,format_N($facture['montantTm']),1,0,'C',false); - $pdf->Cell(15,$ht,format_N($facture['fraisExclu']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($facture['fraisRetenu']),1,1,'C',false); - } - - // ajouté le 21/11/2018 - $pdf->Ln(5); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $fichier="Temp/TMP_RELEVE_REMB_CLASS"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
fraisfuneraire = new Fraisfuneraire(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $fraisfuneraire = $this->fraisfuneraire->getfraisfuneraire($idBeneficiaire); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(20); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_("DEMANDE DE REGLEMENT")." No ".$fraisfuneraire['numeroDemandeReglement']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('NOMS ET PRENOMS')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['beneficiaireReglement']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("No Lot")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['numeroLotDecompte']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('Police')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['numeroPolice']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("Souscripteur")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['souscripteur']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('MONTANT EN CHIFFRES')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($fraisfuneraire['montantApayer'])." ".$_SESSION['devise_C'],0,1,'L'); - $pdf->Cell(0,8, convetirEnLettre($fraisfuneraire['montantApayer'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("MOTIF (Frais funéraires de )")),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['beneficiaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('A VERSER AU COMPTE')).' No',0,0,'L',false); - $pdf->SetFont('Arial','I',11); - if($fraisfuneraire['banqueBeneficiaire']>" ") - { - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['numeroCompteBeneficiaire'].' '._('SUR').' : '.$fraisfuneraire['banqueBeneficiaire']),0,1,'L'); - } - else - { - $pdf->Cell(0,10,convertirc(': '),0,1,'L'); - } - - - $pdf->Ln(5); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("SERVICE DEMANDEUR")),0,0,'L',false); - - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(": .........................................."),0,1,'L'); - - $pdf->Ln(20); - - $pdf->SetFont('Arial','B', 10); - /* - $pdf->Cell($lg,7,convertirc(_("VISA DIRECTION SANTE")),0,0,'L',false); - $pdf->Cell(0,7,convertirc(_("VISA DAF")." "),0,1,'R'); - */ - - $pdf->Cell($lg,10,convertirc((isset($_SESSION['affichagedynamique']['VISA DIRECTION SANTE'])) ? _($_SESSION['affichagedynamique']['VISA DIRECTION SANTE']) : _("VISA DIRECTION SANTE")),0,0,'L',false); - $pdf->Cell(0,10,convertirc((isset($_SESSION['affichagedynamique']['VISA DAF'])) ? _($_SESSION['affichagedynamique']['VISA DAF']) : _("VISA DAF")),0,1,'R'); - - $pdf->Ln(30); - - $pdf->SetFont('Arial','I',10); - $pdf->Cell(0,7,convertirc(_("Chèque").' / '._('OP')." No : _______________________________________"),0,1,'R'); - $pdf->Cell(0,7,convertirc(_("Sur")." : _______________________________________"),0,1,'R'); - $pdf->Cell(0,7,convertirc("Date : _______________________________________"),0,1,'R'); - - - $fichier="Temp/TMP_DMDE_REGT_FRAIS_FUN"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
fraisfuneraire->getfraisfuneraire($idBeneficiaire); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(25); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete'] ),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_("RELEVE FRAIS FUNERAIRES")),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("BENEFICIAIRE DU PAIEMENT")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['beneficiaireReglement']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("DATE DE LA DEMANDE")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.dateFr($fraisfuneraire['dateDemande'])),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("No Lot")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['numeroLotDecompte']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('Police')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['numeroPolice']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("Souscripteur")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['souscripteur']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("ADHERENT")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['adherent']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("No BENEFICIAIRE")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['numeroBeneficiaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_("PERSONNE DECEDEE")),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,convertirc(': '.$fraisfuneraire['beneficiaire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 11); - $pdf->Cell($lg,10,convertirc(_('MONTANT A PAYER')),0,0,'L',false); - $pdf->SetFont('Arial','I',11); - $pdf->Cell(0,10,": ".format_N($fraisfuneraire['montantApayer'])." ".$_SESSION['devise_C'],0,1,'L'); - $pdf->Cell(0,10, convetirEnLettre($fraisfuneraire['montantApayer'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->Ln(5); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $pdf->Ln(2); - - $pdf->Cell(0,10,convertirc(_('Pour').' '.$_SESSION['nomSociete']),0,1,'C',false); - - $fichier="Temp/TMP_RELEVE_FRAIS_FUN"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
prestataire = new Prestataire(); - } - - public function index() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $prestataires = $this->prestataire->getprestataireparametrageexport($codeTypePrestataire, $codeReseau, $libelle) ; - - $pdf = new FPDF('L'); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=4; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 7); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(_("LISTE DES PRESTATAIRES")),0,1,'R',false); - - $pdf->SetFont('Arial','', 7); - - $pdf->Cell(0,$ht,convertirc('Edition : '.heureCouranteLang($_SESSION['lang'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 5); - - $ht=4; - - $pdf->Cell(10,$ht,convertirc("No"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Nom")),1,0,'L',false); - $pdf->Cell(45,$ht,convertirc(_("Adresse Géo")),1,0,'L',false); - $pdf->Cell(20,$ht,convertirc(_("Signature")),1,0,'L',false); - $pdf->Cell(20,$ht,convertirc(_("District")),1,0,'L',false); - $pdf->Cell(20,$ht,convertirc(_("Province")),1,0,'L',false); - $pdf->Cell(30,$ht,convertirc("E-mail"),1,0,'L',false); - $pdf->Cell(20,$ht,convertirc("Tel"),1,0,'L',false); - - $pdf->Cell(30,$ht,convertirc("Type"),1,0,'L',false); - $pdf->Cell(30,$ht,convertirc(_("Réseau")),1,1,'R',false); - - $ordre = "0"; - - foreach ($prestataires as $prestataire) - { - $ordre++; - - $pdf->Cell(10,$ht,$ordre,1,0,'C',false); - $pdf->Cell(50,$ht,substr($prestataire['libelle'], 0, 45),1,0,'L',false); - $pdf->Cell(45,$ht,substr($prestataire['adresseGeo'], 0, 40),1,0,'L',false); - $pdf->Cell(20,$ht,substr($prestataire['villeSignature'], 0, 25),1,0,'L',false); - $pdf->Cell(20,$ht,substr($prestataire['district'], 0, 35),1,0,'L',false); - $pdf->Cell(20,$ht,substr($prestataire['province'], 0, 25),1,0,'L',false); - $pdf->Cell(30,$ht,$prestataire['emailGestionPrestataire'],1,0,'L',false); - $pdf->Cell(20,$ht,$prestataire['smsGestionPrestataire'],1,0,'L',false); - $pdf->Cell(30,$ht,$prestataire['typeprestataire'],1,0,'L',false); - $pdf->Cell(30,$ht,convertirc($prestataire['reseausoins']),1,1,'L',false); - } - - $fichier="Temp/TEMP_LISTE_PRESTATAIRES"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
prestataire = new Prestataire(); - } - - public function index() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $prestataires = $this->prestataire->getprestataireparametrageexport($codeTypePrestataire, $codeReseau, $libelle) ; - - // Excel - - $headerXLS = array - ( - _('Nom'), - "Code", - _('Adresse Géo'), - _('Signature'), - _('District'), - _('Province'), - "E-mail", - "Tel", - "type", - _("Réseau"), - _("Actif") - ); - - $dataXLS = array(); - - foreach ($prestataires as $prestataire) - { - $dataXLS[]=$prestataire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES PRESTATAIRES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - $fichier = 'Temp/TEMP_LISTE_PRESTATAIRES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - */ - - $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->getprestataireactifparametrageexport($codeTypePrestataire, $codeReseau, $libelle,$codePays, $codeVille ,$codeLocalite); - - // $prestataires = $this->prestataire->getprestataireactifparametrageexport($codeTypePrestataire, $codeReseau, $libelle) ; - - // Excel - - $headerXLS = array - ( - _('Nom'), - "Code", - _('Adresse Géo'), - _('Signature'), - _('District'), - _('Province'), - "E-mail", - "Tel", - "type", - _("Réseau") - ); - - $dataXLS = array(); - - foreach ($prestataires as $prestataire) - { - $dataXLS[]=$prestataire; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES PRESTATAIRES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - $fichier = 'Temp/TEMP_LISTE_PRESTATAIRES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - $reglement = $this->reglement->getreglement($idReglement); - $recapecartdecompte = $this->reglement->getrecapecartdecompte($idReglement); - $ecartfactures = $this->reglement->getecartsdecompte("1"); - $ecartnonsaisis = $this->reglement->getecartsdecompte("0"); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - // $_SESSION['nomSociete'] - - $ht=6; - - $lg1=35; - $lg2=75; - $lg3=40; - $lg4=40; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 10); - - $pdf->Cell(0,$ht,convertirc(_("DECOMPTE DE REGLEMENT")),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 8); - - $pdf->Cell($lg1,$ht,convertirc(_("PRESTATAIRE")),0,0,'L',false); - $pdf->Cell($lg2,$ht,convertirc(" : ".$reglement['prestataire']),0,0,'L',false); - - $pdf->Cell($lg3,$ht,convertirc(_("MONTANT FACTURE")),0,0,'L',false); - $pdf->Cell($lg4,$ht,convertirc(" : ".format_N($reglement['montantPrestataire'])." ".$_SESSION['devise_C']),0,1,'L',false); - - $pdf->Cell($lg1,$ht,convertirc(_("PERIODE")),0,0,'L',false); - if (est_anglophone()) - { - $pdf->Cell($lg2,$ht,convertirc(" : ".$reglement['periodeEng']),0,0,'L',false); - } - else - { - $pdf->Cell($lg2,$ht,convertirc(" : ".$reglement['periode']),0,0,'L',false); - } - - $pdf->Cell($lg3,$ht,convertirc(_("No Lot")),0,0,'L',false); - $pdf->Cell($lg4,$ht,convertirc(" : ".$reglement['numeroLotDecompte']),0,1,'L',false); - - - $pdf->Cell($lg1,$ht,convertirc(_("MONTANT A PAYER")),0,0,'L',false); - $pdf->Cell($lg2,$ht,convertirc(" : ".format_N($reglement['montantApayer'])." ".$_SESSION['devise_C']),0,0,'L',false); - - $pdf->Cell($lg3,$ht,convertirc(_("MONTANT PAYE")),0,0,'L',false); - $pdf->Cell($lg4,$ht,convertirc(" : ".format_N($reglement['montantPaye'])." ".$_SESSION['devise_C']),0,1,'L',false); - - - $pdf->Cell($lg1,$ht,convertirc(_("DATE DE REGLEMENT")),0,0,'L',false); - $pdf->Cell($lg2,$ht,convertirc(" : ".dateLang($reglement['dateReglement'])),0,1,'L',false); - - // - $pdf->Cell($lg1,$ht,convertirc(_("EN NOTRE FAVEUR")),0,0,'L',false); - $pdf->Cell($lg2,$ht,convertirc(" : ".format_N($recapecartdecompte['montantEcartTotalEnFavAss'])." ".$_SESSION['devise_C']),0,0,'L',false); - - $pdf->Cell($lg3,$ht,convertirc(_("EN SA FAVEUR")),0,0,'L',false); - $pdf->Cell($lg4,$ht,convertirc(" : ".format_N($recapecartdecompte['montantEcartTotalEnFavPrest'])." ".$_SESSION['devise_C']),0,1,'L',false); - - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 10); - - $pdf->Cell(0,$ht,convertirc(_("RAISONS DES DISCORDANCES")),0,1,'C',false); - - // $pdf->SetFont('Arial','B', 8); - $pdf->SetFont('Arial','', 8); - - $pdf->Cell(85,$ht,convertirc(_("Différences entre décompte et réclamation prestataire")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Nb Factures")),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(_("Montants Prestataire")),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(_("Montants Assureur")),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc(_("Différences")),1,1,'C',false); - - // $pdf->SetFont('Arial','', 8); - - $pdf->Cell(85,$ht,convertirc(_("Décompte Système")),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($reglement['ndFacture']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($reglement['montantPrestataire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($reglement['montantApayer']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($reglement['montantRedresse']),1,1,'C',false); - - $pdf->Cell(85,$ht,convertirc(_("Total Différences")),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($recapecartdecompte['nbTotal']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantPrestataireTotal']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantAssureurTotal']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($recapecartdecompte['montantEcartTotal']),1,1,'C',false); - - $pdf->Cell(85,$ht,convertirc(_("Différences sur factures saisies dans le système")),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($recapecartdecompte['nbTotalFacture']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantPrestataireTotalFacture']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantAssureurTotalFacture']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($recapecartdecompte['montantEcartTotalFacture']),1,1,'C',false); - - $pdf->Cell(85,$ht,convertirc(_("Différences sur factures hors système")),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($recapecartdecompte['nbTotalNonsaisi']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantPrestataireTotalNonsaisi']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantAssureurTotalNonsaisi']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($recapecartdecompte['montantEcartTotalNonsaisi']),1,1,'C',false); - - $pdf->Cell(85,$ht,convertirc(_("En faveur du prestataire")),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($recapecartdecompte['nbTotalEnFavPrest']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantEcartTotalEnFavPrest']),1,1,'C',false); - - $pdf->Cell(85,$ht,convertirc(_("En faveur de l'assureur")),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($recapecartdecompte['nbTotalEnFavAss']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($recapecartdecompte['montantEcartTotalEnFavAss']),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 10); - $pdf->Cell(0,$ht,convertirc(_("DETAILS SAISIES DANS LE SYSTEME")),0,1,'C',false); - $pdf->SetFont('Arial','BI', 6); - - $pdf->Cell(15,$ht,convertirc("Date"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Bénéficiaire")),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc(_("Prestataire")),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc(_("Assureur")),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc(_("Différence")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Sens")),1,0,'C',false); - $pdf->Cell(60,$ht,convertirc("Observations"),1,1,'C',false); - - $pdf->SetFont('Arial','', 6); - - foreach ($ecartfactures as $facture) - { - if (est_anglophone()) - { - $libelleEcart = $facture['libelleEcartEng']; - } - else - { - $libelleEcart = $facture['libelleEcart']; - } - $pdf->Cell(15,$ht,dateLang($facture['dateFacture']),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc($facture['numeroBeneficiaire']." ".$facture['beneficiaire']),1,0,'L',false); - $pdf->Cell(15,$ht,format_N($facture['montantPrestataire']),1,0,'C',false); - $pdf->Cell(15,$ht,format_N($facture['montantAssureur']),1,0,'C',false); - $pdf->Cell(15,$ht,format_N($facture['montantEcart']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc($libelleEcart),1,0,'C',false); - $pdf->Cell(60,$ht,convertirc($facture['observations']),1,1,'C',false); - } - - // HOSRS SYSTEME - $pdf->Ln(5); - - $pdf->SetFont('Arial','BIU', 10); - $pdf->Cell(0,$ht,convertirc(_("NON SAISIES DANS LE SYSTEME")),0,1,'C',false); - $pdf->SetFont('Arial','BI', 6); - - $pdf->Cell(20,$ht,convertirc("Date"),1,0,'C',false); - $pdf->Cell(60,$ht,convertirc(_("Bénéficiaire")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Montant")),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc(_("Sens")),1,0,'C',false); - $pdf->Cell(65,$ht,convertirc("Observations"),1,1,'C',false); - - $pdf->SetFont('Arial','', 6); - - foreach ($ecartnonsaisis as $facture) - { - if (est_anglophone()) - { - $libelleEcart = $facture['libelleEcartEng']; - } - else - { - $libelleEcart = $facture['libelleEcart']; - } - $pdf->Cell(20,$ht,dateLang($facture['dateFacture']),1,0,'C',false); - $pdf->Cell(60,$ht,convertirc($facture['numeroBeneficiaire']." ".$facture['beneficiaire']),1,0,'L',false); - $pdf->Cell(20,$ht,format_N($facture['montantPrestataire']),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc($libelleEcart),1,0,'C',false); - $pdf->Cell(65,$ht,convertirc($facture['observations']),1,1,'C',false); - } - - $fichier="Temp/TMP_differecnes_decompte"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $feuillemaladie = $this->feuillemaladie->getfeuillemaladieimpression($numeroFeuilleMaladie); - - $pdf = new FPDF(); - // $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - // $pdf->SetMargins(15, 15, 15) ; - $pdf->SetMargins(15, 15) ; - - $pdf->SetFont('Arial','BI', 10); - - $pdf->SetY(30); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - - $pdf->ln(10); - - $pdf->SetFont('Arial','BIU', 10); - - $pdf->Cell(0,$ht,convertirc(_("FEUILLE MALADIE") . " : " . $_SESSION['nomProduitSante']),0,1,'C',false); - - $pdf->ln(10); - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(40,$ht,convertirc(_("Souscripteur")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['souscripteur']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("No Police")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroPolice']),0,1,'L',false); - - - $pdf->Cell(40,$ht,convertirc(_("Patient")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['beneficiaire']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("No Patient")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroBeneficiaire']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Adhérent")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['adherent']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("No Adhérent")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroAdherent']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc("E-mail"),0,0,'L',false); - $pdf->Cell(160,$ht,convertirc(" : ".$feuillemaladie['emailAdherent']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc("No Tel"),0,0,'L',false); - $pdf->Cell(160,$ht,convertirc(" : ".$feuillemaladie['telAdherent']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Prestataire")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['prestataire']),0,0,'L',false); - - $pdf->Cell(12,$ht,convertirc(_("Système")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".dateheureFr($feuillemaladie['dateSysteme'])),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Médecin")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['medecinConsultation']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("No OM")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['noOrdreMedecin']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Consultation")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".dateFr($feuillemaladie['dateConsultation'])),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("No Bon")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroBonConsultation']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Ord Pharm")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['numeroBonOrdonnance']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Ord Verres")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroBonOptique']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Bon Exam")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['numeroBonExamen']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Bon Kine")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroBonKine']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Bon Hospit")),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['numeroBonHospitalisation']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Chambre")),0,0,'L',false); - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['numeroChambre']),0,1,'L',false); - - $pdf->Cell(40,$ht,convertirc("Observ"),0,0,'L',false); - $pdf->Cell(95,$ht,convertirc(" : ".$feuillemaladie['observations']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Raison Cons")),0,0,'L',false); - if (est_anglophone()) - { - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['raisonconsultationEng']),0,1,'L',false); - } - else - { - $pdf->Cell(45,$ht,convertirc(" : ".$feuillemaladie['raisonconsultation']),0,1,'L',false); - } - - $fichier="Temp/TMP_feuille_maladie"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' ' . _("Télécharger") . ' '; - $t_html .='
adherent = new Adherent(); - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - // $exercieReference = $this->requete->getParametreFormulaire("exercieReference"); - $idEntetecontrat = $this->requete->getParametreFormulaire("idEntetecontrat"); - - - $entetecontrat = $this->adherent->getentetecontrat($idEntetecontrat); - - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - - $garantieadherents = $this->garantieadherent->getGarantieAdherentEnteteContrat($idAdherent, $idEntetecontrat); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,1,'C',false); - - $pdf->SetFont('Arial','BIU', 9); - - $pdf->Cell(0,$ht,convertirc(_("LIMITES DE LA FAMILLE")),0,1,'C',false); - - $pdf->SetFont('Arial','BI', 9); - - $pdf->Cell(30,$ht,convertirc(_("Famille")),0,0,'C',false); - $pdf->Cell(50,$ht,convertirc(" : ".$adherent['nomAdherent']),0,0,'L',false); - - $pdf->Cell(40,$ht,convertirc(_("Période")),0,0,'C',false); - $pdf->Cell(60,$ht,convertirc(" : ".$entetecontrat['dateEffet']." <=> ".$entetecontrat['dateFin']),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(0,$ht,convertirc(_('Edition'). ' : '.heureCouranteLang($_SESSION['lang'])),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); - - $fichier="Temp/TMP_limites_famille"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire = new Beneficiaire(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $enetete = $this->beneficiaire->getEnteteBeneficiairesAimprimer($idPolice); - - $beneficiaires = $this->beneficiaire->getBeneficiairesAimprimer($idPolice, $dateAnalyse); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=6; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 7); - - $pdf->Cell(0,$ht,convertirc($enetete['nomSociete']),0,1,'C',false); - - $pdf->SetFont('Arial','BIU', 7); - - $pdf->Cell(0,$ht,convertirc(_("LISTE DES ASSURES")),0,1,'C',false); - $pdf->SetFont('Arial','', 7); - - $pdf->Cell(25,$ht,convertirc(_("No Client")),0,0,'C',false); - $pdf->Cell(25,$ht,convertirc(" : ".$enetete['numeroClient']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Nom Client")),0,0,'C',false); - $pdf->Cell(45,$ht,convertirc(" : ".$enetete['nomClient']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("No Police")),0,0,'C',false); - $pdf->Cell(45,$ht,convertirc(" : ".$enetete['numeroPolice']),0,1,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Date Effet")),0,0,'C',false); - $pdf->Cell(25,$ht,convertirc(" : ".$enetete['dateEffet']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Echéance")),0,0,'C',false); - $pdf->Cell(45,$ht,convertirc(" : ".$enetete['dateEcheance']),0,0,'L',false); - - $pdf->Cell(25,$ht,convertirc(_("Apporteur")),0,0,'C',false); - $pdf->Cell(45,$ht,convertirc(" : ".$enetete['apporteur']),0,1,'L',false); - - $pdf->Cell(0,$ht,convertirc(_('Edité le').' : '.heureCouranteLang($_SESSION['lang'])),0,1,'R',false); - - $pdf->Cell(30,$ht,convertirc(_("Nom")),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc(_("Prénoms")),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc(_("Lien")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Numéro")),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc(_("Sexe")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Naissance")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_("Entrée")),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_('P NETTE STAT')),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc(_('Prime TTC')),1,1,'C',false); - - $numeroAdherent = ""; - - foreach ($beneficiaires as $beneficiaire) - { - if($numeroAdherent!=$beneficiaire['numeroAdherent']) - { - $pdf->Cell(190,$ht,convertirc(_("Famille")." : ".$beneficiaire['nomAdherent']." ( ".$beneficiaire['codeProduit']." => ".$beneficiaire['libelleCollege']." )"),1,1,'C',false); - } - $pdf->Cell(30,$ht,convertirc($beneficiaire['nomBeneficiaire']),1,0,'L',false); - $pdf->Cell(40,$ht,convertirc($beneficiaire['prenomsBeneficiaire']),1,0,'L',false); - $pdf->Cell(10,$ht,convertirc($beneficiaire['codeLienParente']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc($beneficiaire['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc($beneficiaire['sexe']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc($beneficiaire['dateNaissance']),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc($beneficiaire['dateEntree']),1,0,'C',false); - $pdf->Cell(20,$ht,$beneficiaire['primeNetteStat'],1,0,'C',false); - $pdf->Cell(20,$ht,$beneficiaire['primeTtc'],1,1,'C',false); - - $numeroAdherent = $beneficiaire['numeroAdherent']; - } - $fichier="Temp/TMP_liste_assures"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
medecin = new Medecin(); - } - - public function index() - { - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - - $medecins = $this->medecin->getmedecinparametrage($codeSpecialite, $nom, $prenoms, $noOrdreMedecin) ; - - $pdf = new FPDF('L'); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=4; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','BI', 8); - - $pdf->Cell(0,$ht,convertirc($_SESSION['nomSociete']),0,0,'L',false); - - $pdf->ln(5); - - $pdf->Cell(0,$ht,convertirc(_("LISTE DES MEDECINS")),0,1,'R',false); - - $pdf->SetFont('Arial','', 8); - - $pdf->Cell(0,$ht,convertirc('Edition : '.heureCouranteLang($_SESSION['lang'])),0,1,'L',false); - - $pdf->SetFont('Arial','B', 8); - - $ht=5; - - $pdf->Cell(50,$ht,convertirc(_("Nom")),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Prénoms")),1,0,'L',false); - $pdf->Cell(20,$ht,convertirc("Code"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(_("Spécialité")),1,0,'L',false); - $pdf->Cell(20,$ht,convertirc(_("No Ordre")),1,0,'C',false); - $pdf->Cell(15,$ht,convertirc("Sex"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Tel"),1,0,'L',false); - $pdf->Cell(40,$ht,convertirc("E-mail"),1,1,'L',false); - - $ordre = "0"; - - $pdf->SetFont('Arial','', 8); - - foreach ($medecins as $medecin) - { - $specialite =$medecin['specialite']; - - if (est_anglophone()) - { - $specialite = $medecin['specialiteEng']; - } - $ordre++; - - $pdf->Cell(50,$ht,convertirc($medecin['nom']),1,0,'L',false); - $pdf->Cell(50,$ht,convertirc($medecin['prenoms']),1,0,'L',false); - $pdf->Cell(20,$ht,$medecin['codeMedecin'],1,0,'C',false); - $pdf->Cell(50,$ht,convertirc($specialite),1,0,'L',false); - $pdf->Cell(20,$ht,$medecin['noOrdreMedecin'],1,0,'C',false); - $pdf->Cell(15,$ht,$medecin['sexe'],1,0,'C',false); - $pdf->Cell(30,$ht,$medecin['telephone'],1,0,'L',false); - $pdf->Cell(40,$ht,$medecin['email'],1,1,'L',false); - } - - $fichier="Temp/TEMP_LISTE_MEDECINS"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
medecin = new Medecin(); - } - - public function index() - { - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - - $medecins = $this->medecin->getmedecinparametrageexport($codeSpecialite, $nom, $prenoms, $noOrdreMedecin) ; - - // Excel - - $headerXLS = array( - _("Nom"), - _("Prénoms"), - "Code", - _("Spécialité"), - _("No Ordre"), - "Sex", - "Tel", - "E-mail"); - - $dataXLS = array(); - - foreach ($medecins as $medecin) - { - $dataXLS[]=$medecin; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_("LISTE DES MEDECINS")); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - $fichier = 'Temp/TEMP_LISTE_MEDECINS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
generartionbon = new Generartionbon(); - } - - public function index() - { - $idgenerartionbon = $_SESSION['idgenerartionbon_C']; - - $generartionbon = $this->generartionbon->unegenerationbon($idgenerartionbon) ; - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(30); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete']),1,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_("BON DE SORTIE DE PRISES EN CHARGE")." No ".$generartionbon['idGenerationbon']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("Prestataire")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,convertirc(': '.$generartionbon['prestataire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("TYPE DE PEC")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".convertirc($generartionbon['typeBon']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("No DE DEPART")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".format_N($generartionbon['noDepart']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("No DE FIN")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".format_N($generartionbon['noFin']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('QUANTITE')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".format_N($generartionbon['nbLigne']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('LIVRES PAR')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".$generartionbon['utilisateur'],0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('RECEPTIONNAIRE')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".$generartionbon['receptionnaire'],0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('DATE SYSTEME')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".dateheureFr($generartionbon['dateSysteme']),0,1,'L'); - - // dateheureFr( - - $pdf->Ln(10); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $fichier="Temp/TMP_bon_livraison_pec"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - echo '

'._("TELECHARGER").'


'; - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaximprimerlivraisonbonsdiffere.php b/radiantproduction/Controleur/ControleurAjaximprimerlivraisonbonsdiffere.php deleted file mode 100644 index c8d0133..0000000 --- a/radiantproduction/Controleur/ControleurAjaximprimerlivraisonbonsdiffere.php +++ /dev/null @@ -1,107 +0,0 @@ -generartionbon = new Generartionbon(); - } - - public function index() - { - $idgenerartionbon = $this->requete->getParametreFormulaire("idgenerartionbon"); - - $generartionbon = $this->generartionbon->unegenerationbon($idgenerartionbon) ; - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $lg=60; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(30); - - $pdf->Cell(0,10,convertirc($_SESSION['nomSociete']),1,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 15); - - $pdf->SetFontSize(12); - - $pdf->Cell(0,10,convertirc(_("BON DE SORTIE DE PRISES EN CHARGE")." No ".$generartionbon['idGenerationbon']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("Prestataire")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,convertirc(': '.$generartionbon['prestataire']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("TYPE DE PEC")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".convertirc($generartionbon['typeBon']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("No DE DEPART")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".format_N($generartionbon['noDepart']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_("No DE FIN")),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".format_N($generartionbon['noFin']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('QUANTITE')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".format_N($generartionbon['nbLigne']),0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('LIVRES PAR')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".$generartionbon['utilisateur'],0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('RECEPTIONNAIRE')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".$generartionbon['receptionnaire'],0,1,'L'); - - $pdf->SetFont('Arial','B', 12); - $pdf->Cell($lg,10,convertirc(_('DATE SYSTEME')),0,0,'L',false); - $pdf->SetFont('Arial','I',12); - $pdf->Cell(0,10,": ".dateheureFr($generartionbon['dateSysteme']),0,1,'L'); - - // dateheureFr( - - $pdf->Ln(10); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $fichier="Temp/TMP_bon_livraison_pec"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - // echo '

'._("TELECHARGER").'


'; - - $t_html ='
'; - $t_html .=' ' . _("Télécharger") . ' '; - $t_html .='
etrecu = new TbRecucaisse(); - $this->societeuser = new Societeuser(); - } - - public function index() - { - $idEncaissement = $this->requete->getParametreFormulaire("idEncaissement"); - - $etrecu = $this->etrecu->recuAimprimer($idEncaissement); - $etdetailrecus = $this->etrecu->detailsrecuAimprimer($idEncaissement); - $societeuser = $this->societeuser->getSocieteuser($_SESSION['codeSociete']); - - $pdf = new Pdfentete(); - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','',15); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->Sety(50); - $pdf->SetX(60); - $pdf->Cell(100,12,convertirc($societeuser['nomSociete']),1,1,'C',false); - - $pdf->SetFontSize(7); - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'R',false); - $pdf->SetFontSize(8); - $pdf->Cell(0,5,convertirc('Tel : '.$societeuser['telephoneSociete']),0,1,'C',false); - $pdf->Cell(0,5,convertirc(_("Adresse Post") . " : " . $societeuser['adressePostSociete']),0,1,'C',false); - $pdf->Cell(0,5,convertirc(_("Registre Commerce") . " : " . $societeuser['registreCommerce']),0,1,'C',false); - - $pdf->SetFontSize(15); - $pdf->Ln(5); - $pdf->Cell(0,12,convertirc(_("RECU ENCAISSEMENT") . " No : " . $etrecu['numeroEncaissement']),1,1,'C',false); - - $pdf->SetFontSize(8); - - $pdf->Cell(40,6,convertirc(_('Reçu de')),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.$etrecu['nomTireur']),0,1,'L'); - - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc(_('La somme de')),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.format_N($etrecu['montant'])." ".$_SESSION['devise_C']),0,1,'L'); - - $pdf->SetFont('Arial','',8); - $pdf->SetFont('Arial','I',8); - $pdf->Cell(0,6, convetirEnLettre($etrecu['montant'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc(_('Mode Paiement')),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - if (est_anglophone()) - { - $pdf->Cell(100,6,convertirc(': '.$etrecu['modepaiementEng']),0,1,'L'); - } - else - { - $pdf->Cell(100,6,convertirc(': '.$etrecu['modepaiement']),0,1,'L'); - } - - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc(_('Références paiement')),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.$etrecu['referencePaiement']),0,1,'L'); - - $pdf->SetFont('Arial','BU',8); - - $pdf->Cell(0,6,convertirc(_("Polices payées")." : "),0,1,'L',false); - - $pdf->SetFont('Arial','',8); - - $hl=5; - - $pdf->SetFont('Arial','B',8); - $pdf->Cell(85,$hl,convertirc(_('Client')),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_('No Police')),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc(_('Quit')),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc(_('Effet')),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc(_('Echéance')),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("Montant")),"1",1,'C'); - - $pdf->SetFont('Arial','I',8); - foreach ($etdetailrecus as $detailencaissement) - { - $pdf->Cell(85,$hl,convertirc($detailencaissement['nomClient']),"1",0,'L'); - $pdf->Cell(25,$hl,convertirc($detailencaissement['numeroPolice']),"1",0,'C'); - $pdf->Cell(15,$hl,convertirc($detailencaissement['numeroQuittance']),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc(dateFr($detailencaissement['dateEffet'])),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc(dateFr($detailencaissement['dateEcheance'])),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($detailencaissement['primeTtc']),"1",1,'C'); - } - $pdf->SetFont('Arial','',8); - - $pdf->SetFontSize(10); - - $pdf->SetY(-60); - - $pdf->Cell(0,10,convertirc(_('Fait à').' '.$_SESSION['villeSociete'].', le ').dateFr($etrecu['dateCre']),0,1,'C',false); - $pdf->SetFont('','U'); - $pdf->Cell(0,10,convertirc(_('La caisse').' : '.$etrecu['caissiere']),0,0,'C',false); - - - - $fichier="Temp/TMP_recu_caisse"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
typeecheancier = new Typeecheancier(); - } - - public function index() { - $codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier"); - - $nbEcheance_info = $this->typeecheancier->getNbEcheancier($codeTypeEcheancier); - - $this->genererVueAjax(array('nbEcheance_info' => $nbEcheance_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxinitstat.php b/radiantproduction/Controleur/ControleurAjaxinitstat.php deleted file mode 100644 index 2deebc2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxinitstat.php +++ /dev/null @@ -1,28 +0,0 @@ -statistique = new Statistique(); - } - - public function index() - { - } - - public function initstat() - { - $_SESSION['dateAnalyseFr_C'] = $this->requete->getParametreFormulaire("dateAnalyse"); - - $_SESSION['dateAnalyse'] = $this->requete->getParametreDate("dateAnalyse"); - - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $this->statistique->initstat($dateAnalyse); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxldemandesteglement.php b/radiantproduction/Controleur/ControleurAjaxldemandesteglement.php deleted file mode 100644 index 2a6ff0d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxldemandesteglement.php +++ /dev/null @@ -1,26 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $decomptes = $this->reglement->getdemandesreglement(); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxldemandesteglementcpt.php b/radiantproduction/Controleur/ControleurAjaxldemandesteglementcpt.php deleted file mode 100644 index 555fb8d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxldemandesteglementcpt.php +++ /dev/null @@ -1,54 +0,0 @@ -reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $codeEtatDecompte = $this->requete->getParametreFormulaire("codeEtatDecompte"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $decomptes = $this->reglement->getdemandesreglementfiltre($codePrestataire, $codePerdiode1, $codePerdiode2); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } - - public function majmotifnonpaiement() - { - $idReglement = $this->requete->getParametreFormulaire("idReglement"); - $motifNonPaiement = $this->requete->getParametreFormulaire("motifNonPaiement"); - - $this->reglement->majmotifnonpaiement($idReglement, $motifNonPaiement); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxldemandesteglementexport.php b/radiantproduction/Controleur/ControleurAjaxldemandesteglementexport.php deleted file mode 100644 index f8c5c54..0000000 --- a/radiantproduction/Controleur/ControleurAjaxldemandesteglementexport.php +++ /dev/null @@ -1,59 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - - $decomptes = $this->reglement->getdemandesreglementexport(); - - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('No Demande'), - _('Prestataire'), - _('Montant'), - _('Date Demande'), - _('Type Decpte'), - _('Initiateur') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DEMANDES DE REGLEMENT')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_DEMANDES_REGLEMENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $codeEtatDecompte = $this->requete->getParametreFormulaire("codeEtatDecompte"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $decomptes = $this->reglement->getdemandesreglementfiltre($codePrestataire, $codePerdiode1, $codePerdiode2); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxldemandesteglementfiltreexport.php b/radiantproduction/Controleur/ControleurAjaxldemandesteglementfiltreexport.php deleted file mode 100644 index ed0255a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxldemandesteglementfiltreexport.php +++ /dev/null @@ -1,81 +0,0 @@ -reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $codeEtatDecompte = $this->requete->getParametreFormulaire("codeEtatDecompte"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - // $decomptes = $this->reglement->getdemandesreglementexport(); - $decomptes = $this->reglement->getdemandesreglementfiltreexport($codePrestataire, $codePerdiode1, $codePerdiode2); - - // Excel - - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('No Demande'), - _('Prestataire'), - _('Montant'), - _('Date Demande'), - _('Type Decpte'), - _('Initiateur') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DEMANDES DE REGLEMENT')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_DEMANDES_REGLEMENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
adherent = new Adherent(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $this->adherent->initLimiteAdditionnelle($idAdherent); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlimiteadditionnelle.php b/radiantproduction/Controleur/ControleurAjaxlimiteadditionnelle.php deleted file mode 100644 index c1b7782..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlimiteadditionnelle.php +++ /dev/null @@ -1,32 +0,0 @@ -police = new Police(); - $this->college_temp = new College_temp(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $dateAvenant = $this->requete->getParametreDate("dateAvenant"); - $motifavenant = $this->requete->getParametreFormulaire("motifavenant"); - - $this->police->initLimiteAdditionnelle($idPolice, $dateAvenant, $motifavenant); - } - - public function selectionner() - { - $idCollegeTemp = $this->requete->getParametre("idCollegeTemp"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->college_temp->selectioncollegetemp($idCollegeTemp, $choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteadherent.php b/radiantproduction/Controleur/ControleurAjaxlisteadherent.php deleted file mode 100644 index bd23970..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteadherent.php +++ /dev/null @@ -1,21 +0,0 @@ -adherent = new Adherent(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $adherents = $this->adherent->getlisteassuresexo($idPolice); - - $this->genererVueAjax(array('adherents' => $adherents)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteadherentfamiliale.php b/radiantproduction/Controleur/ControleurAjaxlisteadherentfamiliale.php deleted file mode 100644 index c6bf497..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteadherentfamiliale.php +++ /dev/null @@ -1,95 +0,0 @@ -adherent = new Adherent(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $idApporteur = $_SESSION['idApporteur_C']; - $codeApporteur = $_SESSION['codeApporteur_C']; - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - - $adherents = $this->adherent->getlisteassuresfamiliale($idPolice, $codeApporteur, $debut, $fin); - - $this->genererVueAjax(array('adherents' => $adherents)); - } - - - public function exporter() - { - $idPolice = $_SESSION['idPolice_C']; - $idApporteur = $_SESSION['idApporteur_C']; - $codeApporteur = $_SESSION['codeApporteur_C']; - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $adherents = $this->adherent->getlisteassuresfamilialeexport($idPolice, $codeApporteur, $debut, $fin); - - // Excel - $headerXLS = array - ( - _('Nom'), - _('Prénoms'), - _('Numéro'), - _('Sexe'), - _('Entrée'), - _('Sortie'), - _('P Base'), - _('Echéancier'), - _('Surcgarge'), - _('Prime Totale'), - _('Nb Ech'), - _('Prime Ech'), - _('Etape'), - _('Comm') - ); - - $dataXLS = array(); - - foreach ($adherents as $adherent) - { - $dataXLS[]=$adherent; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FAM PAR COMMERCIAL')); - - $libelleApporteur = $_SESSION['libelleApporteur_C']; - - $feuille->setCellValue('A1', convertirc(_("Liste des familles de l'agent commercial") . " => " . $libelleApporteur . " ( " . $codeApporteur . " )")); - $feuille->mergeCells('A1:N1'); - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A2:N2'); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FAMILLE_COMMERCIAL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
carte = new Carteassure(); - $this->beneficiaire = new Beneficiaire(); - } - - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice", "numerique"); - $idCollege = $this->requete->getParametreFormulaire("idCollege", "numerique"); - - $_SESSION['idPoliceCarte'] = $idPolice; - - // Initialisation de la liste des assurés à éditer - $this->carte->initListeEdition($idPolice, $idCollege); - - // Récupération des assurés - $this->executerAction("afficherliste"); - } - - public function reinitedition() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice", "numerique"); - - // Reinitialisation de la liste des assurés à éditer - $this->carte->reinitedition($idPolice); - } - - public function toutchoisir() - { - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->carte->majtouteliste($choix); - - $this->executerAction("afficherliste"); - } - - public function selectionunassure() - { - $id = $this->requete->getParametreFormulaire("id"); - - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->carte->selectionnerUnAssure($id, $choix); - } - - public function confirmedition() - { - $idPolice = $this->requete->getParametreFormulaire("idPolice", "numerique"); - - $this->carte->confirmedition($idPolice); - } - - public function afficherliste() - { - $idPolice = $_SESSION['idPoliceCarte']; - - $editions = $this->carte->getListeEdition($idPolice); - $listeEdition = $this->carte->getEditionsChoisies(); - $nbreChoisi = $this->carte->getNbreEditionsChoisies(); - $choixToute = $this->carte->getChoixToute(); - - $this->genererVueAjax(array('editions' => $editions, 'listeEdition' => $listeEdition, - 'nbreChoisi' => $nbreChoisi, 'choixToute' => $choixToute)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteclients.php b/radiantproduction/Controleur/ControleurAjaxlisteclients.php deleted file mode 100644 index 36f5ca2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteclients.php +++ /dev/null @@ -1,41 +0,0 @@ -client = new Client(); - } - - public function index($numeroclientsearch="", $nomsearch="", $prenomsearch="", $telsearch="") - { - if ($this->requete->existeParametre("valid")) - { - - $numeroclientsearch = $this->requete->getParametreFormulaire("numeroclientsearch"); - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $prenomsearch = $this->requete->getParametreFormulaire("prenomsearch"); - $telsearch = $this->requete->getParametreFormulaire("telsearch"); - $numeroPolicesearch = $this->requete->getParametreFormulaire("numeroPolicesearch"); - - if ($numeroclientsearch>"0") - { - $clients_pop = $this->client->getClientsearch($numeroclientsearch); - } - else - { - $clients_pop = $this->client->getClients($nomsearch, $prenomsearch, $telsearch); - } - } - else - { - $clients_pop = $this->client->getClientVide(); - } - - $this->genererVueAjax(array('clients_pop' => $clients_pop, 'numeroclientsearch' => $numeroclientsearch, - 'nomsearch' => $nomsearch, 'prenomsearch' => $prenomsearch, 'telsearch' => $telsearch)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteclientsenc.php b/radiantproduction/Controleur/ControleurAjaxlisteclientsenc.php deleted file mode 100644 index cd74407..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteclientsenc.php +++ /dev/null @@ -1,38 +0,0 @@ -client = new Client(); - } - - public function index($numeroclientsearch="", $nomsearch="", $prenomsearch="", $telsearch="") { - if ($this->requete->existeParametre("valid")) - { - $numeroclientsearch = $this->requete->getParametreFormulaire("numeroclientsearch"); - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $prenomsearch = $this->requete->getParametreFormulaire("prenomsearch"); - $telsearch = $this->requete->getParametreFormulaire("telsearch"); - - if ($numeroclientsearch>"0") - { - $clients_pop = $this->client->getClientsearch($numeroclientsearch); - } - else - { - $clients_pop = $this->client->getClients($nomsearch, $prenomsearch, $telsearch); - } - } - else - { - $clients_pop = $this->client->getClientVide(); - } - - $this->genererVueAjax(array('clients_pop' => $clients_pop, 'numeroclientsearch' => $numeroclientsearch, - 'nomsearch' => $nomsearch, 'prenomsearch' => $prenomsearch, 'telsearch' => $telsearch)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteclientsenfants.php b/radiantproduction/Controleur/ControleurAjaxlisteclientsenfants.php deleted file mode 100644 index 878c7ab..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteclientsenfants.php +++ /dev/null @@ -1,23 +0,0 @@ -client = new Client(); - } - - public function index() - { - $idClient = $this->requete->getParametreFormulaire("idClient", "numerique"); - $numeroclientsearch = $this->requete->getParametreFormulaire("numeroclientsearch", "numerique"); - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - - $clients_pop = $this->client->getclientsEnfantslike($numeroclientsearch, $nomsearch, $idClient); - - $this->genererVueAjax(array('clients_pop' => $clients_pop)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteclientsparents.php b/radiantproduction/Controleur/ControleurAjaxlisteclientsparents.php deleted file mode 100644 index 5f3538f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteclientsparents.php +++ /dev/null @@ -1,23 +0,0 @@ -client = new Client(); - } - - public function index() - { - $idClient = $this->requete->getParametreFormulaire("idClient", "numerique"); - $numeroclientsearch = $this->requete->getParametreFormulaire("numeroclientsearch", "numerique"); - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - - $clients_pop = $this->client->getclientslike($numeroclientsearch, $nomsearch, $idClient); - - $this->genererVueAjax(array('clients_pop' => $clients_pop)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistecolleged.php b/radiantproduction/Controleur/ControleurAjaxlistecolleged.php deleted file mode 100644 index e8c3041..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistecolleged.php +++ /dev/null @@ -1,39 +0,0 @@ -police = new Police_d(); - $this->college = new Collegepolice_d(); - } - - public function index() { - $idPolice = $_SESSION['idPolice_d_Ajax']; - - $police = $this->police->getPoliceId($idPolice); - - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - $_SESSION['numeroOptionTarif'] = $numeroOptionTarif; - - $colleges = $this->college->getCollegesPolice($idPolice, $numeroOptionTarif); - - $totalcollege = $this->college->getTotaldcollege($idPolice, $numeroOptionTarif); - - $this->genererVueAjax(array('police' => $police, 'colleges' => $colleges, 'totalcollege' => $totalcollege)); - } - - public function supprimeroption() - { - $idPolice = $_SESSION['idPolice_d_Ajax']; - - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - - $this->college->supprimeroption($idPolice, $numeroOptionTarif); - // $this->rediriger("Fichedevis"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistecommercial.php b/radiantproduction/Controleur/ControleurAjaxlistecommercial.php deleted file mode 100644 index 2bb0bb1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistecommercial.php +++ /dev/null @@ -1,56 +0,0 @@ -apporteur = new Apporteur(); - } - - public function index($nomsearch="") - { - if ($this->requete->existeParametre("valid")) - { - $nomsearch = $this->requete->getParametreFormulaire("nomsearch"); - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - - $_SESSION['codeApporteur_C'] = $codeApporteur; - - $commerciaux_pop = $this->apporteur->getapporteurslike($codeApporteur, $nomsearch); - } - else - { - $commerciaux_pop = $this->apporteur->getapporteursvide(); - } - $this->genererVueAjax(array('commerciaux_pop' => $commerciaux_pop, 'nomsearch' => $nomsearch, 'codeApporteur' => $codeApporteur)); - } - - public function reinitialiser() - { - $_SESSION['idApporteur_C'] = "0"; - $_SESSION['codeTypeApporteur_C'] = ""; - $_SESSION['codeApporteur_C'] = ""; - $_SESSION['libelleApporteur_C'] = ""; - } - - public function mettreensession() - { - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $commercial_courant = $this->apporteur->getContexteCommercialCode($codeApporteur); - - // echo "codeApporteur => $codeApporteur"; - // var_dump($commercial_courant); - echo "idApporteur_C => ".$_SESSION['idApporteur_C']; - echo "
"; - echo "codeTypeApporteur_C => ".$_SESSION['codeTypeApporteur_C']; - echo "
"; - echo "codeApporteur_C => ".$_SESSION['codeApporteur_C']; - echo "
"; - echo "libelleApporteur_C => ".$_SESSION['libelleApporteur_C']; - echo "
"; - exit(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistedecomptes.php b/radiantproduction/Controleur/ControleurAjaxlistedecomptes.php deleted file mode 100644 index b316be8..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistedecomptes.php +++ /dev/null @@ -1,44 +0,0 @@ -reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $codeEtatDecompte = $this->requete->getParametreFormulaire("codeEtatDecompte"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $decomptes = $this->reglement->getdecomptesperiode($codePrestataire, $codePerdiode1, $codePerdiode2, $codeEtatDecompte); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistedecomptesexport.php b/radiantproduction/Controleur/ControleurAjaxlistedecomptesexport.php deleted file mode 100644 index b80cf0e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistedecomptesexport.php +++ /dev/null @@ -1,80 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $codeEtatDecompte = $this->requete->getParametreFormulaire("codeEtatDecompte"); - - $decomptes = $this->reglement->getdecomptesperiodeexport($codePrestataire, $codePerdiode1, $codePerdiode2, $codeEtatDecompte); - - // Excel - - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('No Décpte'), - _('Prestataire'), - _('Montant'), - "Situation", - _('Règlement'), - _('Mode Paiement'), - _('Références paiement'), - _('Date Cpt'), - _('Réglé par'), - _('Banque'), - _('Payé') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('HISTORIQUE DECOMPTES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_HISTORIQUE_DECOMPTES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
feuillemaladie = new Feuillemaladie(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $feuillemaladies = $this->feuillemaladie->getdossiers($codePrestataire, $d1, $d2) ; - - $this->genererVueAjax(array('feuillemaladies' => $feuillemaladies)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistefactures.php b/radiantproduction/Controleur/ControleurAjaxlistefactures.php deleted file mode 100644 index a3635f2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistefactures.php +++ /dev/null @@ -1,28 +0,0 @@ -facture = new Facture(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $d1 = $this->requete->getParametreDate("d1"); - $d2 = $this->requete->getParametreDate("d2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $factures = $this->facture->get_liste_factures($codePrestataire, $d1, $d2) ; - - $this->genererVueAjax(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistefamilleactetarif.php b/radiantproduction/Controleur/ControleurAjaxlistefamilleactetarif.php deleted file mode 100644 index 3dbf904..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistefamilleactetarif.php +++ /dev/null @@ -1,107 +0,0 @@ -familleacte = new Familleacte(); - } - - public function index() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $familleactes = $this->familleacte->getListeFamilleActeTarif($codeTarifActe); - - $this->genererVueAjax(array('familleactes' => $familleactes)); - } - - public function enregistrermodifcaracteristiquesacte() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - - $exclu = $this->requete->getParametreFormulaire("exclu"); - $actif = $this->requete->getParametreFormulaire("actif"); - $alerte = $this->requete->getParametreFormulaire("alerte"); - $delaiCarenceActe = $this->requete->getParametreFormulaire("delaiCarenceActe", "numerique"); - - /* - echo "idActe => $idActe
"; - echo "codeActe => $codeActe
"; - echo "libelle => $libelle
"; - exit(); - */ - - $this->familleacte->enregistrermodifcaracteristiquesacte($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe); - - // $this->genererVueAjax(); - } - - - public function creerfamillectes() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - -/* -libelle -libelleEng -codeGarantie -codeTypePrestation -codeTarifActe -hospitalisation -*/ - - $this->familleacte->creerfamillectes($libelle, $libelleEng, $codeGarantie, $codeTypePrestation, $codeTarifActe, $hospitalisation); - } - - - public function supprimer() - { - $idFamilleacte = $this->requete->getParametreFormulaire("idFamilleacte"); - - $this->familleacte->supprimer($idFamilleacte); - } - - public function enregistrermodiffamilleactes() - { - $idFamilleacte = $this->requete->getParametreFormulaire("idFamilleacte"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $hospitalisation = $this->requete->getParametreFormulaire("hospitalisation"); - - // echo "libelleEng => $libelleEng"; - // exit(); - - $this->familleacte->enregistrermodiffamilleactes($idFamilleacte, $libelle, $libelleEng, $codeGarantie, $codeTypePrestation, $codeTarifActe, $hospitalisation); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistegcassureur.php b/radiantproduction/Controleur/ControleurAjaxlistegcassureur.php deleted file mode 100644 index f0814fc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistegcassureur.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/radiantproduction/Controleur/ControleurAjaxlisteged.php b/radiantproduction/Controleur/ControleurAjaxlisteged.php deleted file mode 100644 index 77cf658..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlistegedadherent.php b/radiantproduction/Controleur/ControleurAjaxlistegedadherent.php deleted file mode 100644 index 32e4faa..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlistegedbeneficiaireprest.php b/radiantproduction/Controleur/ControleurAjaxlistegedbeneficiaireprest.php deleted file mode 100644 index 586f8ad..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlistegedbeneficiaireprod.php b/radiantproduction/Controleur/ControleurAjaxlistegedbeneficiaireprod.php deleted file mode 100644 index aeeb72c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistegedbeneficiaireprod.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->getgedbeneficiaireprod($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistegedfeuillemaladie.php b/radiantproduction/Controleur/ControleurAjaxlistegedfeuillemaladie.php deleted file mode 100644 index 729fef6..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlistegedpharmacie.php b/radiantproduction/Controleur/ControleurAjaxlistegedpharmacie.php deleted file mode 100644 index 786965b..0000000 --- a/radiantproduction/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("Pharmaciencons"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistegedpolice.php b/radiantproduction/Controleur/ControleurAjaxlistegedpolice.php deleted file mode 100644 index aac4e21..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistegedpolice.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->getgedpolice($d1, $d2, $nomOrigine); - - $this->genererVueAjax(array('geds' => $geds)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistemedecins.php b/radiantproduction/Controleur/ControleurAjaxlistemedecins.php deleted file mode 100644 index 9042512..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlistemedecinsparametrage.php b/radiantproduction/Controleur/ControleurAjaxlistemedecinsparametrage.php deleted file mode 100644 index 503f2ed..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistemedecinsparametrage.php +++ /dev/null @@ -1,24 +0,0 @@ -medecin = new Medecin(); - } - - public function index() - { - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - - $medecins = $this->medecin->getmedecinparametrage($codeSpecialite, $nom, $prenoms, $noOrdreMedecin) ; - - $this->genererVueAjax(array('medecins' => $medecins)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistemessagerie.php b/radiantproduction/Controleur/ControleurAjaxlistemessagerie.php deleted file mode 100644 index 4e35642..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistemessagerie.php +++ /dev/null @@ -1,42 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $messageLu = $this->requete->getParametreFormulaire("messageLu"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $_SESSION['d1_C'] = $date1; - $_SESSION['d2_C'] = $date2; - - $messages = $this->messagerie->getmessages($date1, $date2, $messageLu, $textMessage, $codePrestataire); - - $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/radiantproduction/Controleur/ControleurAjaxlistemessageriecommun.php b/radiantproduction/Controleur/ControleurAjaxlistemessageriecommun.php deleted file mode 100644 index fd16bfa..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistemessageriecommun.php +++ /dev/null @@ -1,27 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $_SESSION['d1_C'] = $date1; - $_SESSION['d2_C'] = $date2; - - $messages_commun = $this->messagerie->getmessagescommunall($date1, $date2, $textMessage); - - $this->genererVueAjax(array('messages_commun' => $messages_commun)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistemessagerieforme.php b/radiantproduction/Controleur/ControleurAjaxlistemessagerieforme.php deleted file mode 100644 index aed7148..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistemessagerieforme.php +++ /dev/null @@ -1,30 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $date1 = $this->requete->getParametreDate("date1"); - $date2 = $this->requete->getParametreDate("date2"); - - $messageLu = $this->requete->getParametreFormulaire("messageLu"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $_SESSION['d1_C'] = $date1; - $_SESSION['d2_C'] = $date2; - - $messages = $this->messagerie->getmessages($date1, $date2, $messageLu, $textMessage, $codePrestataire); - - $this->genererVueAjax(array('messages' => $messages)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteprestatairemessagerie.php b/radiantproduction/Controleur/ControleurAjaxlisteprestatairemessagerie.php deleted file mode 100644 index 64c0a39..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteprestatairemessagerie.php +++ /dev/null @@ -1,51 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - - $prestataire_selections = $this->messagerie->getprestatairesmessagerieselectionnes($codeTypePrestataire); - - $prestataire_non_selections = $this->messagerie->getprestatairesmessagerienonselectionnes($codeTypePrestataire); - - $this->genererVueAjax(array('prestataire_selections' => $prestataire_selections, 'prestataire_non_selections' => $prestataire_non_selections)); - } - - public function ajouterprestaire() - { - $idPrestataire = $this->requete->getParametreFormulaire("idPrestataire"); - - $this->messagerie->ajouterprestaire($idPrestataire); - } - - public function retirerprestaire() - { - $idPrestataire = $this->requete->getParametreFormulaire("idPrestataire"); - - $this->messagerie->retirerprestaire($idPrestataire); - } - - public function ajouterprestairetous() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - - $this->messagerie->ajouterprestairetous($codeTypePrestataire); - } - - public function retirerprestairetous() - { - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - - $this->messagerie->retirerprestairetous($codeTypePrestataire); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteprestataireparametrage.php b/radiantproduction/Controleur/ControleurAjaxlisteprestataireparametrage.php deleted file mode 100644 index 1b2d4f8..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisteprestataireparametrage.php +++ /dev/null @@ -1,28 +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)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisteprestataires.php b/radiantproduction/Controleur/ControleurAjaxlisteprestataires.php deleted file mode 100644 index 9fafda0..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlisteprestatairesb.php b/radiantproduction/Controleur/ControleurAjaxlisteprestatairesb.php deleted file mode 100644 index 77739a6..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxlisterecherchecartebeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxlisterecherchecartebeneficiaire.php deleted file mode 100644 index a027c2c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisterecherchecartebeneficiaire.php +++ /dev/null @@ -1,45 +0,0 @@ -carte = new Beneficiairecarte(); - } - - public function index() - { - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - - $cartes = $this->carte->getcartesbeneficiaire($numeroBeneficiaire); - - $this->genererVueAjax(array('cartes' => $cartes)); - } - - public function creercarte() - { - $dateCarte = $this->requete->getParametreDate("dateCarte"); - $montantCarte = $this->requete->getParametreFormulaire("montantCarte", "numerique"); - - $this->carte->creercarte($dateCarte, $montantCarte); - } - - public function supprimercarte() - { - $idBeneficiaireCarte = $this->requete->getParametreFormulaire("idBeneficiaireCarte"); - - $this->carte->supprimercarte($idBeneficiaireCarte) ; - } - - public function modifiercarte() - { - $idBeneficiaireCarte= $this->requete->getParametreFormulaire("idBeneficiaireCarte"); - $dateCarte = $this->requete->getParametreDate("dateCarte"); - $montantCarte = $this->requete->getParametreFormulaire("montantCarte","numerique"); - - $this->carte->modifiercarte($idBeneficiaireCarte, $dateCarte, $montantCarte); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlisterecherchecartegc.php b/radiantproduction/Controleur/ControleurAjaxlisterecherchecartegc.php deleted file mode 100644 index 7b03d3c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlisterecherchecartegc.php +++ /dev/null @@ -1,47 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - $beneficiaires = $this->facture->getbeneficiairecartegc($numeroBeneficiaire) ; - - $cartes = $this->facture->getcartesbeneficiairegc($numeroBeneficiaire); - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires, 'cartes' => $cartes)); - } - - public function creercarte() - { - $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $dateCarte = $this->requete->getParametreDate("dateCarte"); - - $this->facture->creercartegc($idBeneficiaire, $dateCarte); - } - - public function supprimercarte() - { - $idGcCarte = $this->requete->getParametreFormulaire("idGcCarte"); - - $this->facture->supprimercarte($idGcCarte) ; - } - - public function modifiercarte() - { - $idGcCarte = $this->requete->getParametreFormulaire("idGcCarte"); - $dateCarte = $this->requete->getParametreDate("dateCarte"); - $montantCarte = $this->requete->getParametreFormulaire("montantCarte","numerique"); - - $this->facture->modifiercarte($idGcCarte, $dateCarte, $montantCarte); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlistereglementsgc.php b/radiantproduction/Controleur/ControleurAjaxlistereglementsgc.php deleted file mode 100644 index 41e3e28..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlistereglementsgc.php +++ /dev/null @@ -1,25 +0,0 @@ -reglement = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutGcFr'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finGcFr'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $gcs = $this->reglement->getdecomptesgc($codeGcAssureur, $dateFacture1, $dateFacture2); - - $this->genererVueAjax(array('gcs' => $gcs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlocaliseradherent.php b/radiantproduction/Controleur/ControleurAjaxlocaliseradherent.php deleted file mode 100644 index 5068e45..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlocaliseradherent.php +++ /dev/null @@ -1,40 +0,0 @@ -adherent = new Adherent(); -} - - public function index() - { - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - - $adherents_in = $this->adherent->getadherentlocalitein($codeLocalite); - - $adherents_out = $this->adherent->getadherentlocaliteout($codeLocalite); - - $this->genererVueAjax(array('adherents_in' => $adherents_in, 'adherents_out' => $adherents_out)); - } - - public function ajouteradherentlocalitetous() - { - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - - $this->adherent->ajouteradherentlocalitetous($codeLocalite); - } - - public function ajouterunadherentlocalite() - { - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - $idAherent = $this->requete->getParametreFormulaire("idAherent"); - - $this->adherent->ajouterunadherentlocalite($idAherent, $codeLocalite); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlocalite.php b/radiantproduction/Controleur/ControleurAjaxlocalite.php deleted file mode 100644 index 0006007..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlocalite.php +++ /dev/null @@ -1,43 +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)); - } - - public function filtreadherentlocalite() - { - $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/radiantproduction/Controleur/ControleurAjaxlogconnexion.php b/radiantproduction/Controleur/ControleurAjaxlogconnexion.php deleted file mode 100644 index 53bc927..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlogconnexion.php +++ /dev/null @@ -1,104 +0,0 @@ -logconnexion = new Logconnexion(); - } - - public function index() - { - $login = $this->requete->getParametreFormulaire("login"); - $ipConnexion = $this->requete->getParametreFormulaire("ipConnexion"); - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $logconnexions = $this->logconnexion->getlogconnexion($login, $ipConnexion, $debut, $fin); - - $cumullogconnexions = $this->logconnexion->getlogconnexioncumul($login, $ipConnexion, $debut, $fin); - - $this->genererVueAjax(array('logconnexions' => $logconnexions, 'cumullogconnexions' => $cumullogconnexions)); - } - - public function exporterlogconnexion() - { - $login = $this->requete->getParametreFormulaire("login"); - $ipConnexion = $this->requete->getParametreFormulaire("ipConnexion"); - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $logconnexions = $this->logconnexion->getlogconnexionexport($login, $ipConnexion, $debut, $fin); - - // Excel - $headerXLS = array - ( - _('Login'), - _('Utilisateur'), - _('Entité'), - _('Date'), - _('IP'), - _('Succès'), - _('Application') - ); - - $dataXLS = array(); - - foreach ($logconnexions as $logconnexion) - { - $dataXLS[]=$logconnexion; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LOGS CONNEXION')); - - $feuille->setCellValue('A1', convertirc(_("LOGS CONNEXION"))); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A2', convertirc(_("Login")." : " . $login)); - $feuille->mergeCells('A2:E2'); - $feuille->setCellValue('A3', convertirc(_("IP")." : " . $ipConnexion)); - $feuille->mergeCells('A3:E3'); - - $feuille->setCellValue('A4', convertirc(_("PERIODE")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A4:E4'); - - $feuille->fromArray($headerXLS, NULL, 'A6', true); - $feuille->fromArray($dataXLS, NULL, 'A7', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LOGS_CONNEXION'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire('ipConnexion'); - - //connection au serveur de ip-api.com et recuperation des données - $query = unserialize(file_get_contents('http://ip-api.com/php/'.$ip)); - - if($query && $query['status'] == 'success') - { - echo $query['lat']."/".$query['lon']; - }else{ - echo 'false'; - } - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxlogreconnaissancefaciale.php b/radiantproduction/Controleur/ControleurAjaxlogreconnaissancefaciale.php deleted file mode 100644 index 27569c9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxlogreconnaissancefaciale.php +++ /dev/null @@ -1,83 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $resultats = $this->beneficiaire->getlogreconnaissancefaciale($debut, $fin); - - $this->genererVueAjax(array('resultats' => $resultats)); - } - - public function exporterlogreconnaissancefaciale() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $resultats = $this->beneficiaire->getlogreconnaissancefacialeexport($debut, $fin); - - // Excel - - $headerXLS = array - ( - _('Début'), - _('Fin'), - _('Duréee'), - _('User'), - _('Action'), - _('Prestataire'), - _('OK'), - _('Message'), - _('Numéro'), - _('Souscripteur'), - _('Adhérent'), - _('Bénéficiaire') - ); - - $dataXLS = array(); - - foreach ($resultats as $resultat) - { - $dataXLS[]=$resultat; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LOGS REC FACIALE')); - - $feuille->setCellValue('A1', convertirc(_("LOGS REC FACIALE"))); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A2:E2'); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LOGS_FACE'."_".uniqid().".xlsx"; - // $fichier = 'Temp/TMP_LOGS_CONNEXION'."_".uniqid().".xlsx"; - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $resultats = $this->beneficiaire->getlogreregisterface($debut, $fin); - - $this->genererVueAjax(array('resultats' => $resultats)); - } - - public function getlogreregisterfaceexport() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $resultats = $this->beneficiaire->getlogreregisterfaceexport($debut, $fin); - - // Excel - - $headerXLS = array - ( - _('Date'), - _('User'), - _('Numéro'), - _('Prestataire'), - _('Souscripteur'), - _('Adhérent'), - _('Bénéficiaire') - ); - - $dataXLS = array(); - - foreach ($resultats as $resultat) - { - $dataXLS[]=$resultat; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LOGS REGISTER FACE')); - - $feuille->setCellValue('A1', convertirc(_("LOGS REGISTER FACE"))); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A2:E2'); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LOGS_FACE'."_".uniqid().".xlsx"; - // $fichier = 'Temp/TMP_LOGS_CONNEXION'."_".uniqid().".xlsx"; - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire = new Beneficiaire(); - } - - public function index() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $resultats = $this->beneficiaire->getlogreremoveface($debut, $fin); - - $this->genererVueAjax(array('resultats' => $resultats)); - } - - public function getlogreremovefaceexport() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - - $resultats = $this->beneficiaire->getlogreremovefaceexport($debut, $fin); - - // Excel - - $headerXLS = array - ( - _('Date'), - _('User'), - _('Numéro'), - _('Prestataire'), - _('Souscripteur'), - _('Adhérent'), - _('Bénéficiaire'), - _('Motif') - ); - - $dataXLS = array(); - - foreach ($resultats as $resultat) - { - $dataXLS[]=$resultat; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LOGS REMOVE FACE')); - - $feuille->setCellValue('A1', convertirc(_("LOGS REMOVE FACE"))); - $feuille->mergeCells('A1:E1'); - - $feuille->setCellValue('A2', convertirc(_("PERIODE")." : " . dateLang($debut) . " <==> " . dateLang($fin))); - $feuille->mergeCells('A2:E2'); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_LOGS_FACE'."_".uniqid().".xlsx"; - // $fichier = 'Temp/TMP_LOGS_CONNEXION'."_".uniqid().".xlsx"; - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
echeancier_temp = new Echeancier_temp(); - } - - public function index() - { - $idEmission = $_SESSION['idEmission_temp']; - $codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier"); - $nbEcheance = $this->requete->getParametreFormulaire("nbEcheance"); - $tauxInteret = $this->requete->getParametreFormulaire("tauxInteret"); - - $this->echeancier_temp->majEcheancier_temp($idEmission, $codeTypeEcheancier, $nbEcheance, $tauxInteret); - } - - public function enregistrer() - { - $idEmission = $_SESSION['idEmission_temp']; - $this->echeancier_temp->enregistrer($idEmission); - $this->rediriger("Facturerpolice"); - } - - public function majlibelle() - { - $idEcheancier = $this->requete->getParametreFormulaire("idEcheancier"); - $libelleEcheance = $this->requete->getParametreFormulaire("libelleEcheance"); - - $this->echeancier_temp->majlibelle($idEcheancier, $libelleEcheance); - } - - public function majdatepaiement() - { - $idEcheancier = $this->requete->getParametreFormulaire("idEcheancier"); - $datePaiement = $this->requete->getParametreDate("datePaiement"); - - $this->echeancier_temp->majdatepaiement($idEcheancier, $datePaiement); - } - - public function majtauxecheance() - { - $idEcheancier = $this->requete->getParametreFormulaire("idEcheancier"); - $tauxEcheance = $this->requete->getParametreFormulaire("tauxEcheance"); - $nbEcheance = $this->requete->getParametreFormulaire("nbEcheance"); - - $this->echeancier_temp->majtauxecheance($idEcheancier, $tauxEcheance, $nbEcheance); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmajlibellecollege.php b/radiantproduction/Controleur/ControleurAjaxmajlibellecollege.php deleted file mode 100644 index c4abf1a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmajlibellecollege.php +++ /dev/null @@ -1,20 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $nouvLibelleCollege = $this->requete->getParametreFormulaire("nouvLibelleCollege"); - - $this->college_temp->maj_libelle_college($idCollegeTemp, $nouvLibelleCollege); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxmajprimeopt.php b/radiantproduction/Controleur/ControleurAjaxmajprimeopt.php deleted file mode 100644 index a6eae45..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmajprimeopt.php +++ /dev/null @@ -1,18 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $primeOption = $this->requete->getParametre("primeOption"); - $idGar = $this->requete->getParametre("idGar"); - $this->college_temp->majPrimeOpt($primeOption, $idGar); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmedecinparam.php b/radiantproduction/Controleur/ControleurAjaxmedecinparam.php deleted file mode 100644 index 0d56092..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmedecinparam.php +++ /dev/null @@ -1,57 +0,0 @@ -medecin = new Medecin(); - } - - public function index() - { - } - - public function creermedecin() - { - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - - if($this->medecin->existelignenoordremedecin($noOrdreMedecin)) - { - // $this->genererVueAjax(array('unicitemedecin' => "0", 'msgErreur' => "No Ordre Médecin $noOrdreMedecin déjà utilisé!")); - $this->genererVueAjax(array('unicitemedecin' => "0", 'msgErreur' => _('No Ordre Médecin').' '.$noOrdreMedecin.' '._('déjà utilisé!'))); - } - else - { - $this->medecin->creermedecin($nom, $prenoms, $telephone, $email, $codeSpecialite, $noOrdreMedecin, $sexe); - - $this->genererVueAjax(array('unicitemedecin' => "1", 'msgErreur' => _('Médecin créé avec succès!'))); - } - } - - public function enregistrermodifmedecin() - { - $idMedecin = $this->requete->getParametreFormulaire("idMedecin"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $codeSpecialite = $this->requete->getParametreFormulaire("codeSpecialite"); - $noOrdreMedecin = $this->requete->getParametreFormulaire("noOrdreMedecin"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - - $this->medecin->enregistrermodifmedecin($idMedecin, $nom, $prenoms, $telephone, $email, $codeSpecialite, $noOrdreMedecin, $sexe); - - // $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmedecinsprestataire.php b/radiantproduction/Controleur/ControleurAjaxmedecinsprestataire.php deleted file mode 100644 index 8d6ecb3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmedecinsprestataire.php +++ /dev/null @@ -1,63 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $medecinsnonaccessibles = $this->prestataire->getmedecinsnonaccessibles($codePrestataire); - - $medecinsaccessibles = $this->prestataire->getmedecinsprestataire($codePrestataire); - - $this->genererVueAjax(array('medecinsnonaccessibles' => $medecinsnonaccessibles, 'medecinsaccessibles' => $medecinsaccessibles)); - } - - public function ajouterunmedecinprestataire() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $this->prestataire->ajouterunmedecinprestataire($codePrestataire, $codeMedecin); - - $this->executerAction("index"); - } - - - public function retirertousmedecinsprestataire() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $this->prestataire->retirertousmedecinsprestataire($codePrestataire); - - $this->executerAction("index"); - } - - public function ajoutertousmedecinsprestataire() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $this->prestataire->ajoutertousmedecinsprestataire($codePrestataire); - - $this->executerAction("index"); - } - - public function retirerunmedecinprestataire() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $this->prestataire->retirerunmedecinprestataire($codePrestataire, $codeMedecin); - - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmenusprofil.php b/radiantproduction/Controleur/ControleurAjaxmenusprofil.php deleted file mode 100644 index 47f50aa..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmenusprofil.php +++ /dev/null @@ -1,29 +0,0 @@ -menuutilisateur = new Menuutilisateur(); - } - - public function index() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $listemenu = $this->menuutilisateur->getMenusProfil($codeProfil); - - $this->genererVueAjax(array('listemenu' => $listemenu)); - } - - public function ajouterMenu() { - $id = $this->requete->getParametre("id"); - $id_menuutilisateur = $this->requete->getParametre("id_menuutilisateur"); - $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->menuutilisateur->ajouterMenu($id_menuutilisateur,$codeProfil,$codeMenu,$choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmessagerie.php b/radiantproduction/Controleur/ControleurAjaxmessagerie.php deleted file mode 100644 index 1d53108..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmessagerie.php +++ /dev/null @@ -1,79 +0,0 @@ -messagerie = new Messagerie(); - } - - public function index() - { - $deconnexion='0'; - $dureeSession = (isset($_SESSION['dureeSession'])) ? $_SESSION['dureeSession'] : 10; - $session_expiree = session_expiree($dureeSession); - if($session_expiree) - { - session_destroy(); - $deconnexion='1'; - } - - if (!isset($_SESSION['codeSociete'])) - { - $deconnexion='1'; - } - - $_SESSION['deconnexion'] = $deconnexion; - - /* - var_dump - ( - array - ( - "deconnexion" => $deconnexion, - "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'] - ) - ); - */ - - $nbMessagesNonLus = $this->messagerie->countmessagesnonlus(); - - $this->genererVueAjax(array('nbMessagesNonLus' => $nbMessagesNonLus, - 'deconnexion' => $deconnexion)); - } - - public function creermessage() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - $idParent = $this->requete->getParametreFormulaire("idParent"); - - $this->messagerie->creermessage($codePrestataire, $textMessage, $idParent); - } - - public function marquercommelu() - { - $idMessagerie = $this->requete->getParametreFormulaire("idMessagerie"); - - $this->messagerie->marquercommelu($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/radiantproduction/Controleur/ControleurAjaxmessageriecommun.php b/radiantproduction/Controleur/ControleurAjaxmessageriecommun.php deleted file mode 100644 index 839ef8d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmessageriecommun.php +++ /dev/null @@ -1,72 +0,0 @@ -messagerie = new Messagerie(); - - require_once 'Ebenegmail.php'; - $this->mail_C = $mail; - } - - public function index() - { - $this->genererVueAjax(); - } - - public function creermessagecommun() - { - $objetCommun = $this->requete->getParametreFormulaire("objet"); - $textMessage = $this->requete->getParametreFormulaire("textMessage"); - - $this->messagerie->creermessagecommun($objetCommun, $textMessage); - - $mail_C = $this->mail_C; - $mail_C->ClearAllRecipients(); - - $prestataires = $this->messagerie->listemailprestatairemessagecommun(); - - $compteur = 0; - - foreach ($prestataires as $prestataire) - { - $compteur += 1; - - $codePrestataire = $prestataire['codePrestataire']; - $libelle = $prestataire['libelle']; - $email = $prestataire['email']; - - $addr = explode(';', $email); - foreach ($addr as $ad) - { - $mail_C->addBCC(trim($ad) ); - } - } - - $obejt = $_SESSION['nomSociete']." : ".$objetCommun; - $body =$textMessage; - - $mail_C->Subject = $obejt; - - $mail_C->Body=$body; - - if (!$mail_C->send()) - { - // echo '
'; echo '
'; - // echo "Erreur mail : " . $mail_C->ErrorInfo; - } - else - { - // echo '
'; echo '
'; - // echo "Message envoyé!"; - } - - // FIN ENVOI DU MAIL AVEC PIECE JOINTE - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmessageriehistorique.php b/radiantproduction/Controleur/ControleurAjaxmessageriehistorique.php deleted file mode 100644 index c433cc7..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxmessagerieliste.php b/radiantproduction/Controleur/ControleurAjaxmessagerieliste.php deleted file mode 100644 index 4bd4d15..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmessagerieliste.php +++ /dev/null @@ -1,29 +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->executerAction("index"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmessagerienew.php b/radiantproduction/Controleur/ControleurAjaxmessagerienew.php deleted file mode 100644 index 455eab3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmessagerienew.php +++ /dev/null @@ -1,24 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxmessageriereponse.php b/radiantproduction/Controleur/ControleurAjaxmessageriereponse.php deleted file mode 100644 index 9004a33..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxmoyenpaiement.php b/radiantproduction/Controleur/ControleurAjaxmoyenpaiement.php deleted file mode 100644 index 73882af..0000000 --- a/radiantproduction/Controleur/ControleurAjaxmoyenpaiement.php +++ /dev/null @@ -1,15 +0,0 @@ -requete->getParametreFormulaire("codeModePaiement"); - $moyenpaiement = (new Moyenpaiement())->getListe($codeModePaiement); - $this->genererVueAjax(array('moyenpaiement' => $moyenpaiement)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnocptmoyenpaiement.php b/radiantproduction/Controleur/ControleurAjaxnocptmoyenpaiement.php deleted file mode 100644 index 76e57f9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnocptmoyenpaiement.php +++ /dev/null @@ -1,21 +0,0 @@ -moyenpaiement = new Moyenpaiement(); - } - - public function index() { - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $codeMoyenPaiement = $this->requete->getParametreFormulaire("codeMoyenPaiement"); - - $numeroCompte_info = $this->moyenpaiement->getNumeroCompte($codeModePaiement, $codeMoyenPaiement); - - $this->genererVueAjax(array('numeroCompte_info' => $numeroCompte_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnotesbeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxnotesbeneficiaire.php deleted file mode 100644 index 3bb8653..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxnotesfeuillemaladie.php b/radiantproduction/Controleur/ControleurAjaxnotesfeuillemaladie.php deleted file mode 100644 index 9a05873..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxnouveauproduit.php b/radiantproduction/Controleur/ControleurAjaxnouveauproduit.php deleted file mode 100644 index a6ff1cb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouveauproduit.php +++ /dev/null @@ -1,61 +0,0 @@ -produit = new Produit(); - } - - public function index() - { - } - - public function enregistrermodif() - { - /* - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $this->tarif->enregistrermodif($idTarif, $libelle); - */ - - // $codeProduit = strtoupper($this->requete->getParametreFormulaire("codeProduit")); - - $idProduit = $this->requete->getParametreFormulaire("idProduit"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $primeFamille = $this->requete->getParametreFormulaire("primeFamille", "numerique"); - $primeIndividu = $this->requete->getParametreFormulaire("primeIndividu", "numerique"); - $primeMin = $this->requete->getParametreFormulaire("primeMin", "numerique"); - $primeMax = $this->requete->getParametreFormulaire("primeMax", "numerique"); - - $this->produit->enregistrermodif($idProduit, $libelle, $primeFamille, $primeIndividu, $primeMin, $primeMax); - - } - - public function creerproduit() - { - $codeProduit = strtoupper($this->requete->getParametreFormulaire("codeProduit")); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $primeFamille = $this->requete->getParametreFormulaire("primeFamille", "numerique"); - $primeIndividu = $this->requete->getParametreFormulaire("primeIndividu", "numerique"); - $primeMin = $this->requete->getParametreFormulaire("primeMin", "numerique"); - $primeMax = $this->requete->getParametreFormulaire("primeMax", "numerique"); - - $this->produit->creerproduit($codeProduit, $libelle, $primeFamille, $primeIndividu, $primeMin, $primeMax); - } - - public function supprimer() - { - $idProduit = $this->requete->getParametreFormulaire("idProduit"); - - $this->produit->supprimer($idProduit); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnouveaureseau.php b/radiantproduction/Controleur/ControleurAjaxnouveaureseau.php deleted file mode 100644 index 040b9e5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouveaureseau.php +++ /dev/null @@ -1,46 +0,0 @@ -reseau = new Reseausoins(); - } - - public function index() - { - } - - public function enregistrermodif() - { - $idReseau = $this->requete->getParametreFormulaire("idReseau"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $tm = $this->requete->getParametreFormulaire("tm", "numerique"); - - $this->reseau->enregistrermodif($idReseau, $libelle, $tm); - - } - - public function creerreseau() - { - $codeReseau = strtoupper($this->requete->getParametreFormulaire("codeReseau")); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - - $tm = $this->requete->getParametreFormulaire("tm", "numerique"); - - $this->reseau->creerreseau($codeReseau, $libelle, $tm); - } - - public function supprimer() - { - $idReseau = $this->requete->getParametreFormulaire("idReseau"); - - $this->reseau->supprimer($idReseau); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnouveautarifacte.php b/radiantproduction/Controleur/ControleurAjaxnouveautarifacte.php deleted file mode 100644 index 5b87a65..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouveautarifacte.php +++ /dev/null @@ -1,41 +0,0 @@ -tarif = new Tarifsactes(); - } - - public function index() - { - } - - public function enregistrermodif() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->tarif->enregistrermodif($idTarif, $libelle, $libelleEng); - } - - public function creertarifactes() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->tarif->creertarifactes($libelle, $libelleEng); - } - - - public function supprimer() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - - $this->tarif->supprimer($idTarif); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnouveautarifmedicament.php b/radiantproduction/Controleur/ControleurAjaxnouveautarifmedicament.php deleted file mode 100644 index de445ab..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouveautarifmedicament.php +++ /dev/null @@ -1,41 +0,0 @@ -tarif = new Tarifsmedicaments(); - } - - public function index() - { - } - - public function enregistrermodif() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->tarif->enregistrermodif($idTarif, $libelle, $libelleEng); - } - - public function creertarifmedicaments() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->tarif->creertarifmedicaments($libelle, $libelleEng); - } - - - public function supprimer() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - - $this->tarif->supprimer($idTarif); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnouveautarifoptique.php b/radiantproduction/Controleur/ControleurAjaxnouveautarifoptique.php deleted file mode 100644 index 71e9e86..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouveautarifoptique.php +++ /dev/null @@ -1,41 +0,0 @@ -tarif = new Tarifsoptiques(); - } - - public function index() - { - } - - public function enregistrermodif() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->tarif->enregistrermodif($idTarif, $libelle, $libelleEng); - } - - public function creertarifoptiques() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->tarif->creertarifoptiques($libelle, $libelleEng); - } - - - public function supprimer() - { - $idTarif = $this->requete->getParametreFormulaire("idTarif"); - - $this->tarif->supprimer($idTarif); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnouvelacte.php b/radiantproduction/Controleur/ControleurAjaxnouvelacte.php deleted file mode 100644 index c8372d3..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouvelacte.php +++ /dev/null @@ -1,78 +0,0 @@ -acte = new Acte(); - } - - public function index() - { - } - - public function enregistrernouvelacte() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - - $exclu = $this->requete->getParametreFormulaire("exclu"); - $actif = $this->requete->getParametreFormulaire("actif"); - $alerte = $this->requete->getParametreFormulaire("alerte"); - $delaiCarenceActe = $this->requete->getParametreFormulaire("delaiCarenceActe", "numerique"); - - $this->acte->enregistrernouvelacte($libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - $_SESSION['codeFamilleActe_C'] = $codeFamilleActe; - - // $this->genererVueAjax(); - } - - - public function enregistrermodifacte() - { - $idActe = $this->requete->getParametreFormulaire("idActe"); - $codeActe = $this->requete->getParametreFormulaire("codeActe"); - - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $codeFamilleActe = $this->requete->getParametreFormulaire("codeFamilleActe"); - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - - $exclu = $this->requete->getParametreFormulaire("exclu"); - $actif = $this->requete->getParametreFormulaire("actif"); - $alerte = $this->requete->getParametreFormulaire("alerte"); - $delaiCarenceActe = $this->requete->getParametreFormulaire("delaiCarenceActe", "numerique"); - - /* - echo "idActe => $idActe
"; - echo "codeActe => $codeActe
"; - echo "libelle => $libelle
"; - exit(); - */ - - $this->acte->enregistrermodifacte($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe); - - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - $_SESSION['codeFamilleActe_C'] = $codeFamilleActe; - - // $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxnouvelleoptiontarif.php b/radiantproduction/Controleur/ControleurAjaxnouvelleoptiontarif.php deleted file mode 100644 index 87c8063..0000000 --- a/radiantproduction/Controleur/ControleurAjaxnouvelleoptiontarif.php +++ /dev/null @@ -1,16 +0,0 @@ -college_temp = new College_temp_d(); - } - - public function index() { - $this->college_temp->nouvelleoptiontarif(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxpaiementdecompte.php b/radiantproduction/Controleur/ControleurAjaxpaiementdecompte.php deleted file mode 100644 index 54343dc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxpaiementdecompte.php +++ /dev/null @@ -1,54 +0,0 @@ -reglement = new Reglement(); - } - - public function index() { - $this->genererVueAjax(); - } - - public function initierpaimentdecompte() - { - $this->reglement->initpaiementdecompte(); - - // throw new Exception("idPaiementDecompte: '$idPaiementDecompte'"); - // exit(); - - // $this->genererVueAjax(); - } - - public function listerpaiementdecompte() - { - $debut = $this->requete->getParametreDate("debut"); - $fin = $this->requete->getParametreDate("fin"); - $valide = $this->requete->getParametreFormulaire("valide"); - - $reglements = $this->reglement->getpaiementdecomptes($debut, $fin, $valide); - - $this->genererVueAjax(array('reglements' => $reglements)); - } - - public function getcontextbyid() - { - $_SESSION['idPaiementDecompte_C'] = $this->requete->getParametre("idPaiementDecompte"); - } - - public function enregistrervaliderpaiementdecompte() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $dateComptable = $this->requete->getParametreDate("dateComptable"); - $montantPaye = $this->requete->getParametreFormulaire("montantPaye", "numerique"); - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $codeBanquePayeur = $this->requete->getParametreFormulaire("codeBanquePayeur"); - - $this->reglement->enregistrervaliderpaiementdecompte($idPaiementDecompte, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxpaiementdecomptenonsel.php b/radiantproduction/Controleur/ControleurAjaxpaiementdecomptenonsel.php deleted file mode 100644 index f300e7c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxpaiementdecomptenonsel.php +++ /dev/null @@ -1,62 +0,0 @@ -decompte = new Reglement(); - } - - public function index() - { - $decomptes = $this->decompte->get_paiementdecompte_non_sel(); - - $this->genererVueAjax(array('decomptes' => $decomptes)); - } - - public function validerselection() - { - $this->decompte->valider_selection_paiement_decompte_non_sel(); - - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $reglement = $this->decompte->getpaiementdecompte($idPaiementDecompte); - - $composante = $this->decompte->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idDecompteTemp = $this->requete->getParametreFormulaire("idDecompteTemp"); - $this->decompte->selectionner_paiementdecompte_non_sel($idDecompteTemp); - - // $this->genererVueAjax(); - } - - public function deselectionner() - { - $idDecompteTemp = $this->requete->getParametreFormulaire("idDecompteTemp"); - $this->decompte->de_selectionner_paiementdecompte_non_sel($idDecompteTemp); - - // $this->genererVueAjax(); - } - - public function reafficher() - { - $decomptes = $this->decompte->re_afficher_paiementdecompte_non_sel(); - - $this->genererVueAjax(array('decomptes' => $decomptes)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->decompte->selectionner_paiementdecompte_non_sel_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxpaiementdecomptesel.php b/radiantproduction/Controleur/ControleurAjaxpaiementdecomptesel.php deleted file mode 100644 index 61a2856..0000000 --- a/radiantproduction/Controleur/ControleurAjaxpaiementdecomptesel.php +++ /dev/null @@ -1,62 +0,0 @@ -decompte = new Reglement(); - } - - public function index() - { - $decomptes = $this->decompte->get_paiementdecompte_sel(); - - $this->genererVueAjax(array('decomptes' => $decomptes)); - } - - public function validerselection() - { - $this->decompte->valider_selection_paiement_decompte_sel(); - - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $reglement = $this->decompte->getpaiementdecompte($idPaiementDecompte); - - $composante = $this->decompte->getListeCompsanteReglement(); - - $this->genererVueAjax(array('reglement' => $reglement, 'composante' => $composante)); - } - - public function selectionner() - { - $idDecompteTemp = $this->requete->getParametreFormulaire("idDecompteTemp"); - $this->decompte->selectionner_paiementdecompte_sel($idDecompteTemp); - - // $this->genererVueAjax(); - } - - public function deselectionner() - { - $idDecompteTemp = $this->requete->getParametreFormulaire("idDecompteTemp"); - $this->decompte->de_selectionner_paiementdecompte_sel($idDecompteTemp); - - // $this->genererVueAjax(); - } - - public function reafficher() - { - $decomptes = $this->decompte->re_afficher_paiementdecompte_sel(); - - $this->genererVueAjax(array('decomptes' => $decomptes)); - } - - public function selectionnertout() - { - $choix = $this->requete->getParametreFormulaire("choix"); - $this->decompte->selectionner_paiementdecompte_sel_tout($choix); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxpaiementprestationcumul.php b/radiantproduction/Controleur/ControleurAjaxpaiementprestationcumul.php deleted file mode 100644 index e17aefb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxpaiementprestationcumul.php +++ /dev/null @@ -1,29 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatpaiementprestationcumul($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxpaiementprestationcumulexport.php b/radiantproduction/Controleur/ControleurAjaxpaiementprestationcumulexport.php deleted file mode 100644 index 5425ea4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxpaiementprestationcumulexport.php +++ /dev/null @@ -1,59 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatpaiementprestationcumulexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Nb Décomptes'), - _('Paiements') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PAIEMENTS PRESTATIONS CUMUL')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PAIEMENTS_PRESTATIONS_CUMUL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - /* - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatpaiementprestationcumulexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Nb Décomptes'), - _('Paiements') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PAIEMENTS PRESTATIONS CUMUL')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PAIEMENTS_PRESTATIONS_CUMUL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
SetScale("textlin"); - - //$theme_class="DefaultTheme"; - //$graph->SetTheme(new $theme_class()); - - // set major and minor tick positions manually - $graph->yaxis->SetTickPositions(array(0,30,60,90,120,150), array(15,45,75,105,135)); - $graph->SetBox(false); - - //$graph->ygrid->SetColor('gray'); - $graph->ygrid->SetFill(false); - $graph->xaxis->SetTickLabels(array('A','B','C','D')); - $graph->yaxis->HideLine(false); - $graph->yaxis->HideTicks(false,false); - - // Create the bar plots - $b1plot = new BarPlot($datay); - - // ...and add it to the graPH - $graph->Add($b1plot); - - - $b1plot->SetColor("white"); - $b1plot->SetFillGradient("#4B0082","white",GRAD_LEFT_REFLECTION); - $b1plot->SetWidth(45); - $graph->title->Set("Bar Gradient(Left reflection)"); - - // Display the graph - // var_dump($graph); - - // $graph->Stroke(); - $fichier = 'Temp/TMP_PAIEMENTS_PRESTATIONS_CUMUL'."_".uniqid().".png"; - $graph->Stroke($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatpaiementprestationdet($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxpaiementprestationdetexport.php b/radiantproduction/Controleur/ControleurAjaxpaiementprestationdetexport.php deleted file mode 100644 index 6b35085..0000000 --- a/radiantproduction/Controleur/ControleurAjaxpaiementprestationdetexport.php +++ /dev/null @@ -1,64 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatpaiementprestationdetexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Date Cpt'), - _('Nb Décomptes'), - _('Paiements'), - _('Mode Paiement'), - _('Référence'), - _('Banque'), - 'user' - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PAIEMENTS PRESTATIONS DETAILLE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PAIEMENTS_PRESTATIONS_DET'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
utilisateur = new Utilisateur(); - } - - public function index() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $utilisateurs = $this->utilisateur->getUtilisateursActesVisibles($codeProfil); - - $this->genererVueAjax(array('utilisateurs' => $utilisateurs)); - } - - public function gereraccesactes() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - - if($actVisible=="1") - { - $actVisible = "0"; - } - else - { - $actVisible = "1"; - } - - $this->utilisateur->gereraccesactes($codeUtilisateur, $actVisible); - } - - public function gereraccesaffection() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - if($AffectionVisible=="1") - { - $AffectionVisible = "0"; - } - else - { - $AffectionVisible = "1"; - } - - $this->utilisateur->gereraccesaffection($codeUtilisateur, $AffectionVisible); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxparambons.php b/radiantproduction/Controleur/ControleurAjaxparambons.php deleted file mode 100644 index 4e7281f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxparambons.php +++ /dev/null @@ -1,38 +0,0 @@ -typebon = new Typebon(); - } - - public function index() - { - $idTypebon = $this->requete->getParametre("idTypebon"); - - $typebon = $this->typebon->getUnTypebon($idTypebon); - - $typegestion = $this->typebon->getListeGestion(); - - $this->genererVueAjax(array('typebon' => $typebon, 'typegestion' => $typegestion)); - } - - public function enregistrermodif() - { - $idTypebon = $this->requete->getParametre("idTypebon"); - $dureeVie = $this->requete->getParametreFormulaire("dureeVie","numerique"); - $codeGestionBon = $this->requete->getParametre("codeGestionBon"); - - // echo "idTypebon => $idTypebon ; dureeVie => $dureeVie ; codeGestionBon => $codeGestionBon"; - // exit(); - - $this->typebon->enregistrermodif($idTypebon, $dureeVie, $codeGestionBon); - - // $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxparamdureeviebon.php b/radiantproduction/Controleur/ControleurAjaxparamdureeviebon.php deleted file mode 100644 index fdcd421..0000000 --- a/radiantproduction/Controleur/ControleurAjaxparamdureeviebon.php +++ /dev/null @@ -1,35 +0,0 @@ -typebon = new Typebon(); - } - - public function index() - { - } - - public function afficherdureevie() - { - $idTypebon = $this->requete->getParametreFormulaire("idTypebon"); - $dureeVie = $this->requete->getParametreFormulaire("dureeVie","numerique"); - - $this->genererVueAjax(array('reseausnonaccessibles' => $reseausnonaccessibles, 'reseausaccessibles' => $reseausaccessibles)); - } - - public function majdureevie() - { - $idTypebon = $this->requete->getParametreFormulaire("idTypebon"); - $dureeVie = $this->requete->getParametreFormulaire("dureeVie","numerique"); - - $this->typebon->majdureevie($idTypebon, $dureeVie); - - // $this->genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxparametresgeneraux.php b/radiantproduction/Controleur/ControleurAjaxparametresgeneraux.php deleted file mode 100644 index 7682789..0000000 --- a/radiantproduction/Controleur/ControleurAjaxparametresgeneraux.php +++ /dev/null @@ -1,92 +0,0 @@ -societeuser = new Societeuser(); - } - - public function index() - { - $this->genererVueAjax(array('affichage' =>$this->affichage)); - } - - public function enregistrermodif() - { - $idSocieteuser = $this->requete->getParametreFormulaire("idSocieteuser"); - - $emailMedecinConseil = $this->requete->getParametreFormulaire("emailMedecinConseil"); - $emailGestionBon = $this->requete->getParametreFormulaire("emailGestionBon"); - $emailCcomptabilite = $this->requete->getParametreFormulaire("emailCcomptabilite"); - $emailDerogation = $this->requete->getParametreFormulaire("emailDerogation"); - $emailAccordPrealable = $this->requete->getParametreFormulaire("emailAccordPrealable"); - $emailFraudeFinger = $this->requete->getParametreFormulaire("emailFraudeFinger"); - $email_standard = $this->requete->getParametreFormulaire("email_standard"); - $email_reply = $this->requete->getParametreFormulaire("email_reply"); - $smsMedecinConseil = $this->requete->getParametreFormulaire("smsMedecinConseil"); - $smsGestionBon = $this->requete->getParametreFormulaire("smsGestionBon"); - $smsDerogation = $this->requete->getParametreFormulaire("smsDerogation"); - $smsAccordPrealable = $this->requete->getParametreFormulaire("smsAccordPrealable"); - // $sms_standard = $this->requete->getParametreFormulaire("sms_standard"); - $codeLangueSociete = $this->requete->getParametreFormulaire("codeLangueSociete"); - - $this->societeuser->enregistrermodif($idSocieteuser, $emailMedecinConseil, $emailGestionBon, $emailCcomptabilite, - $emailDerogation, $emailAccordPrealable, $emailFraudeFinger, $email_standard, $email_reply, $smsMedecinConseil, - $smsGestionBon, $smsDerogation, $smsAccordPrealable, $codeLangueSociete); - } - - public function enregistrermodifprod() - { - $idSocieteuser = $this->requete->getParametreFormulaire("idSocieteuser"); - - $spMax = $this->requete->getParametreFormulaire("spMax","numerique"); - $fraisCarteAN = $this->requete->getParametreFormulaire("fraisCarteAN","numerique"); - - $fraisCarteREN = $this->requete->getParametreFormulaire("fraisCarteREN","numerique"); - $fraisCarteImp = $this->requete->getParametreFormulaire("fraisCarteImp","numerique"); - $spAlertAdherent = $this->requete->getParametreFormulaire("spAlertAdherent","numerique"); - - $tauxRistourne = $this->requete->getParametreFormulaire("tauxRistourne","numerique"); - $seuilRistourne = $this->requete->getParametreFormulaire("seuilRistourne","numerique"); - - $this->societeuser->enregistrermodifprod($idSocieteuser, $spMax, $fraisCarteAN, $fraisCarteREN, - $fraisCarteImp, $spAlertAdherent, $tauxRistourne, $seuilRistourne); - } - - public function enregistrermodifsin() - { - $idSocieteuser = $this->requete->getParametreFormulaire("idSocieteuser"); - - $accesAjoutPh = $this->requete->getParametreFormulaire("accesAjoutPh","numerique"); - $ajoutPrescription = $this->requete->getParametreFormulaire("ajoutPrescription","numerique"); - - $ajoutPrescriptionExam = $this->requete->getParametreFormulaire("ajoutPrescriptionExam","numerique"); - $envoismsactif = $this->requete->getParametreFormulaire("envoismsactif","numerique"); - - $smsAssure = $this->requete->getParametreFormulaire("smsAssure","numerique"); - $smsmParFacture = $this->requete->getParametreFormulaire("smsmParFacture","numerique"); - - $emailParFacture = $this->requete->getParametreFormulaire("emailParFacture","numerique"); - $copieSmsAssure = $this->requete->getParametreFormulaire("copieSmsAssure","numerique"); - - // echo "copieSmsAssure ".$copieSmsAssure; - // exit(); - - $filtreMedecin = $this->requete->getParametreFormulaire("filtreMedecin","numerique"); - $nbMedicamentMax = $this->requete->getParametreFormulaire("nbMedicamentMax","numerique"); - - $seuilAlerteActif = $this->requete->getParametreFormulaire("seuilAlerteActif","numerique"); - - $this->societeuser->enregistrermodifsin($idSocieteuser, $accesAjoutPh, $ajoutPrescription, $ajoutPrescriptionExam, - $envoismsactif, $smsAssure, $smsmParFacture, $emailParFacture, $copieSmsAssure, $filtreMedecin, - $nbMedicamentMax, $seuilAlerteActif); - - // echo "FINISH OK!"; - // exit(); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxparamhabilitationass.php b/radiantproduction/Controleur/ControleurAjaxparamhabilitationass.php deleted file mode 100644 index f5f5718..0000000 --- a/radiantproduction/Controleur/ControleurAjaxparamhabilitationass.php +++ /dev/null @@ -1,331 +0,0 @@ -utilisateur = new Utilisateur(); - } - - public function index() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $utilisateurs = $this->utilisateur->getUtilisateursActesVisibles($codeProfil); - - $this->genererVueAjax(array('utilisateurs' => $utilisateurs)); - } - - public function gereraccesactes() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - - if($actVisible=="1") - { - $actVisible = "0"; - } - else - { - $actVisible = "1"; - } - - $this->utilisateur->gereraccesactes($codeUtilisateur, $actVisible); - } - - public function reinitpaswd() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->utilisateur->reinitpaswd($codeUtilisateur); - } - - public function desactiver() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->utilisateur->desactiver($codeUtilisateur); - } - - public function activer() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->utilisateur->activer($codeUtilisateur); - } - - public function afficherattributionprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $utilisateurs_hors_profil = $this->utilisateur->getUtilisateursHorsProfil($codeProfil); - - $utilisateurs_profil = $this->utilisateur->getUtilisateursActesVisibles($codeProfil); - - $this->genererVueAjax(array('utilisateurs_hors_profil' => $utilisateurs_hors_profil, 'utilisateurs_profil' => $utilisateurs_profil)); - } - - public function ajoutertousutilisateurprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $this->utilisateur->ajoutertousutilisateurprofilassureur($codeProfil); - - // $this->genererVueAjax(); - } - - public function ajouterunutilisateurprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->utilisateur->ajouterunutilisateurprofilassureur($codeProfil, $codeUtilisateur); - } - - public function afficheraccesmenuprincipalass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $menus_accessibles = $this->utilisateur->getMenusAccessiblesProfil($codeProfil); - - $menus_non_accessibles = $this->utilisateur->getMenusNonAccessiblesProfil($codeProfil); - - $this->genererVueAjax(array('menus_accessibles' => $menus_accessibles, 'menus_non_accessibles' => $menus_non_accessibles)); - } - - public function ajouterunmenuprincipalprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); - - $this->utilisateur->ajouterunmenuprincipalprofilassureur($codeProfil, $codeMenu); - } - - public function retirerunmenuprincipalprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); - - $this->utilisateur->retirerunmenuprincipalprofilassureur($codeProfil, $codeMenu); - } - - public function ajoutertousmenuprincipalprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $this->utilisateur->ajoutertousmenuprincipalprofilassureur($codeProfil); - } - - public function retirerousmenuprincipalprofilassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $this->utilisateur->retirerousmenuprincipalprofilassureur($codeProfil); - } - - public function listervuemodule() - { - $codeModule = $this->requete->getParametreFormulaire("codeModule"); - $listevue = $this->utilisateur->getListeVueModule($codeModule); - - $this->genererVueAjax(array('listevue' => $listevue)); - } - - public function afficheraccessousmenusass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $codeModule = $this->requete->getParametreFormulaire("codeModule"); - $vue = $this->requete->getParametreFormulaire("vue"); - - $menus_accessibles = $this->utilisateur->getSousMenusAccessiblesVue($codeProfil, $vue); - $menus_non_accessibles = $this->utilisateur->getSousMenusNonAccessiblesVue($codeProfil,$vue); - - $this->genererVueAjax(array('menus_accessibles' => $menus_accessibles, 'menus_non_accessibles' => $menus_non_accessibles, - 'codeModule' => $codeModule)); - } - - public function ajoutertoussousmenusass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $vue = $this->requete->getParametreFormulaire("vue"); - - $this->utilisateur->ajoutertoussousmenusass($codeProfil, $vue); - } - - public function retirertoussousmenusass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $vue = $this->requete->getParametreFormulaire("vue"); - - $this->utilisateur->retirertoussousmenusass($codeProfil, $vue); - } - - public function ajouterunsousmenusass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $vue = $this->requete->getParametreFormulaire("vue"); - $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); - - $this->utilisateur->ajouterunsousmenusass($codeProfil, $vue, $codeMenu); - } - - public function retirerunsousmenusass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $vue = $this->requete->getParametreFormulaire("vue"); - $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); - - $this->utilisateur->retirerunsousmenusass($codeProfil, $vue, $codeMenu); - } - - public function creerprofilass() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - - $this->utilisateur->creerprofilass($libelle, $libelleEng); - } - - public function transfererdroitsprofilassureur() - { - $codeProfilSource = $this->requete->getParametreFormulaire("codeProfilSource"); - $codeProfilDest = $this->requete->getParametreFormulaire("codeProfilDest"); - - $this->utilisateur->transfererdroitsprofilassureur($codeProfilSource, $codeProfilDest); - - // $this->genererVueAjax(); - } - - public function batchviderprofilass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $this->utilisateur->batchviderprofilass($codeProfil); - } - - public function batchattribuerdroitsreferenceass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $this->utilisateur->batchattribuerdroitsreferenceass($codeProfil); - } - - public function ajaxlisteusersass() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - - $users = $this->utilisateur->getusersassueurfiltre($codeProfil, $nom, $prenoms); - - $this->genererVueAjax(array('users' => $users)); - } - - public function enregistrermodifusersass() - { - $idUtilisateur = $this->requete->getParametreFormulaire("idUtilisateur"); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $actif = $this->requete->getParametreFormulaire("actif"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - $this->utilisateur->enregistrermodifusersass($idUtilisateur, $codeProfil, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible); - } - - public function creeruserassureur() - { - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $motPass = $this->requete->getParametreFormulaire("motPass"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - if($this->utilisateur->existeligne($codeUtilisateur)) - { - $this->genererVueAjax(array('uniciteLogin' => "0", 'msgErreur' => _('Login').' '.$codeUtilisateur.' '._('déjà utilisé!'))); - } - else - { - $this->utilisateur->creeruserassureur($codeProfil, $codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, $AffectionVisible); - - // $this->genererVueAjax(array('uniciteLogin' => "1", 'msgErreur' => "Utlisateur $codeUtilisateur créé avec succès!")); - $this->genererVueAjax(array('uniciteLogin' => "1", 'msgErreur' => _('Utlisateur') . ' '. $codeUtilisateur . ' ' . _('créé avec succès!'))); - } - } - - public function Ajaxlisteusersagence() - { - $codePointVente = $this->requete->getParametreFormulaire("codePointVente"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - - /* - var_dump - ( - array - ( - "codePointVente" => $codePointVente, - "nom" => $nom, - "prenoms" => $prenoms, - ) - ); - exit(); - */ - - $users = $this->utilisateur->getusersagencefiltre($codePointVente, $nom, $prenoms); - - $this->genererVueAjax(array('users' => $users)); - } - - public function enregistrermodifusersagence() - { - $idUtilisateur = $this->requete->getParametreFormulaire("idUtilisateur"); - $codePointVente = $this->requete->getParametreFormulaire("codePointVente"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $actif = $this->requete->getParametreFormulaire("actif"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - $this->utilisateur->enregistrermodifusersagence($idUtilisateur, $codePointVente, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible); - } - - public function creeruseragence() - { - $codePointVente = $this->requete->getParametreFormulaire("codePointVente"); - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $motPass = $this->requete->getParametreFormulaire("motPass"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - if($this->utilisateur->existeligne($codeUtilisateur)) - { - $this->genererVueAjax(array('uniciteLogin' => "0", 'msgErreur' => _('Login').' '.$codeUtilisateur.' '._('déjà utilisé!'))); - } - else - { - $this->utilisateur->creeruseragence($codePointVente, $codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, $AffectionVisible); - - $this->genererVueAjax(array('uniciteLogin' => "1", 'msgErreur' => _('Utlisateur') . ' '. $codeUtilisateur . ' ' . _('créé avec succès!'))); - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxparamrequeteperso.php b/radiantproduction/Controleur/ControleurAjaxparamrequeteperso.php deleted file mode 100644 index 0904396..0000000 --- a/radiantproduction/Controleur/ControleurAjaxparamrequeteperso.php +++ /dev/null @@ -1,154 +0,0 @@ -requetesperso = new Requetesperso(); - } - - public function index() - { - } - - /* - public function enregistrermodif() - { - $nomRequete = $this->requete->getParametreFormulaire("nomRequete"); - $nomRequeteEng = $this->requete->getParametreFormulaire("nomRequeteEng"); - $descriptionRequete = $this->requete->getParametreFormulaire("descriptionRequete"); - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - $ordre = $this->requete->getParametreFormulaire("ordre", "numerique"); - $actif = $this->requete->getParametreFormulaire("actif"); - - $this->requetesperso->enregistrermodif($idPrestataire, $libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, - $codeTarifMedicament, $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, - $adressePost, $conventionne, $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, - $numeroCompteBancaire, $cleRib, $iban, $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, - $registreCommerce, $codeLanguePrestataire); - } - */ - - public function desactiver() - { - $codeRequete = $this->requete->getParametreFormulaire("codeRequete"); - - // echo "codeRequete => $codeRequete
"; - // exit(); - - $this->requetesperso->desactiver($codeRequete); - - // $this->genererVueAjax(); - } - - public function activer() - { - $codeRequete = $this->requete->getParametreFormulaire("codeRequete"); - - $this->requetesperso->activer($codeRequete); - } - - public function creerrequeteperso() - { - $nomRequete = $this->requete->getParametreFormulaire("nomRequete"); - $nomRequeteEng = $this->requete->getParametreFormulaire("nomRequeteEng"); - $descriptionRequete = $this->requete->getParametreFormulaire("descriptionRequete"); - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - $ordre = $this->requete->getParametreFormulaire("ordre", "numerique"); - - /* - echo "nomRequete => $nomRequete
"; - echo "nomRequeteEng => $nomRequeteEng
"; - echo "descriptionRequete => $descriptionRequete
"; - echo "sourceDonnees => $sourceDonnees
"; - echo "ordre => $ordre
"; - exit(); - */ - - $this->requetesperso->creerrequeteperso($nomRequete, $nomRequeteEng, $descriptionRequete, $sourceDonnees, $ordre); - } - - public function enregistrermodifsourcedonneesrequeteperso() - { - $idsourcerequete = $this->requete->getParametreFormulaire("idsourcerequete"); - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - - /* - echo "idsourcerequete => $idsourcerequete
"; - echo "sourceDonnees => $sourceDonnees
"; - exit(); - */ - - $this->requetesperso->enregistrermodifsourcedonneesrequeteperso($idsourcerequete, $sourceDonnees); - - // $this->genererVueAjax(); - } - - public function desactiversourcedonnees() - { - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - - $this->requetesperso->desactiversourcedonnees($sourceDonnees); - } - - public function activersourcedonnees() - { - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - - $this->requetesperso->activersourcedonnees($sourceDonnees); - } - - public function creersourcedonneesrequeteperso() - { - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - - /* - echo "sourceDonnees => $sourceDonnees
"; - exit(); - */ - - $this->requetesperso->creersourcedonneesrequeteperso($sourceDonnees); - - // $this->genererVueAjax(); - } - - public function enregistrermodifrequeteperso() - { - $idrequete = $this->requete->getParametreFormulaire("idrequete"); - $codeRequete = $this->requete->getParametreFormulaire("codeRequete"); - - $nomRequete = $this->requete->getParametreFormulaire("nomRequete"); - $nomRequeteEng = $this->requete->getParametreFormulaire("nomRequeteEng"); - $descriptionRequete = $this->requete->getParametreFormulaire("descriptionRequete"); - $sourceDonnees = $this->requete->getParametreFormulaire("sourceDonnees"); - $ordre = $this->requete->getParametreFormulaire("ordre", "numerique"); - - /* - echo "idrequete => $idrequete
"; - echo "codeRequete => $codeRequete
"; - echo "nomRequete => $nomRequete
"; - echo "nomRequeteEng => $nomRequeteEng
"; - echo "descriptionRequete => $descriptionRequete
"; - echo "sourceDonnees => $sourceDonnees
"; - echo "ordre => $ordre
"; - exit(); - */ - - $this->requetesperso->enregistrermodifrequeteperso($idrequete, $codeRequete, $nomRequete, $nomRequeteEng, $descriptionRequete, $sourceDonnees, $ordre); - - $this->genererVueAjax(); - } - - public function reconstruireparamrequeteperso() - { - $idsourcerequete = $this->requete->getParametreFormulaire("idsourcerequete"); - - $this->requetesperso->reconstruireparamrequeteperso($idsourcerequete); - - // $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxparamseuilalerte.php b/radiantproduction/Controleur/ControleurAjaxparamseuilalerte.php deleted file mode 100644 index 32a4f21..0000000 --- a/radiantproduction/Controleur/ControleurAjaxparamseuilalerte.php +++ /dev/null @@ -1,114 +0,0 @@ -produit = new Produit(); - } - - public function index() - { - } - - public function affichergarantieproduitcons() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $garanties_sans_seuils = $this->produit->getgarantiessansseuil($codeProduit); - - $garanties_avec_seuils = $this->produit->getgarantiesavecseuil($codeProduit); - - $this->genererVueAjax(array('garanties_sans_seuils' => $garanties_sans_seuils, 'garanties_avec_seuils' => $garanties_avec_seuils)); - } - - public function affichergarantieproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $garanties_sans_seuils = $this->produit->getgarantiessansseuil($codeProduit); - - $garanties_avec_seuils = $this->produit->getgarantiesavecseuil($codeProduit); - - $this->genererVueAjax(array('garanties_sans_seuils' => $garanties_sans_seuils, 'garanties_avec_seuils' => $garanties_avec_seuils)); - } - - - public function ajouterungarantieproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $codeGarantie = $this->requete->getParametreFormulaire("codeGarantie"); - - $this->produit->ajouterungarantieproduit($codeProduit, $codeGarantie); - - // $this->genererVueAjax(); - } - - - public function retirerungarantieproduit() - { - $idGarantieProduit = $this->requete->getParametreFormulaire("idGarantieProduit"); - - $this->produit->retirerungarantieproduit($idGarantieProduit); - - // $this->genererVueAjax(); - } - - public function ajoutertousreseauproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $this->produit->ajoutertousreseauproduit($codeProduit); - - // $this->genererVueAjax(); - } - - public function ajoutertousgarantieproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - // echo "codeProduit => ".$codeProduit; - // exit(); - - $this->produit->ajoutertousgarantieproduit($codeProduit); - - // $this->genererVueAjax(); - } - - public function majtauxseuilalertegarantie() - { - $idGarantieProduit = $this->requete->getParametreFormulaire("idGarantieProduit"); - $tauxSeuilAlerte = $this->requete->getParametreFormulaire("tauxSeuilAlerte", "numerique"); - - $this->produit->majtauxseuilalertegarantie($idGarantieProduit, $tauxSeuilAlerte); - - // $this->genererVueAjax(); - } - - public function retirertousgarantieproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - // echo "codeProduit => ".$codeProduit; - // exit(); - - $this->produit->retirertousgarantieproduit($codeProduit); - - // $this->genererVueAjax(); - } - - public function majseuilalertegarantie() - { - $idGarantieProduit = $this->requete->getParametreFormulaire("idGarantieProduit"); - $seuilAlerte = $this->requete->getParametreFormulaire("seuilAlerte", "numerique"); - - $this->produit->majseuilalertegarantie($idGarantieProduit, $seuilAlerte); - - // $this->genererVueAjax(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxplafondadherent.php b/radiantproduction/Controleur/ControleurAjaxplafondadherent.php deleted file mode 100644 index 4227d99..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxplafondavantfacturecdec.php b/radiantproduction/Controleur/ControleurAjaxplafondavantfacturecdec.php deleted file mode 100644 index c099566..0000000 --- a/radiantproduction/Controleur/ControleurAjaxplafondavantfacturecdec.php +++ /dev/null @@ -1,21 +0,0 @@ -garantieadherent = new Garantieadherent(); - } - - public function index() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $_SESSION['idFacture_C'] = $idFacture; - - $garantieadherents = $this->garantieadherent->getPlafondAvantFactureId($idFacture); - - $this->genererVueAjax(array('garantieadherents' => $garantieadherents)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxplafondbeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxplafondbeneficiaire.php deleted file mode 100644 index 26a1e71..0000000 --- a/radiantproduction/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/radiantproduction/Controleur/ControleurAjaxplagebonlibre.php b/radiantproduction/Controleur/ControleurAjaxplagebonlibre.php deleted file mode 100644 index 6120a7a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxplagebonlibre.php +++ /dev/null @@ -1,25 +0,0 @@ -typebon = new Typebon(); - } - - public function index() { - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - $noDepart = $this->requete->getParametreFormulaire("noDepart", "numerique"); - $noFin = $this->requete->getParametreFormulaire("noFin", "numerique"); - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $plageLibre_info = $this->typebon->plageLibre($codeTypeBon, $noDepart, $noFin); - - $this->genererVueAjax(array('plageLibre_info' => $plageLibre_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestataire.php b/radiantproduction/Controleur/ControleurAjaxprestataire.php deleted file mode 100644 index a09c15c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestataire.php +++ /dev/null @@ -1,237 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - } - - public function enregistrermodif() - { - $idPrestataire = $this->requete->getParametreFormulaire("idPrestataire"); - $libelle = $this->requete->getParametreFormulaire("libelle"); - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $codePays = $this->requete->getParametreFormulaire("codePays"); - $villeSignature = $this->requete->getParametreFormulaire("villeSignature"); - $codeTypeDecompte = $this->requete->getParametreFormulaire("codeTypeDecompte"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $numeroCompte = $this->requete->getParametreFormulaire("numeroCompte"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - $conventionne = $this->requete->getParametreFormulaire("conventionne"); - $gestionreseau = $this->requete->getParametreFormulaire("gestionreseau"); - $emailGestionPrestataire= $this->requete->getParametreFormulaire("emailGestionPrestataire"); - - // Prise en compte des comptes bancaires prestataire - $codeBanque = $this->requete->getParametreFormulaire("codeBanque"); - $codeBanqueInterne = $this->requete->getParametreFormulaire("codeBanqueInterne"); - $codeGuichet = $this->requete->getParametreFormulaire("codeGuichet"); - $numeroCompteBancaire = $this->requete->getParametreFormulaire("numeroCompteBancaire"); - $cleRib = $this->requete->getParametreFormulaire("cleRib"); - $iban = $this->requete->getParametreFormulaire("iban"); - $intituleCompteBancaire = $this->requete->getParametreFormulaire("intituleCompteBancaire"); - - // - - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - $smsGestionPrestataire = $this->requete->getParametreFormulaire("smsGestionPrestataire"); - $registreCommerce = $this->requete->getParametreFormulaire("registreCommerce"); - $codeLanguePrestataire = $this->requete->getParametreFormulaire("codeLanguePrestataire"); - - $this->prestataire->enregistrermodif($idPrestataire, $libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, - $codeTarifMedicament, $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, - $adressePost, $conventionne, $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, - $numeroCompteBancaire, $cleRib, $iban, $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, - $registreCommerce, $codeLanguePrestataire); - } - - public function validerfactureclassique() - { - $this->prestataire->validerfactureclassique(); - } - - public function enregistrerpaiementfactureclassique() - { - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - - $this->prestataire->enregistrerpaiementfactureclassique($dateComptable, $codeModePaiement, $referencePaiement); - } - - - public function reinitpaswd() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->prestataire->reinitpaswd($codeUtilisateur); - } - - public function desactiver() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->prestataire->desactiver($codeUtilisateur); - } - - public function activer() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - - $this->prestataire->activer($codeUtilisateur); - } - - public function creerprestataire() - { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $codeTypePrestataire = $this->requete->getParametreFormulaire("codeTypePrestataire"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $codePays = $this->requete->getParametreFormulaire("codePays"); - $villeSignature = $this->requete->getParametreFormulaire("villeSignature"); - $codeTypeDecompte = $this->requete->getParametreFormulaire("codeTypeDecompte"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $numeroCompte = $this->requete->getParametreFormulaire("numeroCompte"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - $conventionne = $this->requete->getParametreFormulaire("conventionne"); - $gestionreseau = $this->requete->getParametreFormulaire("gestionreseau"); - $emailGestionPrestataire= $this->requete->getParametreFormulaire("emailGestionPrestataire"); - - // Prise en compte des comptes bancaires prestataire - $codeBanque = $this->requete->getParametreFormulaire("codeBanque"); - $codeBanqueInterne = $this->requete->getParametreFormulaire("codeBanqueInterne"); - $codeGuichet = $this->requete->getParametreFormulaire("codeGuichet"); - $numeroCompteBancaire = $this->requete->getParametreFormulaire("numeroCompteBancaire"); - $cleRib = $this->requete->getParametreFormulaire("cleRib"); - $iban = $this->requete->getParametreFormulaire("iban"); - $intituleCompteBancaire = $this->requete->getParametreFormulaire("intituleCompteBancaire"); - - // - - $codeVille = $this->requete->getParametreFormulaire("codeVille"); - $codeLocalite = $this->requete->getParametreFormulaire("codeLocalite"); - $smsGestionPrestataire = $this->requete->getParametreFormulaire("smsGestionPrestataire"); - $registreCommerce = $this->requete->getParametreFormulaire("registreCommerce"); - $codeLanguePrestataire = $this->requete->getParametreFormulaire("codeLanguePrestataire"); - - - $idPrestataire = $this->prestataire->creerprestataire($libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, - $codeTarifMedicament, $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, - $adressePost, $conventionne, $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, - $numeroCompteBancaire, $cleRib, $iban, $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, - $registreCommerce, $codeLanguePrestataire); - - $this->genererVueAjax(array('idPrestataire' => $idPrestataire)); - } - - public function creeruserprestataire() - { - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $motPass = $this->requete->getParametreFormulaire("motPass"); - - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - $codeUtilisateur = $this->prestataire->creeruserprestataire($nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, $AffectionVisible); - - $this->genererVueAjax(array('codeUtilisateur' => $codeUtilisateur)); - } - - public function desactiverprestataire() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->prestataire->desactiverprestataire($codePrestataire); - } - - public function activerprestataire() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->prestataire->activerprestataire($codePrestataire); - } - - public function gereraccesactes() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - - if($actVisible=="1") - { - $actVisible = "0"; - } - else - { - $actVisible = "1"; - } - - $this->prestataire->gereraccesactes($codeUtilisateur, $actVisible); - } - - public function enregistrermodifuserprestataire() - { - $idUtilisateur = $this->requete->getParametreFormulaire("idUtilisateur"); - $nom = $this->requete->getParametreFormulaire("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $actif = $this->requete->getParametreFormulaire("actif"); - $actVisible = $this->requete->getParametreFormulaire("actVisible"); - $codeLangue = $this->requete->getParametreFormulaire("codeLangue"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - $this->prestataire->enregistrermodifuserprestataire($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible); - - // $this->genererVueAjax(); - } - - public function gereraccesaffection() - { - $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); - $AffectionVisible = $this->requete->getParametreFormulaire("AffectionVisible"); - - if($AffectionVisible=="1") - { - $AffectionVisible = "0"; - } - else - { - $AffectionVisible = "1"; - } - - $this->prestataire->gereraccesaffection($codeUtilisateur, $AffectionVisible); - } - - public function desactiverderogationfinger() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $motif = $this->requete->getParametreFormulaire("motif"); - - $this->prestataire->desactiverderogationfinger($codePrestataire, $motif); - } - - public function activerderogationfinger() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $motif = $this->requete->getParametreFormulaire("motif"); - - $this->prestataire->activerderogationfinger($codePrestataire, $motif); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestatairegestionbon.php b/radiantproduction/Controleur/ControleurAjaxprestatairegestionbon.php deleted file mode 100644 index 3682038..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestatairegestionbon.php +++ /dev/null @@ -1,46 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - } - - public function afficherattributiongestionbon() - { - $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); - - $prestataires_hors_mode = $this->prestataire->getPrestatairesHorsGestionBon($codeGestionBon); - - $prestataires_mode = $this->prestataire->getPrestatairesGestionBon($codeGestionBon); - - $this->genererVueAjax(array('prestataires_hors_mode' => $prestataires_hors_mode, 'prestataires_mode' => $prestataires_mode)); - } - - public function ajoutertousprestatairesgestionbon() - { - $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); - - $this->prestataire->ajoutertousprestatairesgestionbon($codeGestionBon); - - // $this->genererVueAjax(); - } - - public function ajouterunprestatairegestionbon() - { - $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $this->prestataire->ajouterunprestatairegestionbon($codeGestionBon, $codePrestataire); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestatairenmoins.php b/radiantproduction/Controleur/ControleurAjaxprestatairenmoins.php deleted file mode 100644 index 18475e0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestatairenmoins.php +++ /dev/null @@ -1,48 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollege = $_SESSION['idCollege']; - - $college= $this->college_temp->getCollegepoliceId($idCollege); - - $prestatairereseaus= $this->college_temp->getprestatairereseau($idCollege); - - $prestataireenmoinss= $this->college_temp->getprestataireenmoins($idCollege); - - $this->genererVueAjax(array('college' => $college, 'prestatairereseaus' => $prestatairereseaus, 'prestataireenmoinss' => $prestataireenmoinss)); - } - - public function retirer() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $this->college_temp->retirerprestatairenmoins($idPrestation); - - $this->executerAction("index"); - } - - public function ajouterunprestataireenmoins() - { - $codePrestataire = $this->requete->getParametre("codePrestataire"); - $this->college_temp->ajouterunprestataireenmoins($codePrestataire); - - $this->executerAction("index"); - } - - public function initprestation() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $this->college_temp->initPrestationCollege($idCollegeTemp); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestatairenplus.php b/radiantproduction/Controleur/ControleurAjaxprestatairenplus.php deleted file mode 100644 index 2e16a02..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestatairenplus.php +++ /dev/null @@ -1,57 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollege = $_SESSION['idCollege']; - - $college= $this->college_temp->getCollegepoliceId($idCollege); - - $prestatairehorsreseaus= $this->college_temp->getprestatairehorsreseau($idCollege); - - $prestataireenpluss= $this->college_temp->getprestataireenplus($idCollege); - - $this->genererVueAjax(array('college' => $college, 'prestatairehorsreseaus' => $prestatairehorsreseaus, 'prestataireenpluss' => $prestataireenpluss)); - } - - public function majtm() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $tm = $this->requete->getParametreFormulaire("tm"); - $this->college_temp->majtmprestatairenplus($idPrestation, $tm); - - $this->executerAction("index"); - } - - public function retirer() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $this->college_temp->retirerprestatairenplus($idPrestation); - - $this->executerAction("index"); - } - - public function ajouterunprestataireenplus() - { - $codePrestataire = $this->requete->getParametre("codePrestataire"); - $this->college_temp->ajouterunprestataireenplus($codePrestataire); - - $this->executerAction("index"); - } - - public function initprestation() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $this->college_temp->initPrestationCollege($idCollegeTemp); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestatairenpluscons.php b/radiantproduction/Controleur/ControleurAjaxprestatairenpluscons.php deleted file mode 100644 index 4c2eb2c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestatairenpluscons.php +++ /dev/null @@ -1,22 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $prestataireenpluss= $this->college_temp->getprestataireenplus($idCollege); - - $prestataireenmoinss= $this->college_temp->getprestataireenmoins($idCollege); - - $this->genererVueAjax(array('prestataireenpluss' => $prestataireenpluss, 'prestataireenmoinss' => $prestataireenmoinss)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestatairetm.php b/radiantproduction/Controleur/ControleurAjaxprestatairetm.php deleted file mode 100644 index 1772984..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestatairetm.php +++ /dev/null @@ -1,57 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollege = $_SESSION['idCollege']; - - $college= $this->college_temp->getCollegepoliceId($idCollege); - - $prestatairereseaus= $this->college_temp->getprestatairereseautm($idCollege); - - $prestatairetms= $this->college_temp->getprestatairetm($idCollege); - - $this->genererVueAjax(array('college' => $college, 'prestatairereseaus' => $prestatairereseaus, 'prestatairetms' => $prestatairetms)); - } - - public function majtm() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $tm = $this->requete->getParametreFormulaire("tm"); - $this->college_temp->majtmprestatairetm($idPrestation, $tm); - - $this->executerAction("index"); - } - - public function retirer() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $this->college_temp->retirerprestatairetm($idPrestation); - - $this->executerAction("index"); - } - - public function ajouterunprestatairetm() - { - $codePrestataire = $this->requete->getParametre("codePrestataire"); - $this->college_temp->ajouterunprestatairetm($codePrestataire); - - $this->executerAction("index"); - } - - public function initprestation() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $this->college_temp->initPrestationCollege($idCollegeTemp); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprestatairetmcons.php b/radiantproduction/Controleur/ControleurAjaxprestatairetmcons.php deleted file mode 100644 index bd2c2b4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprestatairetmcons.php +++ /dev/null @@ -1,20 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $prestatairetms= $this->college_temp->getprestatairetm($idCollege); - - $this->genererVueAjax(array('prestatairetms' => $prestatairetms)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprodparclient.php b/radiantproduction/Controleur/ControleurAjaxprodparclient.php deleted file mode 100644 index 31b451a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprodparclient.php +++ /dev/null @@ -1,29 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparclient($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprodparclientexport.php b/radiantproduction/Controleur/ControleurAjaxprodparclientexport.php deleted file mode 100644 index 87d8c64..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprodparclientexport.php +++ /dev/null @@ -1,64 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - - $donnees = $this->etat->etatprodparclientexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Client'), - _('Affaires Nouvelles'), - _('Renouvellement'), - _('Prime HT'), - /*(isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"),*/ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Prime TTC'), - _('Etat') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PRODUCTION GLOBALE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PRODUCTION_GLOBALE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparemission($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprodparemissionexport.php b/radiantproduction/Controleur/ControleurAjaxprodparemissionexport.php deleted file mode 100644 index cb6c40c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprodparemissionexport.php +++ /dev/null @@ -1,63 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparemissionexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - _('Nom Client'), - _('No Police'), - _('Date Effet'), - _('Echéance'), - _('P Nette'), - /*(isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"),*/ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales'), - _('Etape') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('BORDEREAU PRODUCTION')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_BORD_PRODUCTION'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparmois($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprodparmoiseclate.php b/radiantproduction/Controleur/ControleurAjaxprodparmoiseclate.php deleted file mode 100644 index a91158c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprodparmoiseclate.php +++ /dev/null @@ -1,29 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparmoiseclate($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprodparmoiseclateclient.php b/radiantproduction/Controleur/ControleurAjaxprodparmoiseclateclient.php deleted file mode 100644 index 20ee38f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprodparmoiseclateclient.php +++ /dev/null @@ -1,29 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparmoiseclateclient($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxprodparmoiseclateclientexport.php b/radiantproduction/Controleur/ControleurAjaxprodparmoiseclateclientexport.php deleted file mode 100644 index 9422764..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprodparmoiseclateclientexport.php +++ /dev/null @@ -1,67 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparmoiseclateclientexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Client'), - _('Primes Maladie'), - _('Frais Fun'), - _('Commission Courtage'), - _('Commission Commerciaux'), - /*_('Accessoires'),*/ - _('F Gestion'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PROD CLIENT ECLATEE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PROD_ECLAT_CLIENT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparmoiseclateexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Primes Maladie'), - _('Frais Fun'), - _('Commission Courtage'), - _('Commission Commerciaux'), - /*_('Accessoires'),*/ - _('F Gestion'), - /* (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"), */ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PRODUCTION ECLATEE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PRODUCTION_ECLATEE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodparmoisexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Nb AFN'), - _('Affaires Nouvelles'), - _('Nb REN'), - _('Renouvellement'), - _('Nb Polices'), - _('P Nette'), - /*(isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes"),*/ - _("Taxes"), - (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes"), - _('Primes Totales') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PRODUCTION PAR MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PRODUCTION_PAR_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodagences($debutPeriode, $finPeriode) ; - - $donnees_total = null; - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxproductionagencesexport.php b/radiantproduction/Controleur/ControleurAjaxproductionagencesexport.php deleted file mode 100644 index a6dc1a5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxproductionagencesexport.php +++ /dev/null @@ -1,62 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $debutPeriode = $this->requete->getParametreDate("debutPeriode"); - $finPeriode = $this->requete->getParametreDate("finPeriode"); - - $donnees = $this->etat->etatprodagencesexport($debutPeriode, $finPeriode) ; - - // Excel - $headerXLS = array( - _("Agence"), - _('Nom Client'), - _('No Police'), - _('Date Emission'), - _('Date Effet'), - _('Echéance'), - _('Primes'), - _('Encaissements'), - _('Solde') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PRODUCTION AGENCES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_BORD_PRODUCTION'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reseau = new Reseausoins(); - } - - public function index() - { - } - - public function afficherreseaucategorie() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $reseausnonaccessibles = $this->reseau->getreseausnonaccessibles($codeProduit); - - $reseausaccessibles = $this->reseau->getreseausaccessibles($codeProduit); - - $this->genererVueAjax(array('reseausnonaccessibles' => $reseausnonaccessibles, 'reseausaccessibles' => $reseausaccessibles)); - } - - public function ajouterunreseauproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - - $this->reseau->ajouterunreseauproduit($codeProduit, $codeReseau); - - // $this->genererVueAjax(); - } - - - public function retirerunreseauproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - - $this->reseau->retirerunreseauproduit($codeProduit, $codeReseau); - - // $this->genererVueAjax(); - } - - public function ajoutertousreseauproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $this->reseau->ajoutertousreseauproduit($codeProduit); - - // $this->genererVueAjax(); - } - - public function retirertousreseauproduit() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $this->reseau->retirertousreseauproduit($codeProduit); - - // $this->genererVueAjax(); - } - - public function majtm() - { - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - $tm = $this->requete->getParametreFormulaire("tm", "numerique"); - - $this->reseau->majtm($codeProduit, $codeReseau, $tm); - - // $this->genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxproraterprime.php b/radiantproduction/Controleur/ControleurAjaxproraterprime.php deleted file mode 100644 index 4998735..0000000 --- a/radiantproduction/Controleur/ControleurAjaxproraterprime.php +++ /dev/null @@ -1,23 +0,0 @@ -adherent_temp = new Adherent_temp(); - } - - public function index() - { - $user = $_SESSION['login']; - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $prorata = $this->requete->getParametreFormulaire("prorata"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - - $adherent_temp = $this->adherent_temp->getAdherent_temp($idCollege, $dateEntree, $user, $prorata) ; - - $this->genererVueAjax(array('adherent_temp' => $adherent_temp)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxproraterprimebeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxproraterprimebeneficiaire.php deleted file mode 100644 index 25876e7..0000000 --- a/radiantproduction/Controleur/ControleurAjaxproraterprimebeneficiaire.php +++ /dev/null @@ -1,24 +0,0 @@ -beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - $prorata = $this->requete->getParametreFormulaire("prorata"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - - $beneficiaire_temp = $this->beneficiaire_temp->getBeneficiaire_temp($idAdherent, $dateEntree, $user, $prorata, $fraisCarte) ; - - $this->genererVueAjax(array('beneficiaire_temp' => $beneficiaire_temp)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxprovisonssin.php b/radiantproduction/Controleur/ControleurAjaxprovisonssin.php deleted file mode 100644 index 9293ff9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxprovisonssin.php +++ /dev/null @@ -1,62 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - - $debutAnalyse = $this->requete->getParametreDate("debutAnalyse"); - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $provisions = $this->reglement->getprovisions($debutAnalyse, $dateAnalyse); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Exercice'), - _('Mois'), - _('Montant Facture'), - _('Après Décompte'), - _('Payé'), - _('Provisions') - ); - - $dataXLS = array(); - - foreach ($provisions as $provision) - { - $dataXLS[]=$provision; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PROVISIONS DE SINISTRES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PROV_SIN'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - - $debutAnalyse = $this->requete->getParametreDate("debutAnalyse"); - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $provisions = $this->reglement->getprovisions_date_cpt($debutAnalyse, $dateAnalyse); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Exercice'), - _('Mois'), - _('Montant Facture'), - _('Après Décompte'), - _('Payé'), - _('Provisions') - ); - - $dataXLS = array(); - - - foreach ($provisions as $provision) - { - $dataXLS[]=$provision; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PROVISIONS COMPTABLES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PROV_SIN_CPT'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $debutAnalyse = $this->requete->getParametreDate("debutAnalyse"); - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $provisions = $this->reglement->getprovisions_date_sys($debutAnalyse, $dateAnalyse); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Exercice'), - _('Mois'), - _('Montant Facture'), - _('Après Décompte'), - _('Payé'), - _('Provisions') - ); - - $dataXLS = array(); - - - foreach ($provisions as $provision) - { - $dataXLS[]=$provision; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PROVISIONS SYSTEME')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PROV_SIN_SYS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
quittance = new Quittance(); - } - - public function index() { - $idPolice_Q = $this->requete->getParametreFormulaire("idPolice"); - $numeroPolice_Q = $this->requete->getParametreFormulaire("numeroPolice"); - - $quittances = $this->quittance->getQuittancesId($idPolice_Q); - - $totalquittance = $this->quittance->getTotalQuittance($idPolice_Q); - - $this->genererVueAjax(array('quittances' => $quittances, 'totalquittance' => $totalquittance, - 'idPolice_Q' => $idPolice_Q, 'numeroPolice_Q' => $numeroPolice_Q)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrecapitulerprimeimposee.php b/radiantproduction/Controleur/ControleurAjaxrecapitulerprimeimposee.php deleted file mode 100644 index 5f6a379..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrecapitulerprimeimposee.php +++ /dev/null @@ -1,30 +0,0 @@ -tarif = new Tarif(); - } - - public function index() - { - $primeNette = $this->requete->getParametreFormulaire("primeNette","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - - $resultat = $this->tarif->recapitulerprimeimposee($primeNette, $fraisCarte); - - $primeHt_info = $resultat['primeHt']; - $accessoire_info = $resultat['accessoire']; - $commission_info = $resultat['commission']; - $commissionAutre_info = $resultat['commissionAutre']; - $taxe_info = $resultat['taxe']; - $primeTtc_info = $resultat['primeTtc']; - $primeNetteStat_info = $resultat['primeNetteStat']; - - $this->genererVueAjax(array('primeHt_info' => $primeHt_info, 'accessoire_info' => $accessoire_info, 'commission_info' => $commission_info, - 'commissionAutre_info' => $commissionAutre_info, 'taxe_info' => $taxe_info, 'primeTtc_info' => $primeTtc_info, 'primeNetteStat_info' => $primeNetteStat_info)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrecapprimeadherentfamiliale.php b/radiantproduction/Controleur/ControleurAjaxrecapprimeadherentfamiliale.php deleted file mode 100644 index 04c5470..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrecapprimeadherentfamiliale.php +++ /dev/null @@ -1,23 +0,0 @@ -adherent_temp = new Adherent_temp(); - } - - public function index() - { - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $primeBase = $this->requete->getParametreFormulaire("primeBase", "numerique"); - $codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier"); - - $primes_adherent_temp = $this->adherent_temp->recapadherentfamilialetemp($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier); - - $this->genererVueAjax(array('primes_adherent_temp' => $primes_adherent_temp)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxrecapprimebeneficiairefamiliale.php b/radiantproduction/Controleur/ControleurAjaxrecapprimebeneficiairefamiliale.php deleted file mode 100644 index 6219243..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrecapprimebeneficiairefamiliale.php +++ /dev/null @@ -1,23 +0,0 @@ -beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $idAvenant = $this->requete->getParametreFormulaire("idAvenant"); - $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - - $primes_beneficiaire_temp = $this->beneficiaire_temp->recapbeneficiciairefamilialetemp($codeLienParente, $dateEntree, $codeProduit); - - $this->genererVueAjax(array('primes_beneficiaire_temp' => $primes_beneficiaire_temp)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxrechercheemission.php b/radiantproduction/Controleur/ControleurAjaxrechercheemission.php deleted file mode 100644 index e5197a0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrechercheemission.php +++ /dev/null @@ -1,27 +0,0 @@ -emission = new Emission(); - $this->quittance = new Quittance(); - } - - public function index() - { - $numeroEmission = $this->requete->getParametreFormulaire("numeroEmission"); - - $emission = $this->emission->getEmissionNo($numeroEmission); - - $idEmission = $emission['idEmission']; - $quittances = $this->quittance->getQuittancesEmission($idEmission); - $totalquittance = $this->quittance->getTotalQuittanceEmission($idEmission); - - $this->genererVueAjax(array('emission' => $emission, 'quittances' => $quittances, 'totalquittance' => $totalquittance)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrechercheencaissement.php b/radiantproduction/Controleur/ControleurAjaxrechercheencaissement.php deleted file mode 100644 index c5d2a6b..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrechercheencaissement.php +++ /dev/null @@ -1,28 +0,0 @@ -encaissement = new Encaissement(); - $this->detailencaissement = new Detailencaissement(); - } - - public function index() - { - $numeroEncaissement = $this->requete->getParametreFormulaire("numeroEncaissement"); - - $encaissement = $this->encaissement->getEncaissementNo($numeroEncaissement); - - $idEncaissement = $encaissement['idEncaissement']; - - $detailencaissements = $this->detailencaissement->getDetailsEncaissement($idEncaissement); - - $this->genererVueAjax(array('encaissement' => $encaissement, 'detailencaissements' => $detailencaissements)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrecherchefacturesfeuille.php b/radiantproduction/Controleur/ControleurAjaxrecherchefacturesfeuille.php deleted file mode 100644 index a6efd86..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrecherchefacturesfeuille.php +++ /dev/null @@ -1,27 +0,0 @@ -emission = new Emission(); - $this->quittance = new Quittance(); - } - - public function index() - { - $numeroEmission = $this->requete->getParametreFormulaire("numeroEmission"); - - $emission = $this->emission->getEmissionNo($numeroEmission); - - $idEmission = $emission['idEmission']; - $quittances = $this->quittance->getQuittancesEmission($idEmission); - $totalquittance = $this->quittance->getTotalQuittanceEmission($idEmission); - - $this->genererVueAjax(array('emission' => $emission, 'quittances' => $quittances, 'totalquittance' => $totalquittance)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrecherchequittance.php b/radiantproduction/Controleur/ControleurAjaxrecherchequittance.php deleted file mode 100644 index ead1fba..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrecherchequittance.php +++ /dev/null @@ -1,26 +0,0 @@ -quittance = new Quittance(); - $this->detailencaissement = new Detailencaissement(); - } - - public function index() - { - $idQuittance = $this->requete->getParametreFormulaire("idQuittance"); - - $quittance = $this->quittance->getQuittanceId($idQuittance); - - $detailencaissements = $this->detailencaissement->getDetailEncaissementsId($idQuittance); - - $this->genererVueAjax(array('quittance' => $quittance, 'detailencaissements' => $detailencaissements)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrecugc.php b/radiantproduction/Controleur/ControleurAjaxrecugc.php deleted file mode 100644 index 26fa6f8..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrecugc.php +++ /dev/null @@ -1,115 +0,0 @@ -facture = new Gestionconfiee(); - $this->societeuser = new Societeuser(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $societeuser = $this->societeuser->getSocieteuser($_SESSION['codeSociete']); - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(25, 25, 25) ; - $pdf->SetFont('Arial','BU',10); - - $pdf->Sety(40); - $pdf->Cell(0,12,convertirc($societeuser['nomSociete']),1,1,'C',false); - - $pdf->Ln(2); - $pdf->SetFont('Arial','I',7); - - $pdf->Cell(0,5,'Edition : '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - $pdf->Cell(0,5,convertirc( _("Tél") . " : ".$societeuser['telephoneSociete']),0,1,'C',false); - $pdf->Cell(0,5,convertirc(_("Adresse Post") . " : " . $societeuser['adressePostSociete']),0,1,'C',false); - $pdf->Cell(0,5,convertirc(_("Registre Commerce") . " : " . $societeuser['registreCommerce']),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU',10); - $pdf->Cell(0,12,convertirc(_('RECU ENCAISSEMENT').' No '.$reglement['gcNumeroDecompte']),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','',10); - - $pdf->Cell(40,10,convertirc(_("Assureur")),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,10,convertirc(': '.$reglement['gcassureur']),0,1,'L',false); - - $pdf->SetFont('Arial','',10); - $pdf->Cell(40,10,convertirc(_('Date Fact')),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,10,convertirc(': '.dateFr($reglement['dateSysteme'])),0,1,'L',false); - - $pdf->SetFont('Arial','',10); - $pdf->Cell(40,10,convertirc(_('Reçu de')),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,10,convertirc(': '.$reglement['nomTireur']),0,1,'L'); - - $pdf->SetFont('Arial','',10); - $pdf->Cell(40,5,convertirc(_('La somme de')),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,5,convertirc(': '.format_N($reglement['montantDu'])." ".$_SESSION['devise_C']),0,1,'L'); - - $pdf->SetFont('Arial','BI',9); - $pdf->Cell(0,10, convetirEnLettre($reglement['montantDu'], $_SESSION['lang'])." ".$_SESSION['devise_C'],1,1,'C'); - - $pdf->SetFont('Arial','',10); - $pdf->Cell(40,10,convertirc(_('Mode Paiement')),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,10,convertirc(': '.$reglement['modepaiement']),0,1,'L'); - - $pdf->SetFont('Arial','',10); - $pdf->Cell(40,10,convertirc(_('Références paiement')),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,10,convertirc(': '.$reglement['referencePaiement']),0,1,'L'); - - $pdf->SetFont('Arial','',10); - $pdf->Cell(40,10,convertirc(_('Banque')),0,0,'L',false); - - $pdf->SetFont('Arial','BI',10); - $pdf->Cell(0,10,convertirc(': '.$reglement['banquePayeur']),0,1,'L'); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','U',10); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.dateFr($reglement['dateComptable']),0,1,'C',false); - - $pdf->Ln(10); - - - $pdf->Cell(0,10,convertirc(_('La Comptabilité de').' '.$societeuser['nomSociete'].' : '.$reglement['userPaiement']),0,0,'C',false); - - $fichier="Temp/TMP_RECU_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $decomptes = $this->reglement->getrelevecompteprestaire($codePrestataire, $codePerdiode1, $codePerdiode2); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrelevecompteprestaireexport.php b/radiantproduction/Controleur/ControleurAjaxrelevecompteprestaireexport.php deleted file mode 100644 index badb932..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrelevecompteprestaireexport.php +++ /dev/null @@ -1,97 +0,0 @@ -reglement = new Reglement(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $prestataire = $this->prestataire->getPrestataireCode( $codePrestataire); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $decomptes = $this->reglement->getrelevecompteprestaireexport($codePrestataire, $codePerdiode1, $codePerdiode2); - - // Excel - - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('No Lot'), - _('Date Reception'), - _('Montant Facture'), - _('Demande Rgt'), - _('A payer'), - _('Date Reglement'), - _('Date Cpt'), - _('Payé'), - _('Mode Paiement'), - _('Banque'), - _('Réf Paiement'), - _('Vérificateur') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $facture) - { - $dataXLS[]=$facture; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('RELEVE COMPTE PRESTATAIRE')); - - $feuille->setCellValue('A1', convertirc(_('RELEVE COMPTE PRESTATAIRE'))); - $feuille->mergeCells('A1:D1'); - - $feuille->setCellValue('E1', convertirc($prestataire['prestataire'])); - $feuille->mergeCells('E1:H1'); - - $feuille->setCellValue('A2', _('Début').' :'); - $feuille->mergeCells('A2:B2'); - $feuille->setCellValue('C2', convertirc($codePerdiode1)); - - $feuille->setCellValue('A3', _('Fin').' :'); - $feuille->mergeCells('A3:B3'); - $feuille->setCellValue('C3', convertirc($codePerdiode2)); - - $feuille->fromArray($headerXLS, NULL, 'A5', true); - $feuille->fromArray($dataXLS, NULL, 'A6', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_RELEVE_CPT_PRESTATAIRE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
adherent = new Adherent(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->situationfamille = (new Situationfamille())->getListe(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - // $this->genererVueAjax(); - } - - public function init() - { - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - $dateSortie = $this->requete->getParametreDate("dateSortie"); - $dateRemplacement = $this->requete->getParametreDate("dateRemplacement"); - $user = $_SESSION['login']; - $motifavenant = $this->requete->getParametreFormulaire("motifavenant"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - - $this->adherent->initremplacementadherent($idPolice, $idAdherent, $dateSortie , $dateRemplacement, $user, - $motifavenant, $fraisCarte); - - $remplacementadherent_temp = $this->adherent->getremplacementadherent_temp(); - - $spadherent = $this->adherent->getRapportSpAdherent($idAdherent, $dateSortie); - - $beneficiairearemplacers = $this->adherent->getbeneficiairearemplacer(); - - $adherentremplacanttemp = $this->adherent->getadherentremplacanttemp(); - - $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); - - $this->genererVueAjax(array('spadherent' => $spadherent, 'beneficiairearemplacers' => $beneficiairearemplacers, - 'adherentremplacanttemp' => $adherentremplacanttemp, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'pays' => $this->pays, 'situationfamille' => $this->situationfamille, 'groupesanguin' => $this->groupesanguin, - 'remplacementadherent_temp' => $remplacementadherent_temp, 'garantieadherents' => $garantieadherents)); - } - public function enregistrerremplacementadherent() - { - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $codeSituationFamille = $this->requete->getParametreFormulaire("codeSituationFamille"); - $nombreEnfants = $this->requete->getParametreFormulaire("nombreEnfants"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePostale = $this->requete->getParametreFormulaire("adressePostale"); - $codePays = $this->requete->getParametre("codePays"); - $telephonFixe = $this->requete->getParametreFormulaire("telephonFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametreFormulaire("email"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - $this->adherent->enregistrerremplacementadherent($nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, - $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $fraisCarte) ; - - // $this->genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrenouvellement.php b/radiantproduction/Controleur/ControleurAjaxrenouvellement.php deleted file mode 100644 index c1c23bd..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrenouvellement.php +++ /dev/null @@ -1,32 +0,0 @@ -police = new Police(); - $this->periodicite = (new Periodicite())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('periodicite' => $this->periodicite)); - } - - /* - 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/radiantproduction/Controleur/ControleurAjaxreposmedical.php b/radiantproduction/Controleur/ControleurAjaxreposmedical.php deleted file mode 100644 index 344d0eb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxreposmedical.php +++ /dev/null @@ -1,37 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $reposmedicaux = $this->feuillemaladie->getreposmedicalfeuillemaladie($numeroFeuilleMaladie); - - $this->genererVueAjax(array('reposmedicaux' => $reposmedicaux)); - } - - public function nouveaureposmedical() - { - $this->genererVueAjax(); - } - - public function creerreposmedical() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $notesNew = $this->requete->getParametreFormulaire("notesNew"); - $nbJour = $this->requete->getParametreFormulaire("nbJour"); - - $this->feuillemaladie->creerreposmedical($numeroFeuilleMaladie, $notesNew, $nbJour); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteaccidents.php b/radiantproduction/Controleur/ControleurAjaxrequeteaccidents.php deleted file mode 100644 index 51f560d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteaccidents.php +++ /dev/null @@ -1,36 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesaccidents($codePrestataire, $dateFacture1, $dateFacture2); - - $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/radiantproduction/Controleur/ControleurAjaxrequeteaccidentsexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteaccidentsexport.php deleted file mode 100644 index deee700..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteaccidentsexport.php +++ /dev/null @@ -1,78 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesaccidentsexport($codePrestataire, $dateFacture1, $dateFacture2) ; - - // Excel - - $headerXLS = array - ( - _('Date'), - _('No Fact'), - _('Prestataire'), - - _('Adhérent'), - _('Tél Adh'), - - _('No Bénéficiaire'), - _('Bénéficiaire'), - - _('Tél Bénéf'), - - _('Montant'), - _('Bon Cons'), - _('Bon Phar'), - _('Souscripteur') - ); - - $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 ACCIDENTS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_ACCIDENTS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
assures = new Beneficiairerequetes(); - } - - public function index() - { - - // Ligne 1 - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 2 - $numeroPolice = $this->requete->getParametreFormulaire("numeroPolice"); - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $codeEtatPolice = $this->requete->getParametreFormulaire("codeEtatPolice"); - $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); - $telephonePortableAdherent = $this->requete->getParametreFormulaire("telephonePortableAdherent"); - $emailAdherent = $this->requete->getParametreFormulaire("emailAdherent"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - - // Ligne 3 - $codeEtatBeneficiaire = $this->requete->getParametreFormulaire("codeEtatBeneficiaire"); - $decede = $this->requete->getParametreFormulaire("decede"); - - $numeroClient1 = $this->requete->getParametreFormulaire("numeroClient1"); - $numeroClient2 = $this->requete->getParametreFormulaire("numeroClient2"); - - $nomClient = $this->requete->getParametreFormulaire("nomClient"); - - // FIN Champs - - $assures = $this->assures->requetesassure($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient); - - $assures_total = $this->assures->requetesassuretotal($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient); - - $this->genererVueAjax(array('assures' => $assures, 'assures_total' => $assures_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteassureexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteassureexport.php deleted file mode 100644 index ad06994..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteassureexport.php +++ /dev/null @@ -1,99 +0,0 @@ -assures = new Beneficiairerequetes(); - } - - public function index() - { - - // Ligne 1 - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 2 - $numeroPolice = $this->requete->getParametreFormulaire("numeroPolice"); - $codeProduit = $this->requete->getParametreFormulaire("codeProduit"); - $codeEtatPolice = $this->requete->getParametreFormulaire("codeEtatPolice"); - $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); - $telephonePortableAdherent = $this->requete->getParametreFormulaire("telephonePortableAdherent"); - $emailAdherent = $this->requete->getParametreFormulaire("emailAdherent"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - - // Ligne 3 - $codeEtatBeneficiaire = $this->requete->getParametreFormulaire("codeEtatBeneficiaire"); - $decede = $this->requete->getParametreFormulaire("decede"); - - $numeroClient1 = $this->requete->getParametreFormulaire("numeroClient1"); - $numeroClient2 = $this->requete->getParametreFormulaire("numeroClient2"); - - $nomClient = $this->requete->getParametreFormulaire("nomClient"); - - // FIN Champs - - $assures = $this->assures->requetesassureexport($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient); - - // Excel - $headerXLS = array - ( - _('Bénéficiaire'), - _('Adhérent'), - _('No Police'), - _('Catég'), - _('Lien par'), - _('Tél Adh'), - _('E-mail Adh'), - _('Nat Pièce'), - _('No Pièce'), - 'Sex', - _('Groupe Sang'), - _('Naissance'), - _('Etat'), - _('Entrée'), - _('Sortie'), - _('Décès'), - _('Etat Pol'), - _('Client'), - _('E-mail Client') - ); - - $dataXLS = array(); - - - foreach ($assures as $assure) - { - $dataXLS[]=$assure; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('LISTE DES ASSURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ASSURES_SANTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
bonpec = new Bonpec(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - $codeEtatBon = $this->requete->getParametreFormulaire("codeEtatBon"); - - // Ligne 2 - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $numeroBon1 = $this->requete->getParametreFormulaire("numeroBon1"); - $numeroBon2 = $this->requete->getParametreFormulaire("numeroBon2"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $bonpecs = $this->bonpec->requetesbonpec($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire) ; - - $bonpecs_total = $this->bonpec->requetesbonpectotal($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire) ; - - $this->genererVueAjax(array('bonpecs' => $bonpecs, 'bonpecs_total' => $bonpecs_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetebonpecexport.php b/radiantproduction/Controleur/ControleurAjaxrequetebonpecexport.php deleted file mode 100644 index 2145b95..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetebonpecexport.php +++ /dev/null @@ -1,82 +0,0 @@ -bonpec = new Bonpec(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); - $codeEtatBon = $this->requete->getParametreFormulaire("codeEtatBon"); - - // Ligne 2 - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $numeroBon1 = $this->requete->getParametreFormulaire("numeroBon1"); - $numeroBon2 = $this->requete->getParametreFormulaire("numeroBon2"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $bonpecs = $this->bonpec->requetesbonpecexport($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire) ; - - // Excel - $headerXLS = array - ( - _('Prestataire'), - _('Type'), - 'No', - _('Génération'), - _('Réception'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Utilisation'), - _('Etat') - ); - - $dataXLS = array(); - - - foreach ($bonpecs as $bonpec) - { - $dataXLS[]=$bonpec; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('BONS DE PEC')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_BONS_PEC_SANTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutGcFr'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finGcFr'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $gcs = $this->facture->requetescartegc($codeGcAssureur, $dateFacture1, $dateFacture2); - - $factures_total = null; - - if(count($gcs)>"0") - { - $factures_total = $gcs['0']; - } - - $this->genererVueAjax(array('gcs' => $gcs, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetecartegcexport.php b/radiantproduction/Controleur/ControleurAjaxrequetecartegcexport.php deleted file mode 100644 index 7ddc6b8..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetecartegcexport.php +++ /dev/null @@ -1,70 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutGcFr'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finGcFr'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetescartegcexport($codeGcAssureur, $dateFacture1, $dateFacture2) ; - - // Excel - - $headerXLS = array - ( - 'Date', - _('Souscripteur'), - _('Adhérent'), - _('No Police'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Carte'), - _('Facturé'), - _('Encaissé') - ); - - - $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 GESTION CONFIEES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_CARTES_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
derogation = new Derogation(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); - $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $numeroDerogation1 = $this->requete->getParametreFormulaire("numeroDerogation1"); - $numeroDerogation2 = $this->requete->getParametreFormulaire("numeroDerogation2"); - - // Ligne 3 - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $codeReponseDerogation = $this->requete->getParametreFormulaire("codeReponseDerogation"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); - - $demandederogations = $this->derogation->requetesdemandederogation($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire) ; - - $demandederogations_total = $this->derogation->requetesdemandederogationtotal($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire) ; - - $this->genererVueAjax(array('demandederogations' => $demandederogations, 'demandederogations_total' => $demandederogations_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetedemandederogationexport.php b/radiantproduction/Controleur/ControleurAjaxrequetedemandederogationexport.php deleted file mode 100644 index a828352..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetedemandederogationexport.php +++ /dev/null @@ -1,96 +0,0 @@ -derogation = new Derogation(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); - $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $numeroDerogation1 = $this->requete->getParametreFormulaire("numeroDerogation1"); - $numeroDerogation2 = $this->requete->getParametreFormulaire("numeroDerogation2"); - - // Ligne 3 - $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); - $codeReponseDerogation = $this->requete->getParametreFormulaire("codeReponseDerogation"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); - - $demandederogations = $this->derogation->requetesdemandederogationexport($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire) ; - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Système'), - _('Numéro'), - _('Souscripteur'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Type'), - _('Responsable'), - _('Date Réponse'), - _('Motif Réel'), - _('Début'), - _('Fin'), - _('T M'), - _('Réponse') - ); - - $dataXLS = array(); - - - foreach ($demandederogations as $demandederogation) - { - $dataXLS[]=$demandederogation; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DEROGATIONS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_DEROGATIONS_SANTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
ententeprealable = new Ententeprealable(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); - $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $numeroEntentePrealable1 = $this->requete->getParametreFormulaire("numeroEntentePrealable1"); - $numeroEntentePrealable2 = $this->requete->getParametreFormulaire("numeroEntentePrealable2"); - - // Ligne 3 - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - $libelleFamilleActe = $this->requete->getParametreFormulaire("libelleFamilleActe"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); - - $ententeprealables = $this->ententeprealable->requetesententeprealable($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) ; - - $ententeprealables_total = $this->ententeprealable->requetesententeprealabletotal($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) ; - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables, 'ententeprealables_total' => $ententeprealables_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteententeprealableexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteententeprealableexport.php deleted file mode 100644 index afae4e1..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteententeprealableexport.php +++ /dev/null @@ -1,95 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); - $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $numeroEntentePrealable1 = $this->requete->getParametreFormulaire("numeroEntentePrealable1"); - $numeroEntentePrealable2 = $this->requete->getParametreFormulaire("numeroEntentePrealable2"); - - // Ligne 3 - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - $libelleFamilleActe = $this->requete->getParametreFormulaire("libelleFamilleActe"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); - - $ententeprealables = $this->ententeprealable->requetesententeprealableexport($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Système'), - _('Numéro'), - _('Souscripteur'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Acte'), - _('Responsable'), - _('Date Réponse'), - _('Motif Réel'), - _('Réponse') - ); - - $dataXLS = array(); - - - foreach ($ententeprealables as $ententeprealable) - { - $dataXLS[]=$ententeprealable; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DEROGATIONS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTENTE_PREALABLE_SANTE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
ententeprealable = new Ententeprealable(); - } - - public function index() - { - $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); - - $ententeprealables = $this->ententeprealable->requetesententeprealablepha($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable); - - $ententeprealables_total = null; - - if(count($ententeprealables)>"0") - { - $ententeprealables_total = $ententeprealables['0']; - } - - - $this->genererVueAjax(array('ententeprealables' => $ententeprealables, 'ententeprealables_total' => $ententeprealables_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteententeprealablephaexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteententeprealablephaexport.php deleted file mode 100644 index 836faf2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteententeprealablephaexport.php +++ /dev/null @@ -1,76 +0,0 @@ -ententeprealable = new Ententeprealable(); - } - - public function index() - { - $dateDemande1 = $this->requete->getParametreDate("dateDemande1"); - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateDemande2 = $this->requete->getParametreDate("dateDemande2"); - $codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateDemande2"); - - $ententeprealables = $this->ententeprealable->requetesententeprealablephaexport($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable); - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('Système'), - _('Numéro'), - _('Souscripteur'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Médicament'), - _('Responsable'), - _('Date Réponse'), - _('Motif Réel'), - _('Responsable') - ); - - $dataXLS = array(); - - - foreach ($ententeprealables as $ententeprealable) - { - $dataXLS[]=$ententeprealable; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ENTENTE PREALABALE PHARMACIE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ENTENTE_PREALABLE_PHARMACIE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteassure.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteassure.php deleted file mode 100644 index 5b997ce..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteassure.php +++ /dev/null @@ -1,33 +0,0 @@ -produit = (new Produit())->getListe(); - $this->etatpolice = (new Etatpolice())->getListe(); - // $this->lienparente = (new Lienparente())->getListe(); - $this->lienparente = (new Lienparente())->getListeConsultation(); - $this->sexe = (new Sexe())->getListe(); - $this->etatbeneficiaire = (new Etatpersonne())->getListe(); - $this->ouinondecede = (new Ouinon())->getListe(); - } - - public function index() { - $this->genererVueAjax(array('produit' => $this->produit, 'etatpolice' => $this->etatpolice, 'lienparente' => $this->lienparente, - 'sexe' => $this->sexe, 'etatbeneficiaire' => $this->etatbeneficiaire, 'ouinondecede' => $this->ouinondecede)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetebonpec.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetebonpec.php deleted file mode 100644 index 1478d23..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetebonpec.php +++ /dev/null @@ -1,22 +0,0 @@ -prestataire = new Prestataire(); - $this->typebon = (new Typebon())->getListe(); - $this->etatbon = (new Etatbon())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'typebon' => $this->typebon, 'etatbon' => $this->etatbon)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetedemandederogation.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetedemandederogation.php deleted file mode 100644 index fe89a49..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetedemandederogation.php +++ /dev/null @@ -1,23 +0,0 @@ -prestataire = new Prestataire(); - $this->listederogation = (new Derogation())->getListe(); - $this->reponsederogation = (new Reponsederogation())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'listederogation' => $this->listederogation, - 'reponsederogation' => $this->reponsederogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteententeprealable.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteententeprealable.php deleted file mode 100644 index 00163c6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteententeprealable.php +++ /dev/null @@ -1,20 +0,0 @@ -prestataire = new Prestataire(); - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteententeprealablepha.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteententeprealablepha.php deleted file mode 100644 index 3473c4d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteententeprealablepha.php +++ /dev/null @@ -1,20 +0,0 @@ -prestataire = new Prestataire(); - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacture.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefacture.php deleted file mode 100644 index b7661e6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacture.php +++ /dev/null @@ -1,19 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureadherent.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureadherent.php deleted file mode 100644 index 172eb8a..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureadherent.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturebeneficiaire.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturebeneficiaire.php deleted file mode 100644 index ab9b6e2..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturebeneficiaire.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureclient.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureclient.php deleted file mode 100644 index 9a777a7..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureclient.php +++ /dev/null @@ -1,27 +0,0 @@ -prestataire = new Prestataire(); - $this->ouinonfacture = (new Ouinon())->getListe(); - $this->typeprestataire = (new Typeprestataire())->getListe(); - $this->ouinonhospit = (new Ouinon())->getListe(); - $this->ouinonchirurgie = (new Ouinon())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant,'typeprestataire' => $this->typeprestataire, - 'ouinonhospit' => $this->ouinonhospit, 'ouinonchirurgie' => $this->ouinonchirurgie)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturejour.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturejour.php deleted file mode 100644 index ac1b7b9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturejour.php +++ /dev/null @@ -1,18 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureleger.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureleger.php deleted file mode 100644 index 0291741..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefactureleger.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturemois.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturemois.php deleted file mode 100644 index 70e3044..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturemois.php +++ /dev/null @@ -1,18 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturepolice.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturepolice.php deleted file mode 100644 index 23d2b35..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefacturepolice.php +++ /dev/null @@ -1,13 +0,0 @@ -genererVueAjax(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetefeuillemaladie.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetefeuillemaladie.php deleted file mode 100644 index 35c6f24..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetefeuillemaladie.php +++ /dev/null @@ -1,19 +0,0 @@ -prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteoptique.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteoptique.php deleted file mode 100644 index fa22ca0..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteoptique.php +++ /dev/null @@ -1,16 +0,0 @@ -opticien = (new Prestataire())->getListeOpticien(); - $this->prestataireprescription = (new Prestataire())->getListeTypePrestataire("CSO"); - } - - public function index() { - $this->genererVueAjax(array('opticien' => $this->opticien, 'prestataireprescription' => $this->prestataireprescription)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetepharmacie.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetepharmacie.php deleted file mode 100644 index cd872a6..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetepharmacie.php +++ /dev/null @@ -1,19 +0,0 @@ -prestataire = new Prestataire(); - $this->prestataireprescription = (new Prestataire())->getListeTypePrestataire("CSO"); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'prestataireprescription' => $this->prestataireprescription)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteentetepharmacieb.php b/radiantproduction/Controleur/ControleurAjaxrequeteentetepharmacieb.php deleted file mode 100644 index 4c37757..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteentetepharmacieb.php +++ /dev/null @@ -1,19 +0,0 @@ -prestataire = new Prestataire(); - $this->prestataireprescription = (new Prestataire())->getListeTypePrestataire("CSO"); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'prestataireprescription' => $this->prestataireprescription)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteprestationactes.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteprestationactes.php deleted file mode 100644 index 923b450..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteprestationactes.php +++ /dev/null @@ -1,33 +0,0 @@ -prestataire = new Prestataire(); - $this->typeprestation = (new Typeprestation())->getListe(); - $this->ouinonfacture = (new Ouinon())->getListe(); - $this->typeprestataire = (new Typeprestataire())->getListe(); - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVueAjax(array('prestataire_courant' => $prestataire_courant, 'typeprestation' => $this->typeprestation, - 'ouinonfacture' => $this->ouinonfacture, 'typeprestataire' => $this->typeprestataire, - 'reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteverificateur.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteverificateur.php deleted file mode 100644 index 3ffba61..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteverificateur.php +++ /dev/null @@ -1,19 +0,0 @@ -periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('periode' => $this->periode, 'exercice' => $this->exercice)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteenteteverification.php b/radiantproduction/Controleur/ControleurAjaxrequeteenteteverification.php deleted file mode 100644 index 8630406..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteenteteverification.php +++ /dev/null @@ -1,19 +0,0 @@ -periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - } - - public function index() - { - $this->genererVueAjax(array('periode' => $this->periode, 'exercice' => $this->exercice)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetefacture.php b/radiantproduction/Controleur/ControleurAjaxrequetefacture.php deleted file mode 100644 index e142b0c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacture.php +++ /dev/null @@ -1,40 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - // echo "dateFacture1 => $dateFacture1 ; dateFacture2 => $dateFacture2"; - // exit(); - - $chrono = $this->requete->getParametreFormulaire("chrono"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturenew($codePrestataire, $dateFacture1, $dateFacture2, $chrono); - - $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/radiantproduction/Controleur/ControleurAjaxrequetefactureadherentexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefactureadherentexport.php deleted file mode 100644 index cb9ffae..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefactureadherentexport.php +++ /dev/null @@ -1,107 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $entete = $this->facture->entete_facture_adherent_numero($numeroAdherent, $dateFacture1, $dateFacture2); - - $donnees = $this->facture->requetesfactureadherentexport($numeroAdherent, $dateFacture1, $dateFacture2); - - - // Excel - - $headerXLS = array( - _('Prestataire'), - "Date", - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('No Feuille'), - _('Bon Cons'), - _('Bon Phar'), - _('Bon Hospit'), - _('Bon Opt'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('Forcé'), - _('Rejeté'), - _('Attente'), - _('Ajouté'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES FAMILLE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES FAMILLE'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('No Adhérent').' : ')); - $feuille->setCellValue('B4', convertirc($entete['numeroAdherent'])); - - $feuille->setCellValue('A5', convertirc(_('Adhérent').' : ')); - $feuille->setCellValue('B5', convertirc($entete['adherent'])); - - $feuille->setCellValue('A6', convertirc(_('Période sinistres').' : ')); - $feuille->setCellValue('B6', convertirc($entete['dateFacture1']." To ".$entete['dateFacture2'])); - - $feuille->fromArray($headerXLS, NULL, 'A8', true); - $feuille->fromArray($dataXLS, NULL, 'A9', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_FAMILLE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $entete = $this->facture->entete_facture_adherent_numero($numeroAdherent, $dateFacture1, $dateFacture2); - - $donnees = $this->facture->requetesfactureadherentgar($numeroAdherent, $dateFacture1, $dateFacture2); - - - // Excel - - $headerXLS = array( - _('Prestataire'), - "Date", - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('No Feuille'), - _('Bon Cons'), - _('Bon Phar'), - _('Bon Hospit'), - _('Bon Opt'), - _('Facture'), - _('Gar'), - - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('Forcé'), - _('Rejeté'), - _('Attente'), - _('Ajouté'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES FAMILLE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES FAMILLE'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('No Adhérent').' : ')); - $feuille->setCellValue('B4', convertirc($entete['numeroAdherent'])); - - $feuille->setCellValue('A5', convertirc(_('Adhérent').' : ')); - $feuille->setCellValue('B5', convertirc($entete['adherent'])); - - $feuille->setCellValue('A6', convertirc(_('Période sinistres').' : ')); - $feuille->setCellValue('B6', convertirc($entete['dateFacture1']." To ".$entete['dateFacture2'])); - - $feuille->fromArray($headerXLS, NULL, 'A8', true); - $feuille->fromArray($dataXLS, NULL, 'A9', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_FAMILLE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $entete = $this->facture->entete_facture_beneficiaire_numero($numeroBeneficiaire, $dateFacture1, $dateFacture2); - - $donnees = $this->facture->requetesfacturebeneficiaireexport($numeroBeneficiaire, $dateFacture1, $dateFacture2); - - - // Excel - - $headerXLS = array( - _('Prestataire'), - "Date", - _('No Feuille'), - _('Bon Cons'), - _('Bon Phar'), - _('Bon Hospit'), - _('Bon Opt'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('Forcé'), - _('Rejeté'), - _('Attente'), - _('Ajouté'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES BENEFICIAIRE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES BENEFICIAIRE'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('No Adhérent').' : ')); - $feuille->setCellValue('B4', convertirc($entete['numeroBeneficiaire'])); - - $feuille->setCellValue('A5', convertirc(_('Adhérent').' : ')); - $feuille->setCellValue('B5', convertirc($entete['adherent'])); - - $feuille->setCellValue('A6', convertirc(_('Période sinistres').' : ')); - $feuille->setCellValue('B6', convertirc($entete['dateFacture1']." To ".$entete['dateFacture2'])); - - $feuille->fromArray($headerXLS, NULL, 'A8', true); - $feuille->fromArray($dataXLS, NULL, 'A9', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_FAMILLE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $entete = $this->facture->entete_facture_beneficiaire_numero($numeroBeneficiaire, $dateFacture1, $dateFacture2); - - $donnees = $this->facture->requetesfacturebeneficiairegar($numeroBeneficiaire, $dateFacture1, $dateFacture2); - - - // Excel - - $headerXLS = array( - _('Prestataire'), - "Date", - _('No Feuille'), - _('Bon Cons'), - _('Bon Phar'), - _('Bon Hospit'), - _('Bon Opt'), - - _('Facture'), - _('Gar'), - - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('Forcé'), - _('Rejeté'), - _('Attente'), - _('Ajouté'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES BENEFICIAIRE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES BENEFICIAIRE'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('No Adhérent').' : ')); - $feuille->setCellValue('B4', convertirc($entete['numeroBeneficiaire'])); - - $feuille->setCellValue('A5', convertirc(_('Adhérent').' : ')); - $feuille->setCellValue('B5', convertirc($entete['adherent'])); - - $feuille->setCellValue('A6', convertirc(_('Période sinistres').' : ')); - $feuille->setCellValue('B6', convertirc($entete['dateFacture1']." To ".$entete['dateFacture2'])); - - $feuille->fromArray($headerXLS, NULL, 'A8', true); - $feuille->fromArray($dataXLS, NULL, 'A9', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_FAMILLE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
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->requetesfactureclient($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/radiantproduction/Controleur/ControleurAjaxrequetefactureclientexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefactureclientexport.php deleted file mode 100644 index fd1a0ba..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefactureclientexport.php +++ /dev/null @@ -1,109 +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->requetesfactureclientexport($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) ; - - // Excel - $headerXLS = array - ( - _('Souscripteur'), - _('Prestataire'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Date'), - _('No Bon'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('Garantie') - ); - - $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 SOUSCRIPTEUR')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfactureexportnew($codePrestataire, $dateFacture1, $dateFacture2) ; - - // Excel - - $headerXLS = array - ( - _('Prestataire'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Date'), - _('No Bon'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('No Fact') - ); - - $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')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutGcFr'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finGcFr'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $gcs = $this->facture->requetesfacturegc($codeGcAssureur, $dateFacture1, $dateFacture2); - - $factures_total = null; - - if(count($gcs)>"0") - { - $factures_total = $gcs['0']; - } - - $this->genererVueAjax(array('gcs' => $gcs, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetefacturegccumul.php b/radiantproduction/Controleur/ControleurAjaxrequetefacturegccumul.php deleted file mode 100644 index e8346ce..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacturegccumul.php +++ /dev/null @@ -1,37 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $gcs = $this->facture->requetesfacturegccumul($codeGcAssureur, $codePerdiode1, $codePerdiode2); - - $factures_total = null; - - if(count($gcs)>"0") - { - $factures_total = $gcs['0']; - } - - $this->genererVueAjax(array('gcs' => $gcs, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetefacturegccumulexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefacturegccumulexport.php deleted file mode 100644 index 5a57a78..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacturegccumulexport.php +++ /dev/null @@ -1,77 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - - $codePerdiode1 = $this->requete->getParametreFormulaire("codePerdiode1"); - $codePerdiode2 = $this->requete->getParametreFormulaire("codePerdiode2"); - - $_SESSION['codeExercice1_C'] = substr($codePerdiode1, 0, 4); - $_SESSION['codeExercice2_C'] = substr($codePerdiode2, 0, 4); - - $_SESSION['codeMois1_C'] = substr($codePerdiode1, 4, 2); - $_SESSION['codeMois2_C'] = substr($codePerdiode2, 4, 2); - - $factures = $this->facture->requetesfacturegccumulexport($codeGcAssureur, $codePerdiode1, $codePerdiode2); - - // Excel - - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - _('Prestataire'), - _('Nb Factures'), - _('Montant Facture'), - _('Vérificateur'), - "Situation", - _('Vérifié'), - _('Montant Vérifié'), - _('Redressé'), - _('A payer'), - _('Facturé'), - _('Montant facturé'), - _('Encaissé'), - _('Montant Encaissé') - ); - - $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 CUMULES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACT_GC_CUMUL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutGcFr'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finGcFr'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturegcexport($codeGcAssureur, $dateFacture1, $dateFacture2) ; - - // Excel - - $headerXLS = array - ( - 'Date', - _('No Fact'), - _('Prestataire'), - _('Souscripteur'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Frais'), - _('Redressé'), - _('A payer'), - _('Vérif'), - _('Facturé'), - _('Encaissé') - ); - - $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 GESTION CONFIEES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutGcFr'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finGcFr'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturegcexportgar($codeGcAssureur, $dateFacture1, $dateFacture2) ; - - // Excel - - $headerXLS = array - ( - 'Date', - _('No Fact'), - _('Prestataire'), - _('Souscripteur'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Frais'), - _('Redressé'), - _('A payer'), - _('Vérif'), - _('Facturé'), - _('Encaissé'), - _('Gar') - ); - - $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 GC GAR')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_GC_GAR'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturejour($codePrestataire, $dateFacture1, $dateFacture2); - - $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/radiantproduction/Controleur/ControleurAjaxrequetefacturejourexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefacturejourexport.php deleted file mode 100644 index 1e61e86..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacturejourexport.php +++ /dev/null @@ -1,67 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $donnees = $this->facture->requetesfacturejourexport($codePrestataire, $dateFacture1, $dateFacture2); - - // Excel - $headerXLS = array - ( - _('Jour'), - 'Nb', - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('Payé') - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES CUMULEES PAR JOUR')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACT_CUMUL_JOUR'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $factures = $this->facture->requetesfactureleger($dateFacture1, $dateFacture2); - - $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/radiantproduction/Controleur/ControleurAjaxrequetefacturelegerexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefacturelegerexport.php deleted file mode 100644 index fe1108d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacturelegerexport.php +++ /dev/null @@ -1,73 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturelegerexport($dateFacture1, $dateFacture2); - - // Excel - $headerXLS = array - ( - _('No Fact'), - _('Fact Mig'), - _('Prestataire'), - _('Souscripteur'), - _('Date'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Dépassement'), - _('Retenu'), - _('No Police') - ); - - $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 LEGERES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_LEGERE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturemois($codePrestataire, $dateFacture1, $dateFacture2); - - $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/radiantproduction/Controleur/ControleurAjaxrequetefacturemoisexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefacturemoisexport.php deleted file mode 100644 index 5c9699e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacturemoisexport.php +++ /dev/null @@ -1,70 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $donnees = $this->facture->requetesfacturemoisexport($codePrestataire, $dateFacture1, $dateFacture2); - - // Excel - $headerXLS = array - ( - _('Exercice'), - _('Mois'), - 'Nb', - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('Payé') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES CUMULEES PAR MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACT_CUMUL_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $numeroPolice = $this->requete->getParametreFormulaire("numeroPolice"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfacturepolice($numeroPolice, $dateFacture1, $dateFacture2); - - $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/radiantproduction/Controleur/ControleurAjaxrequetefacturepoliceexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefacturepoliceexport.php deleted file mode 100644 index 46bcf2e..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefacturepoliceexport.php +++ /dev/null @@ -1,97 +0,0 @@ -facture = new Facture(); - } - - public function index() - { - $numeroPolice = $this->requete->getParametreFormulaire("numeroPolice"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $entete = $this->facture->detailrapportsppdfentetenumero($numeroPolice, $dateFacture1, $dateFacture2); - - $donnees = $this->facture->requetesfacturepoliceexport($numeroPolice, $dateFacture1, $dateFacture2); - - - // Excel - - $headerXLS = array( - _('Prestataire'), - "Date", - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Facture'), - _('Frais'), - _('T M'), - _('Dépassement'), - _('Retenu'), - _('Redressé'), - _('A payer') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES POLICE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES POLICE'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B4', convertirc($entete['dateEffet']." To ".$entete['dateFin'])); - - $feuille->setCellValue('A5', convertirc(_('Période sinistres').' : ')); - $feuille->setCellValue('B5', convertirc($entete['dateFacture1']." To ".$entete['dateFacture2'])); - - $feuille->fromArray($headerXLS, NULL, 'A7', true); - $feuille->fromArray($dataXLS, NULL, 'A8', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_POLICE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Facture(); - } - - public function index() - { - $numeroPolice = $this->requete->getParametreFormulaire("numeroPolice"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $entete = $this->facture->detailrapportsppdfentetenumero($numeroPolice, $dateFacture1, $dateFacture2); - - $donnees = $this->facture->requetesfacturepolicegar($numeroPolice, $dateFacture1, $dateFacture2); - - - // Excel - - $headerXLS = array( - _('Prestataire'), - "Date", - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - - _('Facture'), - _('Gar'), - - _('Frais'), - _('T M'), - _('Dépassement'), - _('Retenu'), - _('Redressé'), - "Apayer"); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACTURES POLICE')); - - /* - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - */ - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_('FACTURES POLICE'))); - - $feuille->setCellValue('A2', convertirc(_('Souscripteur').' : ')); - $feuille->setCellValue('B2', convertirc($entete['souscripteur'])); - - $feuille->setCellValue('A3', convertirc(_('No Police').' : ')); - $feuille->setCellValue('B3', convertirc($entete['numeroPolice'])); - - $feuille->setCellValue('A4', convertirc(_('Couverture').' : ')); - $feuille->setCellValue('B4', convertirc($entete['dateEffet']." To ".$entete['dateFin'])); - - $feuille->setCellValue('A5', convertirc(_('Période sinistres').' : ')); - $feuille->setCellValue('B5', convertirc($entete['dateFacture1']." To ".$entete['dateFacture2'])); - - $feuille->fromArray($headerXLS, NULL, 'A7', true); - $feuille->fromArray($dataXLS, NULL, 'A8', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACTURES_POLICE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Statistique(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - - $factures = $this->facture->etatdetailfactureprestataireexport($codePrestataire); - - // Excel - $headerXLS = array - ( - _('Prestataire'), - _('Souscripteur'), - _('Bénéficiaire'), - _('Système'), - _('A payer'), - _('Payé'), - _('ID Facture') - ); - - $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 PRESTATAIRE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_FACT_PREST'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Statistique(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $mois = $this->requete->getParametreFormulaire("mois"); - - $factures = $this->facture->etatdetailfactureprestatairemoisexport($codePrestataire, $mois); - - // Excel - $headerXLS = array( - _('Prestataire'), - _('Souscripteur'), - _('Bénéficiaire'), - _('Système'), - _('A payer'), - _('Payé'), - _('idFacture') - ); - - $dataXLS = array(); - - foreach ($factures as $facture) - { - $dataXLS[]=$facture; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL FACTURES MOIS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_FACT_MOIS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Statistique(); - } - - public function index() - { - $codeReseau = $this->requete->getParametreFormulaire("codeReseau"); - - $factures = $this->facture->etatdetailfacturetypeprestataireexport($codeReseau); - - // Excel - $headerXLS = array - ( - _('Prestataire'), - _('Souscripteur'), - _('Bénéficiaire'), - _('Système'), - _('A payer'), - _('Payé'), - _('ID Facture') - ); - - $dataXLS = array(); - - - foreach ($factures as $facture) - { - $dataXLS[]=$facture; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('DETAIL FACTURES TYPE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/DETAIL_FACT_TYPE_PREST'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $gcs = $this->facture->requetesfactureverifgc($codeGcAssureur, $dateFacture1, $dateFacture2); - - $factures_total = null; - - if(count($gcs)>"0") - { - $factures_total = $gcs['0']; - } - - $this->genererVueAjax(array('gcs' => $gcs, 'factures_total' => $factures_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetefactureverifgcexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefactureverifgcexport.php deleted file mode 100644 index cfb9de4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefactureverifgcexport.php +++ /dev/null @@ -1,74 +0,0 @@ -facture = new Gestionconfiee(); - } - - public function index() - { - $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $factures = $this->facture->requetesfactureverifgcexport($codeGcAssureur, $dateFacture1, $dateFacture2) ; - - // Excel - - $headerXLS = array - ( - _('Validation'), - _('Facturation'), - _('No Fact'), - _('Prestataire'), - _('Souscripteur'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Frais'), - _('Redressé'), - _('A payer'), - _('Vérif'), - _('Facturé'), - _('Encaissé') - ); - - $dataXLS = array(); - - - foreach ($factures as $facture) - { - $dataXLS[]=$facture; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FACT GESTION CONF VERIF')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FACT_VERIF_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $feuillemaladies = $this->feuillemaladie->requetesfeuillesmaladie($codePrestataire, $dateFacture1, $dateFacture2); - - $feuillemaladies_total = null; - - if(count($feuillemaladies)>"0") - { - $feuillemaladies_total = $feuillemaladies['0']; - } - - $this->genererVueAjax(array('feuillemaladies' => $feuillemaladies, 'feuillemaladies_total' => $feuillemaladies_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetefeuillemaladieexport.php b/radiantproduction/Controleur/ControleurAjaxrequetefeuillemaladieexport.php deleted file mode 100644 index 272e7b5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetefeuillemaladieexport.php +++ /dev/null @@ -1,76 +0,0 @@ -feuillemaladie = new Feuillemaladie(); - } - - public function index() - { - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateFacture1 = $this->requete->getParametreDate("dateFacture1"); - $dateFacture2 = $this->requete->getParametreDate("dateFacture2"); - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateFacture2"); - - $feuillemaladies = $this->feuillemaladie->requetesfeuillesmaladieexport($codePrestataire, $dateFacture1, $dateFacture2); - - // Excel - $headerXLS = array - ( - _('No Feuille'), - _('Prestataire'), - _('Système'), - _('Bon Cons'), - _('Bon Phar'), - _('Bon Hospit'), - _('Bon Opt'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('T P'), - _('ID Facture') - ); - - $dataXLS = array(); - - foreach ($feuillemaladies as $feuillemaladie) - { - $dataXLS[]=$feuillemaladie; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('FEUILLES MALADIE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FEUILLES_MALADIE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
opticiens = new Opticiens(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateLivraison1 = $this->requete->getParametreDate("dateLivraison1"); - $dateLivraison2 = $this->requete->getParametreDate("dateLivraison2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOptique1 = $this->requete->getParametreFormulaire("numeroBonOptique1"); - $numeroBonOptique2 = $this->requete->getParametreFormulaire("numeroBonOptique2"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codePrestatairePrescription= $this->requete->getParametreFormulaire("codePrestatairePrescription"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 4 - $libelleOptique = $this->requete->getParametreFormulaire("libelleOptique"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison2"); - - $opticiens = $this->opticiens->requetesoptique($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique); - - $opticiens_total = $this->opticiens->requetesoptiquetotal($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique); - - $this->genererVueAjax(array('opticiens' => $opticiens, 'opticiens_total' => $opticiens_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteoptiqueexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteoptiqueexport.php deleted file mode 100644 index c1cdb01..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteoptiqueexport.php +++ /dev/null @@ -1,114 +0,0 @@ -opticiens = new Opticiens(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateLivraison1 = $this->requete->getParametreDate("dateLivraison1"); - $dateLivraison2 = $this->requete->getParametreDate("dateLivraison2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOptique1 = $this->requete->getParametreFormulaire("numeroBonOptique1"); - $numeroBonOptique2 = $this->requete->getParametreFormulaire("numeroBonOptique2"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codePrestatairePrescription= $this->requete->getParametreFormulaire("codePrestatairePrescription"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 4 - $libelleOptique = $this->requete->getParametreFormulaire("libelleOptique"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison2"); - - $opticiens = $this->opticiens->requetesoptiqueexport($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique); - - // Excel - $headerXLS = array( - _('Prestataire'), - _('Système'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('id Prestation'), - _('Bon Opt'), - _('Bon Opt'), - _('No Feuille'), - _('Bon Cons'), - _('Désignation'), - _('Verres'), - _('Monture'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('Forcé'), - _('A payer'), - _('Validé'), - _('Redressé'), - _('Prescrit par'), - _('Médecin'), - _('No OM') - ); - - $dataXLS = array(); - - - foreach ($opticiens as $opticien) - { - $dataXLS[]=$opticien; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ACTES OPTIQUES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ACTES_OPTIQUES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
pharmacie = new Pharmacie(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateLivraison1 = $this->requete->getParametreDate("dateLivraison1"); - $dateLivraison2 = $this->requete->getParametreDate("dateLivraison2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOrdonnance1 = $this->requete->getParametreFormulaire("numeroBonOrdonnance1"); - $numeroBonOrdonnance2 = $this->requete->getParametreFormulaire("numeroBonOrdonnance2"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codePrestatairePrescription= $this->requete->getParametreFormulaire("codePrestatairePrescription"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 4 - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison2"); - - $pharmacies = $this->pharmacie->requetespharmacie($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament); - - $pharmacies_total = $this->pharmacie->requetespharmacietotal($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament); - - $this->genererVueAjax(array('pharmacies' => $pharmacies, 'pharmacies_total' => $pharmacies_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetepharmacieb.php b/radiantproduction/Controleur/ControleurAjaxrequetepharmacieb.php deleted file mode 100644 index a481754..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetepharmacieb.php +++ /dev/null @@ -1,57 +0,0 @@ -pharmacie = new Pharmacie(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateLivraison1 = $this->requete->getParametreDate("dateLivraison1"); - $dateLivraison2 = $this->requete->getParametreDate("dateLivraison2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOrdonnance1 = $this->requete->getParametreFormulaire("numeroBonOrdonnance1"); - $numeroBonOrdonnance2 = $this->requete->getParametreFormulaire("numeroBonOrdonnance2"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codePrestatairePrescription= $this->requete->getParametreFormulaire("codePrestatairePrescription"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 4 - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $pharmacies = $this->pharmacie->requetespharmacie($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament); - - $pharmacies_total = $this->pharmacie->requetespharmacietotal($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament); - - $this->genererVueAjax(array('pharmacies' => $pharmacies, 'pharmacies_total' => $pharmacies_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequetepharmaciebexport.php b/radiantproduction/Controleur/ControleurAjaxrequetepharmaciebexport.php deleted file mode 100644 index 808ce18..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequetepharmaciebexport.php +++ /dev/null @@ -1,110 +0,0 @@ -pharmacie = new Pharmacie(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateLivraison1 = $this->requete->getParametreDate("dateLivraison1"); - $dateLivraison2 = $this->requete->getParametreDate("dateLivraison2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOrdonnance1 = $this->requete->getParametreFormulaire("numeroBonOrdonnance1"); - $numeroBonOrdonnance2 = $this->requete->getParametreFormulaire("numeroBonOrdonnance2"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codePrestatairePrescription= $this->requete->getParametreFormulaire("codePrestatairePrescription"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 4 - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison2"); - - $pharmacies = $this->pharmacie->requetespharmacieexport($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament); - - // Excel - $headerXLS = array( - _('Prestataire'), - _('Système'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('id Prestation'), - _('Bon Phar'), - _('No Feuille'), - _('Bon Cons'), - _('Médicament'), - _('Prix'), - _('Quantité'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('Forcé'), - _('A payer'), - _('Validé'), - _('Redressé'), - _('Prescrit par'), - _('Médecin'), - _('No OM') - ); - - $dataXLS = array(); - - foreach ($pharmacies as $pharmacie) - { - $dataXLS[]=$pharmacie; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ACTES PHARMACIE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ACTES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - - $t_html .='
pharmacie = new Pharmacie(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $dateLivraison1 = $this->requete->getParametreDate("dateLivraison1"); - $dateLivraison2 = $this->requete->getParametreDate("dateLivraison2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $numeroBonConsultation1 = $this->requete->getParametreFormulaire("numeroBonConsultation1"); - $numeroBonConsultation2 = $this->requete->getParametreFormulaire("numeroBonConsultation2"); - - $numeroBonOrdonnance1 = $this->requete->getParametreFormulaire("numeroBonOrdonnance1"); - $numeroBonOrdonnance2 = $this->requete->getParametreFormulaire("numeroBonOrdonnance2"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codePrestatairePrescription= $this->requete->getParametreFormulaire("codePrestatairePrescription"); - - // Ligne 3 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 4 - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("dateLivraison2"); - - $pharmacies = $this->pharmacie->requetespharmacieexport($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament); - - // Excel - $headerXLS = array( - _('Prestataire'), - _('Système'), - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('id Prestation'), - _('Bon Phar'), - _('No Feuille'), - _('Bon Cons'), - _('Médicament'), - _('Prix'), - _('Quantité'), - _('Frais'), - _('T M'), - _('A Remb'), - _('Exclu'), - _('Retenu'), - _('Forcé'), - _('A payer'), - _('Validé'), - _('Redressé'), - _('Prescrit par'), - _('Médecin'), - _('No OM') - ); - - $dataXLS = array(); - - - foreach ($pharmacies as $pharmacie) - { - $dataXLS[]=$pharmacie; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('ACTES PHARMACIE')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_ACTES_PHARMACIE'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
prestationactes = new Prestationactes(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $datePrestation1 = $this->requete->getParametreDate("datePrestation1"); - $datePrestation2 = $this->requete->getParametreDate("datePrestation2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $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"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - $numeroChambre = $this->requete->getParametreFormulaire("numeroChambre"); - $facture = $this->requete->getParametreFormulaire("facture"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 5 - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - $libelleFamilleActe = $this->requete->getParametreFormulaire("libelleFamilleActe"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("datePrestation1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("datePrestation2"); - - $prestationactes = $this->prestationactes->requetesprestationactes($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe); - - $prestationactes_total = $this->prestationactes->requetesprestationactestotal($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe); - - $this->genererVueAjax(array('prestationactes' => $prestationactes, 'prestationactes_total' => $prestationactes_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteprestationactesexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteprestationactesexport.php deleted file mode 100644 index 6fb801f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteprestationactesexport.php +++ /dev/null @@ -1,125 +0,0 @@ -prestationactes = new Prestationactes(); - } - - public function index() - { - // Ligne 1 - $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); - $datePrestation1 = $this->requete->getParametreDate("datePrestation1"); - $datePrestation2 = $this->requete->getParametreDate("datePrestation2"); - $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); - $numeroBeneficiaire = $this->requete->getParametreFormulaire("numeroBeneficiaire"); - - // Ligne 2 - $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); - - $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"); - - $numeroFeuilleMaladie1 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie1"); - $numeroFeuilleMaladie2 = $this->requete->getParametreFormulaire("numeroFeuilleMaladie2"); - - $codeTypePrestation = $this->requete->getParametreFormulaire("codeTypePrestation"); - $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); - $numeroChambre = $this->requete->getParametreFormulaire("numeroChambre"); - $facture = $this->requete->getParametreFormulaire("facture"); - - // Ligne 4 - $adherent = $this->requete->getParametreFormulaire("adherent"); - $beneficiaire = $this->requete->getParametreFormulaire("beneficiaire"); - - // Ligne 5 - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - $libelleFamilleActe = $this->requete->getParametreFormulaire("libelleFamilleActe"); - - // FIN Champs - - $_SESSION['codePrestataire_C'] = $codePrestataire; - - $_SESSION['debutRequeteFr_C'] = $this->requete->getParametreFormulaire("datePrestation1"); - $_SESSION['finRequeteFr_C'] = $this->requete->getParametreFormulaire("datePrestation2"); - - $prestationactes = $this->prestationactes->requetesprestationactesexport($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe); - - // Excel - $headerXLS = array( - _('Prestataire'), - 'Date', - _('No Adhérent'), - _('Adhérent'), - _('No Bénéficiaire'), - _('Bénéficiaire'), - _('No Feuille'), - _('Bon Cons'), - _('Bon Phar'), - _('Bon Hospit'), - _('Bon Opt'), - 'Type', - _('Acte'), - _('Médecin'), - _('No OM'), - _('Valeur'), - _('Quantité'), - _('Frais'), - _('T M'), - _('A Remb'), - _('No Fact'), - _('Validé'), - 'login' - ); - - $dataXLS = array(); - - - foreach ($prestationactes as $prestationacte) - { - $dataXLS[]=$prestationacte; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('PRESTATIONS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_PRESTATIONS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $decomptes = $this->reglement->requetesverificateur($codeExercice, $codeMois); - - $ente_decompte = null; - - if(count($decomptes)>"0") - { - $decompte_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decompte_total' => $decompte_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteverificateurexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteverificateurexport.php deleted file mode 100644 index c058660..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteverificateurexport.php +++ /dev/null @@ -1,72 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $decomptes = $this->reglement->requetesverificateurexport($codeExercice, $codeMois); - - // Excel - $headerXLS = array - ( - _('Vérificateur'), - _('A payer init'), - _('Redressé'), - _('Non traités'), - _('A payer'), - _('Rejeté'), - _('Attente'), - _('Nb Factures'), - _('Nb validé'), - _('Nb rejeté'), - _('Nb attente'), - _('Nb non traité') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $decompte) - { - $dataXLS[]=$decompte; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('VERIFICATION FACTURES CUMUL')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_VERIF_FACT_CUMUL'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
reglement = new Reglement(); - } - - public function index() - { - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $decomptes = $this->reglement->requetesverification($codeExercice, $codeMois); - - $ente_decompte = null; - - if(count($decomptes)>"0") - { - $decompte_total = $decomptes['0']; - } - - $this->genererVueAjax(array('decomptes' => $decomptes, 'decompte_total' => $decompte_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxrequeteverificationexport.php b/radiantproduction/Controleur/ControleurAjaxrequeteverificationexport.php deleted file mode 100644 index 8df6d94..0000000 --- a/radiantproduction/Controleur/ControleurAjaxrequeteverificationexport.php +++ /dev/null @@ -1,76 +0,0 @@ -reglement = new Reglement(); - } - - public function index() - { - $codeExercice = $this->requete->getParametreFormulaire("codeExercice"); - $codeMois = $this->requete->getParametreFormulaire("codeMois"); - - $_SESSION['codeExercice_C'] = $codeExercice; - $_SESSION['codeMois_C'] = $codeMois; - - $decomptes = $this->reglement->requetesverificationexport($codeExercice, $codeMois); - - // Excel - $headerXLS = array( - _('Prestataire'), - _('Vérificateur'), - _('No Décompte'), - _('No Lot'), - _('A payer init'), - _('Redressé'), - _('Non traités'), - _('A payer'), - _('Rejeté'), - _('Attente'), - _('Nb Factures'), - _('Nb validé'), - _('Nb rejeté'), - _('Nb attente'), - _('Nb non traité'), - _('Etat'), - _('Réception') - ); - - $dataXLS = array(); - - - foreach ($decomptes as $decompte) - { - $dataXLS[]=$decompte; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('VERIFICATION FACTURES')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_VERIFICATION_FACTURES'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
beneficiaire_temp = new Beneficiaire_temp(); - $this->college_temp = new College_temp(); - } - - public function index() - { - $id_college_temp = $this->requete->getParametreFormulaire("id_college_temp"); - - $_SESSION['idCollegeTemp'] = $id_college_temp; - - $beneficiaires = $this->beneficiaire_temp->getListeBeneficiaire_temp_limite($id_college_temp); - $collegeTemp = $this->college_temp->getCollegeTemp($id_college_temp); - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires, 'collegeTemp' => $collegeTemp)); - } - - public function selectionner() { - $idBeneficiaire = $this->requete->getParametre(idBeneficiaire); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire_temp->selectionlimite($idBeneficiaire, $choix); - } - - public function selectionnertout() { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire_temp->selectionlimitetout($idCollegeTemp, $choix); - - $this->executerAction("index"); - } - - public function recapituler() { - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire_temp->recapitulerretrait($idBeneficiaire, $choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxselectionretrait.php b/radiantproduction/Controleur/ControleurAjaxselectionretrait.php deleted file mode 100644 index da07e6c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxselectionretrait.php +++ /dev/null @@ -1,32 +0,0 @@ -beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $beneficiaires = $this->beneficiaire_temp->getListeBeneficiaire_temp_Ret_Selection(); - - $this->genererVueAjax(array('beneficiaires' => $beneficiaires)); - } - - public function selectionner() { - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire_temp->selectionretrait($idBeneficiaire, $choix); - } - - public function recapituler() { - $idBeneficiaire = $this->requete->getParametre("idBeneficiaire"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->beneficiaire_temp->recapitulerretrait($idBeneficiaire, $choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsituationclient.php b/radiantproduction/Controleur/ControleurAjaxsituationclient.php deleted file mode 100644 index a664b84..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsituationclient.php +++ /dev/null @@ -1,49 +0,0 @@ -quittance = new Quittance(); - $this->detailencaissement = new Detailencaissement_temp(); - } - - public function index() { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $idClient = $_SESSION['idClient_C']; - $quittances = $this->quittance->getQuittancesimpayees($idClient); - $totalquittanceImpayee = $this->quittance->getTotalQuittanceImpayee($idClient); - $detailencaissements = $this->detailencaissement->getDetailsEncaissementTemp($idEncaissementTemp); - $totaldetailencaissement = $this->detailencaissement->getTotaldetailencaissement($idEncaissementTemp); - - $this->genererVueAjax(array('quittances' => $quittances, 'detailencaissements' => $detailencaissements, - 'totalquittanceImpayee' => $totalquittanceImpayee, 'detailencaissements' => $detailencaissements, - 'totaldetailencaissement' => $totaldetailencaissement)); - } - - public function solderquittance() { - $idQuittance = $this->requete->getParametre("idQuittance"); - $this->quittance->solderquittance($idQuittance); - $this->executerAction("index"); - } - - public function ajouteracomptequittance() { - $idQuittance = $this->requete->getParametre("idQuittance"); - $montantAcpte = $this->requete->getParametre("montantAcpte"); - $primeTtcAcpte = $this->requete->getParametre("primeTtcAcpte"); - - $this->quittance->ajouteracomptequittance($idQuittance, $montantAcpte, $primeTtcAcpte); - $this->executerAction("index"); - } - - public function supprimerquittance() { - $idDetailencaissement = $this->requete->getParametre("idDetailencaissement"); - $this->detailencaissement->supprimer($idDetailencaissement); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsituationclients.php b/radiantproduction/Controleur/ControleurAjaxsituationclients.php deleted file mode 100644 index 04c3721..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsituationclients.php +++ /dev/null @@ -1,28 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $donnees = $this->etat->etatprodsituationclients($dateAnalyse); - - $donnees_total = null; - - if(count($donnees)>"0") - { - $donnees_total = $donnees['0']; - } - - $this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsituationclientsexport.php b/radiantproduction/Controleur/ControleurAjaxsituationclientsexport.php deleted file mode 100644 index 2160c9d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsituationclientsexport.php +++ /dev/null @@ -1,70 +0,0 @@ -etat = new Statistique(); - } - - public function index() - { - $dateAnalyse = $this->requete->getParametreDate("dateAnalyse"); - - $donnees = $this->etat->etatprodsituationclientsexport($dateAnalyse); - - // Excel - $headerXLS = array - ( - _('Nom Client'), - _('No Police'), - _('ID Police'), - _('Entrée'), - _('Echéance'), - _('Durée'), - _('Primes Totales'), - _('Primes échues'), - _('Encaissements'), - _('Solde sur primes totales'), - _('Solde sur primes échues'), - _('Etat Pol') - ); - - $dataXLS = array(); - - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SITUATION CLIENTS')); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('A2', convertirc(_('SITUATION CLIENT AU').' '.dateLang($dateAnalyse))); - - $feuille->fromArray($headerXLS, NULL, 'A4', true); - $feuille->fromArray($dataXLS, NULL, 'A5', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_SITUATION_CLIENTS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
envoimail = new Envoimail(); - } - - public function index() - { - } - - public function ajouter() - { - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - - $this->envoimail->ajoutersms($destinataires, $message); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsppolice.php b/radiantproduction/Controleur/ControleurAjaxsppolice.php deleted file mode 100644 index ce13821..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsppolice.php +++ /dev/null @@ -1,50 +0,0 @@ -sppolice = new Police(); - } - - public function index() - { - $this->genererVueAjax(); - } - - public function police() - { - $idPolice = $_SESSION['idPolice_C']; - - $dj = date("Y-m-d"); - - $sppolice = $this->sppolice->getRapportSpPolicePol($idPolice, $dj); - - $this->genererVueAjax(array('sppolice' => $sppolice)); - } - - public function categorie() - { - $idPolice = $_SESSION['idPolice_C']; - - $dj = date("Y-m-d"); - - $sppolices = $this->sppolice->getRapportSpPoliceCat($idPolice, $dj); - - $this->genererVueAjax(array('sppolices' => $sppolices)); - } - - public function college() - { - $idPolice = $_SESSION['idPolice_C']; - - $dj = date("Y-m-d"); - - $sppolices = $this->sppolice->getRapportSpPoliceCol($idPolice, $dj); - - $this->genererVueAjax(array('sppolices' => $sppolices)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsubstitutnonassure.php b/radiantproduction/Controleur/ControleurAjaxsubstitutnonassure.php deleted file mode 100644 index 01621d9..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsubstitutnonassure.php +++ /dev/null @@ -1,39 +0,0 @@ -substitutnonassure = new Substitutnonassure(); - } - - public function index() { - } - - public function creersubstitutnonassure() - { - $nomSubstitut = $this->requete->getParametre("nomSubstitut"); - $prenomsSubstitut = $this->requete->getParametre("prenomsSubstitut"); - $codeLienSubstitut = $this->requete->getParametre("codeLienSubstitut"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPieceSubstitut = $this->requete->getParametre("numeroPieceSubstitut"); - $sexeSubstitut = $this->requete->getParametre("sexeSubstitut"); - $dateNaissanceSubstitut = $this->requete->getParametreDate("dateNaissanceSubstitut"); - $telephonePortableSubstitut = $this->requete->getParametre("telephonePortableSubstitut"); - - $this->substitutnonassure->creersubstitutnonassure($nomSubstitut, $prenomsSubstitut, $codeLienSubstitut, $codeNaturePiece, $numeroPieceSubstitut, - $sexeSubstitut, $dateNaissanceSubstitut, $telephonePortableSubstitut) ; - } - - - public function supprimersubstitutnonassure() - { - $idSubstitut = $this->requete->getParametre("idSubstitut"); - $motifSortie = $this->requete->getParametre("motifSortie"); - - $this->substitutnonassure->supprimersubstitutnonassure($idSubstitut, $motifSortie) ; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsupprimerempreinte.php b/radiantproduction/Controleur/ControleurAjaxsupprimerempreinte.php deleted file mode 100644 index 9ee07fb..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsupprimerempreinte.php +++ /dev/null @@ -1,23 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() { - } - - public function supprimerempreinte() - { - $motif = $this->requete->getParametreFormulaire("motif"); - - $this->beneficiaire->supprimerempreinte($motif); - - $_SESSION['finger_id_C'] = 0; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsupprimerface.php b/radiantproduction/Controleur/ControleurAjaxsupprimerface.php deleted file mode 100644 index f4ee6b5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsupprimerface.php +++ /dev/null @@ -1,24 +0,0 @@ -beneficiaire = new Beneficiaire(); - } - - public function index() { - } - - public function supprimerface() - { - $motif = $this->requete->getParametreFormulaire("motif"); - - // $this->beneficiaire->supprimerempreinte($motif); - $this->beneficiaire->supprimerface($motif); - - $_SESSION['finger_id_C'] = 0; - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxsyntheseconsopolice.php b/radiantproduction/Controleur/ControleurAjaxsyntheseconsopolice.php deleted file mode 100644 index ff570b5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxsyntheseconsopolice.php +++ /dev/null @@ -1,91 +0,0 @@ -police = new Police(); - } - - public function index() - { - $conommations = $this->police->getsyntheseconsopolice() ; - - $this->genererVueAjax(array('conommations' => $conommations)); - } - - public function exportxls() - { - - $conommations = $this->police->getsyntheseconsopolice() ; - - // Excel - $headerXLS = array - ( - "dateReference", - "idAderent", - _('No Adhérent'), - _('Adhérent'), - "primeStat", - "primeTtc", - - "plafond_OUT", - "consommation_OUT", - "solde_OUT", - - "plafond_INP", - "consommation_INP", - "solde_INP", - - "plafond_OPT", - "consommation_OPT", - "solde_OPT", - - "plafond_MON", - "consommation_MON", - "solde_MON", - - "plafond_DEN", - "consommation_DEN", - "solde_DEN", - - "plafond_FUN", - "consommation_FUN", - "solde_FUN", - "consommation_ALL" - ); - - $dataXLS = array(); - - - foreach ($conommations as $conommation) - { - $dataXLS[]=$conommation; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_('SYNTHESE CONSOMMATIONS')); - $feuille->fromArray($headerXLS, NULL, 'A1', true); - $feuille->fromArray($dataXLS, NULL, 'A2', true); - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_SYNTHESE_CONS'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->facture->getgcreglement($idGcReglement); - - $gcs = $this->facture->get_synthese_gc(); - - $valide0 = $reglement['valide0']; - $valideAs = $reglement['valideAs']; - $valide = $reglement['valide']; - $regle = $reglement['regle']; - - $pdf = new FPDF(); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->SetMargins(15, 15, 15) ; - $pdf->SetFont('Arial','BU',10); - - $pdf->SetY(30); - - // $pdf->AliasNbPages(); - - $pdf->Cell(0,6,convertirc(_("Facture") . " " . $reglement['gcassureur'] . " : " . $reglement['observations']),0,1,'C',false); - - $hl=10; - - $pdf->Ln(5); - - // Modif du 26/07/2019 - - $pdf->SetFont('Arial','BI',8); - - $pdf->Cell(10,5,convertirc('Date'),0,0,'L',false); - $pdf->Cell(30,5,convertirc(': '.dateFr($reglement['dateSysteme'])),0,0,'L',false); - - $pdf->Cell(15,5,convertirc(_("1ère Valid")),0,0,'L',false); - if($valide0=="1") - { - $pdf->Cell(20,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(20,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(15,5,convertirc(_("Valid Ass")),0,0,'L',false); - if($valideAs=="1") - { - $pdf->Cell(20,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(20,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(18,5,convertirc(_("2ème Valid")),0,0,'L',false); - if($valide=="1") - { - $pdf->Cell(20,5,convertirc(_(": Oui")),0,0,'L',false); - }else - { - $pdf->Cell(20,5,convertirc(_(": Non")),0,0,'L',false); - } - - $pdf->Cell(15,5,convertirc(_("Encais")),0,0,'L',false); - if($regle=="1") - { - $pdf->Cell(20,5,convertirc(_(": Oui")),0,1,'L',false); - }else - { - $pdf->Cell(20,5,convertirc(_(": Non")),0,1,'L',false); - } - // Fin ajout du 01/06/2019 - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B',8); - - $pdf->Cell(12,5,convertirc("1 => "._("Cartes")),0,1,'L',false); - - $pdf->Cell(20,$hl,convertirc(_("Exercice")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("Mois")),"1",0,'C'); - $pdf->Cell(40,$hl,convertirc(_("Nombre de cartes actives")),"1",0,'C'); - $pdf->Cell(30,$hl,convertirc(_("Montant par unité")),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_("Total")),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc(_("TVA")),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc(_("Total")),"1",1,'C'); - - $pdf->SetFont('Arial','I',8); - - foreach ($gcs as $gc) - { - $pdf->Cell(20,$hl,convertirc($gc['codeExercice']),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc($gc['codeMois']),"1",0,'C'); - $pdf->Cell(40,$hl,format_N($gc['nbCarte']),"1",0,'C'); - $pdf->Cell(30,$hl,format_N($gc['fraisGestion']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($gc['montantFrais']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($gc['tvaFrais']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($gc['ttcFrais']),"1",1,'C'); - } - - $pdf->SetFont('Arial','BI',8); - - $pdf->Cell(110,$hl,convertirc(_("Total")),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($reglement['montantFrais']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($reglement['tvaFrais']),"1",0,'C'); - $pdf->Cell(25,$hl,format_N($reglement['ttcFrais']),"1",1,'C'); - // FIN Cartes - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B',8); - - $pdf->Cell(12,5,convertirc("2 => "._("Sinistres")),0,1,'L',false); - - $pdf->Cell(45,$hl,convertirc(_("Rubrique")),"1",0,'C'); - $pdf->Cell(45,$hl,convertirc(_("Montant")),"1",0,'C'); - $pdf->Cell(45,$hl,convertirc(_("Frais de getsion")),"1",0,'C'); - $pdf->Cell(45,$hl,convertirc(_("Total")),"1",1,'C'); - - $pdf->SetFont('Arial','I',8); - - $pdf->Cell(45,$hl,convertirc(_("Sinistres payés")),"1",0,'C'); - $pdf->Cell(45,$hl,format_N($reglement['montantApayer']),"1",0,'C'); - $pdf->Cell(45,$hl,format_N($reglement['commissionFacture']),"1",0,'C'); - $pdf->Cell(45,$hl,format_N($reglement['montantApayer']+$reglement['commissionFacture']),"1",1,'C'); - - $pdf->Cell(45,$hl,convertirc(_("Montant rejeté")),"1",0,'C'); - $pdf->Cell(45,$hl,format_N($reglement['montantRedresse']),"1",0,'C'); - $pdf->Cell(45,$hl,format_N($reglement['commissionRedresse']),"1",0,'C'); - $pdf->Cell(45,$hl,format_N($reglement['montantRedresse']+$reglement['commissionRedresse']),"1",1,'C'); - // FIN Sinistres - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B',8); - - $pdf->Cell(12,5,convertirc("3 => "._("Montant total")),0,1,'L',false); - - $pdf->Cell(90,$hl,convertirc(_("Rubrique")),"1",0,'C'); - $pdf->Cell(90,$hl,convertirc(_("Montant")),"1",1,'C'); - - $pdf->SetFont('Arial','I',8); - - $pdf->Cell(90,$hl,convertirc(_("Cartes")),"1",0,'C'); - $pdf->Cell(90,$hl,format_N($reglement['ttcFrais']),"1",1,'C'); - - $pdf->Cell(90,$hl,convertirc(_("Sinistres")),"1",0,'C'); - $pdf->Cell(90,$hl,format_N($reglement['montantDu']-$reglement['ttcFrais']),"1",1,'C'); - - $pdf->SetFont('Arial','BI',8); - - $pdf->Cell(90,$hl,convertirc(_("Total")),"1",0,'C'); - $pdf->Cell(90,$hl,format_N($reglement['montantDu']),"1",1,'C'); - // FIN Total - - - $pdf->Ln(10); - - $pdf->SetFont('Arial','U',10); - - $pdf->Cell(0,10,convertirc(_('Fait à')).' '.$_SESSION['villeSociete'].', '._('le').' '.heureCouranteLang($_SESSION['lang']),0,1,'C',false); - - $fichier="Temp/TMP_SYNTHESE_GC"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
facture = new Gestionconfiee(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $entete = $this->facture->getgcreglement($idGcReglement); - - $donnees = $this->facture->get_frais_gestion_gc_sel_xls(); - - // Excel - - $headerXLS = array - ( - _("Exercice"), - _("Mois"), - _("Nb Carte"), - _("Montant"), - _("TVA"), - _("TTC") - ); - - $dataXLS = array(); - - foreach ($donnees as $donnee) - { - $dataXLS[]=$donnee; - } - - $classeur = new PHPExcel(); - $classeur->getProperties()->setCreator("INTER-SANTE"); - $classeur->setActiveSheetIndex(0); - $feuille=$classeur->getActiveSheet(); - $feuille->setTitle(_("FRAIS GESTION CONFIEE")); - - $feuille->setCellValue('A1', convertirc($_SESSION['nomSociete'])); - $feuille->setCellValue('B1', convertirc(_("FRAIS GESTION CONFIEE"))); - - $feuille->setCellValue('A2', convertirc(_("Assureur"))); - $feuille->setCellValue('B2', convertirc($entete['gcassureur'])); - - $feuille->setCellValue('A3', convertirc('Date : ')); - $feuille->setCellValue('B3', convertirc(dateFr($entete['dateSysteme']))); - - $feuille->setCellValue('A4', convertirc('Observ : ')); - $feuille->setCellValue('B4', convertirc($entete['observations'])); - - $feuille->setCellValue('A5', convertirc(_("Nb Carte")." : ")); - $feuille->setCellValue('B5', convertirc(" ".format_N($entete['nbCarte']))); - - $feuille->setCellValue('A6', convertirc(_("Montant").' : ')); - $feuille->setCellValue('B6', convertirc(" ".format_N($entete['montantFrais']))); - - $feuille->setCellValue('A7', convertirc(_("TVA").' : ')); - $feuille->setCellValue('B7', convertirc(" ".format_N($entete['tvaFrais']))); - - $feuille->setCellValue('A8', convertirc(_("TTC").' : ')); - $feuille->setCellValue('B8', convertirc(" ".format_N($entete['ttcFrais']))); - - $feuille->fromArray($headerXLS, NULL, 'A10', true); - $feuille->fromArray($dataXLS, NULL, 'A11', true); - - - //Forcer le téléchargement vers le navigateur; - $fichier = 'Temp/TMP_FRAIS_GESTION_GC'."_".uniqid().".xlsx"; - - $writer = new PHPExcel_Writer_Excel2007($classeur); - $writer->save($fichier); - - $t_html ='
'; - $t_html .=' '._("TELECHARGER").' '; - $t_html .='
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)); - } - - public function majtm() - { - $idPrestation = $this->requete->getParametre("idPrestation"); - $tm = $this->requete->getParametreFormulaire("tm"); - $this->college_temp2->majtm($idPrestation, $tm); - } - - public function initprestation() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $this->college_temp2->initPrestationCollege($idCollegeTemp); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxtarif.php b/radiantproduction/Controleur/ControleurAjaxtarif.php deleted file mode 100644 index 8f0d8d4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxtarif.php +++ /dev/null @@ -1,18 +0,0 @@ -tarif = new Tarif(); - } - - public function index() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codePays = $this->requete->getParametreFormulaire("codePays"); - $listeville = (new Ville())->getListe($codePays); - $this->genererVueAjax(array('listeville' => $listeville)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxtarifacte.php b/radiantproduction/Controleur/ControleurAjaxtarifacte.php deleted file mode 100644 index 7cab9f5..0000000 --- a/radiantproduction/Controleur/ControleurAjaxtarifacte.php +++ /dev/null @@ -1,29 +0,0 @@ -detailtarif = new Detailtarifacte(); - } - - public function index() - { - $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); - $libelleActe = $this->requete->getParametreFormulaire("libelleActe"); - - $detailtarifs = $this->detailtarif->getDetailtarifacte($codeTarifActe, $libelleActe); - - $this->genererVueAjax(array('detailtarifs' => $detailtarifs)); - } - - public function maj() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - $prix = $this->requete->getParametreFormulaire("prix"); - - $this->detailtarif->majPrix($idDetail, $prix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxtarifmedicament.php b/radiantproduction/Controleur/ControleurAjaxtarifmedicament.php deleted file mode 100644 index a0903ef..0000000 --- a/radiantproduction/Controleur/ControleurAjaxtarifmedicament.php +++ /dev/null @@ -1,48 +0,0 @@ -detailtarif = new Detailtarifmedicament(); - } - - public function index() - { - $codeTarifMedicament = $this->requete->getParametreFormulaire("codeTarifMedicament"); - $libelleMedicament = $this->requete->getParametreFormulaire("libelleMedicament"); - - $detailtarifs = $this->detailtarif->getDetailtarifmedicament($codeTarifMedicament, $libelleMedicament); - - $this->genererVueAjax(array('detailtarifs' => $detailtarifs)); - - } - - public function maj() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - $prix = $this->requete->getParametreFormulaire("prix"); - - $this->detailtarif->majPrix($idDetail, $prix); - } - - public function desactivermedicament() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - - $this->detailtarif->activermedicament($idDetail, "0"); - - // $this->executerAction("index"); - } - - public function activermedicament() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - - $this->detailtarif->activermedicament($idDetail, "1"); - - // $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxtarifoptique.php b/radiantproduction/Controleur/ControleurAjaxtarifoptique.php deleted file mode 100644 index 8a4c9bc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxtarifoptique.php +++ /dev/null @@ -1,29 +0,0 @@ -detailtarif = new Detailtarifoptique(); - } - - public function index() - { - $codeTarifOptique = $this->requete->getParametreFormulaire("codeTarifOptique"); - $libelleOptique = $this->requete->getParametreFormulaire("libelleOptique"); - - $detailtarifs = $this->detailtarif->getDetailtarifoptique($codeTarifOptique, $libelleOptique); - - $this->genererVueAjax(array('detailtarifs' => $detailtarifs)); - } - - public function maj() - { - $idDetail = $this->requete->getParametreFormulaire("idDetail"); - $prix = $this->requete->getParametreFormulaire("prix"); - - $this->detailtarif->majPrix($idDetail, $prix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxtesterdisponiblitesms.php b/radiantproduction/Controleur/ControleurAjaxtesterdisponiblitesms.php deleted file mode 100644 index 963973d..0000000 --- a/radiantproduction/Controleur/ControleurAjaxtesterdisponiblitesms.php +++ /dev/null @@ -1,206 +0,0 @@ -societeuser = new Societeuser(); - - $codeSociete = $_SESSION['codeSociete']; - $societe = $this->societeuser->getSocieteSimple($codeSociete); - - $this->loginSms = $societe['loginSms']; - $this->motPassSms = $societe['motPassSms']; - } - - public function index() - { - } - - public function envoyerlesms() - { - $destinataires = $this->requete->getParametreFormulaire("destinataires"); - $message = $this->requete->getParametreFormulaire("message"); - $fournisseurSms = $this->requete->getParametreFormulaire("fournisseurSms"); - - // var_dump($fournisseurSms); - - $dest = explode(',', $destinataires); - - // var_dump($dest); - - foreach ($dest as $tel) - { - if($fournisseurSms=="esicia") - { - $this->envoyersmsesicia($tel, $message); - } - elseif($fournisseurSms=="blive") - { - $this->envoyersmsbliive($tel, $message); - } - elseif($fournisseurSms=="hooza") - { - $this->envoyersmshooza($tel, $message); - } - elseif($fournisseurSms=="skysms") - { - $this->envoyersmsskysms($tel, $message); - } - } - } - - public function envoyersmsbliive($destinataires_c, $message_c) - { - $loginSms = $this->loginSms; - $motPassSms = $this->motPassSms; - - // problème avec le https - // $url = "http://app.blive.bi/bridge-ws/ws/send"; - $url = "https://app.blive.bi/bridge-ws/ws/send"; - - $get = array - ( - // 'id' =>'snd-4b3abf81d-21707', - 'id' =>$loginSms, - 'from' =>'INTERSANTE', - 'to' =>$destinataires_c, - 'text' =>$message_c - ); - - $ch = curl_init(); - curl_setopt($ch, CURLOPT_URL, $url); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - // curl_setopt($ch, CURLOPT_USERPWD, "BICOR-VIE:60cd7371a27c410484a1b485d273bef9"); - curl_setopt($ch, CURLOPT_USERPWD, $motPassSms); - curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); - curl_setopt($ch, CURLOPT_POST, TRUE); - curl_setopt($ch, CURLOPT_POSTFIELDS, $get); - - $result = curl_exec($ch); - - if (curl_errno($ch)) - { - echo 'Error:' . curl_error($ch); - curl_close($ch); - exit(); - } - - $info = curl_getinfo($ch); - - curl_close($ch); - - // A SUPPRIMER - var_dump($result); - } - - public function envoyersmsesicia($destinataires_c, $message_c) - { - $loginSms = $this->loginSms; - $motPassSms = $this->motPassSms; - - // problème avec le https - $url = "http://gateway.esicia.com/sendsms/?"; - - $postFields = array - ( - 'ohereza' =>'Radiant', - 'kuri' =>$destinataires_c, - 'ubutumwa' =>$message_c, - // 'client' =>'radiant', - // 'password' =>'umugozi', - 'client' =>$loginSms, - 'password' =>$motPassSms, - 'msgid' =>'kanesin' - ); - - $post = http_build_query($postFields); - - $url .= $post; - - $result = file_get_contents($url); - - // A SUPPRIMER - var_dump($result); - } - - public function envoyersmshooza($destinataires_c, $message_c) - { - $loginSms = $this->loginSms; - $motPassSms = $this->motPassSms; - - $url = "http://rslr.connectbind.com/bulksms/bulksms"; - - $get = array - ( - // 'username' =>'HoAj-radiant', - // 'password' =>'radiant', - - 'username' =>$loginSms, - 'password' =>$motPassSms, - 'type' =>'0', - 'dlr' =>'1', - 'destination' =>$destinataires_c, - 'source' =>'INTERSANTE', - 'message' =>$message_c - ); - - $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); - - // A SUPPRIMER - var_dump($result); - } - - public function envoyersmsskysms($destinataires_c, $message_c) - { - $loginSms = $this->loginSms; - $motPassSms = $this->motPassSms; - - // echo "envoyersmsskysms => loginSms => $loginSms => motPassSms => $motPassSms"; - // exit(); - - $url = "http://137.74.43.214:9000/api/public/sendsms/v2/output=text?"; - - $postFields = array - ( - 'user' => $loginSms, - 'password' => $motPassSms, - 'sender' => 'INTERSANTE', - 'phone' => $destinataires_c, - 'message' => $message_c - ); - - $post = http_build_query($postFields); - - $url .= $post; - - // var_dump($url); - // exit(); - - $result = file_get_contents($url); - - // A SUPPRIMER - var_dump($result); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxtransformerdevis.php b/radiantproduction/Controleur/ControleurAjaxtransformerdevis.php deleted file mode 100644 index 92e6b33..0000000 --- a/radiantproduction/Controleur/ControleurAjaxtransformerdevis.php +++ /dev/null @@ -1,26 +0,0 @@ -devis = new Police_d(); - $this->police = new Police(); - } - - public function index() - { - $idDevis = $this->requete->getParametreFormulaire("idDevis"); - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - - $idPolice = $this->devis->transformer($idDevis, $numeroOptionTarif); - - $this->police->getContexteClientId($idPolice); - - $this->police->getContexteAjaxPolice($idPolice); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxttcfammille.php b/radiantproduction/Controleur/ControleurAjaxttcfammille.php deleted file mode 100644 index 020683f..0000000 --- a/radiantproduction/Controleur/ControleurAjaxttcfammille.php +++ /dev/null @@ -1,33 +0,0 @@ -adherent_temp = new Adherent_temp(); - } - - public function index() - { - $user = $_SESSION['login']; - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - - $adherent_temp = $this->adherent_temp->etAdherent_temp($user); - - $this->genererVueAjax(array('adherent_temp' => $adherent_temp)); - } - - public function initialiser() - { - $user = $_SESSION['login']; - $idCollege = $this->requete->getParametreFormulaire("idCollege"); - $prorata = $this->requete->getParametreFormulaire("prorata"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - - $adherent_temp = $this->adherent_temp->initialiserAdherent_temp($idCollege, $dateEntree, $user, $prorata) ; - - $this->executerAction("index"); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxutilisateursprofil.php b/radiantproduction/Controleur/ControleurAjaxutilisateursprofil.php deleted file mode 100644 index 98caa90..0000000 --- a/radiantproduction/Controleur/ControleurAjaxutilisateursprofil.php +++ /dev/null @@ -1,28 +0,0 @@ -utilisateur = new Utilisateur(); - } - - public function index() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - - $listeutilisateur = $this->utilisateur->getUtilisateursProfil($codeProfil); - - $this->genererVueAjax(array('listeutilisateur' => $listeutilisateur)); - } - - public function attribuerProfil() { - $id = $this->requete->getParametre("id"); - $id_utilisateur = $this->requete->getParametre("id_utilisateur"); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->utilisateur->attribuerProfil($id_utilisateur,$codeProfil,$choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxvaliderfacture.php b/radiantproduction/Controleur/ControleurAjaxvaliderfacture.php deleted file mode 100644 index 44ab494..0000000 --- a/radiantproduction/Controleur/ControleurAjaxvaliderfacture.php +++ /dev/null @@ -1,44 +0,0 @@ -reglement = new Reglement(); - $this->prestations = new Prestationactes_temp(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $this->reglement->recapdecompte($idReglement, $numeroDecompte); - - $reglement = $this->reglement->getreglement($idReglement); - - $facture_val = $this->prestations->get_facture_decompte(); - - $this->genererVueAjax(array('reglement' => $reglement, 'facture_val' => $facture_val)); - } - - public function validerfacture() - { - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $choix = $this->requete->getParametreFormulaire("choix"); - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $this->reglement->validerfacture($idFacture, $choix); - - $this->executerAction("index"); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxverifierfacture.php b/radiantproduction/Controleur/ControleurAjaxverifierfacture.php deleted file mode 100644 index be05782..0000000 --- a/radiantproduction/Controleur/ControleurAjaxverifierfacture.php +++ /dev/null @@ -1,30 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - - $numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->getprestationsfeuille_temp($numeroDecompte, $idFacture); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxverifierfacturecons.php b/radiantproduction/Controleur/ControleurAjaxverifierfacturecons.php deleted file mode 100644 index 882d9fc..0000000 --- a/radiantproduction/Controleur/ControleurAjaxverifierfacturecons.php +++ /dev/null @@ -1,29 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->getprestationsfeuille_temp($numeroDecompte, $idFacture); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxverifierfactureopt.php b/radiantproduction/Controleur/ControleurAjaxverifierfactureopt.php deleted file mode 100644 index 24e7ab4..0000000 --- a/radiantproduction/Controleur/ControleurAjaxverifierfactureopt.php +++ /dev/null @@ -1,29 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->getprestationsfeuille_temp_opt($numeroDecompte, $idFacture); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxverifierfactureoptcons.php b/radiantproduction/Controleur/ControleurAjaxverifierfactureoptcons.php deleted file mode 100644 index 39f1c28..0000000 --- a/radiantproduction/Controleur/ControleurAjaxverifierfactureoptcons.php +++ /dev/null @@ -1,29 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->getprestationsfeuille_temp_opt($numeroDecompte, $idFacture); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxverifierfacturepha.php b/radiantproduction/Controleur/ControleurAjaxverifierfacturepha.php deleted file mode 100644 index e81dd5c..0000000 --- a/radiantproduction/Controleur/ControleurAjaxverifierfacturepha.php +++ /dev/null @@ -1,29 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->getprestationsfeuille_temp_pha($numeroDecompte, $idFacture); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxverifierfacturephacons.php b/radiantproduction/Controleur/ControleurAjaxverifierfacturephacons.php deleted file mode 100644 index f422166..0000000 --- a/radiantproduction/Controleur/ControleurAjaxverifierfacturephacons.php +++ /dev/null @@ -1,29 +0,0 @@ -prestations = new Prestationactes_temp(); - } - - public function index() - { - $numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie"); - $idFacture = $this->requete->getParametreFormulaire("idFacture"); - $numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte"); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - $_SESSION['idFacture_C'] = $idFacture; - - $facture_pop = $this->prestations->get_facture_decompte(); - - $prestations = $this->prestations->getprestationsfeuille_temp_pha($numeroDecompte, $idFacture); - - $prestations_total = $this->prestations->getprestationsfeuille_temp_total(); - - $this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAjaxville.php b/radiantproduction/Controleur/ControleurAjaxville.php deleted file mode 100644 index 47a85bf..0000000 --- a/radiantproduction/Controleur/ControleurAjaxville.php +++ /dev/null @@ -1,27 +0,0 @@ -requete->getSession()->getAttribut('codeSociete'); - $codePays = $this->requete->getParametreFormulaire("codePays"); - $listeville = (new Ville())->getListe($codePays); - $this->genererVueAjax(array('listeville' => $listeville)); - } - - public function consultation() - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codePays = $this->requete->getParametreFormulaire("codePays"); - $listeville = (new Ville())->getListe($codePays); - $this->genererVueAjax(array('listeville' => $listeville)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjaxvuesprofil.php b/radiantproduction/Controleur/ControleurAjaxvuesprofil.php deleted file mode 100644 index 7264450..0000000 --- a/radiantproduction/Controleur/ControleurAjaxvuesprofil.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvueutilisateur = new Menuvueutilisateur(); - } - - public function index() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $vue = $this->requete->getParametreFormulaire("vue"); - - $listemenu = $this->menuvueutilisateur->getMenusvueProfil($codeProfil,$vue); - - $this->genererVueAjax(array('listemenu' => $listemenu)); - } - - public function ajouterMenu() { - $id = $this->requete->getParametre("id"); - $id_menuvueutilisateur = $this->requete->getParametre("id_menuvueutilisateur"); - $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); - $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); - $vue = $this->requete->getParametreFormulaire("vue"); - $choix = $this->requete->getParametreFormulaire("choix"); - - $this->menuvueutilisateur->ajouterMenu($id_menuvueutilisateur,$codeProfil,$codeMenu,$vue,$choix); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjouterprofil.php b/radiantproduction/Controleur/ControleurAjouterprofil.php deleted file mode 100644 index 50b9d44..0000000 --- a/radiantproduction/Controleur/ControleurAjouterprofil.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Ajouterprofil'); - - $this->profil = new Profil(); - $this->profilsysteme = (new ProfilSysteme())->getListe(); - } - public function index() { - $this->genererVue(array('profilsysteme' => $this->profilsysteme)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeProfil = $this->requete->getParametre("codeProfil"); - // Début contrôle doublon - if (!$this->profil->existeligne($codeProfil)) { - $libelle = $this->requete->getParametre("libelle"); - $codeProfilSysteme = $this->requete->getParametre("codeProfilSysteme"); - $this->profil->ajouter($codeSociete, $codeProfil, $libelle, $codeProfilSysteme); - $this->executerAction("index"); - } - else - $this->genererVue(array('profilsysteme' => $this->profilsysteme, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAjouterutilisateur.php b/radiantproduction/Controleur/ControleurAjouterutilisateur.php deleted file mode 100644 index 303dd5f..0000000 --- a/radiantproduction/Controleur/ControleurAjouterutilisateur.php +++ /dev/null @@ -1,45 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Ajouterutilisateur'); - - $this->utilisateur = new Utilisateur(); - $this->profil = (new Profil())->getListe(); - $this->service = (new Service())->getListe(); - } - public function index() { - $this->genererVue(array('profil' => $this->profil, 'service' => $this->service)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeUtilisateur = $this->requete->getParametre("codeUtilisateur"); - // Début contrôle doublon - if (!$this->utilisateur->existeligne($codeUtilisateur)) { - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametre("prenoms"); - $codeService = $this->requete->getParametre("codeService"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $fonction = $this->requete->getParametreFormulaire("fonction"); - $codeProfil = $this->requete->getParametre("codeProfil"); - $this->utilisateur->ajouter($codeSociete, $codeUtilisateur, $nom, $prenoms, $codeService, - $telephone, $email, $fonction, $codeProfil); - $this->executerAction("index"); - } - else - $this->genererVue(array('profil' => $this->profil, 'service' => $this->service, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAnomaliesdecomptes.php b/radiantproduction/Controleur/ControleurAnomaliesdecomptes.php deleted file mode 100644 index 6166063..0000000 --- a/radiantproduction/Controleur/ControleurAnomaliesdecomptes.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Anomaliesdecomptes'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurAnteceentsmedicaux.php b/radiantproduction/Controleur/ControleurAnteceentsmedicaux.php deleted file mode 100644 index 9260903..0000000 --- a/radiantproduction/Controleur/ControleurAnteceentsmedicaux.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Anteceentsmedicaux'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAssuranceindividuelle.php b/radiantproduction/Controleur/ControleurAssuranceindividuelle.php deleted file mode 100644 index aa2df04..0000000 --- a/radiantproduction/Controleur/ControleurAssuranceindividuelle.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Assuranceindividuelle'); - - $this->typeapporteur = new Typeapporteur(); - $this->police = new Police(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $typeapporteurs = $this->typeapporteur->getTypeapporteursCommercial(); - - $nb_non_facturees = $this->police->fn_primes_non_facturees_police($idPolice); - - $this->genererVue(array('typeapporteurs' => $typeapporteurs, 'nb_non_facturees' => $nb_non_facturees)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAssuresactifs.php b/radiantproduction/Controleur/ControleurAssuresactifs.php deleted file mode 100644 index 2c9f4c8..0000000 --- a/radiantproduction/Controleur/ControleurAssuresactifs.php +++ /dev/null @@ -1,15 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Assuresactifs'); - } - public function index() { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAttentdemandesteglement.php b/radiantproduction/Controleur/ControleurAttentdemandesteglement.php deleted file mode 100644 index b4beca2..0000000 --- a/radiantproduction/Controleur/ControleurAttentdemandesteglement.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Attentdemandesteglement'); - $this->reglement = new Reglement(); - } - - public function index() - { - $decomptes = $this->reglement->getattentedemandesreglement(); - - $decomptes_total = null; - - if(count($decomptes)>"0") - { - $decomptes_total = $decomptes['0']; - } - - $this->genererVue(array('decomptes' => $decomptes, 'decomptes_total' => $decomptes_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurAudits.php b/radiantproduction/Controleur/ControleurAudits.php deleted file mode 100644 index b8907ab..0000000 --- a/radiantproduction/Controleur/ControleurAudits.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Audits'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurAutresparametresgeneraux.php b/radiantproduction/Controleur/ControleurAutresparametresgeneraux.php deleted file mode 100644 index a5fa209..0000000 --- a/radiantproduction/Controleur/ControleurAutresparametresgeneraux.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Autresparametresgeneraux'); - - $this->societeuser = new Societeuser(); - } - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - $this->genererVue(array('societeuser' => $societeuser)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurBatchdroitsass.php b/radiantproduction/Controleur/ControleurBatchdroitsass.php deleted file mode 100644 index 85fe329..0000000 --- a/radiantproduction/Controleur/ControleurBatchdroitsass.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Batchdroitsass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profils = $this->utilisateur->getListeProfil(); - - $this->genererVue(array('profils' => $profils)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurBeneficiaireprimeadherent.php b/radiantproduction/Controleur/ControleurBeneficiaireprimeadherent.php deleted file mode 100644 index 58b8f8b..0000000 --- a/radiantproduction/Controleur/ControleurBeneficiaireprimeadherent.php +++ /dev/null @@ -1,40 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Beneficiaireprimeadherent"); - - $this->adherent = new Adherent(); - $this->emission = new Emission(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $adherent = $this->adherent->getAdherentId($idAdherent); - $debutPeriode = $adherent['dateEffetAdherent']; - $finPeriode = $adherent['dateFinPolice']; - - $beneficiaires = $this->emission->getbeneficiaireprimeadherent($idAdherent, $debutPeriode, $finPeriode); - - $beneficiaires_total = null; - - if(count($beneficiaires)>"0") - { - $beneficiaires_total = $beneficiaires['0']; - } - - $this->genererVue(array('adherent' => $adherent, 'beneficiaires' => $beneficiaires, 'beneficiaires_total' => $beneficiaires_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurBeneficiaireprimebeneficiaire.php b/radiantproduction/Controleur/ControleurBeneficiaireprimebeneficiaire.php deleted file mode 100644 index 4a04805..0000000 --- a/radiantproduction/Controleur/ControleurBeneficiaireprimebeneficiaire.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Beneficiaireprimebeneficiaire"); - - $this->beneficiaire = new Beneficiaire(); - $this->emission = new Emission(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $beneficiaire = $this->beneficiaire->getBeneficiaireId($idBeneficiaire); - - $debutPeriode = $beneficiaire['dateEffetBeneficiaire']; - $finPeriode = $beneficiaire['dateFinPolice']; - - $beneficiaires = $this->emission->getbeneficiaireprimebeneficiaire($idBeneficiaire, $debutPeriode, $finPeriode); - - $beneficiaires_total = null; - - if(count($beneficiaires)>"0") - { - $beneficiaires_total = $beneficiaires['0']; - } - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'beneficiaires' => $beneficiaires, 'beneficiaires_total' => $beneficiaires_total)); - } -} diff --git a/radiantproduction/Controleur/ControleurBeneficiaireprimeemission.php b/radiantproduction/Controleur/ControleurBeneficiaireprimeemission.php deleted file mode 100644 index e75caaf..0000000 --- a/radiantproduction/Controleur/ControleurBeneficiaireprimeemission.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Beneficiaireprimeemission"); - - $this->emission = new Emission(); - } - - public function index() - { - $idEmission = $_SESSION['idEmission']; - - $emission = $this->emission->getEmissionId($idEmission); - - $beneficiaires = $this->emission->getbeneficiaireprimeemission($idEmission); - - $this->genererVue(array('emission' => $emission, 'beneficiaires' => $beneficiaires)); - } -} diff --git a/radiantproduction/Controleur/ControleurBeneficiairequittance.php b/radiantproduction/Controleur/ControleurBeneficiairequittance.php deleted file mode 100644 index 79880e7..0000000 --- a/radiantproduction/Controleur/ControleurBeneficiairequittance.php +++ /dev/null @@ -1,40 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Beneficiairequittance"); - - $this->quittance = new Quittance(); - $this->beneficiaire = new Beneficiairequittance(); - - } - public function index() { - $idEmission = $this->requete->getParametre("id"); - $emission = $this->emission->getQuittanceId($idEmission); - $beneficiaires = $this->beneficiaire->getBeneficiaireEmission($idEmission); - $this->genererVue(array('emission' => $emission, 'beneficiaires' => $beneficiaires)); - } - - public function affciherparquittance() { - $idQuittance = $this->requete->getParametre("id"); - $quittance = $this->quittance->getQuittanceId($idQuittance); - $beneficiaires = $this->beneficiaire->getBeneficiaireQuittance($idQuittance); - $this->genererVue(array('quittance' => $quittance, 'beneficiaires' => $beneficiaires)); - } - - public function imprimerquittance() { - $IdQuittance = $this->requete->getParametre("id"); - require_once 'Societes/'.$_SESSION['codeSociete'].'/Etats/Etquittance.php'; - $this->etat = new Etquittance(); - $this->etat->imprimer($IdQuittance); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCaracteristiquesecte.php b/radiantproduction/Controleur/ControleurCaracteristiquesecte.php deleted file mode 100644 index 1b38661..0000000 --- a/radiantproduction/Controleur/ControleurCaracteristiquesecte.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Caracteristiquesecte'); - - $this->familleacte = new Familleacte(); - } - - public function index() - { - $familleacte = $this->familleacte->getListeCode(); - - $this->genererVue(array('familleacte' => $familleacte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCarteassurespolice.php b/radiantproduction/Controleur/ControleurCarteassurespolice.php deleted file mode 100644 index 124aee8..0000000 --- a/radiantproduction/Controleur/ControleurCarteassurespolice.php +++ /dev/null @@ -1,55 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Carteassurespolice"); - - $this->carte = new Carteassure(); - $this->beneficiaire = new Beneficiaire(); - $this->police = new Police(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $_SESSION['idPoliceCarte'] = $idPolice; - $idCollege = "0"; - - $colleges = $this->police->getCollegePoliceArchive($idPolice); - - // Initialisation de la liste des assurés à éditer - $this->carte->initListeEdition($idPolice, $idCollege); - - // Récupération des assurés - $editions = $this->carte->getListeEdition($idPolice); - - $listeEdition = $this->carte->getEditionsChoisies(); - $nbreChoisi = $this->carte->getNbreEditionsChoisies(); - - $choixToute = $this->carte->getChoixToute(); - - $this->genererVue - ( - array - ( - 'colleges' => $colleges, - 'editions' => $editions, - 'listeEdition' => $listeEdition, - 'nbreChoisi' => $nbreChoisi, - 'choixToute' => $choixToute - ) - ); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCartesbenficiaire.php b/radiantproduction/Controleur/ControleurCartesbenficiaire.php deleted file mode 100644 index 02e0b99..0000000 --- a/radiantproduction/Controleur/ControleurCartesbenficiaire.php +++ /dev/null @@ -1,15 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Cartesbenficiaire'); - } - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurChambrecons.php b/radiantproduction/Controleur/ControleurChambrecons.php deleted file mode 100644 index bf356cc..0000000 --- a/radiantproduction/Controleur/ControleurChambrecons.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Chambrecons'); - - $this->prestation = new Prestationactes(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $chambres = $this->prestation->getchambresfeuille($numeroFeuilleMaladie); - - $totalchambres = $this->prestation->gettotalchambresfeuille($numeroFeuilleMaladie); - - $this->genererVue(array('chambres' => $chambres, 'totalchambres' => $totalchambres)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurChambredec.php b/radiantproduction/Controleur/ControleurChambredec.php deleted file mode 100644 index dd38def..0000000 --- a/radiantproduction/Controleur/ControleurChambredec.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Chambredec'); - - $this->prestation = new Prestationactes(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $chambres = $this->prestation->getchambresfeuille($numeroFeuilleMaladie); - - $totalchambres = $this->prestation->gettotalchambresfeuille($numeroFeuilleMaladie); - - $this->genererVue(array('chambres' => $chambres, 'totalchambres' => $totalchambres)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurChangercollege.php b/radiantproduction/Controleur/ControleurChangercollege.php deleted file mode 100644 index 780442c..0000000 --- a/radiantproduction/Controleur/ControleurChangercollege.php +++ /dev/null @@ -1,44 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Changercollege'); - - $this->adherent = new Adherent(); - $this->college = (new Collegepolice())->getListeToutes($_SESSION['idPolice_C']); - $this->college_temp = new College_temp(); - } - - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - $adherent = $this->adherent->getAdherentId($idAdherent); - $collegeTemp = $this->college_temp->init_changement_college($idAdherent); - - $this->genererVue(array('adherent' => $adherent, 'college' => $this->college, 'collegeTemp' => $collegeTemp)); - } - - public function changercollege() { - $idAdherent = $_SESSION['idAdherent_C']; - $this->college_temp->changer_college($idAdherent); - $this->rediriger("Ficheadherent/".$idAdherent); - } -} - - - - - - - diff --git a/radiantproduction/Controleur/ControleurChangeretatadherent.php b/radiantproduction/Controleur/ControleurChangeretatadherent.php deleted file mode 100644 index a41529f..0000000 --- a/radiantproduction/Controleur/ControleurChangeretatadherent.php +++ /dev/null @@ -1,44 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Changeretatadherent"); - - $this->adherent = new Adherent(); - $this->etatpersonne = new Etatpersonne; - } - public function index() { - $idAdherent = $_SESSION['idAdherent_C']; - $adherent = $this->adherent->getAdherentId($idAdherent); - - $oldcodeEtatPersonne = $adherent['codeEtatAdherent']; - - $etatpersonne = $this->etatpersonne->getListeSuiteFam($oldcodeEtatPersonne); - - $this->genererVue(array('adherent' => $adherent, 'etatpersonne' => $etatpersonne)); - } - - public function enregistrer() - { - $idAdherent = $_SESSION['idAdherent_C']; - - $codeEtatAdherent = $this->requete->getParametreFormulaire("codeEtatAdherent"); - $motifEtat = $this->requete->getParametreFormulaire("motifEtat"); - $dateEtat = $this->requete->getParametreDate("dateEtat"); - - $this->adherent->changeretat($idAdherent, $codeEtatAdherent, $motifEtat, $dateEtat); - - // $this->rediriger("Ficheadherent"); - // $this->rediriger("Ficheadherent", $_SESSION['idAdherent_C']); - $this->rediriger("Ficheadherent/".$_SESSION['idAdherent_C']); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurChangeretatbeneficiaire.php b/radiantproduction/Controleur/ControleurChangeretatbeneficiaire.php deleted file mode 100644 index cc9e502..0000000 --- a/radiantproduction/Controleur/ControleurChangeretatbeneficiaire.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Changeretatbeneficiaire"); - - $this->beneficiaire = new Beneficiaire(); - $this->etatpersonne = new Etatpersonne; - } - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $beneficiaire = $this->beneficiaire->getBeneficiaireId($idBeneficiaire); - - $oldcodeEtatPersonne = $beneficiaire['codeEtatBeneficiaire']; - - $etatpersonne = $this->etatpersonne->getListeSuiteDep($oldcodeEtatPersonne); - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'etatpersonne' => $etatpersonne)); - } - - public function enregistrer() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $codeEtatBeneficiaire = $this->requete->getParametreFormulaire("codeEtatBeneficiaire"); - $motifEtat = $this->requete->getParametreFormulaire("motifEtat"); - $dateEtat = $this->requete->getParametreDate("dateEtat"); - - $this->beneficiaire->changeretat($idBeneficiaire, $codeEtatBeneficiaire, $motifEtat, $dateEtat); - - $this->rediriger("Fichebeneficiaire/".$_SESSION['idBeneficiaire_C']); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurChangerlimite.php b/radiantproduction/Controleur/ControleurChangerlimite.php deleted file mode 100644 index 75549eb..0000000 --- a/radiantproduction/Controleur/ControleurChangerlimite.php +++ /dev/null @@ -1,37 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Changerlimite'); - $this->adherent = new Adherent(); - } - - public function index() - { - $garantiesadd = $this->adherent->getGarAddCollege(); - - $this->genererVue(array('garantiesadd' => $garantiesadd)); - } - - public function enregistrer() - { - $idAdherent = $_SESSION['idAdherent_C']; - $this->adherent->changerlimite($idAdherent); - $this->rediriger("Ficheadherent/".$idAdherent); - } -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurChangermotpass.php b/radiantproduction/Controleur/ControleurChangermotpass.php deleted file mode 100644 index 02ab569..0000000 --- a/radiantproduction/Controleur/ControleurChangermotpass.php +++ /dev/null @@ -1,55 +0,0 @@ -utilisateur = new Utilisateur(); - - $this->menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Changermotpass'); - } - - public function index() - { - $this->genererVue(); - } - - public function changerpass() - { - $login = $_SESSION['login']; - if ($this->requete->existeParametre("ancmdp") - && $this->requete->existeParametre("nvmdp") - && $this->requete->existeParametre("cfnvmdp")) - { - $ancmdp = $this->requete->getParametre("ancmdp"); - $nvmdp = $this->requete->getParametre("nvmdp"); - $cfnvmdp = $this->requete->getParametre("cfnvmdp"); - if ($nvmdp!=$cfnvmdp) - { - $this->genererVue(array('msgErreur' => 'Veuillez confirmer votre nouveau mot de passe!'), "index"); - } - else if ($nvmdp==$ancmdp) - { - $this->genererVue(array('msgErreur' => 'Veuillez changer de mot de passe!'), "index"); - } - else if ($this->utilisateur->connecter($login, $ancmdp)) - { - $this->utilisateur->changerpass($login, $ancmdp, $nvmdp); - $this->rediriger("Recherche"); - } - else - { - $this->genererVue(array('msgErreur' => 'Ancien mot de passe incorrect!'), "index"); - } - } - else - $this->genererVue(array('msgErreur' => 'Veuillez revoir votre saisie!'), "index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCollegepolice.php b/radiantproduction/Controleur/ControleurCollegepolice.php deleted file mode 100644 index 423aa84..0000000 --- a/radiantproduction/Controleur/ControleurCollegepolice.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Collegepolice"); - - $this->college = new Collegepolice(); - $this->police = new Police(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $police = $this->police->getPoliceIdSimple($idPolice); - $colleges = $this->college->getCollegesPolice($idPolice); - $totalcollege = $this->college->getTotaldcollege($idPolice); - $this->genererVue(array('police' => $police, 'colleges' => $colleges, 'totalcollege' => $totalcollege)); - } - - public function supprimerCollege() - { - $idCollege = $this->requete->getParametre("id"); - - $this->college->supprimer($idCollege); - $this->rediriger("Collegepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCommercial.php b/radiantproduction/Controleur/ControleurCommercial.php deleted file mode 100644 index 36ba82a..0000000 --- a/radiantproduction/Controleur/ControleurCommercial.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Commercial'); - - $this->typeapporteur = new Typeapporteur(); - } - - public function index() - { - $typeapporteurs = $this->typeapporteur->getTypeapporteursCommercial(); - - $this->genererVue(array('typeapporteurs' => $typeapporteurs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompositiontarifactes.php b/radiantproduction/Controleur/ControleurCompositiontarifactes.php deleted file mode 100644 index 16e85e6..0000000 --- a/radiantproduction/Controleur/ControleurCompositiontarifactes.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Compositiontarifactes'); - - $this->tarif = new Tarifsactes(); - $this->familleacte = new Familleacte(); - } - - public function index() - { - $tarifs = $this->tarif->getListe(); - - $familleacte = $this->familleacte->getListeComposanteTarif(); - - $this->genererVue(array('tarifs' => $tarifs, 'familleacte' => $familleacte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompositiontarifactescons.php b/radiantproduction/Controleur/ControleurCompositiontarifactescons.php deleted file mode 100644 index 664edc1..0000000 --- a/radiantproduction/Controleur/ControleurCompositiontarifactescons.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Compositiontarifactescons'); - - $this->tarif = new Tarifsactes(); - $this->familleacte = new Familleacte(); - } - - public function index() - { - $tarifs = $this->tarif->getListe(); - - $familleacte = $this->familleacte->getListeComposanteTarif(); - - $this->genererVue(array('tarifs' => $tarifs, 'familleacte' => $familleacte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompositiontarifmedicament.php b/radiantproduction/Controleur/ControleurCompositiontarifmedicament.php deleted file mode 100644 index cf80935..0000000 --- a/radiantproduction/Controleur/ControleurCompositiontarifmedicament.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Compositiontarifmedicament'); - - $this->tarif = new Tarifsmedicaments(); - } - - public function index() - { - $tarifs = $this->tarif->getListe(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompositiontarifmedicamentcons.php b/radiantproduction/Controleur/ControleurCompositiontarifmedicamentcons.php deleted file mode 100644 index 11c380b..0000000 --- a/radiantproduction/Controleur/ControleurCompositiontarifmedicamentcons.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Compositiontarifmedicamentcons'); - - $this->tarif = new Tarifsmedicaments(); - } - - public function index() - { - $tarifs = $this->tarif->getListe(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompositiontarifverres.php b/radiantproduction/Controleur/ControleurCompositiontarifverres.php deleted file mode 100644 index 895b666..0000000 --- a/radiantproduction/Controleur/ControleurCompositiontarifverres.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Compositiontarifverres'); - - $this->tarif = new Tarifsoptiques(); - } - - public function index() - { - $tarifs = $this->tarif->getListe(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompositiontarifverrescons.php b/radiantproduction/Controleur/ControleurCompositiontarifverrescons.php deleted file mode 100644 index 52c0486..0000000 --- a/radiantproduction/Controleur/ControleurCompositiontarifverrescons.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Compositiontarifverrescons'); - - $this->tarif = new Tarifsoptiques(); - } - - public function index() - { - $tarifs = $this->tarif->getListe(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCompta.php b/radiantproduction/Controleur/ControleurCompta.php deleted file mode 100644 index 5098549..0000000 --- a/radiantproduction/Controleur/ControleurCompta.php +++ /dev/null @@ -1,47 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Compta"); - - $this->client = new Client(); - $this->police = new Police(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idClient = $this->requete->getParametreFormulaire("id"); - $idClient = ($idClient<=" " ? "0" : $idClient); - $this->client->getContexteClientId($idClient); - $client = $this->client->getClientId($idClient); - - $polices = $this->police->getPolicesId($idClient); - - $this->genererVue(array('client' => $client, 'polices' => $polices)); - } - - public function changercompte() - { - $numeroClient = $this->requete->getParametre("numeroClient"); - $idClient = $this->client->getIdClient($numeroClient); - $this->rediriger("Compta", $idClient); - } - - public function changercomptepop() - { - $numeroClient = $this->requete->getParametre("numeroClientpop"); - $idClient = $this->client->getIdClient($numeroClientpop); - $this->rediriger("Compta", $idClient); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConnexion.php b/radiantproduction/Controleur/ControleurConnexion.php deleted file mode 100644 index e114bbc..0000000 --- a/radiantproduction/Controleur/ControleurConnexion.php +++ /dev/null @@ -1,624 +0,0 @@ -utilisateur = new Utilisateur(); - $this->menu = new Menu(); - $this->logconnexion = new Logconnexion(); - // date_default_timezone_set("UTC"); - // date_default_timezone_set("Africa/Kigali"); - - $this->moritio = new Moritio(); - } - - public function index() - { - $this->genererVue(); - } - - public function connecter() - { - if ($this->requete->existeParametre("login") && $this->requete->existeParametre("mdp")) { - $login = $this->requete->getParametre("login"); - $mdp = $this->requete->getParametre("mdp"); - - // logConnexion - $heureConnexion = date("Y-m-d H:i:s"); - $ipConnexion = $_SERVER['REMOTE_ADDR']; - - $idSaisie = uniqid(); - - $idConnexion = $this->logconnexion->ajouter($login, $heureConnexion, $ipConnexion, $idSaisie); - - // VIdage Tables temporaires - $this->utilisateur->viderTablesTemporairesUser($login); - - if ($this->utilisateur->connecter($login, $mdp)) - { - $this->logconnexion->succesconnexion($idConnexion); - - //On obtient le user à partir de son login - $utilisateur = $this->utilisateur->getUtilisateur($login); - - // Début test Licence - $codeSociete = $utilisateur['codeSociete']; - $nomSociete = $utilisateur['nomSociete']; - - $licensed = $this->moritio->getLicensed($codeSociete, $nomSociete); - - if(!$licensed ) - { - if ($_SESSION['lang']=="en_US") - { - $this->genererVue(array('msgErreur' => 'PLEASE CONTACT EBENE SOLUTIONS INFORMATIQUES AT lkane@ebene.info!'), "index"); - } - else - { - $this->genererVue(array('msgErreur' => 'VEUILLEZ CONTACTER EBENE SOLUTIONS INFORMATIQUES AU lkane@ebene.info!'), "index"); - } - exit(); - } - // Fin test Licence - - if($utilisateur['actif']<>1) - { - if ($_SESSION['lang']=="en_US") - { - $this->genererVue(array('msgErreur' => 'User disabled!'), "index"); - } - else - { - $this->genererVue(array('msgErreur' => 'Utilisateur désactivé!'), "index"); - } - exit(); - } - - // Gestion limite usage - $dateLimiteUsage = $utilisateur['dateLimiteUsage']; - $dateLimiteUsage_0 = $this->moritio->getMoritio_0(); - $dateLimiteUsage_2 = $this->moritio->getMoritio_2(); - - if($dateLimiteUsage<$dateLimiteUsage_0) - { - if ($_SESSION['lang']=="en_US") - { - $this->genererVue(array('msgErreur' => 'PLEASE CONTACT EBENE SOLUTIONS INFORMATIQUES AT lkane@ebene.info!'), "index"); - } - else - { - $this->genererVue(array('msgErreur' => 'VEUILLEZ CONTACTER EBENE SOLUTIONS INFORMATIQUES AU lkane@ebene.info!'), "index"); - } - exit(); - } - - if($dateLimiteUsage_2<$dateLimiteUsage_0) - { - if ($_SESSION['lang']=="en_US") - { - $this->genererVue(array('msgErreur' => 'PLEASE CONTACT EBENE SOLUTIONS INFORMATIQUES AT lkane@ebene.info!'), "index"); - } - else - { - $this->genererVue(array('msgErreur' => 'VEUILLEZ CONTACTER EBENE SOLUTIONS INFORMATIQUES AU lkane@ebene.info!'), "index"); - } - exit(); - } - // FIN Gestion limite usage - - - viderContexte(); - - // Variables de session Utilisateur - - $this->requete->getSession()->setAttribut("dateLimiteUsage", $dateLimiteUsage); - $this->requete->getSession()->setAttribut("idUtilisateur", $utilisateur['idUtilisateur']); - $this->requete->getSession()->setAttribut("login", $utilisateur['login']); - $this->requete->getSession()->setAttribut("nomUtilisateur", $utilisateur['nom']); - $this->requete->getSession()->setAttribut("prenomsUtilisateur", $utilisateur['prenoms']); - $this->requete->getSession()->setAttribut("codeTypeUtilisateur", $utilisateur['codeTypeUtilisateur']); - $this->requete->getSession()->setAttribut("utilisateur_C", $utilisateur['prenoms']." ".$utilisateur['nom']); - $this->requete->getSession()->setAttribut("typeUtilisateur", $utilisateur['typeUtilisateur']); - $this->requete->getSession()->setAttribut("telephoneUtilisateur", $utilisateur['telephone']); - $this->requete->getSession()->setAttribut("emailUtilisateur", $utilisateur['email']); - $this->requete->getSession()->setAttribut("codeProfil", $utilisateur['codeProfil']); - $this->requete->getSession()->setAttribut("codeProfilSysteme", $utilisateur['codeProfilSysteme']); - $this->requete->getSession()->setAttribut("profil", $utilisateur['profil']); - $this->requete->getSession()->setAttribut("gestionDroit", $utilisateur['gestionDroit']); - $this->requete->getSession()->setAttribut("codePrestataireUtilisateur", $utilisateur['codePrestataire']); - $this->requete->getSession()->setAttribut("codeTypePrestataireUtilisateur", $utilisateur['codeTypePrestataire']); - $this->requete->getSession()->setAttribut("prestataireUtilisateur", $utilisateur['prestataire']); - $this->requete->getSession()->setAttribut("telephonePrestataire", $utilisateur['telephonePrestataire']); - $this->requete->getSession()->setAttribut("faxPrestataire", $utilisateur['faxPrestataire']); - $this->requete->getSession()->setAttribut("emailPrestataire", $utilisateur['emailPrestataire']); - - $this->requete->getSession()->setAttribut("adminProd", $utilisateur['adminProd']); - $this->requete->getSession()->setAttribut("adminSin", $utilisateur['adminSin']); - $this->requete->getSession()->setAttribut("adminBon", $utilisateur['adminBon']); - $this->requete->getSession()->setAttribut("adminDiv", $utilisateur['adminDiv']); - $this->requete->getSession()->setAttribut("superUser", $utilisateur['superUser']); - - $this->requete->getSession()->setAttribut("codeExercice_C", $utilisateur['codeExercice']); - $this->requete->getSession()->setAttribut("codeMois_C", $utilisateur['codeMois']); - - $_SESSION['codePeriodeMax'] = $_SESSION['codeExercice_C'].$_SESSION['codeMois_C']; - - $_SESSION['codeExercice1_C'] = $_SESSION['codeExercice_C']; - $_SESSION['codeExercice2_C'] = $_SESSION['codeExercice_C']; - $_SESSION['codeMois1_C'] = $_SESSION['codeMois_C']; - $_SESSION['codeMois2_C'] = $_SESSION['codeMois_C']; - - $this->requete->getSession()->setAttribut("dUneSemaineAvant_C", $utilisateur['dUneSemaineAvant']); - $this->requete->getSession()->setAttribut("dUneSemaineAvantFr_C", $utilisateur['dUneSemaineAvantFr']); - - $this->requete->getSession()->setAttribut("debutExercice_C", $utilisateur['debutExercice']); - $this->requete->getSession()->setAttribut("debutExerciceFr_C", $utilisateur['debutExerciceFr']); - - $this->requete->getSession()->setAttribut("debutArchivage", $utilisateur['debutArchivage']); - $this->requete->getSession()->setAttribut("debutArchivageFr", $utilisateur['debutArchivageFr']); - - $this->requete->getSession()->setAttribut("debutMois_C", $utilisateur['debutMois']); - $this->requete->getSession()->setAttribut("debutMoisFr_C", $utilisateur['debutMoisFr']); - - /* - $this->requete->getSession()->setAttribut("debutRequete_C", $_SESSION['debutExercice_C']); - $this->requete->getSession()->setAttribut("debutRequeteFr_C", $_SESSION['debutExerciceFr_C']); - */ - $this->requete->getSession()->setAttribut("debutRequete_C", $_SESSION['debutMois_C']); - $this->requete->getSession()->setAttribut("debutRequeteFr_C", $_SESSION['debutMoisFr_C']); - $this->requete->getSession()->setAttribut("finRequeteFr_C", date('d/m/Y')); - $this->requete->getSession()->setAttribut("dateAnalyse_C", date('Y-m-d')); - $this->requete->getSession()->setAttribut("dateAnalyseFr_C", date('d/m/Y')); - - $this->requete->getSession()->setAttribut("debutGc", $utilisateur['debutExercice']); - $this->requete->getSession()->setAttribut("debutGcFr", $utilisateur['debutExerciceFr']); - $this->requete->getSession()->setAttribut("finGcFr", date('d/m/Y')); - - $this->requete->getSession()->setAttribut("hier_C", $utilisateur['hier']); - $this->requete->getSession()->setAttribut("hierFr_C", $utilisateur['hierFr']); - - $this->requete->getSession()->setAttribut("modeDevis", "0"); - - //On crée les variables de session propre au user - $this->requete->getSession()->setAttribut("codeSociete", $utilisateur['codeSociete']); - $this->requete->getSession()->setAttribut("adresseGeoSociete", $utilisateur['adresseGeoSociete']); - $this->requete->getSession()->setAttribut("adressePostSociete", $utilisateur['adressePostSociete']); - $this->requete->getSession()->setAttribut("telephoneSociete", $utilisateur['telephoneSociete']); - $this->requete->getSession()->setAttribut("faxSociete", $utilisateur['faxSociete']); - - - //On crée les variables de session propre à la société du user - $this->requete->getSession()->setAttribut("codePaysSociete", $utilisateur['codePaysSociete']); - $this->requete->getSession()->setAttribut("typeSociete", $utilisateur['typeSociete']); - $this->requete->getSession()->setAttribut("nomSociete", $utilisateur['nomSociete']); - $_SESSION['nomSociete_C'] = $_SESSION['nomSociete']; - $this->requete->getSession()->setAttribut("nomProduitSante", $utilisateur['nomProduitSante']); - - $this->requete->getSession()->setAttribut("largeurPhoto", $utilisateur['largeurPhoto']); - $this->requete->getSession()->setAttribut("longueurPhoto", $utilisateur['longueurPhoto']); - - $this->requete->getSession()->setAttribut("villeSociete", $utilisateur['ville']); - $this->requete->getSession()->setAttribut("nbUser", $utilisateur['nbUser']); - $this->requete->getSession()->setAttribut("racineNoAdherent", $utilisateur['racineNoAdherent']); - $this->requete->getSession()->setAttribut("tauxInteret", $utilisateur['tauxInteret']); - - $this->requete->getSession()->setAttribut("tauxRistourne", $utilisateur['tauxRistourne']); - - $this->requete->getSession()->setAttribut("primeBaseFamille", $utilisateur['primeBaseFamille']); - $this->requete->getSession()->setAttribut("primeBaseBeneficiaire", $utilisateur['primeBaseBeneficiaire']); - - $this->requete->getSession()->setAttribut("medecinConseil", $utilisateur['medecinConseil']); - $this->requete->getSession()->setAttribut("emailMedecinConseil", $utilisateur['emailMedecinConseil']); - $this->requete->getSession()->setAttribut("telephoneMedecinConseil", $utilisateur['telephoneMedecinConseil']); - - $this->requete->getSession()->setAttribut("indicatifTelephone", $utilisateur['indicatifTelephone']); - - $this->requete->getSession()->setAttribut("emailAdministrateurSysteme", $utilisateur['emailAdministrateurSysteme']); - $this->requete->getSession()->setAttribut("telephoneAdministrateurSysteme", $utilisateur['telephoneAdministrateurSysteme']); - - $this->requete->getSession()->setAttribut("codeInitiateurTache", $utilisateur['codeTypeUtilisateur']); - if($utilisateur['codeTypeUtilisateur']=='PR') - { - $this->requete->getSession()->setAttribut("codeInitiateurTache", $_SESSION['codePrestataireUtilisateur']); - } - - $this->requete->getSession()->setAttribut("timezone_identifier", $utilisateur['timezone_identifier']); - date_default_timezone_set($_SESSION['timezone_identifier']); - - - // On va déclarer les variable de session context - $this->requete->getSession()->setAttribut("idClient_C", ""); - $this->requete->getSession()->setAttribut("numeroClient_C", ""); - $this->requete->getSession()->setAttribut("nomClient_C", ""); - $this->requete->getSession()->setAttribut("codeLangueClient", $utilisateur['codeLangueSociete']); - $this->requete->getSession()->setAttribut("actesHarmonises", $utilisateur['actesHarmonises']); - $this->requete->getSession()->setAttribut("fusionConsOrd", $utilisateur['fusionConsOrd']); - - $this->requete->getSession()->setAttribut("idClient_d_C", ""); - $this->requete->getSession()->setAttribut("numeroClient_d_C", ""); - $this->requete->getSession()->setAttribut("nomClient_d_C", ""); - - $this->requete->getSession()->setAttribut("idPolice_C", ""); - $this->requete->getSession()->setAttribut("numeroPolice_C", ""); - $this->requete->getSession()->setAttribut("codeTypeContrat", ""); - $this->requete->getSession()->setAttribut("codeEtape_C", "1"); - $this->requete->getSession()->setAttribut("tauxTaxe_C", "0"); - $this->requete->getSession()->setAttribut("tauxCommission_C", "0"); - $this->requete->getSession()->setAttribut("deduireComm_C", "0"); - $this->requete->getSession()->setAttribut("codeTypeAvenant_C", ""); - $this->requete->getSession()->setAttribut("codeTypeAvenantCpt_C", ""); - - $this->requete->getSession()->setAttribut("idPolice_d_C", ""); - $this->requete->getSession()->setAttribut("numeroPolice_d_C", ""); - $this->requete->getSession()->setAttribut("codeEtape_d_C", "1"); - $this->requete->getSession()->setAttribut("tauxTaxe_d_C", "0"); - $this->requete->getSession()->setAttribut("tauxCommission_d_C", "0"); - $this->requete->getSession()->setAttribut("deduireComm_d_C", "0"); - - $this->requete->getSession()->setAttribut("codeEtatPolice_C", ""); - - $this->requete->getSession()->setAttribut("ndAdh_C", "0"); - $this->requete->getSession()->setAttribut("ndDep_C", "0"); - $this->requete->getSession()->setAttribut("ndActif_C", "0"); - - $this->requete->getSession()->setAttribut("nbCollege_C", "0"); - - $this->requete->getSession()->setAttribut("dateEffet_C", ""); - $this->requete->getSession()->setAttribut("dateFin_C", ""); - $this->requete->getSession()->setAttribut("dateEcheance_C", ""); - $this->requete->getSession()->setAttribut("DateRenouvellement_C", ""); - - $this->requete->getSession()->setAttribut("dernierIdAvenant", "0"); - $this->requete->getSession()->setAttribut("dernierDateAvenant", null); - $this->requete->getSession()->setAttribut("dernierIdCollege", "0"); - - - $this->requete->getSession()->setAttribut("dateEffet_d_C", ""); - $this->requete->getSession()->setAttribut("dateFin_d_C", ""); - $this->requete->getSession()->setAttribut("dateEcheance_d_C", ""); - - // $this->requete->getSession()->setAttribut("idQuittance_C", ""); - $this->requete->getSession()->setAttribut("idEmission_C", "0"); - $this->requete->getSession()->setAttribut("numeroEmission_C", "0"); - - $this->requete->getSession()->setAttribut("idAdherent_C", ""); - $this->requete->getSession()->setAttribut("numeroAdherent_C", ""); - $this->requete->getSession()->setAttribut("codeEtatAdherent_C", ""); - $this->requete->getSession()->setAttribut("codeEtatBeneficiaire_C", ""); - - - $this->requete->getSession()->setAttribut("nomAdherent_C", ""); - $this->requete->getSession()->setAttribut("codeProduit_C", ""); - $this->requete->getSession()->setAttribut("idCollege_C", "0"); - $this->requete->getSession()->setAttribut("idClientAjax", ""); - $this->requete->getSession()->setAttribut("idPoliceAjax", ""); - - $this->requete->getSession()->setAttribut("codeProduit_d_C", ""); - $this->requete->getSession()->setAttribut("idCollege_d_C", "0"); - $this->requete->getSession()->setAttribut("idClient_d_Ajax", ""); - $this->requete->getSession()->setAttribut("idPolice_d_Ajax", ""); - - $this->requete->getSession()->setAttribut("idBeneficiaire_C", ""); - $this->requete->getSession()->setAttribut("numeroBeneficiaire_C", ""); - $this->requete->getSession()->setAttribut("nomBeneficiaire_C", ""); - $this->requete->getSession()->setAttribut("lienPhoto_C", ""); - $this->requete->getSession()->setAttribut("dossierPhoto_C", $utilisateur['dossierPhoto']); - $this->requete->getSession()->setAttribut("codeLienParente_C", ""); - - $this->requete->getSession()->setAttribut("idSubstitut_C", "0"); - $this->requete->getSession()->setAttribut("substitutnonassure_C", ""); - $this->requete->getSession()->setAttribut("substitutenVigueur_C", "0"); - - $this->requete->getSession()->setAttribut("fraisCarteImp", $utilisateur['fraisCarteImp']); - $this->requete->getSession()->setAttribut("numeroOptionTarif", "1"); - - $this->requete->getSession()->setAttribut("exercieReference_C", $utilisateur['codeExercice']); - - $_SESSION['codeLocalite'] = ""; - $_SESSION['idEntetecontrat'] = "0"; - $_SESSION['idEntetecontratPolice'] = "0"; - - // $idSaisie = uniqid(); - $this->requete->getSession()->setAttribut("idSaisie", $idSaisie); - - $_SESSION['p_idSaisie'] = $idSaisie; - $_SESSION['idSaisie'] = $idSaisie; - - $_SESSION['d1_C'] = $_SESSION['dUneSemaineAvant_C']; - $_SESSION['d2_C'] = date('Y-m-d'); - - $filename = 'Societes/'.$utilisateur['codeSociete']; - if (!file_exists($filename)) - { - mkdir($filename, 0700); - } - $this->requete->getSession()->setAttribut("dossierSociete", $filename); - - $fichierBon_C = ""; - $_SESSION['codePrestataire_C'] = ""; - - $_SESSION['controlerPlafondAdherent'] = "0"; - $_SESSION['controlerPlafondBeneficiaire'] = "0"; - - - $this->requete->getSession()->setAttribut("devise_C", $utilisateur['devise']); - $this->requete->getSession()->setAttribut("codeLangueSociete", $utilisateur['codeLangueSociete']); - $this->requete->getSession()->setAttribut("codeLanguePrestataire", "fr_FR"); - $this->requete->getSession()->setAttribut("codeLangueAdherent", "fr_FR"); - - $this->requete->getSession()->setAttribut("lang", $utilisateur['codeLangue']); - $this->requete->getSession()->setAttribut("codeProduitBase", $utilisateur['codeProduitBase']); - - $_SESSION['lang'] = (isset($_SESSION['lang'])) ? $_SESSION['lang'] : 'fr_FR'; - - $codeLangue = $_SESSION['lang']; - - if ($_SESSION['lang']=="en_US") - { - $_SESSION['libelleLang']="English"; - } - else - { - $_SESSION['libelleLang']="Français"; - } - - $this->requete->getSession()->setAttribut("fournisseurSms", $utilisateur['fournisseurSms']); - $this->requete->getSession()->setAttribut("envoismsactif", $utilisateur['envoismsactif']); - $this->requete->getSession()->setAttribut("smsAssure", $utilisateur['smsAssure']); - $this->requete->getSession()->setAttribut("copieSmsPrestataireAssure", $utilisateur['copieSmsPrestataireAssure']); - - $this->requete->getSession()->setAttribut("actVisible", $utilisateur['actVisible']); - $this->requete->getSession()->setAttribut("AffectionVisible", $utilisateur['AffectionVisible']); - $this->requete->getSession()->setAttribut("estMedecin", $utilisateur['estMedecin']); - - $this->requete->getSession()->setAttribut("saisirFactureDecompte", $utilisateur['saisirFactureDecompte']); - - $this->requete->getSession()->setAttribut("menu", $this->menu->getMenu($utilisateur['codeProfil'])); - - /* Session prestations */ - - $this->requete->getSession()->setAttribut("idReglement_C", "0"); - $this->requete->getSession()->setAttribut("numeroDemandeDecompte_C", "0"); - - $this->requete->getSession()->setAttribut("idPaiementDecompte_C", "0"); - $this->requete->getSession()->setAttribut("numeroReglement_C", "0"); - - $this->requete->getSession()->setAttribut("enVigueur_C", ""); - $this->requete->getSession()->setAttribut("decede_C", ""); - $this->requete->getSession()->setAttribut("dateDeces_C", ""); - $this->requete->getSession()->setAttribut("fraisFuneraireDemande_C", ""); - - $this->requete->getSession()->setAttribut("codePrestataire_C", ""); - $this->requete->getSession()->setAttribut("codePrestataireLivraison_C", ""); - $this->requete->getSession()->setAttribut("codePrestataire_Dec", ""); - - $this->requete->getSession()->setAttribut("codePrestataire_CSO", ""); - $this->requete->getSession()->setAttribut("codePrestataire_PHA", ""); - $this->requete->getSession()->setAttribut("codePrestataire_OPT", ""); - $this->requete->getSession()->setAttribut("codePrestataire_SEA", ""); - $this->requete->getSession()->setAttribut("codePrestataire_LAB", ""); - - $this->requete->getSession()->setAttribut("codeTypeBon_C", ""); - $this->requete->getSession()->setAttribut("idgenerartionbon_C", "0"); - $this->requete->getSession()->setAttribut("prestataire_C", ""); - $this->requete->getSession()->setAttribut("codeReseauPrestataire_C", ""); - $this->requete->getSession()->setAttribut("codeTypePrestataire_C", ""); - $this->requete->getSession()->setAttribut("codeTypeDecompte_C", ""); - $this->requete->getSession()->setAttribut("typeprestataire_C", ""); - $this->requete->getSession()->setAttribut("reseausoinPrestataire_C", ""); - - $this->requete->getSession()->setAttribut("tm_C", "0"); - - $this->requete->getSession()->setAttribut("numeroFeuilleMaladie_C", "0"); - $this->requete->getSession()->setAttribut("numeroPrescription_C", "0"); - $this->requete->getSession()->setAttribut("numeroOptique_C", "0"); - $this->requete->getSession()->setAttribut("numeroExamen_C", "0"); - $this->requete->getSession()->setAttribut("numeroPrescriptionKine_C", "0"); - $this->requete->getSession()->setAttribut("idFacture_C", "0"); - - $this->requete->getSession()->setAttribut("numeroBonConsultation_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonHospitalisation_C", "-1"); - $this->requete->getSession()->setAttribut("hospitalisation_C", "0"); - $this->requete->getSession()->setAttribut("chirurgie_C", "0"); - $this->requete->getSession()->setAttribut("numeroBonOptique_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonOrdonnance_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonExamen_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonKine_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonSeance_C", "-1"); - - $this->requete->getSession()->setAttribut("codeFamilleActePharmacie_C", "000"); - $this->requete->getSession()->setAttribut("codeActePharmacie_C", "00000"); - - $this->requete->getSession()->setAttribut("codeFamilleActeOptique_C", "999"); - $this->requete->getSession()->setAttribut("codeActeOptique_C", "99999"); - $this->requete->getSession()->setAttribut("codeActeMonture_C", "99990"); - - $this->requete->getSession()->setAttribut("codeTarifMedicament_C", "ST"); - $this->requete->getSession()->setAttribut("codeTarifOptique_C", "ST"); - $this->requete->getSession()->setAttribut("codeTarifActe_C", "ST"); - $this->requete->getSession()->setAttribut("idActe_C", "0"); - $this->requete->getSession()->setAttribut("codeFamilleActe_C", ""); - - $this->requete->getSession()->setAttribut("idEntetestat_C", "0"); - - - $this->requete->getSession()->setAttribut("idApporteur_C", "0"); - $this->requete->getSession()->setAttribut("codeTypeApporteur_C", ""); - $this->requete->getSession()->setAttribut("codeApporteur_C", ""); - $this->requete->getSession()->setAttribut("libelleApporteur_C", ""); - $this->requete->getSession()->setAttribut("codeApporteur_C", ""); - $this->requete->getSession()->setAttribut("commercial_courant", ""); - - $this->requete->getSession()->setAttribut("lienPrestation_C", $utilisateur['lienPrestation']); - $this->requete->getSession()->setAttribut("lienProduction_C", $utilisateur['lienProduction']); - $_SESSION['lienServeur'] = $_SESSION['lienProduction_C']; - - $this->requete->getSession()->setAttribut("lienGc_C", $utilisateur['lienGc']); - - $this->requete->getSession()->setAttribut("dossierGed", $_SESSION['lienProduction_C'].'/'.$_SESSION['dossierSociete'].'/Ged/'); - $this->requete->getSession()->setAttribut("cheminGed", $_SESSION['dossierSociete'].'/Ged/'); - $this->requete->getSession()->setAttribut("cheminTarifs", $_SESSION['dossierSociete'].'/Tarifs/'); - $this->requete->getSession()->setAttribut("dossierImage", $_SESSION['lienProduction_C'].'/'.$_SESSION['dossierSociete'].'/images/'); - - $this->requete->getSession()->setAttribut("nbMessagesNonLus_C", "0"); - - // récupération de composanteprime - $this->utilisateur->set_composanteprime(); - - // récupération de affichagedynamique - $this->utilisateur->set_affichagedynamique(); - - // Avant de rediriger, on va remplir suivisaisies - $this->logconnexion->suivisaisies($login, $idSaisie, $codeLangue); - - $_SESSION['codeUtilisateur'] = $_SESSION['login']; - - $this->requete->getSession()->setAttribut("codeModeBiometrie", $utilisateur['codeModeBiometrie']); - - $codeModeBiometrie = $utilisateur['codeModeBiometrie']; - if($codeModeBiometrie=='1' or $codeModeBiometrie=='3'){ - $_SESSION['fingerActif'] = '1'; - } - else{ - $_SESSION['fingerActif'] = '0'; - } - - if($codeModeBiometrie=='2' or $codeModeBiometrie=='3'){ - $_SESSION['faceActif'] = '1'; - } - else{ - $_SESSION['faceActif'] = '0'; - } - - $this->requete->getSession()->setAttribut("lienPhotoFace", $utilisateur['lienPhotoFace']); - - $this->requete->getSession()->setAttribut("okId", "-1"); - $this->requete->getSession()->setAttribut("okId_face", "-1"); - - setcookie('lang', $codeLangue, time()+365*24*3600, '/'); - setcookie('codeUtilisateur', $_SESSION['codeUtilisateur'], time()+365*24*3600, '/'); - - $_SESSION['vue'] = "INTER-SANTE"; - - $this->requete->getSession()->setAttribut("controlPlafondAdherent", $utilisateur['controlPlafondAdherent']); - $this->requete->getSession()->setAttribut("controlPlafondBeneficiaire", $utilisateur['controlPlafondBeneficiaire']); - - $this->requete->getSession()->setAttribut("changerMotPassDefaut", $utilisateur['changerMotPassDefaut']); - $this->requete->getSession()->setAttribut("verifierLongueurPass", $utilisateur['verifierLongueurPass']); - - $_SESSION['dureeSession'] = $utilisateur['dureeSession']; - $_SESSION['deconnexion'] = "0"; - $_SESSION['derniere_action'] = time(); - - - $changerMotPassDefaut = ( ($_SESSION['changerMotPassDefaut']=="1") && ($this->utilisateur->verifiermotpassdefaut($codeSociete, $mdp)) ); - $motCourt = ( ($_SESSION['verifierLongueurPass']=="1") && (strlen($mdp)<6) ); - - if(($motCourt===true) or ($changerMotPassDefaut===true)) - { - $this->rediriger("Changermotpass"); - } - else - { - if($utilisateur['codeProfil']=="MEC") /* Médecin conseil */ - { - if($this->requete->existeParametre("numeroDemande")) - { - $numeroDemande = $this->requete->getParametre("numeroDemande"); - - $demandespec = $this->demandepec->getDemandePecMedecinId($numeroDemande); - $codeReponsePec = $demandespec['codeReponsePec']; - - if($codeReponsePec=='0') - { - $idBeneficiaire = $demandespec['idBeneficiaire']; - $codeFamille = $demandespec['codeFamille']; - - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - if($codeFamille=='EE') - { - $this->rediriger("Repondrepecexamen", $numeroDemande); - } - else - { - $this->rediriger("Repondrepechospit", $numeroDemande); - } - } - else - { - $this->rediriger("Accueilmedecin"); - } - } - else - { - $this->rediriger("Accueilmedecin"); - } - } - else - { - $this->rediriger("Recherche"); - } - } - } - else - { - if ($_SESSION['lang']=="en_US") - { - $this->genererVue(array('msgErreur' => 'Incorrect login or password'), "index"); - } - else - { - $this->genererVue(array('msgErreur' => 'Login ou mot de passe incorrects'), "index"); - } - } - } - else - { - if ($_SESSION['lang']=="en_US") - { - throw new Exception("Login or password not defined!"); - } - else - { - throw new Exception("Login ou mot de passe non défini!"); - } - } - } - - public function deconnecter() - { - if($this->requete->getSession()->existeAttribut("login")) - { - $login = $this->requete->getSession()->getAttribut("login"); - $this->utilisateur->viderTablesTemporairesUser($login); - } - - $this->requete->getSession()->detruire(); - $this->rediriger("Connexion"); - } - - public function quitter() - { - $login = $this->requete->getSession()->getAttribut("login"); - $this->utilisateur->viderTablesTemporairesUser($login); - $this->requete->getSession()->detruire(); - } -} diff --git a/radiantproduction/Controleur/ControleurConnexiondecompte.php b/radiantproduction/Controleur/ControleurConnexiondecompte.php deleted file mode 100644 index 9b4d2c0..0000000 --- a/radiantproduction/Controleur/ControleurConnexiondecompte.php +++ /dev/null @@ -1,480 +0,0 @@ -utilisateur = new Utilisateur(); - $this->menu = new Menu(); - $this->logconnexion = new Logconnexion(); - // date_default_timezone_set("UTC"); - // date_default_timezone_set("Africa/Kigali"); - } - - public function index() - { - if($this->requete->existeParametre("id")) - { - $idSaisie = $this->requete->getParametre("id"); - $this->requete->getSession()->setAttribut("idSaisie", $idSaisie); - - viderContexte(); - - $_SESSION['idSaisie'] = $idSaisie; - $_SESSION['p_idSaisie'] = $idSaisie; - - $this->connecter(); - } - else - { - $this->rediriger("Connexion"); - } - } - - public function connecter() - { - $idSaisie = $_SESSION['idSaisie']; - $utilisateur = $this->utilisateur->getUtilisateurIdsaisie($idSaisie); - - // Gestion limite usage - $dateLimiteUsage = $utilisateur['dateLimiteUsage']; - - if($dateLimiteUsagerediriger("Connexion"); - $this->rediriger("Recconnexion"); - exit(); - } - - // Variables de session Utilisateur - $this->requete->getSession()->setAttribut("dateLimiteUsage", $dateLimiteUsage); - $this->requete->getSession()->setAttribut("idUtilisateur", $utilisateur['idUtilisateur']); - $this->requete->getSession()->setAttribut("login", $utilisateur['login']); - $this->requete->getSession()->setAttribut("nomUtilisateur", $utilisateur['nom']); - $this->requete->getSession()->setAttribut("prenomsUtilisateur", $utilisateur['prenoms']); - $this->requete->getSession()->setAttribut("codeTypeUtilisateur", $utilisateur['codeTypeUtilisateur']); - $this->requete->getSession()->setAttribut("utilisateur_C", $utilisateur['prenoms']." ".$utilisateur['nom']); - $this->requete->getSession()->setAttribut("typeUtilisateur", $utilisateur['typeUtilisateur']); - $this->requete->getSession()->setAttribut("telephoneUtilisateur", $utilisateur['telephone']); - $this->requete->getSession()->setAttribut("emailUtilisateur", $utilisateur['email']); - $this->requete->getSession()->setAttribut("codeProfil", $utilisateur['codeProfil']); - $this->requete->getSession()->setAttribut("codeProfilSysteme", $utilisateur['codeProfilSysteme']); - $this->requete->getSession()->setAttribut("profil", $utilisateur['profil']); - $this->requete->getSession()->setAttribut("gestionDroit", $utilisateur['gestionDroit']); - $this->requete->getSession()->setAttribut("codePrestataireUtilisateur", $utilisateur['codePrestataire']); - $this->requete->getSession()->setAttribut("codeTypePrestataireUtilisateur", $utilisateur['codeTypePrestataire']); - $this->requete->getSession()->setAttribut("prestataireUtilisateur", $utilisateur['prestataire']); - $this->requete->getSession()->setAttribut("telephonePrestataire", $utilisateur['telephonePrestataire']); - $this->requete->getSession()->setAttribut("faxPrestataire", $utilisateur['faxPrestataire']); - $this->requete->getSession()->setAttribut("emailPrestataire", $utilisateur['emailPrestataire']); - - $this->requete->getSession()->setAttribut("adminProd", $utilisateur['adminProd']); - $this->requete->getSession()->setAttribut("adminSin", $utilisateur['adminSin']); - $this->requete->getSession()->setAttribut("adminBon", $utilisateur['adminBon']); - $this->requete->getSession()->setAttribut("adminDiv", $utilisateur['adminDiv']); - $this->requete->getSession()->setAttribut("superUser", $utilisateur['superUser']); - - $this->requete->getSession()->setAttribut("codeExercice_C", $utilisateur['codeExercice']); - $this->requete->getSession()->setAttribut("codeMois_C", $utilisateur['codeMois']); - - $_SESSION['codePeriodeMax'] = $_SESSION['codeExercice_C'].$_SESSION['codeMois_C']; - - $this->requete->getSession()->setAttribut("dUneSemaineAvant_C", $utilisateur['dUneSemaineAvant']); - $this->requete->getSession()->setAttribut("dUneSemaineAvantFr_C", $utilisateur['dUneSemaineAvantFr']); - - $this->requete->getSession()->setAttribut("debutExercice_C", $utilisateur['debutExercice']); - $this->requete->getSession()->setAttribut("debutExerciceFr_C", $utilisateur['debutExerciceFr']); - - $this->requete->getSession()->setAttribut("debutArchivage", $utilisateur['debutArchivage']); - $this->requete->getSession()->setAttribut("debutArchivageFr", $utilisateur['debutArchivageFr']); - - $this->requete->getSession()->setAttribut("debutMois_C", $utilisateur['debutMois']); - $this->requete->getSession()->setAttribut("debutMoisFr_C", $utilisateur['debutMoisFr']); - - /* - $this->requete->getSession()->setAttribut("debutRequete_C", $_SESSION['debutExercice_C']); - $this->requete->getSession()->setAttribut("debutRequeteFr_C", $_SESSION['debutExerciceFr_C']); - */ - $this->requete->getSession()->setAttribut("debutRequete_C", $_SESSION['debutMois_C']); - $this->requete->getSession()->setAttribut("debutRequeteFr_C", $_SESSION['debutMoisFr_C']); - $this->requete->getSession()->setAttribut("finRequeteFr_C", date('d/m/Y')); - $this->requete->getSession()->setAttribut("dateAnalyse_C", date('Y-m-d')); - $this->requete->getSession()->setAttribut("dateAnalyseFr_C", date('d/m/Y')); - - $this->requete->getSession()->setAttribut("debutGc", $utilisateur['debutExercice']); - $this->requete->getSession()->setAttribut("debutGcFr", $utilisateur['debutExerciceFr']); - - $this->requete->getSession()->setAttribut("hier_C", $utilisateur['hier']); - $this->requete->getSession()->setAttribut("hierFr_C", $utilisateur['hierFr']); - $this->requete->getSession()->setAttribut("finGcFr", date('d/m/Y')); - - $this->requete->getSession()->setAttribut("modeDevis", "0"); - - //On crée les variables de session propre au user - $this->requete->getSession()->setAttribut("codeSociete", $utilisateur['codeSociete']); - $this->requete->getSession()->setAttribut("adresseGeoSociete", $utilisateur['adresseGeoSociete']); - $this->requete->getSession()->setAttribut("adressePostSociete", $utilisateur['adressePostSociete']); - $this->requete->getSession()->setAttribut("telephoneSociete", $utilisateur['telephoneSociete']); - $this->requete->getSession()->setAttribut("faxSociete", $utilisateur['faxSociete']); - - - //On crée les variables de session propre à la société du user - $this->requete->getSession()->setAttribut("codePaysSociete", $utilisateur['codePaysSociete']); - $this->requete->getSession()->setAttribut("typeSociete", $utilisateur['typeSociete']); - $this->requete->getSession()->setAttribut("nomSociete", $utilisateur['nomSociete']); - $_SESSION['nomSociete_C'] = $_SESSION['nomSociete']; - $this->requete->getSession()->setAttribut("nomProduitSante", $utilisateur['nomProduitSante']); - - $this->requete->getSession()->setAttribut("largeurPhoto", $utilisateur['largeurPhoto']); - $this->requete->getSession()->setAttribut("longueurPhoto", $utilisateur['longueurPhoto']); - - $this->requete->getSession()->setAttribut("villeSociete", $utilisateur['ville']); - $this->requete->getSession()->setAttribut("nbUser", $utilisateur['nbUser']); - $this->requete->getSession()->setAttribut("racineNoAdherent", $utilisateur['racineNoAdherent']); - $this->requete->getSession()->setAttribut("tauxInteret", $utilisateur['tauxInteret']); - - $this->requete->getSession()->setAttribut("tauxRistourne", $utilisateur['tauxRistourne']); - - $this->requete->getSession()->setAttribut("primeBaseFamille", $utilisateur['primeBaseFamille']); - $this->requete->getSession()->setAttribut("primeBaseBeneficiaire", $utilisateur['primeBaseBeneficiaire']); - - $this->requete->getSession()->setAttribut("medecinConseil", $utilisateur['medecinConseil']); - $this->requete->getSession()->setAttribut("emailMedecinConseil", $utilisateur['emailMedecinConseil']); - $this->requete->getSession()->setAttribut("telephoneMedecinConseil", $utilisateur['telephoneMedecinConseil']); - - $this->requete->getSession()->setAttribut("indicatifTelephone", $utilisateur['indicatifTelephone']); - - $this->requete->getSession()->setAttribut("emailAdministrateurSysteme", $utilisateur['emailAdministrateurSysteme']); - $this->requete->getSession()->setAttribut("telephoneAdministrateurSysteme", $utilisateur['telephoneAdministrateurSysteme']); - - $this->requete->getSession()->setAttribut("codeInitiateurTache", $utilisateur['codeTypeUtilisateur']); - if($utilisateur['codeTypeUtilisateur']=='PR') - { - $this->requete->getSession()->setAttribut("codeInitiateurTache", $_SESSION['codePrestataireUtilisateur']); - } - - $this->requete->getSession()->setAttribut("timezone_identifier", $utilisateur['timezone_identifier']); - date_default_timezone_set($_SESSION['timezone_identifier']); - - // On va déclarer les variable de session context - $this->requete->getSession()->setAttribut("idClient_C", ""); - $this->requete->getSession()->setAttribut("numeroClient_C", ""); - $this->requete->getSession()->setAttribut("nomClient_C", ""); - $this->requete->getSession()->setAttribut("codeLangueClient", $utilisateur['codeLangueSociete']); - $this->requete->getSession()->setAttribut("actesHarmonises", $utilisateur['actesHarmonises']); - $this->requete->getSession()->setAttribut("fusionConsOrd", $utilisateur['fusionConsOrd']); - - $this->requete->getSession()->setAttribut("idClient_d_C", ""); - $this->requete->getSession()->setAttribut("numeroClient_d_C", ""); - $this->requete->getSession()->setAttribut("nomClient_d_C", ""); - - $this->requete->getSession()->setAttribut("idPolice_C", ""); - $this->requete->getSession()->setAttribut("numeroPolice_C", ""); - $this->requete->getSession()->setAttribut("codeTypeContrat", ""); - $this->requete->getSession()->setAttribut("codeEtape_C", "1"); - $this->requete->getSession()->setAttribut("tauxTaxe_C", "0"); - $this->requete->getSession()->setAttribut("tauxCommission_C", "0"); - $this->requete->getSession()->setAttribut("deduireComm_C", "0"); - $this->requete->getSession()->setAttribut("codeTypeAvenant_C", ""); - $this->requete->getSession()->setAttribut("codeTypeAvenantCpt_C", ""); - - $this->requete->getSession()->setAttribut("idPolice_d_C", ""); - $this->requete->getSession()->setAttribut("numeroPolice_d_C", ""); - $this->requete->getSession()->setAttribut("codeEtape_d_C", "1"); - $this->requete->getSession()->setAttribut("tauxTaxe_d_C", "0"); - $this->requete->getSession()->setAttribut("tauxCommission_d_C", "0"); - $this->requete->getSession()->setAttribut("deduireComm_d_C", "0"); - - $this->requete->getSession()->setAttribut("codeEtatPolice_C", ""); - - $this->requete->getSession()->setAttribut("ndAdh_C", "0"); - $this->requete->getSession()->setAttribut("ndDep_C", "0"); - $this->requete->getSession()->setAttribut("ndActif_C", "0"); - - $this->requete->getSession()->setAttribut("nbCollege_C", "0"); - - $this->requete->getSession()->setAttribut("dateEffet_C", ""); - $this->requete->getSession()->setAttribut("dateFin_C", ""); - $this->requete->getSession()->setAttribut("dateEcheance_C", ""); - $this->requete->getSession()->setAttribut("DateRenouvellement_C", ""); - - $this->requete->getSession()->setAttribut("dernierIdAvenant", "0"); - $this->requete->getSession()->setAttribut("dernierDateAvenant", null); - $this->requete->getSession()->setAttribut("dernierIdCollege", "0"); - - $this->requete->getSession()->setAttribut("dateEffet_d_C", ""); - $this->requete->getSession()->setAttribut("dateFin_d_C", ""); - $this->requete->getSession()->setAttribut("dateEcheance_d_C", ""); - - // $this->requete->getSession()->setAttribut("idQuittance_C", ""); - $this->requete->getSession()->setAttribut("idEmission_C", "0"); - $this->requete->getSession()->setAttribut("numeroEmission_C", "0"); - - $this->requete->getSession()->setAttribut("idAdherent_C", ""); - $this->requete->getSession()->setAttribut("numeroAdherent_C", ""); - $this->requete->getSession()->setAttribut("codeEtatAdherent_C", ""); - $this->requete->getSession()->setAttribut("codeEtatBeneficiaire_C", ""); - - - $this->requete->getSession()->setAttribut("nomAdherent_C", ""); - $this->requete->getSession()->setAttribut("codeProduit_C", ""); - $this->requete->getSession()->setAttribut("idCollege_C", "0"); - $this->requete->getSession()->setAttribut("idClientAjax", ""); - $this->requete->getSession()->setAttribut("idPoliceAjax", ""); - - $this->requete->getSession()->setAttribut("codeProduit_d_C", ""); - $this->requete->getSession()->setAttribut("idCollege_d_C", "0"); - $this->requete->getSession()->setAttribut("idClient_d_Ajax", ""); - $this->requete->getSession()->setAttribut("idPolice_d_Ajax", ""); - - $this->requete->getSession()->setAttribut("idBeneficiaire_C", ""); - $this->requete->getSession()->setAttribut("numeroBeneficiaire_C", ""); - $this->requete->getSession()->setAttribut("nomBeneficiaire_C", ""); - $this->requete->getSession()->setAttribut("lienPhoto_C", ""); - $this->requete->getSession()->setAttribut("dossierPhoto_C", $utilisateur['dossierPhoto']); - $this->requete->getSession()->setAttribut("codeLienParente_C", ""); - - $this->requete->getSession()->setAttribut("idSubstitut_C", "0"); - $this->requete->getSession()->setAttribut("substitutnonassure_C", ""); - $this->requete->getSession()->setAttribut("substitutenVigueur_C", "0"); - - $this->requete->getSession()->setAttribut("fraisCarteImp", $utilisateur['fraisCarteImp']); - $this->requete->getSession()->setAttribut("numeroOptionTarif", "1"); - - $this->requete->getSession()->setAttribut("exercieReference_C", $utilisateur['codeExercice']); - - $_SESSION['codeLocalite'] = ""; - $_SESSION['idEntetecontrat'] = "0"; - $_SESSION['idEntetecontratPolice'] = "0"; - - // $idSaisie = uniqid(); - $this->requete->getSession()->setAttribut("idSaisie", $idSaisie); - - $_SESSION['d1_C'] = $_SESSION['dUneSemaineAvant_C']; - $_SESSION['d2_C'] = date('Y-m-d'); - - $filename = 'Societes/'.$utilisateur['codeSociete']; - if (!file_exists($filename)) - { - mkdir($filename, 0700); - } - $this->requete->getSession()->setAttribut("dossierSociete", $filename); - - - $fichierBon_C = ""; - $_SESSION['codePrestataire_C'] = ""; - - $_SESSION['controlerPlafondAdherent'] = "0"; - $_SESSION['controlerPlafondBeneficiaire'] = "0"; - - $this->requete->getSession()->setAttribut("devise_C", $utilisateur['devise']); - $this->requete->getSession()->setAttribut("codeLangueSociete", $utilisateur['codeLangueSociete']); - $this->requete->getSession()->setAttribut("codeLanguePrestataire", "fr_FR"); - $this->requete->getSession()->setAttribut("codeLangueAdherent", "fr_FR"); - - $this->requete->getSession()->setAttribut("lang", $utilisateur['codeLangue']); - $this->requete->getSession()->setAttribut("codeProduitBase", $utilisateur['codeProduitBase']); - - $_SESSION['lang'] = (isset($_SESSION['lang'])) ? $_SESSION['lang'] : 'fr_FR'; - - $codeLangue = $_SESSION['lang']; - $login = $_SESSION['login']; - $_SESSION['codeUtilisateur'] = $login; - - if ($_SESSION['lang']=="en_US") - { - $_SESSION['libelleLang']="English"; - } - else - { - $_SESSION['libelleLang']="Français"; - } - - $this->requete->getSession()->setAttribut("fournisseurSms", $utilisateur['fournisseurSms']); - $this->requete->getSession()->setAttribut("envoismsactif", $utilisateur['envoismsactif']); - $this->requete->getSession()->setAttribut("smsAssure", $utilisateur['smsAssure']); - $this->requete->getSession()->setAttribut("copieSmsPrestataireAssure", $utilisateur['copieSmsPrestataireAssure']); - - $this->requete->getSession()->setAttribut("actVisible", $utilisateur['actVisible']); - $this->requete->getSession()->setAttribut("AffectionVisible", $utilisateur['AffectionVisible']); - $this->requete->getSession()->setAttribut("estMedecin", $utilisateur['estMedecin']); - - $this->requete->getSession()->setAttribut("menu", $this->menu->getMenu($utilisateur['codeProfil'])); - - /* Session prestations */ - - $this->requete->getSession()->setAttribut("idReglement_C", "0"); - $this->requete->getSession()->setAttribut("numeroDemandeDecompte_C", "0"); - - $this->requete->getSession()->setAttribut("idPaiementDecompte_C", "0"); - $this->requete->getSession()->setAttribut("numeroReglement_C", "0"); - - - $this->requete->getSession()->setAttribut("enVigueur_C", ""); - $this->requete->getSession()->setAttribut("decede_C", ""); - $this->requete->getSession()->setAttribut("dateDeces_C", ""); - $this->requete->getSession()->setAttribut("fraisFuneraireDemande_C", ""); - - $this->requete->getSession()->setAttribut("codePrestataire_C", ""); - $this->requete->getSession()->setAttribut("codePrestataireLivraison_C", ""); - $this->requete->getSession()->setAttribut("codePrestataire_Dec", ""); - - $this->requete->getSession()->setAttribut("codePrestataire_CSO", ""); - $this->requete->getSession()->setAttribut("codePrestataire_PHA", ""); - $this->requete->getSession()->setAttribut("codePrestataire_OPT", ""); - $this->requete->getSession()->setAttribut("codePrestataire_SEA", ""); - $this->requete->getSession()->setAttribut("codePrestataire_LAB", ""); - - $this->requete->getSession()->setAttribut("codeTypeBon_C", ""); - $this->requete->getSession()->setAttribut("idgenerartionbon_C", "0"); - $this->requete->getSession()->setAttribut("prestataire_C", ""); - $this->requete->getSession()->setAttribut("codeReseauPrestataire_C", ""); - $this->requete->getSession()->setAttribut("codeTypePrestataire_C", ""); - $this->requete->getSession()->setAttribut("codeTypeDecompte_C", ""); - $this->requete->getSession()->setAttribut("typeprestataire_C", ""); - $this->requete->getSession()->setAttribut("reseausoinPrestataire_C", ""); - - $this->requete->getSession()->setAttribut("tm_C", "0"); - - $this->requete->getSession()->setAttribut("numeroFeuilleMaladie_C", "0"); - $this->requete->getSession()->setAttribut("numeroPrescription_C", "0"); - $this->requete->getSession()->setAttribut("numeroOptique_C", "0"); - $this->requete->getSession()->setAttribut("numeroExamen_C", "0"); - $this->requete->getSession()->setAttribut("numeroPrescriptionKine_C", "0"); - $this->requete->getSession()->setAttribut("idFacture_C", "0"); - - $this->requete->getSession()->setAttribut("numeroBonConsultation_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonHospitalisation_C", "-1"); - $this->requete->getSession()->setAttribut("hospitalisation_C", "0"); - $this->requete->getSession()->setAttribut("chirurgie_C", "0"); - $this->requete->getSession()->setAttribut("numeroBonOptique_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonOrdonnance_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonExamen_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonKine_C", "-1"); - $this->requete->getSession()->setAttribut("numeroBonSeance_C", "-1"); - - $this->requete->getSession()->setAttribut("codeFamilleActePharmacie_C", "000"); - $this->requete->getSession()->setAttribut("codeActePharmacie_C", "00000"); - - $this->requete->getSession()->setAttribut("codeFamilleActeOptique_C", "999"); - $this->requete->getSession()->setAttribut("codeActeOptique_C", "99999"); - $this->requete->getSession()->setAttribut("codeActeMonture_C", "99990"); - - $this->requete->getSession()->setAttribut("codeTarifMedicament_C", "ST"); - $this->requete->getSession()->setAttribut("codeTarifOptique_C", "ST"); - // $this->requete->getSession()->setAttribut("codeTarifActe_C", "ST"); - $this->requete->getSession()->setAttribut("idActe_C", "0"); - $this->requete->getSession()->setAttribut("codeTarifActe_C",$utilisateur['codeTarifActe_Dec']); - - $this->requete->getSession()->setAttribut("codeFamilleActe_C", ""); - - $this->requete->getSession()->setAttribut("idEntetestat_C", "0"); - - $this->requete->getSession()->setAttribut("idApporteur_C", "0"); - $this->requete->getSession()->setAttribut("codeTypeApporteur_C", ""); - $this->requete->getSession()->setAttribut("codeApporteur_C", "0"); - $this->requete->getSession()->setAttribut("libelleApporteur_C", ""); - $this->requete->getSession()->setAttribut("commercial_courant", ""); - - $this->requete->getSession()->setAttribut("lienPrestation_C", $utilisateur['lienPrestation']); - $this->requete->getSession()->setAttribut("lienProduction_C", $utilisateur['lienProduction']); - $_SESSION['lienServeur'] = $_SESSION['lienProduction_C']; - - $this->requete->getSession()->setAttribut("lienGc_C", $utilisateur['lienGc']); - - - $this->requete->getSession()->setAttribut("dossierGed", $_SESSION['lienProduction_C'].'/'.$_SESSION['dossierSociete'].'/Ged/'); - $this->requete->getSession()->setAttribut("cheminGed", $_SESSION['dossierSociete'].'/Ged/'); - $this->requete->getSession()->setAttribut("cheminTarifs", $_SESSION['dossierSociete'].'/Tarifs/'); - $this->requete->getSession()->setAttribut("dossierImage", $_SESSION['lienProduction_C'].'/'.$_SESSION['dossierSociete'].'/images/'); - - $this->requete->getSession()->setAttribut("nbMessagesNonLus_C", "0"); - - $this->requete->getSession()->setAttribut("controlPlafondAdherent", $utilisateur['controlPlafondAdherent']); - $this->requete->getSession()->setAttribut("controlPlafondBeneficiaire", $utilisateur['controlPlafondBeneficiaire']); - - // récupération de composanteprime - $this->utilisateur->set_composanteprime(); - - // récupération de affichagedynamique - $this->utilisateur->set_affichagedynamique(); - - // récupération des variable de cessions transmises 19/02/2018 - - $_SESSION['idReglement_C'] = $utilisateur['idReglementDecompte']; - $_SESSION['codePrestataire_C'] = $utilisateur['codePrestataireDecompte']; - $prestataire_courant = $utilisateur['prestataire']; - $_SESSION['codePrestataire_Dec'] = $utilisateur['codePrestataireDecompte']; - $_SESSION['codeExercice_C'] = $utilisateur['codeExerciceDecompte']; - $_SESSION['codeMois_C'] = $utilisateur['codeMoisDecompte']; - $_SESSION['codeTarifActe_Dec'] = $_SESSION['codeTarifActe_C']; - - $_SESSION['codeExercice1_C'] = $_SESSION['codeExercice_C']; - $_SESSION['codeExercice2_C'] = $_SESSION['codeExercice_C']; - $_SESSION['codeMois1_C'] = $_SESSION['codeMois_C']; - $_SESSION['codeMois2_C'] = $_SESSION['codeMois_C']; - - // $_SESSION['decompteRegle_C'] = $infosdecompte['regle']; - - $_SESSION['numeroDecompte_C'] = $utilisateur['numeroDecompte']; - $_SESSION['numeroLotDecompte_C'] = $utilisateur['numeroLotDecompte']; - - $this->requete->getSession()->setAttribut("changerMotPassDefaut", $utilisateur['changerMotPassDefaut']); - - // $_SESSION['dateEffetPolice_C'] = ""; - - // throw new Exception("idReglement_C: ".$_SESSION['idReglement_C']); - - // fin recupération - - // Avant de rediriger, on va remplir suivisaisies - $this->logconnexion->suivisaisies($login, $idSaisie, $codeLangue); - - $_SESSION['codeUtilisateur'] = $_SESSION['login']; - - setcookie('lang', $codeLangue, time()+365*24*3600, '/'); - setcookie('codeUtilisateur', $_SESSION['codeUtilisateur'], time()+365*24*3600, '/'); - - $_SESSION['vue'] = "INTER-SANTE"; - - $this->requete->getSession()->setAttribut("codeModeBiometrie", $utilisateur['codeModeBiometrie']); - - $codeModeBiometrie = $utilisateur['codeModeBiometrie']; - if($codeModeBiometrie=='1' or $codeModeBiometrie=='3'){ - $_SESSION['fingerActif'] = '1'; - } - else{ - $_SESSION['fingerActif'] = '0'; - } - - if($codeModeBiometrie=='2' or $codeModeBiometrie=='3'){ - $_SESSION['faceActif'] = '1'; - } - else{ - $_SESSION['faceActif'] = '0'; - } - - $this->requete->getSession()->setAttribut("lienPhotoFace", $utilisateur['lienPhotoFace']); - $_SESSION['dureeSession'] = $utilisateur['dureeSession']; - $_SESSION['deconnexion'] = "0"; - $_SESSION['derniere_action'] = time(); - - $this->requete->getSession()->setAttribut("okId", "-1"); - $this->requete->getSession()->setAttribut("okId_face", "-1"); - - - $this->rediriger("Decompte"); - } -} diff --git a/radiantproduction/Controleur/ControleurConsultations.php b/radiantproduction/Controleur/ControleurConsultations.php deleted file mode 100644 index bb79dd5..0000000 --- a/radiantproduction/Controleur/ControleurConsultations.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consultations'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurConsulteractureclassique.php b/radiantproduction/Controleur/ControleurConsulteractureclassique.php deleted file mode 100644 index ea66ca9..0000000 --- a/radiantproduction/Controleur/ControleurConsulteractureclassique.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulteractureclassique'); - - $this->facture = new Facture(); - $this->ouinonhospit = (new Ouinon())->getListe(); - } - - public function index() - { - $idFacture = $this->requete->getParametre("id"); - - $_SESSION['idFacture_C'] = $idFacture; - - $facture = $this->facture->getfactureclassique(); - - $prestations = $this->facture->getprestationsclassiques(); - - $this->genererVue(array('facture' => $facture, 'prestations' => $prestations)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsultercollege.php b/radiantproduction/Controleur/ControleurConsultercollege.php deleted file mode 100644 index 8ad4ef5..0000000 --- a/radiantproduction/Controleur/ControleurConsultercollege.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consultercollege'); - $this->college_temp = new College_temp(); - $this->produit = (new Produit())->getListe(); - $this->rachattm = (new Ouinon())->getListe(); - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Consultercollegeindex.php'; - } -} diff --git a/radiantproduction/Controleur/ControleurConsulterderogation.php b/radiantproduction/Controleur/ControleurConsulterderogation.php deleted file mode 100644 index 53c63fa..0000000 --- a/radiantproduction/Controleur/ControleurConsulterderogation.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterderogation'); - - $this->derogation = new Derogation(); - } - public function index() { - $idDemandederogation = $this->requete->getParametre("id"); - - $derogation = $this->derogation->getDerogationIdCOnsultation($idDemandederogation); - - $this->genererVue(array('derogation' => $derogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterderogations.php b/radiantproduction/Controleur/ControleurConsulterderogations.php deleted file mode 100644 index 1dbefa4..0000000 --- a/radiantproduction/Controleur/ControleurConsulterderogations.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterderogations'); - - $this->derogation = new Derogation(); - } - public function index() { - $idDemandederogation = $this->requete->getParametre("id"); - - $derogation = $this->derogation->getDerogationIdCOnsultation($idDemandederogation); - - $this->genererVue(array('derogation' => $derogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterententeprealable.php b/radiantproduction/Controleur/ControleurConsulterententeprealable.php deleted file mode 100644 index 9122266..0000000 --- a/radiantproduction/Controleur/ControleurConsulterententeprealable.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterententeprealable'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterententeprealables.php b/radiantproduction/Controleur/ControleurConsulterententeprealables.php deleted file mode 100644 index 8dd1d1a..0000000 --- a/radiantproduction/Controleur/ControleurConsulterententeprealables.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterententeprealables'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterententeprealablesmont.php b/radiantproduction/Controleur/ControleurConsulterententeprealablesmont.php deleted file mode 100644 index 85ecb9b..0000000 --- a/radiantproduction/Controleur/ControleurConsulterententeprealablesmont.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterententeprealablesmont'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() - { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealablemontId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterententeprealablesopt.php b/radiantproduction/Controleur/ControleurConsulterententeprealablesopt.php deleted file mode 100644 index f5476e4..0000000 --- a/radiantproduction/Controleur/ControleurConsulterententeprealablesopt.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterententeprealablesopt'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() - { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableoptId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterententeprealablespha.php b/radiantproduction/Controleur/ControleurConsulterententeprealablespha.php deleted file mode 100644 index b90f318..0000000 --- a/radiantproduction/Controleur/ControleurConsulterententeprealablespha.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterententeprealablespha'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealablephaId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurConsulterpaiementdecompte.php b/radiantproduction/Controleur/ControleurConsulterpaiementdecompte.php deleted file mode 100644 index 64b133d..0000000 --- a/radiantproduction/Controleur/ControleurConsulterpaiementdecompte.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Consulterpaiementdecompte'); - - $this->ouinonvalide = (new Ouinon())->getListe(); - } - - public function index() - { - $this->genererVue(array('ouinonvalide' => $this->ouinonvalide)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurContenuprofilass.php b/radiantproduction/Controleur/ControleurContenuprofilass.php deleted file mode 100644 index 8a76bdd..0000000 --- a/radiantproduction/Controleur/ControleurContenuprofilass.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Contenuprofilass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profil = $this->utilisateur->getListeProfilCode(); - - $this->genererVue(array('profil' => $profil)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurContrat.php b/radiantproduction/Controleur/ControleurContrat.php deleted file mode 100644 index be3ae71..0000000 --- a/radiantproduction/Controleur/ControleurContrat.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Contrat"); - - $this->etat = new Etatcp(); - $this->police = new Police(); - } - - public function index() - { - - $idPolice = $_SESSION['idPolice_C'] ; - $prestationPossible = $this->police->prestationPossible($idPolice); - - $estAgence = $this->police->estAgence($idPolice); - - /* - if($prestationPossible!="1") - { - $this->rediriger("Fichepolice"); - exit(); - } - */ - - $etats = $this->etat->getEtatcp() ; - - $this->genererVue(array('etats' => $etats, 'prestationPossible' => $prestationPossible, 'estAgence' => $estAgence)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCourtier.php b/radiantproduction/Controleur/ControleurCourtier.php deleted file mode 100644 index 528f907..0000000 --- a/radiantproduction/Controleur/ControleurCourtier.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Courtier'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeercommercial.php b/radiantproduction/Controleur/ControleurCreeercommercial.php deleted file mode 100644 index f510d17..0000000 --- a/radiantproduction/Controleur/ControleurCreeercommercial.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeercommercial'); - - $this->typeapporteur = new Typeapporteur(); - } - - public function index() - { - $typeapporteurs = $this->typeapporteur->getTypeapporteursCommercial(); - - $this->genererVue(array('typeapporteurs' => $typeapporteurs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeercourtier.php b/radiantproduction/Controleur/ControleurCreeercourtier.php deleted file mode 100644 index e845f6b..0000000 --- a/radiantproduction/Controleur/ControleurCreeercourtier.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeercourtier'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeradherent.php b/radiantproduction/Controleur/ControleurCreeradherent.php deleted file mode 100644 index c66cb07..0000000 --- a/radiantproduction/Controleur/ControleurCreeradherent.php +++ /dev/null @@ -1,138 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeradherent'); - - $this->adherent = new Adherent(); - $this->beneficiaire = new Beneficiaire(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->situationfamille = (new Situationfamille())->getListe(); - // $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->pays = new Pays(); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->tarif = new Tarif(); - $this->college = (new Collegepolice())->getListe($_SESSION['idPolice_C']); - $this->avenant = (new Avenant())->getListeEnCours($_SESSION['idPolice_C']); - $this->ouinonprorata = (new Ouinon())->getListe(); - - $this->ville = new Ville(); - $this->localite = new Localite(); - $this->client = new Client(); - } - - public function index() - { - $idClient = $_SESSION['idClient_C']; - $client = $this->client->getClientId($idClient); - - $codeSociete = $_SESSION['codeSociete']; - $codePays = $client['codePays']; - $codeVille = $client['codeVille']; - $codeLocalite = $client['codeLocalite']; - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $idPolice = $_SESSION['idPolice_C']; - - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $this->genererVue(array('college' => $this->college, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'pays' => $pays, 'situationfamille' => $this->situationfamille, 'groupesanguin' => $this->groupesanguin, - 'avenant' => $this->avenant, 'ouinonprorata' => $this->ouinonprorata, 'ville' => $ville, 'localite' => $localite, - 'codePays' => $codePays, 'codeVille' => $codeVille, 'codeLocalite' => $codeLocalite)); - } - - public function ajouteradherent() - { - $idPolice = $_SESSION['idPolice_C']; - - $racineNoAdherent = $this->requete->getSession()->getAttribut('racineNoAdherent'); - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $idCollege = $this->requete->getParametre("idCollege"); - $idPolice = $this->requete->getParametre("idPolice"); - $numeroPolice = $this->requete->getParametre("numeroPolice"); - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $codeSituationFamille = $this->requete->getParametreFormulaire("codeSituationFamille"); - $nombreEnfants = $this->requete->getParametreFormulaire("nombreEnfants"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePostale = $this->requete->getParametreFormulaire("adressePostale"); - $codePays = $this->requete->getParametre("codePays"); - $telephonFixe = $this->requete->getParametreFormulaire("telephonFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametreFormulaire("email"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $idAvenant = $this->requete->getParametre("idAvenant"); - - $codeLocalite = $this->requete->getParametre("codeLocalite"); - - $user = $this->requete->getSession()->getAttribut('login'); - $dateCre = date("Y-m-d"); - - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - $dernierIdAdherent = $this->adherent->ajouteradherent($idPolice, $idCollege, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, - $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $user, $idAvenant, $codeLocalite) ; - - $idBeneficiaire = $this->beneficiaire->ajouterAdherent($dernierIdAdherent); - - // On va calculuer la prime - $codeLienParente = "A"; - $idAdherent = $dernierIdAdherent; - $_SESSION['idAdherent_C'] = $idAdherent; - $_SESSION['idBeneficiaire_C'] = $idBeneficiaire; - - // On actualise le contexte : NbAdh et NbAss - $idPolice = $_SESSION['idPolice_C']; - $this->adherent->getNbassure($idPolice); - - $this->rediriger("Ficheadherent/".$idAdherent); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeradherentfamiliale.php b/radiantproduction/Controleur/ControleurCreeradherentfamiliale.php deleted file mode 100644 index fc2b566..0000000 --- a/radiantproduction/Controleur/ControleurCreeradherentfamiliale.php +++ /dev/null @@ -1,160 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeradherentfamiliale'); - - $this->adherent = new Adherent(); - $this->beneficiaire = new Beneficiaire(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->situationfamille = (new Situationfamille())->getListe(); - $this->pays = new Pays(); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->tarif = new Tarif(); - $this->college = (new Collegepolice())->getListe($_SESSION['idPolice_C']); - $this->collegepolice = new Collegepolice(); - $this->avenant = (new Avenant())->getListeEnCours($_SESSION['idPolice_C']); - $this->ouinonprorata = (new Ouinon())->getListe(); - $this->ville = new Ville(); - $this->localite = new Localite(); - $this->client = new Client(); - $this->typeecheancier = new Typeecheancier(); - $this->adherent_temp = new Adherent_temp(); - } - - public function index() - { - $idClient = $_SESSION['idClient_C']; - $client = $this->client->getClientId($idClient); - - $codeSociete = $_SESSION['codeSociete']; - $codePays = $client['codePays']; - $codeVille = $client['codeVille']; - $codeLocalite = $client['codeLocalite']; - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $idPolice = $_SESSION['idPolice_C']; - - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - $typeecheancier = $this->typeecheancier->getListe(); - - $dernierIdCollege = $this->collegepolice->fn_get_college_familiale($idPolice); - - $_SESSION['dernierIdCollege'] = $dernierIdCollege; - - $adherent_temp = $this->adherent->initadherentfamilialie_temp(); - - $idCollege = $_SESSION['dernierIdCollege']; - // $idAvenant = $_SESSION['dernierIdAvenant']; - $dateEntree = $_SESSION['dernierDateAvenant']; - $codeCommercial = $_SESSION['codeApporteur_C']; - $user = $_SESSION['login']; - - $primeBase = $adherent_temp['primeBase']; - $codeTypeEcheancier = $adherent_temp['codeTypeEcheancier']; - - $primes_adherent_temp = $this->adherent_temp->recapadherentfamilialetemp($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier); - - $this->genererVue(array('adherent_temp' => $adherent_temp, 'college' => $this->college, - 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, 'pays' => $pays, 'situationfamille' => $this->situationfamille, - 'groupesanguin' => $this->groupesanguin, 'avenant' => $this->avenant, 'ouinonprorata' => $this->ouinonprorata, 'ville' => $ville, - 'localite' => $localite, 'codePays' => $codePays, 'codeVille' => $codeVille, 'codeLocalite' => $codeLocalite, - 'typeecheancier' => $typeecheancier, 'primes_adherent_temp' => $primes_adherent_temp)); - } - - public function ajouteradherent() - { - $idPolice = $_SESSION['idPolice_C']; - - $racineNoAdherent = $this->requete->getSession()->getAttribut('racineNoAdherent'); - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $idCollege = $this->requete->getParametre("idCollege"); - $idPolice = $this->requete->getParametre("idPolice"); - $numeroPolice = $this->requete->getParametre("numeroPolice"); - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $codeSituationFamille = $this->requete->getParametreFormulaire("codeSituationFamille"); - $nombreEnfants = $this->requete->getParametreFormulaire("nombreEnfants"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePostale = $this->requete->getParametreFormulaire("adressePostale"); - $codePays = $this->requete->getParametre("codePays"); - $telephonFixe = $this->requete->getParametreFormulaire("telephonFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametreFormulaire("email"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $idAvenant = $this->requete->getParametre("idAvenant"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $user = $this->requete->getSession()->getAttribut('login'); - $dateCre = date("Y-m-d"); - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - $dernierIdAdherent = $this->adherent->ajouteradherentfamilialie($idPolice, $idCollege, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, - $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $user, $idAvenant, $codeLocalite) ; - - $idBeneficiaire = $this->beneficiaire->ajouterAdherentfamilialie($dernierIdAdherent); - - // On va calculuer la prime - $codeLienParente = "A"; - $idAdherent = $dernierIdAdherent; - $_SESSION['idAdherent_C'] = $idAdherent; - $_SESSION['idBeneficiaire_C'] = $idBeneficiaire; - - // On actualise le contexte : NbAdh et NbAss - $idPolice = $_SESSION['idPolice_C']; - $this->adherent->getNbassure($idPolice); - - $this->rediriger("Ficheadherentfamiliale/".$idAdherent); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeravenant.php b/radiantproduction/Controleur/ControleurCreeravenant.php deleted file mode 100644 index 818cb2f..0000000 --- a/radiantproduction/Controleur/ControleurCreeravenant.php +++ /dev/null @@ -1,89 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Creeravenant"); - - $this->police = new Police(); - $this->typeavenant = new Typeavenant; - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $police = $this->police->getPoliceId($idPolice); - - $oldCodeTypeAvenant = $police['codeTypeAvenant']; - - $typeavenant = $this->typeavenant->getListeSuite($oldCodeTypeAvenant); - - $this->genererVue(array('police' => $police, 'typeavenant' => $typeavenant)); - } - - - public function enregistrer() - { - $idPolice = $_SESSION['idPolice_C']; - $codeTypeAvenant = $this->requete->getParametreFormulaire("codeTypeAvenant"); - $motifavenant = $this->requete->getParametreFormulaire("motifavenant"); - $dateAvenant = $this->requete->getParametreDate("dateAvenant"); - - $_SESSION['dateAvenant_C'] = $dateAvenant; - $_SESSION['motifavenant_C'] = $motifavenant; - - if($codeTypeAvenant=="RES") - { - $this->rediriger("Ficheresiliation"); - } - else - if($codeTypeAvenant=="RET") - { - $this->rediriger("Ficheretrait"); - } - else - if($codeTypeAvenant=="REN") - { - $dateEcheanceRen = $this->requete->getParametreDate("dateEcheanceRen"); - $_SESSION['dateEcheanceRen_C'] = $dateEcheanceRen; - $this->rediriger("Ficherenouvellement"); - } - else - if($codeTypeAvenant=="ADL") - { - $this->rediriger("Fichelimiteadditionnelle"); - } - else - { - $this->police->creeravenant($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant); - - $this->police->getContexteAjaxPolice($idPolice); - - if($codeTypeAvenant=="INC") - { - /* - if($_SESSION['codeTypeContrat']=="G") - { - $this->rediriger("Importassure"); - } - else - { - $this->rediriger("Listeadherent"); - } - */ - $this->rediriger("Fichepolice"); - } - else - { - $this->rediriger("Fichepolice"); - } - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerbeneficiaire.php b/radiantproduction/Controleur/ControleurCreerbeneficiaire.php deleted file mode 100644 index dfde535..0000000 --- a/radiantproduction/Controleur/ControleurCreerbeneficiaire.php +++ /dev/null @@ -1,115 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerbeneficiaire'); - $this->beneficiaire = new Beneficiaire(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->adherent = new Adherent(); - $this->lienparente = (new Lienparente())->getListeDependant(); - $this->tarif = new Tarif(); - // $this->avenant = (new Avenant())->getListe($_SESSION['idPolice_C']); - $this->avenant = (new Avenant())->getListeEnCours($_SESSION['idPolice_C']); - $this->ouinonprorata = (new Ouinon())->getListe(); - $this->beneficiaire_temp = new Beneficiaire_temp(); - } - - public function index() - { - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - if($codeTypeContrat=="F") - { - $this->rediriger("Creerbeneficiairefamiliale"); - exit(); - } - else - { - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $idCollege = $_SESSION['idCollege_C']; - $fraisCarte = $this->beneficiaire_temp->get_frais_carte_college($idCollege); - - $prorata = "1"; - $dateEntree = $_SESSION['dateAvenant_C']; - - $beneficiaire_temp = $this->beneficiaire_temp->getBeneficiaire_temp($idAdherent, $dateEntree, $user, $prorata, $fraisCarte); - - // $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - - $adherent = $this->adherent->getAdherentId($idAdherent); - - $this->genererVue(array('adherent' => $adherent, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'groupesanguin' => $this->groupesanguin, 'lienparente' => $this->lienparente, 'avenant' => $this->avenant, - 'ouinonprorata' => $this->ouinonprorata, 'beneficiaire_temp' => $beneficiaire_temp)); - } - } - - public function ajouter() { - $idAdherent = $this->requete->getParametre("idAdherent"); - $numeroAdherent = $this->requete->getParametre("numeroAdherent"); - $nomBeneficiaire = $this->requete->getParametre("nomBeneficiaire"); - $prenomsBeneficiaire = $this->requete->getParametreFormulaire("prenomsBeneficiaire"); - $codeLienParente = $this->requete->getParametre("codeLienParente"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $user = $this->requete->getSession()->getAttribut('login'); - $idAvenant = $this->requete->getParametre("idAvenant"); - $dateCre = date("Y-m-d"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - - $dernierNumeroBeneficiaire = $this->beneficiaire->getDenierNumeroBeneficiaire($idAdherent); - $dernierNumeroBeneficiaire++; - - $numeroBeneficiaire = $numeroAdherent . $dernierNumeroBeneficiaire; - - $idBeneficiaire = $this->beneficiaire->ajouter($idAdherent, $numeroBeneficiaire, $nomBeneficiaire, - $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, - $dateNaissance, $telephonePortable, $dateEntree, $dateCre, $user, $idAvenant, $fraisCarte); - - $this->beneficiaire->setDenierNumeroBeneficiaire($idAdherent, $dernierNumeroBeneficiaire); - - // On va calculuer la prime - $_SESSION['idAdherent_C'] = $idAdherent; - $_SESSION['idBeneficiaire_C'] = $idBeneficiaire; - - // On actualise le contexte : NbAdh et NbAss - $idPolice = $_SESSION['idPolice_C']; - $this->beneficiaire->getNbassure($idPolice); - - $this->rediriger("Ficheadherent/".$idAdherent); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerbeneficiairefamiliale.php b/radiantproduction/Controleur/ControleurCreerbeneficiairefamiliale.php deleted file mode 100644 index b896a73..0000000 --- a/radiantproduction/Controleur/ControleurCreerbeneficiairefamiliale.php +++ /dev/null @@ -1,111 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerbeneficiairefamiliale'); - - $this->beneficiaire = new Beneficiaire(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->adherent = new Adherent(); - $this->lienparente = (new Lienparente())->getListeDependant(); - $this->tarif = new Tarif(); - $this->avenant = (new Avenant())->getListeEnCours($_SESSION['idPolice_C']); - $this->ouinonprorata = (new Ouinon())->getListe(); - $this->beneficiaire_temp = new Beneficiaire_temp(); - $this->typeecheancier = new Typeecheancier(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $idCollege = $_SESSION['idCollege_C']; - $fraisCarte = $this->beneficiaire_temp->get_frais_carte_college($idCollege); - - $prorata = "1"; - $dateEntree = $_SESSION['dateAvenant_C']; - - $beneficiaire_temp = $this->beneficiaire_temp->initbeneficiairefamilialie_temp($idAdherent, $dateEntree, $user) ; - - $adherent = $this->adherent->getAdherentId($idAdherent); - - $typeecheancier = $this->typeecheancier->getListe(); - - $this->genererVue(array('adherent' => $adherent, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'groupesanguin' => $this->groupesanguin, 'lienparente' => $this->lienparente, 'avenant' => $this->avenant, - 'ouinonprorata' => $this->ouinonprorata, 'beneficiaire_temp' => $beneficiaire_temp, 'typeecheancier' => $typeecheancier)); - } - - public function ajouter() - { - $idAdherent = $this->requete->getParametre("idAdherent"); - $numeroAdherent = $this->requete->getParametre("numeroAdherent"); - $nomBeneficiaire = $this->requete->getParametre("nomBeneficiaire"); - $prenomsBeneficiaire = $this->requete->getParametreFormulaire("prenomsBeneficiaire"); - $codeLienParente = $this->requete->getParametre("codeLienParente"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - $user = $this->requete->getSession()->getAttribut('login'); - $idAvenant = $this->requete->getParametre("idAvenant"); - $dateCre = date("Y-m-d"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - - $dernierNumeroBeneficiaire = $this->beneficiaire->getDenierNumeroBeneficiaire($idAdherent); - $dernierNumeroBeneficiaire++; - - $numeroBeneficiaire = $numeroAdherent . $dernierNumeroBeneficiaire; - - $idBeneficiaire = $this->beneficiaire->ajouterfamiliale($idAdherent, $numeroBeneficiaire, $nomBeneficiaire, - $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, - $dateNaissance, $telephonePortable, $dateEntree, $user, $idAvenant, $fraisCarte); - - $this->beneficiaire->setDenierNumeroBeneficiaire($idAdherent, $dernierNumeroBeneficiaire); - - // On va calculuer la prime - $_SESSION['idAdherent_C'] = $idAdherent; - $_SESSION['idBeneficiaire_C'] = $idBeneficiaire; - - // On actualise le contexte : NbAdh et NbAss - $idPolice = $_SESSION['idPolice_C']; - $this->beneficiaire->getNbassure($idPolice); - - // $this->rediriger("Ficheadherent/".$idAdherent); - $this->rediriger("Ficheadherentfamiliale/".$idAdherent); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerclient.php b/radiantproduction/Controleur/ControleurCreerclient.php deleted file mode 100644 index 7511744..0000000 --- a/radiantproduction/Controleur/ControleurCreerclient.php +++ /dev/null @@ -1,107 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerclient'); - - $this->client = new Client(); - $this->sexe = (new Sexe())->getListe(); - $this->typeclient = (new Typeclient())->getListe(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->ville = (new Ville())->getListe($_SESSION['codePaysSociete']); - $this->titre = (new Titre())->getListe(); - $this->secteuractivite = (new Secteuractivite())->getListe(); - $this->localite = new Localite(); - $this->langue = new Langue(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() - { - $langue = $this->langue->getListe(); - - $this->genererVue(array('pays' => $this->pays, 'ville' => $this->ville, 'titre' => $this->titre, - 'secteuractivite' => $this->secteuractivite, 'sexe' => $this->sexe, 'typeclient' => $this->typeclient, - 'listelocalite' => $this->localite, 'langue' => $langue)); - } - - public function ajouter($prenoms=null) - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $user = $this->requete->getSession()->getAttribut('login'); - $dateCre = date("Y-m-d"); - $typeClient = $this->requete->getParametre("typeClient"); - $codeTitre = $this->requete->getParametre("codeTitre"); - - $nom = $this->requete->getParametre("nom"); - $nom = strtoupper($nom); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $prenoms = ucwords($prenoms); - - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $boitepostale = $this->requete->getParametreFormulaire("boitepostale"); - $codeVille = $this->requete->getParametre("codeVille"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $codePays = $this->requete->getParametre("codePays"); - $telephoneBureau = $this->requete->getParametreFormulaire("telephoneBureau"); - $telephonedomicile = $this->requete->getParametreFormulaire("telephonedomicile"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $fax = $this->requete->getParametreFormulaire("fax"); - $email = $this->requete->getParametreFormulaire("email"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - //$dateNaissance = $this->requete->getParametreFormulaire("dateNaissance","date"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeSecteur = $this->requete->getParametreFormulaire("codeSecteur"); - // $codeGestionnaire = $this->requete->getParametreFormulaire("codeGestionnaire"); - $codeGestionnaire =""; - $nomMandataire = $this->requete->getParametreFormulaire("nomMandataire"); - $telephoneFixemandataire = $this->requete->getParametreFormulaire("telephoneFixemandataire"); - $telephonePortablemandataire = $this->requete->getParametreFormulaire("telephonePortablemandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - - $registreCommerce = $this->requete->getParametreFormulaire("registreCommerce"); - $codeLangueClient = $this->requete->getParametreFormulaire("codeLangueUser"); - - $dernierNumeroClient = $this->client->getDenierNumeroClient(); - $dernierNumeroClient=$dernierNumeroClient+1; - - if ($this->client->existeligne($dernierNumeroClient)) { - $dernierNumeroClient=$dernierNumeroClient+1; - } - - $numeroClient = $dernierNumeroClient; - - $id = $this->client->ajouter($codeSociete, $numeroClient, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, - $fax, $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $dateCre, $user, $codeLocalite, $registreCommerce, $codeLangueClient); - - $this->client->setDenierNumeroClient($numeroClient); - $_SESSION['idClientAjax'] = $id; - // $this->rediriger("Ficheclient/".$id); - $this->rediriger("Ficheclient"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreercollege.php b/radiantproduction/Controleur/ControleurCreercollege.php deleted file mode 100644 index 0c201a4..0000000 --- a/radiantproduction/Controleur/ControleurCreercollege.php +++ /dev/null @@ -1,47 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creercollege'); - - $this->college_temp = new College_temp(); - $this->tarif = new Tarif(); - $this->produit = (new Produit())->getListe(); - $this->rachattm = (new Ouinon())->getListe(); - $this->ouinonimposerplafond = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "0"; - - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Creercollegeindex.php'; - } - - public function initcollege() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Creercollegeinitcollege.php'; - } - - public function enregistrer() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Creercollegeenregistrer.php'; - } -} diff --git a/radiantproduction/Controleur/ControleurCreercollege_sav_19_07_05.php b/radiantproduction/Controleur/ControleurCreercollege_sav_19_07_05.php deleted file mode 100644 index c23950f..0000000 --- a/radiantproduction/Controleur/ControleurCreercollege_sav_19_07_05.php +++ /dev/null @@ -1,96 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creercollege'); - - $this->college_temp = new College_temp(); - $this->tarif = new Tarif(); - $this->produit = (new Produit())->getListe(); - $this->rachattm = (new Rachattm())->getListe(); - $this->ouinonimposerplafond = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond)); - } - - public function initcollege() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $this->requete->getSession()->getAttribut('login'); - $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user); - - $this->rediriger("Creercollege"); - } - - public function enregistrer() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $codeProduit = $this->requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond); - - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Creercollege"); - } - else - { - $this->college_temp->enregistrer($idCollegeTemp); - $this->rediriger("Collegepolice"); - } - } -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurCreercolleged.php b/radiantproduction/Controleur/ControleurCreercolleged.php deleted file mode 100644 index 95ee8d9..0000000 --- a/radiantproduction/Controleur/ControleurCreercolleged.php +++ /dev/null @@ -1,45 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creercolleged'); - - $this->college_temp = new College_temp_d(); - $this->tarif = new Tarif(); - $this->produit = (new Produit())->getListe(); - $this->rachattm = (new Ouinon())->getListe(); - $this->ouinonimposerplafond = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "1"; - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Creercollegedindex.php'; - } - - public function initcollege() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Creercollegedinitcollege.php'; - } - - public function enregistrer() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Creercollegedenregistrer.php'; - } -} diff --git a/radiantproduction/Controleur/ControleurCreerdevis.php b/radiantproduction/Controleur/ControleurCreerdevis.php deleted file mode 100644 index 479d53b..0000000 --- a/radiantproduction/Controleur/ControleurCreerdevis.php +++ /dev/null @@ -1,102 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerdevis'); - - $this->police = new Police_d(); - $this->typecontrat = (new Typecontrat())->getListe(); - $this->apporteur = (new Apporteur())->getListeBroker(); - $this->commercial = (new Apporteur())->getListeCommerciaux(); - $this->rachattm = (new Ouinon())->getListe(); - $this->fractionnement = (new Fractionnement())->getListe(); - $this->periodicite = (new Periodicite())->getListe(); - $this->ouinontacitereconduction = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "1"; - } - public function index() - { - $this->genererVue(array('typecontrat' => $this->typecontrat, 'apporteur' => $this->apporteur, 'commercial' => $this->commercial, - 'fractionnement' => $this->fractionnement, 'periodicite' => $this->periodicite, 'rachattm' => $this->rachattm, - 'ouinontacitereconduction' => $this->ouinontacitereconduction)); - } - - public function ajouter() - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $userCre = $this->requete->getSession()->getAttribut('login'); - $dateCre = date("Y-m-d"); - $idClient = $this->requete->getParametre("idClient"); - $numeroClient = $this->requete->getParametre("numeroClient"); - $numeroPoliceSociete = $this->requete->getParametreFormulaire("numeroPoliceSociete"); - $codeTypeContrat = $this->requete->getParametre("codeTypeContrat"); - $dateEffet = $this->requete->getParametreDate("dateEffet"); - $dateEcheance = $this->requete->getParametreDate("dateEcheance"); - $dateFin = $this->requete->getParametreDate("dateEcheance"); - $dateAvenant = $dateEffet; - $numeroAvenant = 0; - $codeTypeAvenant = "AFN"; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $codeCommercial = $this->requete->getParametreFormulaire("codeCommercial"); - $codeGestionnaire = ""; - $rachatTm = $this->requete->getParametreFormulaire("rachatTm"); - $codeEtatPolice = "EC"; - $codeFractionnement = $this->requete->getParametre("codeFractionnement"); - $codePeriodicite = $this->requete->getParametre("codePeriodicite"); - $tauxCommission = $this->requete->getParametreFormulaire("tauxCommission","numerique"); - $tauxCommissionAutre = $this->requete->getParametreFormulaire("tauxCommissionAutre","numerique"); - $deduireComm = $this->requete->getParametreFormulaire("deduireComm"); - $taciteReconduction = $this->requete->getParametreFormulaire("taciteReconduction"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRistourne = $this->requete->getParametreFormulaire("tauxRistourne","numerique"); - - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $primeBeneficiaire = $this->requete->getParametreFormulaire("primeBeneficiaire","numerique"); - $delaiCarencePolice = $this->requete->getParametreFormulaire("delaiCarencePolice","numerique"); - - $annee = date("Y", strtotime($dateEffet)); - - $dernierNumeroPolice = $this->police->getDenierNumeroPolice($annee); - - $annee = date("y", strtotime($dateEffet)); - - if ($this->police->existeligne($this->police->formaterNumeroPolice($annee,$dernierNumeroPolice))) - { - $dernierNumeroPolice++; - } - - $numeroPolice = $this->police->formaterNumeroPolice($annee,$dernierNumeroPolice); - - $idPolice = $this->police->ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeCommercial, $codeGestionnaire, - $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $tauxCommissionAutre, $primeFamille, $primeBeneficiaire, - $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $tauxRistourne, $delaiCarencePolice); - - $annee = date("Y", strtotime($dateEffet)); - - $this->police->setDenierNumeroPolice($annee,$dernierNumeroPolice); - - $this->police->getContexteAjaxPolice($idPolice); - - $this->rediriger("Fichedevis"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerdossierclassique.php b/radiantproduction/Controleur/ControleurCreerdossierclassique.php deleted file mode 100644 index 52e233b..0000000 --- a/radiantproduction/Controleur/ControleurCreerdossierclassique.php +++ /dev/null @@ -1,40 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerdossierclassique'); - - $this->facture = new Facture(); - $this->ouinonhospit = (new Ouinon())->getListe(); - $this->raison = (new Raisonconsultation())->getListe(); - $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); - $this->liendemandeur = (new Lienbeneficiaire())->getListe(); - - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - public function index() - { - $banque = $this->banque->getListe(); - - $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, - 'modepaiement' => $this->modepaiement, 'banque' => $banque, 'raison' => $this->raison, 'ouinonhospit' => $this->ouinonhospit)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreergcassureur.php b/radiantproduction/Controleur/ControleurCreergcassureur.php deleted file mode 100644 index 47be1e3..0000000 --- a/radiantproduction/Controleur/ControleurCreergcassureur.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creergcassureur'); - $this->gc = new Gestionconfiee(); - } - public function index() - { - $gestioncarte = $this->gc->getListeGestioncarte(); - - // $this->genererVue(); - $this->genererVue(array('gestioncarte' => $gestioncarte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreergccarte.php b/radiantproduction/Controleur/ControleurCreergccarte.php deleted file mode 100644 index c637670..0000000 --- a/radiantproduction/Controleur/ControleurCreergccarte.php +++ /dev/null @@ -1,15 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creergccarte'); - } - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreergcpolice.php b/radiantproduction/Controleur/ControleurCreergcpolice.php deleted file mode 100644 index eea107d..0000000 --- a/radiantproduction/Controleur/ControleurCreergcpolice.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creergcpolice'); - - $this->gc = new Gestionconfiee(); - } - public function index() - { - $idPolice = $this->requete->getParametreFormulaire("id"); - - $_SESSION['idPolice_C'] = $idPolice; - - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreermedecin.php b/radiantproduction/Controleur/ControleurCreermedecin.php deleted file mode 100644 index f6f75e1..0000000 --- a/radiantproduction/Controleur/ControleurCreermedecin.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creermedecin'); - - $this->specialite = new Specialite(); - $this->sexe = (new Sexe())->getListe(); - } - - public function index() - { - $specialite = $this->specialite->getListe(); - - $this->genererVue(array('specialite' => $specialite, 'sexe' => $this->sexe)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerpolice.php b/radiantproduction/Controleur/ControleurCreerpolice.php deleted file mode 100644 index a35749e..0000000 --- a/radiantproduction/Controleur/ControleurCreerpolice.php +++ /dev/null @@ -1,107 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerpolice'); - - $this->police = new Police(); - $this->typecontrat = (new Typecontrat())->getListe(); - $this->apporteur = (new Apporteur())->getListeBroker(); - $this->commercial = (new Apporteur())->getListeCommerciaux(); - $this->rachattm = (new Ouinon())->getListe(); - $this->fractionnement = (new Fractionnement())->getListe(); - $this->periodicite = (new Periodicite())->getListe(); - $this->ouinontacitereconduction = (new Ouinon())->getListe(); - $this->police_speciale = (new Ouinon())->getListe(); - $this->remplacement_adherent = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() { - $this->genererVue(array('typecontrat' => $this->typecontrat, 'apporteur' => $this->apporteur, 'commercial' => $this->commercial, - 'fractionnement' => $this->fractionnement, 'periodicite' => $this->periodicite, 'rachattm' => $this->rachattm, - 'ouinontacitereconduction' => $this->ouinontacitereconduction, 'police_speciale' => $this->police_speciale, - 'remplacement_adherent' => $this->remplacement_adherent)); - } - - public function ajouter() - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $userCre = $this->requete->getSession()->getAttribut('login'); - $dateCre = date("Y-m-d"); - $idClient = $this->requete->getParametre("idClient"); - $numeroClient = $this->requete->getParametre("numeroClient"); - $numeroPoliceSociete = $this->requete->getParametreFormulaire("numeroPoliceSociete"); - $codeTypeContrat = $this->requete->getParametre("codeTypeContrat"); - $dateEffet = $this->requete->getParametreDate("dateEffet"); - $dateEcheance = $this->requete->getParametreDate("dateEcheance"); - $dateFin = $this->requete->getParametreDate("dateEcheance"); - $dateAvenant = $dateEffet; - $numeroAvenant = 0; - $codeTypeAvenant = "AFN"; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $codeCommercial = $this->requete->getParametreFormulaire("codeCommercial"); - $codeGestionnaire = ""; - $rachatTm = $this->requete->getParametreFormulaire("rachatTm"); - $codeEtatPolice = "EC"; - $codeFractionnement = $this->requete->getParametre("codeFractionnement"); - $codePeriodicite = $this->requete->getParametre("codePeriodicite"); - $tauxCommission = $this->requete->getParametreFormulaire("tauxCommission","numerique"); - $tauxCommissionAutre = $this->requete->getParametreFormulaire("tauxCommissionAutre","numerique"); - $deduireComm = $this->requete->getParametreFormulaire("deduireComm"); - $taciteReconduction = $this->requete->getParametreFormulaire("taciteReconduction"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $primeBeneficiaire = $this->requete->getParametreFormulaire("primeBeneficiaire","numerique"); - - $speciale = $this->requete->getParametreFormulaire("speciale"); - $limiteConsommation = $this->requete->getParametreFormulaire("limiteConsommation","numerique"); - $tauxRistourne = $this->requete->getParametreFormulaire("tauxRistourne","numerique"); - $remplacementAdherent = $this->requete->getParametreFormulaire("remplacementAdherent"); - $delaiCarencePolice = $this->requete->getParametreFormulaire("delaiCarencePolice","numerique"); - - $annee = date("Y", strtotime($dateEffet)); - - $dernierNumeroPolice = $this->police->getDenierNumeroPolice($annee); - - $annee = date("y", strtotime($dateEffet)); - - if ($this->police->existeligne($this->police->formaterNumeroPolice($annee,$dernierNumeroPolice))) { - $dernierNumeroPolice++; - } - - $numeroPolice = $this->police->formaterNumeroPolice($annee,$dernierNumeroPolice); - - $idPolice = $this->police->ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeGestionnaire, - $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $primeFamille, $primeBeneficiaire, - $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $codeCommercial, $tauxCommissionAutre, $speciale, $limiteConsommation, - $tauxRistourne, $remplacementAdherent, $delaiCarencePolice); - - $annee = date("Y", strtotime($dateEffet)); - - $this->police->setDenierNumeroPolice($annee,$dernierNumeroPolice); - - $this->police->getContexteAjaxPolice($idPolice); - - $this->rediriger("Fichepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerprestataire.php b/radiantproduction/Controleur/ControleurCreerprestataire.php deleted file mode 100644 index 07ed41d..0000000 --- a/radiantproduction/Controleur/ControleurCreerprestataire.php +++ /dev/null @@ -1,66 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerprestataire'); - - $this->prestataire = new Prestataire(); - - $this->typeprestataire = new Typeprestataire(); - $this->reseausoins = new Reseausoins(); - $this->pays = new Pays(); - $this->ville = new Ville(); - $this->localite = new Localite(); - $this->tarifacte = new Tarifsactes(); - $this->tarifsmedicament = new Tarifsmedicaments(); - $this->tarifsoptique = new Tarifsoptiques(); - $this->typedecompte = new Typedecompte(); - $this->ouinonconvention = (new Ouinon())->getListe(); - $this->ouinongestionreseau = (new Ouinon())->getListe(); - $this->banque = new Banque(); - $this->langue = new Langue(); - } - - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - $codePays = $_SESSION['codePaysSociete']; - $codeVille = ""; - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - $typeprestataire = $this->typeprestataire->getListeActifs(); - $reseausoins = $this->reseausoins->getListe(); - $tarifacte = $this->tarifacte->getListe(); - $tarifsmedicament = $this->tarifsmedicament->getListe(); - $tarifsoptique = $this->tarifsoptique->getListe(); - $typedecompte = $this->typedecompte->getListeDecomptePrestataire(); - $banque = $this->banque->getListe(); - $langue = $this->langue->getListe(); - - $this->genererVue(array('pays' => $pays, 'ville' => $ville, 'listelocalite' => $localite, - 'typeprestataire' => $typeprestataire, 'reseausoins' => $reseausoins, 'tarifacte' => $tarifacte, 'banque' => $banque, - 'tarifsmedicament' => $tarifsmedicament, 'tarifsoptique' => $tarifsoptique, 'typedecompte' => $typedecompte, - 'ouinonconvention' => $this->ouinonconvention, 'ouinongestionreseau' => $this->ouinongestionreseau, 'langue' => $langue)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerprofilass.php b/radiantproduction/Controleur/ControleurCreerprofilass.php deleted file mode 100644 index dd15d85..0000000 --- a/radiantproduction/Controleur/ControleurCreerprofilass.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerprofilass'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerprospect.php b/radiantproduction/Controleur/ControleurCreerprospect.php deleted file mode 100644 index ca97a42..0000000 --- a/radiantproduction/Controleur/ControleurCreerprospect.php +++ /dev/null @@ -1,103 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerprospect'); - - $this->client = new Client_d(); - $this->sexe = (new Sexe())->getListe(); - $this->typeclient = (new Typeclient())->getListe(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->ville = (new Ville())->getListe($_SESSION['codePaysSociete']); - $this->titre = (new Titre())->getListe(); - $this->secteuractivite = (new Secteuractivite())->getListe(); - $this->localite = new Localite(); - $this->langue = new Langue(); - - $_SESSION['modeDevis'] = "1"; - } - public function index() - { - $langue = $this->langue->getListe(); - - $this->genererVue(array('pays' => $this->pays, 'ville' => $this->ville, 'titre' => $this->titre, - 'secteuractivite' => $this->secteuractivite, 'sexe' => $this->sexe, 'typeclient' => $this->typeclient, - 'listelocalite' => $this->localite, 'langue' => $langue)); - } - - public function ajouter($prenoms=null) - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $user = $this->requete->getSession()->getAttribut('login'); - $dateCre = date("Y-m-d"); - $typeClient = $this->requete->getParametre("typeClient"); - $codeTitre = $this->requete->getParametre("codeTitre"); - - $nom = $this->requete->getParametre("nom"); - $nom = strtoupper($nom); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $prenoms = ucwords($prenoms); - - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $boitepostale = $this->requete->getParametreFormulaire("boitepostale"); - $codeVille = $this->requete->getParametre("codeVille"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $codePays = $this->requete->getParametre("codePays"); - $telephoneBureau = $this->requete->getParametreFormulaire("telephoneBureau"); - $telephonedomicile = $this->requete->getParametreFormulaire("telephonedomicile"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $fax = $this->requete->getParametreFormulaire("fax"); - $email = $this->requete->getParametreFormulaire("email"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeSecteur = $this->requete->getParametreFormulaire("codeSecteur"); - $codeGestionnaire =""; - $nomMandataire = $this->requete->getParametreFormulaire("nomMandataire"); - $telephoneFixemandataire = $this->requete->getParametreFormulaire("telephoneFixemandataire"); - $telephonePortablemandataire = $this->requete->getParametreFormulaire("telephonePortablemandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - - $registreCommerce = $this->requete->getParametreFormulaire("registreCommerce"); - $codeLangueClient = $this->requete->getParametreFormulaire("codeLangueUser"); - - $dernierNumeroClient = $this->client->getDenierNumeroClient(); - $dernierNumeroClient=$dernierNumeroClient+1; - - if ($this->client->existeligne($dernierNumeroClient)) { - $dernierNumeroClient=$dernierNumeroClient+1; - } - - $numeroClient = $dernierNumeroClient; - - $id = $this->client->ajouter($codeSociete, $numeroClient, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, - $fax, $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $dateCre, $user, $codeLocalite, $registreCommerce, $codeLangueClient); - - $this->client->setDenierNumeroClient($numeroClient); - $_SESSION['idClient_d_Ajax'] = $id; - $this->rediriger("Ficheprospect"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerrequeteperso.php b/radiantproduction/Controleur/ControleurCreerrequeteperso.php deleted file mode 100644 index 617da96..0000000 --- a/radiantproduction/Controleur/ControleurCreerrequeteperso.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerrequeteperso'); - - $this->requetesperso = new Requetesperso(); - } - - public function index() - { - $sourcesrequete = $this->requetesperso->getsourcesrequeteperso(); - - $this->genererVue(array('sourcesrequete' => $sourcesrequete)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreersourcerequetesperso.php b/radiantproduction/Controleur/ControleurCreersourcerequetesperso.php deleted file mode 100644 index fbb5a5d..0000000 --- a/radiantproduction/Controleur/ControleurCreersourcerequetesperso.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creersourcerequetesperso'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreertypeapporteur.php b/radiantproduction/Controleur/ControleurCreertypeapporteur.php deleted file mode 100644 index 1a4cb35..0000000 --- a/radiantproduction/Controleur/ControleurCreertypeapporteur.php +++ /dev/null @@ -1,38 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creertypeapporteur'); - - $this->typeapporteur = new Typeapporteur(); - } - - public function index() - { - $this->genererVue(); - } - - public function creertypeapporteur() - { - $codeTypeApporteur = strtoupper($this->requete->getParametreFormulaire("codeTypeApporteur")); - - if (!$this->typeapporteur->existeligne($codeTypeApporteur)) { - $libelle = $this->requete->getParametreFormulaire("libelle"); - $libelleEng = $this->requete->getParametreFormulaire("libelleEng"); - $this->typeapporteur->creertypeapporteur($codeTypeApporteur, $libelle, $libelleEng); - echo "1"; - } - else - { - echo "0"; - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeruseragence.php b/radiantproduction/Controleur/ControleurCreeruseragence.php deleted file mode 100644 index 4034440..0000000 --- a/radiantproduction/Controleur/ControleurCreeruseragence.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeruseragence'); - - $this->langue = new Langue(); - $this->oui_non = new Ouinon(); - $this->utilisateur = new Utilisateur(); - } - - public function index() - { - $langue = $this->langue->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $agences = $this->utilisateur->getListeAgences(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $this->genererVue(array('agences' => $agences, 'langue' => $langue, 'user_actVisible' => $user_actVisible, - 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeruserassureur.php b/radiantproduction/Controleur/ControleurCreeruserassureur.php deleted file mode 100644 index 58c4972..0000000 --- a/radiantproduction/Controleur/ControleurCreeruserassureur.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeruserassureur'); - - $this->langue = new Langue(); - $this->oui_non = new Ouinon(); - $this->utilisateur = new Utilisateur(); - } - - public function index() - { - $langue = $this->langue->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $profil = $this->utilisateur->getListeProfilCode(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $this->genererVue(array('profil' => $profil, 'langue' => $langue, 'user_actVisible' => $user_actVisible, - 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreerusergc.php b/radiantproduction/Controleur/ControleurCreerusergc.php deleted file mode 100644 index a357778..0000000 --- a/radiantproduction/Controleur/ControleurCreerusergc.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creerusergc'); - - $this->gc = new Gestionconfiee(); - $this->langue = new Langue(); - $this->oui_non = new Ouinon(); - } - - public function index() - { - $codeGcAssureur = $_SESSION['codeGcAssureur_C']; - $gc = $this->gc->getGcAssureurCode($codeGcAssureur); - $langue = $this->langue->getListe(); - $user_actVisible = $this->oui_non->getListe(); - - $this->genererVue(array('gc' => $gc, 'langue' => $langue, 'user_actVisible' => $user_actVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurCreeruserprestataire.php b/radiantproduction/Controleur/ControleurCreeruserprestataire.php deleted file mode 100644 index 27d89f9..0000000 --- a/radiantproduction/Controleur/ControleurCreeruserprestataire.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Creeruserprestataire'); - - $this->prestataire = new Prestataire(); - $this->langue = new Langue(); - $this->oui_non = new Ouinon(); - } - - public function index() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $prestataire = $this->prestataire->getunprestatairebycode($codePrestataire); - $langue = $this->langue->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $this->genererVue(array('prestataire' => $prestataire, 'langue' => $langue, 'user_actVisible' => $user_actVisible, - 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDecompte.php b/radiantproduction/Controleur/ControleurDecompte.php deleted file mode 100644 index c648a8c..0000000 --- a/radiantproduction/Controleur/ControleurDecompte.php +++ /dev/null @@ -1,45 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Decompte'); - - $this->reglement = new Reglement(); - $this->banque = new Banque(); - // $this->ged = new Ged(); - - $_SESSION['idFacture_C'] = "0"; - } - - public function index() - { - $banque = $this->banque->getListe(); - - $_SESSION['codePrestataire_C'] = $_SESSION['codePrestataire_Dec']; - $_SESSION['codePrestataireTarif'] = $_SESSION['codePrestataire_Dec']; - - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->recapdecompte($idReglement, $numeroDecompte); - - $reglement = $this->reglement->getreglement($idReglement); - - $factures = $this->reglement->getdetaildecompte($numeroDecompte); - - $this->reglement->savsessiondecompte(); - - $this->genererVue(array('reglement' => $reglement, 'factures' => $factures, 'banque' => $banque)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDecomptecons.php b/radiantproduction/Controleur/ControleurDecomptecons.php deleted file mode 100644 index f55fdcb..0000000 --- a/radiantproduction/Controleur/ControleurDecomptecons.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Decomptecons'); - - $this->reglement = new Reglement(); - $this->facture = new Facture(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $factures = $this->reglement->getdetaildecompte($numeroDecompte); - - $this->genererVue(array('reglement' => $reglement, 'factures' => $factures, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDecomptecpt.php b/radiantproduction/Controleur/ControleurDecomptecpt.php deleted file mode 100644 index 7979cc7..0000000 --- a/radiantproduction/Controleur/ControleurDecomptecpt.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Decomptecpt'); - - $this->reglement = new Reglement(); - $this->facture = new Facture(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $factures = $this->reglement->getdetaildecompte($numeroDecompte); - - $this->genererVue(array('reglement' => $reglement, 'factures' => $factures, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDecomptecso.php b/radiantproduction/Controleur/ControleurDecomptecso.php deleted file mode 100644 index 48d765d..0000000 --- a/radiantproduction/Controleur/ControleurDecomptecso.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Decomptecso'); - - $this->reglement = new Reglement(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - - $this->reglement->recapdecompte($idReglement, $numeroDecompte); - - $reglement = $this->reglement->getreglement($idReglement); - - $factures = $this->reglement->getdetaildecompte($numeroDecompte); - - $this->genererVue(array('reglement' => $reglement, 'factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDemandedecompte.php b/radiantproduction/Controleur/ControleurDemandedecompte.php deleted file mode 100644 index ebad8b6..0000000 --- a/radiantproduction/Controleur/ControleurDemandedecompte.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Demandedecompte'); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice)); - } -} diff --git a/radiantproduction/Controleur/ControleurDemandefraisfuneraire.php b/radiantproduction/Controleur/ControleurDemandefraisfuneraire.php deleted file mode 100644 index 9f504b4..0000000 --- a/radiantproduction/Controleur/ControleurDemandefraisfuneraire.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Demandefraisfuneraire'); - - $this->fraisfuneraire = new Fraisfuneraire(); - $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); - $this->liendemandeur = (new Lienbeneficiaire())->getListe(); - - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - - } - public function index() { - $banque = $this->banque->getListe(); - - $montant_fraisfuneraire = $this->fraisfuneraire->getmontant_fraisfuneraire(); - - $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, - 'montant_fraisfuneraire' => $montant_fraisfuneraire, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDemandesreglementsglobal.php b/radiantproduction/Controleur/ControleurDemandesreglementsglobal.php deleted file mode 100644 index cb82046..0000000 --- a/radiantproduction/Controleur/ControleurDemandesreglementsglobal.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Demandesreglementsglobal'); - - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - } - - public function index() - { - $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDemandesteglement.php b/radiantproduction/Controleur/ControleurDemandesteglement.php deleted file mode 100644 index fe12722..0000000 --- a/radiantproduction/Controleur/ControleurDemandesteglement.php +++ /dev/null @@ -1,38 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Demandesteglement'); -// $this->reglement = new Reglement(); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice, - 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} diff --git a/radiantproduction/Controleur/ControleurDemandesteglementcpt.php b/radiantproduction/Controleur/ControleurDemandesteglementcpt.php deleted file mode 100644 index d7f356f..0000000 --- a/radiantproduction/Controleur/ControleurDemandesteglementcpt.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Demandesteglementcpt'); -// $this->reglement = new Reglement(); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice, - 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} diff --git a/radiantproduction/Controleur/ControleurDerogationmedicement.php b/radiantproduction/Controleur/ControleurDerogationmedicement.php deleted file mode 100644 index 881c6fb..0000000 --- a/radiantproduction/Controleur/ControleurDerogationmedicement.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Derogationmedicement'); - - $this->college = new Collegepolice(); - $this->police = new Police(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $police = $this->police->getPoliceIdSimple($idPolice); - $colleges = $this->college->getCollegesPolice($idPolice); - $this->genererVue(array('police' => $police, 'colleges' => $colleges)); - } -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurDerogationpermanente.php b/radiantproduction/Controleur/ControleurDerogationpermanente.php deleted file mode 100644 index c61893e..0000000 --- a/radiantproduction/Controleur/ControleurDerogationpermanente.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Derogationpermanente'); - - $this->pbeneficiaire = new Pbeneficiaire(); - $this->derogation = new Derogation(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $beneficiaire = $this->pbeneficiaire->getContexteBeneficiaireIdPrest($idBeneficiaire); - - $derogations = $this->derogation->getderogationpermanente($idBeneficiaire); - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'derogations' => $derogations)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDetaildemandedecompte.php b/radiantproduction/Controleur/ControleurDetaildemandedecompte.php deleted file mode 100644 index fd54c2a..0000000 --- a/radiantproduction/Controleur/ControleurDetaildemandedecompte.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Detaildemandedecompte'); - - $this->reglement = new Demandedecompte(); - } - - public function index() - { - $idDemandeDecompte = $_SESSION['idDemandeDecompte_C']; - $numeroDemandeDecompte = $_SESSION['numeroDemandeDecompte_C']; - - $reglement = $this->reglement->getdemandedecompte($idDemandeDecompte); - $factures = $this->reglement->getdetaildemandedecompte($numeroDemandeDecompte); - - $this->genererVue(array('reglement' => $reglement, 'factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDetailgenerationbon.php b/radiantproduction/Controleur/ControleurDetailgenerationbon.php deleted file mode 100644 index 3e614c0..0000000 --- a/radiantproduction/Controleur/ControleurDetailgenerationbon.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Detailgenerationbon"); - - $this->generartionbon = new Generartionbon(); - } - - public function index() - { - $idgenerationbon = $this->requete->getParametre("id"); - - $generartionbon = $this->generartionbon->unegenerationbon($idgenerationbon); - - $bonpecs = $this->generartionbon->detailgenerationbon($idgenerationbon); - - $this->genererVue(array('generartionbon' => $generartionbon, 'bonpecs' => $bonpecs)); - } -} diff --git a/radiantproduction/Controleur/ControleurDiagnosticscons.php b/radiantproduction/Controleur/ControleurDiagnosticscons.php deleted file mode 100644 index edf2b35..0000000 --- a/radiantproduction/Controleur/ControleurDiagnosticscons.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Diagnosticscons'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDiagnosticsconsbeneficiaire.php b/radiantproduction/Controleur/ControleurDiagnosticsconsbeneficiaire.php deleted file mode 100644 index 88cc4f3..0000000 --- a/radiantproduction/Controleur/ControleurDiagnosticsconsbeneficiaire.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Diagnosticsconsbeneficiaire'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDossierclassique.php b/radiantproduction/Controleur/ControleurDossierclassique.php deleted file mode 100644 index 39f954d..0000000 --- a/radiantproduction/Controleur/ControleurDossierclassique.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Dossierclassique'); - - $this->facture = new Facture(); - } - - public function index() - { - $idDossierClassique = $_SESSION['idDossierClassique']; - - $dossier = $this->facture->getdossierclassique($idDossierClassique); - - $factures = $this->facture->getfacturesdossierclassique($idDossierClassique); - - $this->genererVue(array('dossier' => $dossier, 'factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDossierclassiquecpt.php b/radiantproduction/Controleur/ControleurDossierclassiquecpt.php deleted file mode 100644 index 899c4f1..0000000 --- a/radiantproduction/Controleur/ControleurDossierclassiquecpt.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Dossierclassiquecpt'); - - $this->facture = new Facture(); - } - - public function index() - { - $idDossierClassique = $_SESSION['idDossierClassique']; - - $dossier = $this->facture->getdossierclassique($idDossierClassique); - - $factures = $this->facture->getfacturesdossierclassique($idDossierClassique); - - $this->genererVue(array('dossier' => $dossier, 'factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDossiercons.php b/radiantproduction/Controleur/ControleurDossiercons.php deleted file mode 100644 index acca93c..0000000 --- a/radiantproduction/Controleur/ControleurDossiercons.php +++ /dev/null @@ -1,19 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Dossiercons'); - - $_SESSION['numeroFeuilleMaladie_C'] = "0"; - $_SESSION['numeroBonConsultation_C'] = "0"; - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurDossiers.php b/radiantproduction/Controleur/ControleurDossiers.php deleted file mode 100644 index 85dc66b..0000000 --- a/radiantproduction/Controleur/ControleurDossiers.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Dossiers'); - - $this->feuillemaladie = new Feuillemaladie(); - } - - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $feuillemaladies = $this->feuillemaladie->getfeuillesmaladie($idBeneficiaire, $d1, $d2) ; - - $this->genererVue(array('feuillemaladies' => $feuillemaladies)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEcartdecompte.php b/radiantproduction/Controleur/ControleurEcartdecompte.php deleted file mode 100644 index 2ee867c..0000000 --- a/radiantproduction/Controleur/ControleurEcartdecompte.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Ecartdecompte'); - - $this->reglement = new Reglement(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $recapecartdecompte = $this->reglement->getrecapecartdecompte($idReglement); - - $_SESSION['debutMoisDecompte'] = $_SESSION['codeExercice_C'].'-'.$_SESSION['codeMois_C'].'-01'; - - $this->genererVue(array('reglement' => $reglement, 'recapecartdecompte' => $recapecartdecompte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEcartdecomptecons.php b/radiantproduction/Controleur/ControleurEcartdecomptecons.php deleted file mode 100644 index fd23fe6..0000000 --- a/radiantproduction/Controleur/ControleurEcartdecomptecons.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Ecartdecomptecons'); - - $this->reglement = new Reglement(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $recapecartdecompte = $this->reglement->getrecapecartdecompte($idReglement); - - $this->genererVue(array('reglement' => $reglement, 'recapecartdecompte' => $recapecartdecompte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEcheancier.php b/radiantproduction/Controleur/ControleurEcheancier.php deleted file mode 100644 index dc4b9eb..0000000 --- a/radiantproduction/Controleur/ControleurEcheancier.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Echeancier"); - - $this->echeancier = new Echeancier_temp(); - $this->typeecheancier = (new Typeecheancier())->getListe(); - } - public function index() { - $user = $_SESSION['login']; - - $entete_echeancier = $this->entete_echeancier->getEntete_echeancier_temp($user); - - $echeanciers = $this->echeancier->getEcheancier_temp($user); - - $total_echeancier = $this->echeancier->getTotalEcheancier_temp($user); - - $this->genererVue(array('typeecheancier' => $this->typeecheancier, 'entete_echeancier' => $entete_echeancier, - 'echeanciers' => $echeanciers, 'total_echeancier' => $total_echeancier)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEmission.php b/radiantproduction/Controleur/ControleurEmission.php deleted file mode 100644 index 3d1bfff..0000000 --- a/radiantproduction/Controleur/ControleurEmission.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Emission"); - - $this->emission = new Emission(); - $this->quittance = new Quittance(); - } - - public function index() - { - $idEmission = $this->requete->getParametre("id"); - $emission = $this->emission->getEmissionId($idEmission); - $quittances = $this->quittance->getQuittancesEmission($idEmission); - $totalquittance = $this->quittance->getTotalQuittanceEmission($idEmission); - - $_SESSION['idEmission'] = $idEmission; - - $this->genererVue(array('emission' => $emission, 'quittances' => $quittances, 'totalquittance' => $totalquittance)); - } -} diff --git a/radiantproduction/Controleur/ControleurEncaisserbordereau.php b/radiantproduction/Controleur/ControleurEncaisserbordereau.php deleted file mode 100644 index 0854e7b..0000000 --- a/radiantproduction/Controleur/ControleurEncaisserbordereau.php +++ /dev/null @@ -1,82 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Encaisserbordereau'); - - $this->encaissement_temp = new Encaissement_temp(); - $this->encaissement = new Encaissement(); - $this->apporteur = (new Apporteur())->getListe(); - $this->modepaiement = (new Modepaiement())->getListe(); - $this->moyenpaiement = new Moyenpaiement(); - } - public function index() { - - $user = $this->requete->getSession()->getAttribut('login'); - $encaissement = $this->encaissement_temp->getEncaissementTemp($user); - - $codeModePaiement = $encaissement['codeModePaiement']; - $moyenpaiement = $this->moyenpaiement->getListe($codeModePaiement); - - $this->genererVue(array('encaissement' => $encaissement, 'apporteur' => $this->apporteur, - 'modepaiement' => $this->modepaiement, 'moyenpaiement' => $moyenpaiement)); - } - - public function initencaissement() { - $idClient = $_SESSION['idClient_C']; - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeApporteur = $this->requete->getParametre("codeApporteur"); - $codeModePaiement = $this->requete->getParametre("codeModePaiement"); - $codeMoyenPaiement = $this->requete->getParametre("codeMoyenPaiement"); - $referencePaiement = $this->requete->getParametre("referencePaiement"); - $nomTireur = $this->requete->getParametreFormulaire("nomTireur"); - $banquePayeur = $this->requete->getParametreFormulaire("banquePayeur"); - $numeroBordereau = $this->requete->getParametre("numeroBordereau"); - $dateBordereau = $this->requete->getParametreDate("dateBordereau"); - $montant = $this->requete->getParametreFormulaire("montant", "numerique"); - $libelleOperation = $this->requete->getParametre("libelleOperation"); - $dateEncaissement = $this->requete->getParametreDate("dateEncaissement"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - $dateCre = date("Y-m-d H:i:s"); - $user = $this->requete->getSession()->getAttribut('login'); - - $idEncaissementTemp = $this->encaissement_temp->initEncaissement($codeSociete, $codeApporteur, $codeModePaiement, $codeMoyenPaiement, - $referencePaiement, $nomTireur, $banquePayeur, $numeroBordereau, $dateBordereau, $montant, - $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $user); - - if($this->requete->existeParametre("btn_suivant")) - { - $this->rediriger("Encselectionquittances/".$idClient); - } - else - { - $dernierNumeroEncaissement = $this->encaissement->getDenierNumeroEncaissement(); - $dernierNumeroEncaissement++; - - if ($this->encaissement->existeligne($dernierNumeroEncaissement)) { - $dernierNumeroEncaissement++; - } - - $numeroEncaissement = $dernierNumeroEncaissement; - $idEncaissement = $this->encaissement->EnregistrerDepot($idEncaissementTemp, $numeroEncaissement); - $this->encaissement->setDenierNumeroEncaissement($numeroEncaissement); - - $this->rediriger("Ficheencaissement/".$idEncaissement); - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEncaisserclient.php b/radiantproduction/Controleur/ControleurEncaisserclient.php deleted file mode 100644 index d1da7a8..0000000 --- a/radiantproduction/Controleur/ControleurEncaisserclient.php +++ /dev/null @@ -1,59 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Encaisserclient'); - - $this->encaissement_temp = new Encaissement_temp(); - $this->encaissement = new Encaissement(); - $this->modepaiement = (new Modepaiement())->getListe(); - $this->moyenpaiement = new Moyenpaiement(); - } - public function index() { - $user = $this->requete->getSession()->getAttribut('login'); - $idClient = $this->requete->getParametreFormulaire("id"); - $encaissement = $this->encaissement_temp->getEncaissementTempClient($user, $idClient); - - $codeModePaiement = $encaissement['codeModePaiement']; - $moyenpaiement = $this->moyenpaiement->getListe($codeModePaiement); - - $this->genererVue(array('encaissement' => $encaissement, 'modepaiement' => $this->modepaiement, - 'moyenpaiement' => $moyenpaiement)); - } - - public function initencaissement() { - $idClient = $_SESSION['idClient_C']; - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeModePaiement = $this->requete->getParametre("codeModePaiement"); - $codeMoyenPaiement = $this->requete->getParametre("codeMoyenPaiement"); - $referencePaiement = $this->requete->getParametre("referencePaiement"); - $nomTireur = $this->requete->getParametreFormulaire("nomTireur"); - $banquePayeur = $this->requete->getParametreFormulaire("banquePayeur"); - $montant = $this->requete->getParametreFormulaire("montant", "numerique"); - $libelleOperation = $this->requete->getParametre("libelleOperation"); - $dateEncaissement = $this->requete->getParametreDate("dateEncaissement"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - $dateCre = date("Y-m-d H:i:s"); - $user = $this->requete->getSession()->getAttribut('login'); - - $idEncaissementTemp = $this->encaissement_temp->initEncaissementClient($codeSociete, $idClient, $codeModePaiement, $codeMoyenPaiement, - $referencePaiement, $nomTireur, $banquePayeur, $montant, $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $user); - - if($this->requete->existeParametre("btn_suivant")) - { - $this->rediriger("Encselectquitclient/".$idClient); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEncaissergc.php b/radiantproduction/Controleur/ControleurEncaissergc.php deleted file mode 100644 index 89f2925..0000000 --- a/radiantproduction/Controleur/ControleurEncaissergc.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Encaissergc'); - - $this->reglement = new Gestionconfiee(); - $this->modepaiement = (new Pmodepaiement())->getListe(); - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->reglement->getgcreglement($idGcReglement); - - $this->genererVue(array('reglement' => $reglement, 'modepaiement' => $this->modepaiement)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEncaisserquittance.php b/radiantproduction/Controleur/ControleurEncaisserquittance.php deleted file mode 100644 index 5c23479..0000000 --- a/radiantproduction/Controleur/ControleurEncaisserquittance.php +++ /dev/null @@ -1,69 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Encaisserquittance'); - - $this->quittance = new Quittance(); - $this->encaissement = new Encaissement(); - $this->modepaiement = (new Modepaiement())->getListe(); - $this->moyenpaiement = new Moyenpaiement(); - } - public function index() { - $idQuittance = $this->requete->getParametre("id"); - $quittance = $this->quittance->getQuittanceId($idQuittance); - - $moyenpaiement = $this->moyenpaiement->getListe(""); - - $this->genererVue(array('quittance' => $quittance, 'modepaiement' => $this->modepaiement, 'moyenpaiement' => $moyenpaiement)); - } - - public function enregistrer() - { - $idQuittance = $this->requete->getParametre("idQuittance"); - - $codeModePaiement = $this->requete->getParametreFormulaire("codeModePaiement"); - $codeMoyenPaiement = $this->requete->getParametreFormulaire("codeMoyenPaiement"); - $referencePaiement = $this->requete->getParametreFormulaire("referencePaiement"); - $nomTireur = $this->requete->getParametreFormulaire("nomTireur"); - $banquePayeur = $this->requete->getParametreFormulaire("banquePayeur"); - $libelleOperation = $this->requete->getParametreFormulaire("libelleOperation"); - $dateEncaissement = $this->requete->getParametreDate("dateEncaissement"); - $dateComptable = $this->requete->getParametreDate("dateComptable"); - $dateCre = date("Y-m-d H:i:s"); - - $montant = $this->requete->getParametreFormulaire("montant", "numerique"); - $primeTtc_Q = $this->requete->getParametreFormulaire("primeTtc_Q", "numerique"); - $anc_solde = $this->requete->getParametreFormulaire("anc_solde", "numerique"); - - $dernierNumeroEncaissement = $this->encaissement->getDenierNumeroEncaissement(); - $dernierNumeroEncaissement++; - - if ($this->encaissement->existeligne($dernierNumeroEncaissement)) { - $dernierNumeroEncaissement++; - } - - $numeroEncaissement = $dernierNumeroEncaissement; - - $idEncaissement = $this->encaissement->EncaisserQuittance($montant, $primeTtc_Q, $idQuittance, $numeroEncaissement, - $codeModePaiement, $codeMoyenPaiement, $referencePaiement, $nomTireur, $banquePayeur, $libelleOperation, - $dateEncaissement, $dateComptable, $dateCre, $anc_solde); - - $this->encaissement->setDenierNumeroEncaissement($numeroEncaissement); - - $this->rediriger("Ficheencaissement/".$idEncaissement); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEncselectionquittances.php b/radiantproduction/Controleur/ControleurEncselectionquittances.php deleted file mode 100644 index 91c2065..0000000 --- a/radiantproduction/Controleur/ControleurEncselectionquittances.php +++ /dev/null @@ -1,72 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Encselectionquittances"); - - $this->client = new Client(); - $this->quittance = new Quittance(); - $this->encaissement = new Encaissement_temp(); - $this->detailencaissement = new Detailencaissement_temp(); - } - - public function index() - { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $encaissement = $this->encaissement->getEncaissementTempId($idEncaissementTemp); - - $idClient = $this->requete->getParametreFormulaire("id"); - $this->client->getContexteClientId($idClient); - $client = $this->client->getClientId($idClient); - - $quittances = $this->quittance->getQuittancesimpayees($idClient); - - $totalquittanceImpayee = $this->quittance->getTotalQuittanceImpayee($idClient); - - $detailencaissements = $this->detailencaissement->getDetailsEncaissementTemp($idEncaissementTemp); - - $totaldetailencaissement = $this->detailencaissement->getTotaldetailencaissement($idEncaissementTemp); - - $this->genererVue(array('encaissement' => $encaissement, 'client' => $client, 'quittances' => $quittances, - 'detailencaissements' => $detailencaissements, 'totalquittanceImpayee' => $totalquittanceImpayee, - 'detailencaissements' => $detailencaissements, 'totaldetailencaissement' => $totaldetailencaissement)); - } - - public function changercompte() - { - $numeroClient = $this->requete->getParametre("numeroClient"); - $idClient = $this->client->getIdClient($numeroClient); - $this->client->getContexteClientId($idClient); - $this->rediriger("Encselectionquittances", $idClient); - } - - public function changercomptepop() - { - $numeroClient = $this->requete->getParametre("numeroClientpop"); - $idClient = $this->client->getIdClient($numeroClientpop); - $this->client->getContexteClientId($idClient); - $this->rediriger("Encselectionquittances", $idClient); - } - - - public function enregistrerencaissement() - { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $montant_selection = $this->requete->getParametre("montant_selection_enr"); - $this->encaissement->majTotalEncaissement($idEncaissementTemp); - $this->rediriger("Enregencaisbord", $idEncaissementTemp); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEncselectquitclient.php b/radiantproduction/Controleur/ControleurEncselectquitclient.php deleted file mode 100644 index 21693de..0000000 --- a/radiantproduction/Controleur/ControleurEncselectquitclient.php +++ /dev/null @@ -1,50 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Encselectquitclient"); - - $this->quittance = new Quittance(); - $this->encaissement = new Encaissement_temp(); - $this->detailencaissement = new Detailencaissement_temp(); - } - - public function index() - { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $encaissement = $this->encaissement->getEncaissementTempId($idEncaissementTemp); - - $idClient = $_SESSION['idClient_C']; - - $quittances = $this->quittance->getQuittancesimpayees($idClient); - - $totalquittanceImpayee = $this->quittance->getTotalQuittanceImpayee($idClient); - - $detailencaissements = $this->detailencaissement->getDetailsEncaissementTemp($idEncaissementTemp); - - $totaldetailencaissement = $this->detailencaissement->getTotaldetailencaissement($idEncaissementTemp); - - $this->genererVue(array('encaissement' => $encaissement, 'quittances' => $quittances, - 'detailencaissements' => $detailencaissements, 'totalquittanceImpayee' => $totalquittanceImpayee, - 'detailencaissements' => $detailencaissements, 'totaldetailencaissement' => $totaldetailencaissement)); - } - - public function enregistrerencaissement() - { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $montant_selection = $this->requete->getParametre("montant_selection_enr"); - $this->encaissement->majTotalEncaissement($idEncaissementTemp); - $this->rediriger("Enregencaiscli", $idEncaissementTemp); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEnregencaisbord.php b/radiantproduction/Controleur/ControleurEnregencaisbord.php deleted file mode 100644 index 43bda55..0000000 --- a/radiantproduction/Controleur/ControleurEnregencaisbord.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Enregencaisbord'); - - $this->encaissement_temp = new Encaissement_temp(); - $this->encaissement = new Encaissement(); - } - public function index() { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $encaissement = $this->encaissement_temp->getEncaissementTempId($idEncaissementTemp); - $this->genererVue(array('encaissement' => $encaissement)); - } - - public function enregistrer() { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $dernierNumeroEncaissement = $this->encaissement->getDenierNumeroEncaissement(); - $dernierNumeroEncaissement++; - - if ($this->encaissement->existeligne($dernierNumeroEncaissement)) { - $dernierNumeroEncaissement++; - } - - $numeroEncaissement = $dernierNumeroEncaissement; - $idEncaissement = $this->encaissement->EnregistrerBordereau($idEncaissementTemp, $numeroEncaissement); - $this->encaissement->setDenierNumeroEncaissement($numeroEncaissement); - - $this->rediriger("Ficheencaissement/".$idEncaissement); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEnregencaiscli.php b/radiantproduction/Controleur/ControleurEnregencaiscli.php deleted file mode 100644 index 1db5fa9..0000000 --- a/radiantproduction/Controleur/ControleurEnregencaiscli.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Enregencaiscli'); - - $this->encaissement_temp = new Encaissement_temp(); - $this->encaissement = new Encaissement(); - } - public function index() { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $encaissement = $this->encaissement_temp->getEncaissementTempId($idEncaissementTemp); - $this->genererVue(array('encaissement' => $encaissement)); - } - - public function enregistrer() { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $dernierNumeroEncaissement = $this->encaissement->getDenierNumeroEncaissement(); - $dernierNumeroEncaissement++; - - if ($this->encaissement->existeligne($dernierNumeroEncaissement)) { - $dernierNumeroEncaissement++; - } - - $numeroEncaissement = $dernierNumeroEncaissement; - $idEncaissement = $this->encaissement->EnregistrerBordereau($idEncaissementTemp, $numeroEncaissement); - $this->encaissement->setDenierNumeroEncaissement($numeroEncaissement); - - $this->rediriger("Ficheencaissement/".$idEncaissement); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEnvoisms.php b/radiantproduction/Controleur/ControleurEnvoisms.php deleted file mode 100644 index ce7e9b1..0000000 --- a/radiantproduction/Controleur/ControleurEnvoisms.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Envoisms'); - - $this->typedestinatairesms = (new Typedestinatairesms())->getListe(); - $this->messagerie = new Messagerie(); - } - - public function index() - { - $this->messagerie->videdestainairesms(); - - $this->genererVue(array('typedestinatairesms' => $this->typedestinatairesms)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEnvoismscon.php b/radiantproduction/Controleur/ControleurEnvoismscon.php deleted file mode 100644 index 303a2f3..0000000 --- a/radiantproduction/Controleur/ControleurEnvoismscon.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Envoismscon'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurErreur.php b/radiantproduction/Controleur/ControleurErreur.php deleted file mode 100644 index 71cbcf5..0000000 --- a/radiantproduction/Controleur/ControleurErreur.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Erreur"); - } - - public function index() - { - $msgErreur = $this->requete->getParametre("id"); - $this->genererVue(array('msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEtatsassuranceindividuelle.php b/radiantproduction/Controleur/ControleurEtatsassuranceindividuelle.php deleted file mode 100644 index 25aa8c7..0000000 --- a/radiantproduction/Controleur/ControleurEtatsassuranceindividuelle.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Etatsassuranceindividuelle'); - - $this->etat = new Statistique(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $entete_stat = $this->etat->entetestatfamiliale($idPolice); - - $enteteetats = $this->etat->getListeEnteteEtatFamiliale(); - - $codeEnteteEtat = ""; - $etats = $this->etat->getListeEtatFamilialeFiltre($codeEnteteEtat); - - $this->genererVue(array('entete_stat' => $entete_stat, 'enteteetats' => $enteteetats, 'etats' => $etats)); - } - - public function enteteetatsassuranceindividuelle() - { - $codeEnteteEtat = $this->requete->getParametreFormulaire("codeEnteteEtat"); - - $etats = $this->etat->getListeEtatFamilialeFiltre($codeEnteteEtat); - - $this->genererVueAjax(array('etats' => $etats)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEtatsperso.php b/radiantproduction/Controleur/ControleurEtatsperso.php deleted file mode 100644 index 8623956..0000000 --- a/radiantproduction/Controleur/ControleurEtatsperso.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Etatsperso'); - - $this->requetesperso = new Requetesperso(); - } - - public function index() - { - $etats = $this->requetesperso->getListeEtatPerso(); - - $this->genererVue(array('etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEtatsproduction.php b/radiantproduction/Controleur/ControleurEtatsproduction.php deleted file mode 100644 index 6eb5dbe..0000000 --- a/radiantproduction/Controleur/ControleurEtatsproduction.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Etatsproduction'); - - $this->etat = new Statistique(); - } - - public function index() - { - $etats = $this->etat->getListeEtatProd(); - - $this->genererVue(array('etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEtatssinistre.php b/radiantproduction/Controleur/ControleurEtatssinistre.php deleted file mode 100644 index 7fcda29..0000000 --- a/radiantproduction/Controleur/ControleurEtatssinistre.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Etatssinistre'); - - $this->etat = new Statistique(); - } - - public function index() - { - $etats = $this->etat->getListeEtatSin(); - - $this->genererVue(array('etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurEtatssyntheses.php b/radiantproduction/Controleur/ControleurEtatssyntheses.php deleted file mode 100644 index 5fdee5a..0000000 --- a/radiantproduction/Controleur/ControleurEtatssyntheses.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Etatssyntheses'); - - $this->etat = new Statistique(); - } - - public function index() - { - $etats = $this->etat->getListeEtatSynthese(); - - $this->genererVue(array('etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurExclusion.php b/radiantproduction/Controleur/ControleurExclusion.php deleted file mode 100644 index c237a24..0000000 --- a/radiantproduction/Controleur/ControleurExclusion.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Exclusion'); - - $this->exclusion = new Exclusioncollege(); - } - - public function index() { - $idCollege = $_SESSION['idCollege_C']; - - $exclusions = $this->exclusion->getExclusionFamille($idCollege); - - $this->genererVue(array('exclusions' => $exclusions)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurExclusionfam.php b/radiantproduction/Controleur/ControleurExclusionfam.php deleted file mode 100644 index 4086d22..0000000 --- a/radiantproduction/Controleur/ControleurExclusionfam.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Exclusionfam'); - - $this->exclusion = new Exclusioncollege(); - } - - public function index() { - $idCollege = $_SESSION['idCollege_C']; - - $exclusions = $this->exclusion->getExclusionFamille($idCollege); - - $this->genererVue(array('exclusions' => $exclusions)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurExclusionscollege.php b/radiantproduction/Controleur/ControleurExclusionscollege.php deleted file mode 100644 index e98eeee..0000000 --- a/radiantproduction/Controleur/ControleurExclusionscollege.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Exclusionscollege'); - - $this->college = (new Collegepolice())->getListeToutes($_SESSION['idPolice_C']); - } - - public function index() { - $idPolice = $_SESSION['idPolice_C']; - - $this->genererVue(array('college' => $this->college)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurExporterbons.php b/radiantproduction/Controleur/ControleurExporterbons.php deleted file mode 100644 index 8169d24..0000000 --- a/radiantproduction/Controleur/ControleurExporterbons.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Exporterbons'); - - $this->typebon = (new Typebon())->getListe(); - $this->etatbon = (new Etatbon())->getListe(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire_courant' => $prestataire_courant, 'typebon' => $this->typebon, 'etatbon' => $this->etatbon)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurExporterpaiementdecompte.php b/radiantproduction/Controleur/ControleurExporterpaiementdecompte.php deleted file mode 100644 index 0ab0fcc..0000000 --- a/radiantproduction/Controleur/ControleurExporterpaiementdecompte.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Exporterpaiementdecompte'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurExtranetadherent.php b/radiantproduction/Controleur/ControleurExtranetadherent.php deleted file mode 100644 index 8faf8ab..0000000 --- a/radiantproduction/Controleur/ControleurExtranetadherent.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Extranetadherent"); - - $this->adherent = new Adherent(); - } - public function index() { - $idAdherent = $_SESSION['idAdherent_C']; - - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - - $this->genererVue(array('adherent' => $adherent)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFactureclassique.php b/radiantproduction/Controleur/ControleurFactureclassique.php deleted file mode 100644 index 41f4c36..0000000 --- a/radiantproduction/Controleur/ControleurFactureclassique.php +++ /dev/null @@ -1,46 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Factureclassique'); - - $this->facture = new Facture(); - $this->prestation = new Prestationactes(); - $this->beneficiaire = new Beneficiaire(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $idDossierClassique = $_SESSION['idDossierClassique'] ; - - $dossier = $this->facture->getdossierclassique($idDossierClassique); - - $this->facture->init_facture_classique(); - - $facture = $this->facture->getfactureclassique_temp(); - - $prestations = $this->facture->getprestationsclassiques_temp(); - - $garantieadherent_temp = $this->facture->afficher_garantieadherent_temp(); - - $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); - - $limite_beneficiaire = $this->prestation->getLimitesBeneficiaireTempAssureur(); - - $this->genererVue(array('facture' => $facture, 'prestations' => $prestations, 'garantieadherent_temp' => $garantieadherent_temp, - 'dossier' => $dossier, 'limite_beneficiaire' => $limite_beneficiaire)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturecons.php b/radiantproduction/Controleur/ControleurFacturecons.php deleted file mode 100644 index 1319038..0000000 --- a/radiantproduction/Controleur/ControleurFacturecons.php +++ /dev/null @@ -1,19 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Facturecons'); - - $_SESSION['idFacture_C'] = "0"; - - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFactureconsprestataire.php b/radiantproduction/Controleur/ControleurFactureconsprestataire.php deleted file mode 100644 index b2e8f48..0000000 --- a/radiantproduction/Controleur/ControleurFactureconsprestataire.php +++ /dev/null @@ -1,19 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Factureconsprestataire'); - - $_SESSION['idFacture_C'] = "0"; - - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturegccons.php b/radiantproduction/Controleur/ControleurFacturegccons.php deleted file mode 100644 index b473dba..0000000 --- a/radiantproduction/Controleur/ControleurFacturegccons.php +++ /dev/null @@ -1,133 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Facturegccons'); - - $this->prescription = new Prescription(); - $this->detailprescription = new Detailprescription(); - $this->ged = new Ged(); - } - - - public function index($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->enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrergedprescription($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; - - $numeroPrescription = $_SESSION['numeroPrescription_C']; - - $prescription = $this->prescription->getprescription($numeroPrescription); - - $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); - - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - unset($_FILES['fichier_upload']); - $geds = $this->ged->getgedpharmacie(); - - $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'geds' => $geds, 'msgErreur' => $msgErreur)); - - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturenoncharge.php b/radiantproduction/Controleur/ControleurFacturenoncharge.php deleted file mode 100644 index 5865945..0000000 --- a/radiantproduction/Controleur/ControleurFacturenoncharge.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Facturenoncharge'); - - $this->reglement = new Reglement(); - $this->facture = new Facture(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - $this->genererVue(array('reglement' => $reglement)); - /* - $decomptes = $this->reglement->getdetaildecompte($idReglement); - - $this->genererVue(array('reglement' => $reglement, 'decomptes' => $decomptes)); - */ - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturercollege.php b/radiantproduction/Controleur/ControleurFacturercollege.php deleted file mode 100644 index f358a32..0000000 --- a/radiantproduction/Controleur/ControleurFacturercollege.php +++ /dev/null @@ -1,56 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Facturercollege"); - - $this->college = new Collegepolice(); - $this->quittance = new Quittance(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $colleges = $this->college->getCollegeAfacturer($idPolice); - $totalafacturer = $this->college->getTotalAfacturer($idPolice); - $this->genererVue(array('colleges' => $colleges, 'totalafacturer' => $totalafacturer)); - } - - public function facturer() { - $idPolice = $_SESSION['idPolice_C']; - - $nbAliment = $this->college->getNbAfacturer($idPolice); - if ($nbAliment>0) - { - $dernierNumeroQuittance = $this->quittance->getDenierNumeroQuittance(); - $dernierNumeroQuittance++; - - if ($this->quittance->existeligne($dernierNumeroQuittance)) { - $dernierNumeroQuittance++; - } - - $numeroQuittance = $dernierNumeroQuittance; - $idQuittance = $this->quittance->facturerCollege($idPolice, $numeroQuittance, $nbAliment); - $this->quittance->setDenierNumeroQuittance($numeroQuittance); - - $this->college->majEtatFacturation($idPolice, $numeroQuittance, $idQuittance); - } - - $this->rediriger("Facturercollege"); - } - - public function selectionnertout() { - $choix = $this->requete->getParametre("id"); - $idPolice = $_SESSION['idPolice_C']; - $this->college->selectionnertout($idPolice, $choix); - - $this->rediriger("Facturercollege"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturerpolice.php b/radiantproduction/Controleur/ControleurFacturerpolice.php deleted file mode 100644 index 6894909..0000000 --- a/radiantproduction/Controleur/ControleurFacturerpolice.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Facturerpolice"); - - $this->beneficiaire = new Beneficiaire(); - $this->college = (new Collegepolice())->getListe($_SESSION['idPolice_C']); - } - public function index() - { - $this->beneficiaire->initfacturationpolice(); - - $this->genererVue(array('college' => $this->college)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFactures.php b/radiantproduction/Controleur/ControleurFactures.php deleted file mode 100644 index bf02b03..0000000 --- a/radiantproduction/Controleur/ControleurFactures.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Factures'); - - $this->facture = new Facture(); - } - - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $factures = $this->facture->getfactures($idBeneficiaire, $d1, $d2) ; - - $this->genererVue(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturesfamille.php b/radiantproduction/Controleur/ControleurFacturesfamille.php deleted file mode 100644 index 10d89ae..0000000 --- a/radiantproduction/Controleur/ControleurFacturesfamille.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Facturesfamille'); - - $this->facture = new Facture(); - } - - public function index() { - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $factures = $this->facture->getfacturesfamille($idAdherent, $d1, $d2) ; - - $this->genererVue(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturesfamilleadh.php b/radiantproduction/Controleur/ControleurFacturesfamilleadh.php deleted file mode 100644 index 1421e07..0000000 --- a/radiantproduction/Controleur/ControleurFacturesfamilleadh.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Facturesfamilleadh'); - - $this->facture = new Facture(); - } - - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $factures = $this->facture->getfacturesfamille($idAdherent, $d1, $d2) ; - - $this->genererVue(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFacturesfeuille.php b/radiantproduction/Controleur/ControleurFacturesfeuille.php deleted file mode 100644 index ab78089..0000000 --- a/radiantproduction/Controleur/ControleurFacturesfeuille.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Facturesfeuille'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFeuillemaladiecons.php b/radiantproduction/Controleur/ControleurFeuillemaladiecons.php deleted file mode 100644 index e4897b8..0000000 --- a/radiantproduction/Controleur/ControleurFeuillemaladiecons.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Feuillemaladiecons'); - - $this->feuillemaladie = new Feuillemaladie(); - $this->prestation = new Prestationactes(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $feuillemaladie = $this->feuillemaladie->getfeuillemaladie($numeroFeuilleMaladie); - - $codePrestataire = $_SESSION['codePrestataire_C']; - - $prestations = $this->prestation->getprestationsfeuille($numeroFeuilleMaladie, $codePrestataire); - - $this->genererVue(array('feuillemaladie' => $feuillemaladie, 'prestations' => $prestations)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFeuillemaladiedec.php b/radiantproduction/Controleur/ControleurFeuillemaladiedec.php deleted file mode 100644 index 0d710e5..0000000 --- a/radiantproduction/Controleur/ControleurFeuillemaladiedec.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Feuillemaladiedec'); - - $this->feuillemaladie = new Feuillemaladie(); - $this->prestation = new Prestationactes(); - } - - public function index() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $feuillemaladie = $this->feuillemaladie->getfeuillemaladie($numeroFeuilleMaladie); - - $codePrestataire = $_SESSION['codePrestataire_C']; - - $prestations = $this->prestation->getprestationsfeuille($numeroFeuilleMaladie, $codePrestataire); - - $this->genererVue(array('feuillemaladie' => $feuillemaladie, 'prestations' => $prestations)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheadherent.php b/radiantproduction/Controleur/ControleurFicheadherent.php deleted file mode 100644 index b5ef345..0000000 --- a/radiantproduction/Controleur/ControleurFicheadherent.php +++ /dev/null @@ -1,50 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheadherent"); - - $this->adherent = new Adherent(); - $this->beneficiaire = new Beneficiaire(); - $this->garantieadherent = new Garantieadherent(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - - $idPolice = $_SESSION['idPolice_C']; - $this->adherent->getNbassure($idPolice); - - $idAdherent = $this->requete->getParametre("id"); - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - $beneficiaires = $this->beneficiaire->getBeneficiairesId($idAdherent); - $totalbeneficiaires = $this->beneficiaire->getTotalBeneficiairesId($idAdherent); - - $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); - - $this->adherent->controlerplafondadherentannuel($idAdherent); - $_SESSION['controlerPlafondBeneficiaire'] = "0"; - - $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); - - $this->genererVue(array('adherent' => $adherent, 'beneficiaires' => $beneficiaires, 'totalbeneficiaires' => $totalbeneficiaires, - 'garantieadherents' => $garantieadherents, 'limite_adherent' => $limite_adherent)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->adherent->supprimer($id); - $this->rediriger("Listeadherent"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheadherentfamiliale.php b/radiantproduction/Controleur/ControleurFicheadherentfamiliale.php deleted file mode 100644 index a0069de..0000000 --- a/radiantproduction/Controleur/ControleurFicheadherentfamiliale.php +++ /dev/null @@ -1,52 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheadherentfamiliale"); - - $this->adherent = new Adherent(); - $this->beneficiaire = new Beneficiaire(); - $this->garantieadherent = new Garantieadherent(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - - $idPolice = $_SESSION['idPolice_C']; - $this->adherent->getNbassure($idPolice); - - $idAdherent = $this->requete->getParametre("id"); - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - $beneficiaires = $this->beneficiaire->getBeneficiairesId($idAdherent); - $totalbeneficiaires = $this->beneficiaire->getTotalBeneficiairesId($idAdherent); - - $recapprimeadhrent = $this->adherent->getrecapprimeadhrent($idAdherent); - - $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); - - $this->adherent->controlerplafondadherentannuel($idAdherent); - $_SESSION['controlerPlafondBeneficiaire'] = "0"; - - $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); - - $this->genererVue(array('adherent' => $adherent, 'beneficiaires' => $beneficiaires, 'totalbeneficiaires' => $totalbeneficiaires, - 'garantieadherents' => $garantieadherents, 'limite_adherent' => $limite_adherent, 'recapprimeadhrent' => $recapprimeadhrent)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->adherent->supprimer($id); - $this->rediriger("Listeadherent"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichebeneficiaire.php b/radiantproduction/Controleur/ControleurFichebeneficiaire.php deleted file mode 100644 index 5c0d1e9..0000000 --- a/radiantproduction/Controleur/ControleurFichebeneficiaire.php +++ /dev/null @@ -1,220 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Fichebeneficiaire'); - - $this->beneficiaire = new Beneficiaire(); - $this->police = new Police(); - $this->garantieadherent = new Garantieadherent(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $this->beneficiaire->getModeBiometrie(); - - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $id = $this->requete->getParametre("id"); - $idBeneficiaire = $id; - - $this->beneficiaire->getContexteBeneficiaireId($id); - - $codeTypeContrat = $_SESSION['codeTypeContrat']; - if($codeTypeContrat=="F") - { - // $this->rediriger("Fichebeneficiairefamiliale"); - $this->rediriger("Fichebeneficiairefamiliale", $idBeneficiaire); - exit(); - } - else - { - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $idAdherent = $_SESSION['idAdherent_C']; - - $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($idBeneficiaire); - - $message = ""; - $nouveau_fichier = "Rien"; - - - if(!empty($_POST)) - { - // define('TARGET', $_SESSION['dossierSociete'].'/Photos/'); // Repertoire cible - define('TARGET', $_SESSION['lienPhotoFace']); // Repertoire cible - define('MAX_SIZE', 100000); // Taille max en octets du fichier - define('WIDTH_MAX', 800); // Largeur max de l'image en pixels - define('HEIGHT_MAX', 800); // Hauteur max de l'image en pixels - - $tabExt = array('jpg','png','jpeg'); // Extensions autorisees - $infosImg = array(); - - $extension = ''; - $nomImage = ''; - - 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 !'; - } - } - - /* - var_dump($_FILES); - exit(); - */ - - if( !empty($_FILES['fichier_image_a_uploader']['name']) ) - { - if(!empty($_FILES['fichier_image_a_uploader']['tmp_name'])) - { - $extension = pathinfo($_FILES['fichier_image_a_uploader']['name'], PATHINFO_EXTENSION); - - if(in_array(strtolower($extension),$tabExt)) - { - $infosImg = getimagesize($_FILES['fichier_image_a_uploader']['tmp_name']); - - // On verifie le type de l'image - if($infosImg[2] >= 1 && $infosImg[2] <= 14) - { - // On verifie les dimensions et taille de l'image - // if(($infosImg[0] <= WIDTH_MAX) && ($infosImg[1] <= HEIGHT_MAX) && (filesize($_FILES['fichier_image_a_uploader']['tmp_name']) <= MAX_SIZE)) - // { - // Parcours du tableau d'erreurs - if(isset($_FILES['fichier_image_a_uploader']['error']) - && UPLOAD_ERR_OK === $_FILES['fichier_image_a_uploader']['error']) - { - // On renomme le fichier temporaire - $rand = rand(1,1000000); - $nomImageTemp = $_SESSION['numeroBeneficiaire_C']."_".$rand.'.'. $extension; - - // Si c'est OK, on teste l'upload - if(move_uploaded_file($_FILES['fichier_image_a_uploader']['tmp_name'], TARGET.$nomImageTemp)) - { - $src = TARGET.$nomImageTemp; - // On va réduire la taille de l'image - // On renomme le fichier - $rand = rand(1,1000000); - $nomImage = $_SESSION['numeroBeneficiaire_C']."_".$rand.'.jpg'; - - $imgtype = image_type_to_mime_type($infosImg[2]); - - switch ($imgtype) { - case 'image/jpeg': - $source_image = imagecreatefromjpeg($src); - break; - case 'image/jpg': - $source_image = imagecreatefromjpeg($src); - break; - case 'image/png': - $source_image = imagecreatefrompng($src); - break; - } - - $width = imagesx($source_image); - $desired_width = $width; - if ($desired_width > $_SESSION['largeurPhoto']) - { - $desired_width = $_SESSION['largeurPhoto']; - } - $height = imagesy($source_image); - - $desired_height = floor($height * ($desired_width / $width)); - - $virtual_image = imagecreatetruecolor($desired_width, $desired_height); - - imagecopyresampled($virtual_image, $source_image, 0, 0, 0, 0, $desired_width, $desired_height, $width, $height); - - imagejpeg($virtual_image, TARGET.$nomImage, -1); - - $nouveau_fichier = $nomImage; - $message = 'Chargement réussi !'; - $this->beneficiaire->changerPhoto($id, $nomImage); - $this->beneficiaire->registerface($_SESSION['numeroBeneficiaire_C']); - $_SESSION['lienPhoto_C'] = $nomImage; - - unlink(TARGET.$nomImageTemp); - } - else - { - // Sinon on affiche une erreur systeme - $message = 'Problème lors du chargement !'; - } - } - else - { - $message = 'Une erreur interne a empêché le chargement'; - } - /* - } - else - { - // Sinon erreur sur les dimensions et taille de l'image - $message = 'Erreur dans les dimensions du fichier !'; - } - */ - } - else - { - // Sinon erreur sur le type de l'image - $message = 'Le fichier à charger n\'est pas une image !'; - } - } - else - { - // Sinon on affiche une erreur pour l'extension - $message = 'L\'extension du fichier est incorrecte !'; - } - } - else - { - // Sinon on affiche une erreur pour l'extension - $message = 'Revoir votre fichier image!'; - } - } - else - { - // Sinon on affiche une erreur pour le champ vide - $message = 'Veuillez sélectionner un fichier SVP !'; - } - // fin upload - } - // dans tous les cas, on lance la page !!! - // On charge maintenant les infos du béneficiaire - - $beneficiaire = $this->beneficiaire->getBeneficiaireId($id); - $_SESSION['dateEffetCouvert'] = $beneficiaire['dateEffetCouvert']; - - $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); - - $limite_beneficiaire = $this->garantieadherent->getLimitesBeneficiaire($idBeneficiaire); - - $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'message' => $message, 'nouveau_fichier' => $nouveau_fichier, - 'garantieadherents' => $garantieadherents, 'limite_beneficiaire' => $limite_beneficiaire, 'limite_adherent' => $limite_adherent)); - } - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->beneficiaire->supprimer($id); - $this->rediriger("Ficheadherent/".$_SESSION['idAdherent_C']); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichebeneficiairefamiliale.php b/radiantproduction/Controleur/ControleurFichebeneficiairefamiliale.php deleted file mode 100644 index 56b429f..0000000 --- a/radiantproduction/Controleur/ControleurFichebeneficiairefamiliale.php +++ /dev/null @@ -1,215 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Fichebeneficiairefamiliale'); - - $this->beneficiaire = new Beneficiaire(); - $this->police = new Police(); - $this->garantieadherent = new Garantieadherent(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $this->beneficiaire->getModeBiometrie(); - - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $id = $this->requete->getParametre("id"); - $idBeneficiaire = $id; - - $this->beneficiaire->getContexteBeneficiaireId($id); - - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $idAdherent = $_SESSION['idAdherent_C']; - - $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($idBeneficiaire); - - $message = ""; - $nouveau_fichier = "Rien"; - - // var_dump($_POST); - // exit(); - - - if(!empty($_POST)) - { - // define('TARGET', $_SESSION['dossierSociete'].'/Photos/'); // Repertoire cible - define('TARGET', $_SESSION['lienPhotoFace']); // Repertoire cible - define('MAX_SIZE', 100000); // Taille max en octets du fichier - define('WIDTH_MAX', 800); // Largeur max de l'image en pixels - define('HEIGHT_MAX', 800); // Hauteur max de l'image en pixels - - $tabExt = array('jpg','png','jpeg'); // Extensions autorisees - $infosImg = array(); - - $extension = ''; - $nomImage = ''; - - 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 !'; - } - } - - /* - var_dump($_FILES); - exit(); - */ - - if( !empty($_FILES['fichier_image_a_uploader']['name']) ) - { - if(!empty($_FILES['fichier_image_a_uploader']['tmp_name'])) - { - $extension = pathinfo($_FILES['fichier_image_a_uploader']['name'], PATHINFO_EXTENSION); - - if(in_array(strtolower($extension),$tabExt)) - { - $infosImg = getimagesize($_FILES['fichier_image_a_uploader']['tmp_name']); - - // On verifie le type de l'image - if($infosImg[2] >= 1 && $infosImg[2] <= 14) - { - // On verifie les dimensions et taille de l'image - // if(($infosImg[0] <= WIDTH_MAX) && ($infosImg[1] <= HEIGHT_MAX) && (filesize($_FILES['fichier_image_a_uploader']['tmp_name']) <= MAX_SIZE)) - // { - // Parcours du tableau d'erreurs - if(isset($_FILES['fichier_image_a_uploader']['error']) - && UPLOAD_ERR_OK === $_FILES['fichier_image_a_uploader']['error']) - { - // On renomme le fichier temporaire - $rand = rand(1,1000000); - $nomImageTemp = $_SESSION['numeroBeneficiaire_C']."_".$rand.'.'. $extension; - - // Si c'est OK, on teste l'upload - if(move_uploaded_file($_FILES['fichier_image_a_uploader']['tmp_name'], TARGET.$nomImageTemp)) - { - $src = TARGET.$nomImageTemp; - // On va réduire la taille de l'image - // On renomme le fichier - $rand = rand(1,1000000); - $nomImage = $_SESSION['numeroBeneficiaire_C']."_".$rand.'.jpg'; - - $imgtype = image_type_to_mime_type($infosImg[2]); - - switch ($imgtype) { - case 'image/jpeg': - $source_image = imagecreatefromjpeg($src); - break; - case 'image/jpg': - $source_image = imagecreatefromjpeg($src); - break; - case 'image/png': - $source_image = imagecreatefrompng($src); - break; - } - - $width = imagesx($source_image); - $desired_width = $width; - if ($desired_width > $_SESSION['largeurPhoto']) - { - $desired_width = $_SESSION['largeurPhoto']; - } - $height = imagesy($source_image); - - $desired_height = floor($height * ($desired_width / $width)); - - $virtual_image = imagecreatetruecolor($desired_width, $desired_height); - - imagecopyresampled($virtual_image, $source_image, 0, 0, 0, 0, $desired_width, $desired_height, $width, $height); - - imagejpeg($virtual_image, TARGET.$nomImage, -1); - - $nouveau_fichier = $nomImage; - $message = 'Chargement réussi !'; - $this->beneficiaire->changerPhoto($id, $nomImage); - $_SESSION['lienPhoto_C'] = $nomImage; - - unlink(TARGET.$nomImageTemp); - } - else - { - // Sinon on affiche une erreur systeme - $message = 'Problème lors du chargement !'; - } - } - else - { - $message = 'Une erreur interne a empêché le chargement'; - } - /* - } - else - { - // Sinon erreur sur les dimensions et taille de l'image - $message = 'Erreur dans les dimensions du fichier !'; - } - */ - } - else - { - // Sinon erreur sur le type de l'image - $message = 'Le fichier à charger n\'est pas une image !'; - } - } - else - { - // Sinon on affiche une erreur pour l'extension - $message = 'L\'extension du fichier est incorrecte !'; - } - } - else - { - // Sinon on affiche une erreur pour l'extension - $message = 'Revoir votre fichier image!'; - } - } - else - { - // Sinon on affiche une erreur pour le champ vide - $message = 'Veuillez sélectionner un fichier SVP !'; - } - - // echo "message => $message"; - // exit(); - // fin upload - } - // dans tous les cas, on lance la page !!! - // On charge maintenant les infos du béneficiaire - - $beneficiaire = $this->beneficiaire->getBeneficiaireId($id); - $_SESSION['dateEffetCouvert'] = $beneficiaire['dateEffetCouvert']; - - $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); - - $limite_beneficiaire = $this->garantieadherent->getLimitesBeneficiaire($idBeneficiaire); - - $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'message' => $message, 'nouveau_fichier' => $nouveau_fichier, - 'garantieadherents' => $garantieadherents, 'limite_beneficiaire' => $limite_beneficiaire, 'limite_adherent' => $limite_adherent)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->beneficiaire->supprimer($id); - $this->rediriger("Ficheadherent/".$_SESSION['idAdherent_C']); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheclient.php b/radiantproduction/Controleur/ControleurFicheclient.php deleted file mode 100644 index dc7e38b..0000000 --- a/radiantproduction/Controleur/ControleurFicheclient.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheclient"); - - $this->client = new Client(); - $this->police = new Police(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $id = $_SESSION['idClientAjax']; - - $this->client->getContexteClientId($id); - $client = $this->client->getClientId($id); - $polices = $this->police->getPolicesId($id); - - $this->genererVue(array('client' => $client, 'polices' => $polices)); - } - - public function supprimer() { - $id = $_SESSION['idClientAjax']; - - if($this->client->supprimer($id)) - { - $this->rediriger("Listeclients"); - } - else - { - $this->rediriger("Ficheclient"); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichedecompte.php b/radiantproduction/Controleur/ControleurFichedecompte.php deleted file mode 100644 index 04aec58..0000000 --- a/radiantproduction/Controleur/ControleurFichedecompte.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Fichedecompte'); - - $this->reglement = new Reglement(); - $this->facture = new Facture(); - } - - public function index() - { - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - $this->genererVue(array('reglement' => $reglement)); - /* - $decomptes = $this->reglement->getdetaildecompte($idReglement); - - $this->genererVue(array('reglement' => $reglement, 'decomptes' => $decomptes)); - */ - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichedevis.php b/radiantproduction/Controleur/ControleurFichedevis.php deleted file mode 100644 index 0631ed2..0000000 --- a/radiantproduction/Controleur/ControleurFichedevis.php +++ /dev/null @@ -1,63 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichedevis"); - - $this->police = new Police_d(); - $this->college = new Collegepolice_d(); - - $_SESSION['modeDevis'] = "1"; - } - - public function index() - { - $idPolice = $_SESSION['idPolice_d_Ajax']; - - $this->police->getContextePoliceId($idPolice); - $police = $this->police->getPoliceId($idPolice); - - $numeroOptionTarif = $_SESSION['numeroOptionTarif']; - - $optionstarif = $this->college->getoptionstarif($idPolice); - - $colleges = $this->college->getCollegesPolice($idPolice, $numeroOptionTarif); - - $totalcollege = $this->college->getTotaldcollege($idPolice, $numeroOptionTarif); - - $this->genererVue(array('police' => $police, 'colleges' => $colleges, 'totalcollege' => $totalcollege, - 'optionstarif' => $optionstarif)); - } - - public function supprimer() - { - $idPolice = $_SESSION['idPolice_d_Ajax']; - - if($this->police->supprimer($idPolice)) - { - $this->rediriger("Ficheprospect"); - } - else - { - $this->rediriger("Fichedevis"); - } - } - - public function supprimerCollege() - { - $idCollege = $this->requete->getParametre("id"); - - $this->college->supprimer($idCollege); - $this->rediriger("Fichedevis"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheencaissement.php b/radiantproduction/Controleur/ControleurFicheencaissement.php deleted file mode 100644 index 5a240a9..0000000 --- a/radiantproduction/Controleur/ControleurFicheencaissement.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheencaissement"); - - $this->encaissement = new Encaissement(); - $this->detailencaissement = new Detailencaissement(); - } - - public function index() - { - $idEncaissement = $this->requete->getParametre("id"); - - // throw new Exception("idEncaissement ='$idEncaissement'"); - - $encaissement = $this->encaissement->getEncaissementId($idEncaissement); - - $detailencaissements = $this->detailencaissement->getDetailsEncaissement($idEncaissement); - - $this->genererVue(array('encaissement' => $encaissement, 'detailencaissements' => $detailencaissements)); - } - - public function imprimerrecu() - { - $idEncaissement = $this->requete->getParametre("id"); - require_once 'Societes/'.$_SESSION['codeSociete'].'/Etats/Etrecucaisse.php'; - $this->etat = new Etrecucaisse(); - $this->etat->imprimer($idEncaissement); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichegcassureur.php b/radiantproduction/Controleur/ControleurFichegcassureur.php deleted file mode 100644 index b686765..0000000 --- a/radiantproduction/Controleur/ControleurFichegcassureur.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichegcassureur"); - - $this->gc = new Gestionconfiee(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $idGc = $this->requete->getParametreFormulaire("id"); - - $gc = $this->gc->getGcAssureurId($idGc); - - $this->genererVue(array('gc' => $gc)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichegcpolice.php b/radiantproduction/Controleur/ControleurFichegcpolice.php deleted file mode 100644 index aa65391..0000000 --- a/radiantproduction/Controleur/ControleurFichegcpolice.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichegcpolice"); - - $this->gc = new Gestionconfiee(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $idPolice = $this->requete->getParametreFormulaire("id"); - - $_SESSION['idPolice_C'] = $idPolice; - - $gc = $this->gc->sp_getGcPoliceId($idPolice); - - $this->genererVue(array('gc' => $gc)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichelimiteadditionnelle.php b/radiantproduction/Controleur/ControleurFichelimiteadditionnelle.php deleted file mode 100644 index 73154bd..0000000 --- a/radiantproduction/Controleur/ControleurFichelimiteadditionnelle.php +++ /dev/null @@ -1,44 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichelimiteadditionnelle"); - - $this->avenant = new Police(); - $this->college_temp = new College_temp(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $dateAvenant = $_SESSION['dateAvenant_C']; - - $emission = $this->avenant->getEmissionTemp($idPolice); - $avenant = $this->avenant->getAvenantTemp($idPolice); - - $_SESSION['aFacturer'] = $avenant['aFacturer']; - - $sppolice = $this->avenant->getRapportSpPolice($idPolice, $dateAvenant); - - $_SESSION['rapportsp'] = $sppolice['rapportsp']; - - $colleges = $this->college_temp->getCollegesPolice(); - $totalcollege = $this->college_temp->getTotaldcollege($idPolice); - - $this->genererVue(array('emission' => $emission, 'avenant' => $avenant, 'sppolice' => $sppolice, - 'colleges' => $colleges, 'totalcollege' => $totalcollege)); - } - - public function enregistrerlimiteadditionnelle() - { - $this->avenant->enregistrerlimiteadditionnelle(); - - $this->rediriger("Fichepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichemedecin.php b/radiantproduction/Controleur/ControleurFichemedecin.php deleted file mode 100644 index 35836d2..0000000 --- a/radiantproduction/Controleur/ControleurFichemedecin.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichemedecin"); - - $this->medecin = new Medecin(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() - { - $idMedecin = $this->requete->getParametreFormulaire("id"); - - $medecin = $this->medecin->getunmedecin($idMedecin); - - $this->genererVue(array('medecin' => $medecin)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichepolice.php b/radiantproduction/Controleur/ControleurFichepolice.php deleted file mode 100644 index 3e1d579..0000000 --- a/radiantproduction/Controleur/ControleurFichepolice.php +++ /dev/null @@ -1,187 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichepolice"); - - $this->police = new Police(); - $this->quittance = new Quittance(); - $this->ged = new Ged(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index($msgErreur=null) - { - $idPolice = $_SESSION['idPoliceAjax']; - - $message = ""; - - $nouveau_fichier = "Rien"; - - if(!empty($_POST)) - { - define('TARGET', $_SESSION['cheminGed']); // Repertoire cible - define('MAX_SIZE', 10000000); // Taille max en octets du fichier - - $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->enregistrergedfichepolice($idPolice, $nomOrigine, $nouveau_fichier, $taille); - $this->rediriger("Fichepolice"); - } - 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; - - - unset($_FILES['fichier_upload']); - - - $this->police->getContextePoliceId($idPolice); - - $police = $this->police->getPoliceId($idPolice); - - $totalquittance = $this->quittance->getTotalQuittance($idPolice); - - $nb_non_facturees = $this->police->fn_primes_non_facturees_police($idPolice); - - $geds = $this->ged->getgedfichepolice($idPolice); - - $this->genererVue - ( - array - ( - 'police' => $police, - 'totalquittance' => $totalquittance, - 'nb_non_facturees' => $nb_non_facturees, - 'geds' => $geds, - 'msgErreur' => $msgErreur - ) - ); - } - - public function supprimer() - { - $id = $_SESSION['idPoliceAjax']; - - if($this->police->supprimer($id)) - { - $this->rediriger("Ficheclient"); - } - else - { - $this->rediriger("Fichepolice"); - } - } - - public function imprimerquittance() { - $IdQuittance = $this->requete->getParametre("id"); - require_once 'Societes/'.$_SESSION['codeSociete'].'/Etats/Etquittance.php'; - $this->etat = new Etquittance(); - $this->etat->imprimer($IdQuittance); - } - - public function activergc() - { - $id = $_SESSION['idPoliceAjax']; - - $this->police->activergc($id); - - $this->rediriger("Gcpolices"); - } - - - public function desactivergc() - { - $idPolice = $this->requete->getParametre("id"); - - $this->police->desactivergc($idPolice); - - $this->rediriger("Gcpolices"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheprestataire.php b/radiantproduction/Controleur/ControleurFicheprestataire.php deleted file mode 100644 index 0caf0e7..0000000 --- a/radiantproduction/Controleur/ControleurFicheprestataire.php +++ /dev/null @@ -1,38 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheprestataire"); - - $this->prestataire = new Prestataire(); - $this->societe = new Societeuser(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() - { - $idPrestataire = $this->requete->getParametreFormulaire("id"); - - $prestataire = $this->prestataire->getunprestataire($idPrestataire); - - $codePrestataire = $prestataire['codePrestataire']; - - $hactivationderogationfingerprestataires = $this->prestataire->gethactivationderogationfingerprestataire($codePrestataire); - - $codeSociete = $_SESSION['codeSociete']; - - $societe = $this->societe->getSocieteSimple($codeSociete); - - $this->genererVue(array('prestataire' => $prestataire, 'societe' => $societe, - 'hactivationderogationfingerprestataires' => $hactivationderogationfingerprestataires)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheprospect.php b/radiantproduction/Controleur/ControleurFicheprospect.php deleted file mode 100644 index b8d5ff7..0000000 --- a/radiantproduction/Controleur/ControleurFicheprospect.php +++ /dev/null @@ -1,45 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheprospect"); - - $this->client = new Client_d(); - $this->police = new police_d(); - - $_SESSION['modeDevis'] = "1"; - } - public function index() - { - $id = $_SESSION['idClient_d_Ajax']; - - $this->client->getContexteClientId($id); - $client = $this->client->getClientId($id); - $polices = $this->police->getPolicesId($id); - - $_SESSION['numeroOptionTarif'] = "1"; - - $this->genererVue(array('client' => $client, 'polices' => $polices)); - } - - public function supprimer() { - $id = $_SESSION['idClient_d_Ajax']; - - if($this->client->supprimer($id)) - { - $this->rediriger("Listeprospects"); - } - else - { - $this->rediriger("Ficheprospect"); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicherenouvellement.php b/radiantproduction/Controleur/ControleurFicherenouvellement.php deleted file mode 100644 index faaec31..0000000 --- a/radiantproduction/Controleur/ControleurFicherenouvellement.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficherenouvellement"); - - $this->avenant = new Police(); - $this->college_temp = new College_temp(); - } - public function index() { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $dateEcheance = $_SESSION['dateEcheance_C']; - $dateAvenant = $_SESSION['dateAvenant_C']; - $dateEcheanceRen = $_SESSION['dateEcheanceRen_C']; - - $this->avenant->initrerenouvellement($idPolice); - - $emission = $this->avenant->getEmissionTemp($idPolice); - $avenant = $this->avenant->getAvenantTemp($idPolice); - - $sppolice = $this->avenant->getRapportSpPolice($idPolice, $dateEcheance); - - $colleges = $this->college_temp->getCollegeTempPoliceRen($idPolice, $user) ; - - $this->genererVue(array('colleges' => $colleges, 'emission' => $emission, 'avenant' => $avenant, 'sppolice' => $sppolice)); - } - - public function enregistrerrenouvellement() - { - $this->avenant->enregistrerrenouvellement(); - $this->rediriger("Fichepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicherequetesperso.php b/radiantproduction/Controleur/ControleurFicherequetesperso.php deleted file mode 100644 index 5c06bbd..0000000 --- a/radiantproduction/Controleur/ControleurFicherequetesperso.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficherequetesperso"); - - $this->requetesperso = new Requetesperso(); - } - public function index() - { - $idrequete = $this->requete->getParametreFormulaire("id"); - - $requetesperso = $this->requetesperso->getunerequetesperso($idrequete); - - $sourcesrequete = $this->requetesperso->getsourcesrequeteperso(); - - $this->genererVue(array('requetesperso' => $requetesperso, 'sourcesrequete' => $sourcesrequete)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheresiliation.php b/radiantproduction/Controleur/ControleurFicheresiliation.php deleted file mode 100644 index 5b1461c..0000000 --- a/radiantproduction/Controleur/ControleurFicheresiliation.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheresiliation"); - - $this->avenant = new Police(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $dateAvenant = $_SESSION['dateAvenant_C']; - $this->avenant->initresiliation($idPolice); - - $emission = $this->avenant->getEmissionTemp($idPolice); - $avenant = $this->avenant->getAvenantTemp($idPolice); - $sppolice = $this->avenant->getRapportSpPolice($idPolice, $dateAvenant); - - $this->genererVue(array('emission' => $emission, 'avenant' => $avenant, 'sppolice' => $sppolice)); - } - - public function enregistrerresiliation() - { - $this->avenant->enregistrerresiliation(); - $this->rediriger("Fichepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheretrait.php b/radiantproduction/Controleur/ControleurFicheretrait.php deleted file mode 100644 index 6c4d1fe..0000000 --- a/radiantproduction/Controleur/ControleurFicheretrait.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheretrait"); - - $this->avenant = new Police(); - $this->beneficiaire_temp = new Beneficiaire_temp(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $dateAvenant = $_SESSION['dateAvenant_C']; - - $this->avenant->initretrait($idPolice); - - $emission = $this->avenant->getEmissionTemp($idPolice); - $avenant = $this->avenant->getAvenantTemp($idPolice); - $sppolice = $this->avenant->getRapportSpPolice($idPolice, $dateAvenant); - - $beneficiaires_sel = $this->beneficiaire_temp->getListeBeneficiaire_temp_Ret(); - - $this->genererVue(array('emission' => $emission, 'avenant' => $avenant, 'sppolice' => $sppolice, 'beneficiaires_sel' => $beneficiaires_sel)); - } - - public function enregistrerretrait() - { - $this->avenant->enregistrerretrait(); - - $this->rediriger("Fichepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFichesourcedonneesrequetesperso.php b/radiantproduction/Controleur/ControleurFichesourcedonneesrequetesperso.php deleted file mode 100644 index f0bca04..0000000 --- a/radiantproduction/Controleur/ControleurFichesourcedonneesrequetesperso.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Fichesourcedonneesrequetesperso"); - - $this->requetesperso = new Requetesperso(); - $this->oui_non = new Ouinon(); - } - public function index() - { - $idsourcerequete = $this->requete->getParametreFormulaire("id"); - $requete_actif = $this->oui_non->getListe(); - - $sourcedonneesrequetesperso = $this->requetesperso->getunesourcedonneesrequetesperso($idsourcerequete); - - $this->genererVue(array('sourcedonneesrequetesperso' => $sourcedonneesrequetesperso, 'requete_actif' => $requete_actif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheusergc.php b/radiantproduction/Controleur/ControleurFicheusergc.php deleted file mode 100644 index 21fcaac..0000000 --- a/radiantproduction/Controleur/ControleurFicheusergc.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheusergc"); - - $this->gc = new Gestionconfiee(); - $this->oui_non = new Ouinon(); - $this->langue = new Langue(); - } - public function index() - { - $idUtilisateur = $this->requete->getParametreFormulaire("id"); - $user_actif = $this->oui_non->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $langue = $this->langue->getListe(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $user_gc = $this->gc->getunusergc($idUtilisateur); - - $this->genererVue(array('user_gc' => $user_gc, 'user_actif' => $user_actif, - 'user_actVisible' => $user_actVisible, 'langue' => $langue, 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheuserprestataire.php b/radiantproduction/Controleur/ControleurFicheuserprestataire.php deleted file mode 100644 index 6f3e6ad..0000000 --- a/radiantproduction/Controleur/ControleurFicheuserprestataire.php +++ /dev/null @@ -1,34 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheuserprestataire"); - - $this->prestataire = new Prestataire(); - $this->oui_non = new Ouinon(); - $this->langue = new Langue(); - } - public function index() - { - $idUtilisateur = $this->requete->getParametreFormulaire("id"); - $user_actif = $this->oui_non->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $langue = $this->langue->getListe(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $user_prestataire = $this->prestataire->getunuserprestataire($idUtilisateur); - - $this->genererVue(array('user_prestataire' => $user_prestataire, 'user_actif' => $user_actif, - 'user_actVisible' => $user_actVisible, 'langue' => $langue, 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheusersagence.php b/radiantproduction/Controleur/ControleurFicheusersagence.php deleted file mode 100644 index 63bc9d9..0000000 --- a/radiantproduction/Controleur/ControleurFicheusersagence.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheusersagence"); - - $this->utilisateur = new Utilisateur(); - - $this->oui_non = new Ouinon(); - $this->langue = new Langue(); - } - public function index() - { - $idUtilisateur = $this->requete->getParametreFormulaire("id"); - $agences = $this->utilisateur->getListeAgences(); - $user_actif = $this->oui_non->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $langue = $this->langue->getListe(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $users_ass = $this->utilisateur->getunusersassueur($idUtilisateur); - - $this->genererVue(array('users_ass' => $users_ass, 'agences' => $agences, 'user_actif' => $user_actif, - 'user_actVisible' => $user_actVisible, 'langue' => $langue, 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFicheusersass.php b/radiantproduction/Controleur/ControleurFicheusersass.php deleted file mode 100644 index d27683d..0000000 --- a/radiantproduction/Controleur/ControleurFicheusersass.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Ficheusersass"); - - $this->utilisateur = new Utilisateur(); - - $this->oui_non = new Ouinon(); - $this->langue = new Langue(); - } - public function index() - { - $idUtilisateur = $this->requete->getParametreFormulaire("id"); - $profil = $this->utilisateur->getListeProfilCode(); - $user_actif = $this->oui_non->getListe(); - $user_actVisible = $this->oui_non->getListe(); - $langue = $this->langue->getListe(); - $user_AffectionVisible = $this->oui_non->getListe(); - - $users_ass = $this->utilisateur->getunusersassueur($idUtilisateur); - - $this->genererVue(array('users_ass' => $users_ass, 'profil' => $profil, 'user_actif' => $user_actif, - 'user_actVisible' => $user_actVisible, 'langue' => $langue, 'user_AffectionVisible' => $user_AffectionVisible)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFlexcode.php b/radiantproduction/Controleur/ControleurFlexcode.php deleted file mode 100644 index 0208da9..0000000 --- a/radiantproduction/Controleur/ControleurFlexcode.php +++ /dev/null @@ -1,24 +0,0 @@ -requete->existeParametre("id")) - { - // $numeroDemande = $this->requete->getParametre("id"); - // $this->genererVue(array('numeroDemande' => $numeroDemande)); - } - else - { - $this->genererVue(); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFraisfuneraire.php b/radiantproduction/Controleur/ControleurFraisfuneraire.php deleted file mode 100644 index 09408da..0000000 --- a/radiantproduction/Controleur/ControleurFraisfuneraire.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Fraisfuneraire'); - - $this->fraisfuneraire = new Fraisfuneraire(); - $this->beneficiaire = new Pbeneficiaire(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $fraisfuneraire = $this->fraisfuneraire->getfraisfuneraire($idBeneficiaire); - - $this->genererVue(array('fraisfuneraire' => $fraisfuneraire)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurFraisfunerairecpt.php b/radiantproduction/Controleur/ControleurFraisfunerairecpt.php deleted file mode 100644 index 5c4b1a8..0000000 --- a/radiantproduction/Controleur/ControleurFraisfunerairecpt.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Fraisfunerairecpt'); - - $this->fraisfuneraire = new Fraisfuneraire(); - $this->beneficiaire = new Pbeneficiaire(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $fraisfuneraire = $this->fraisfuneraire->getfraisfuneraire($idBeneficiaire); - - $this->genererVue(array('fraisfuneraire' => $fraisfuneraire)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGcassureur.php b/radiantproduction/Controleur/ControleurGcassureur.php deleted file mode 100644 index 6408782..0000000 --- a/radiantproduction/Controleur/ControleurGcassureur.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Gcassureur"); - - $this->gc = new Gestionconfiee(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $gcs = $this->gc->getGcAssureurs(); - $this->genererVue(array('gcs' => $gcs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGccartes.php b/radiantproduction/Controleur/ControleurGccartes.php deleted file mode 100644 index f52944c..0000000 --- a/radiantproduction/Controleur/ControleurGccartes.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gccartes'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcfacturation.php b/radiantproduction/Controleur/ControleurGcfacturation.php deleted file mode 100644 index d7264ff..0000000 --- a/radiantproduction/Controleur/ControleurGcfacturation.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcfacturation'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcfactures.php b/radiantproduction/Controleur/ControleurGcfactures.php deleted file mode 100644 index d587d95..0000000 --- a/radiantproduction/Controleur/ControleurGcfactures.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcfactures'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcfacturescumul.php b/radiantproduction/Controleur/ControleurGcfacturescumul.php deleted file mode 100644 index e8cb0b8..0000000 --- a/radiantproduction/Controleur/ControleurGcfacturescumul.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcfacturescumul'); - - $this->gc = new Gestionconfiee(); - - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - } - - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcfacturesverif.php b/radiantproduction/Controleur/ControleurGcfacturesverif.php deleted file mode 100644 index 0d7f48f..0000000 --- a/radiantproduction/Controleur/ControleurGcfacturesverif.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcfacturesverif'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcfraisgestion.php b/radiantproduction/Controleur/ControleurGcfraisgestion.php deleted file mode 100644 index 26abb10..0000000 --- a/radiantproduction/Controleur/ControleurGcfraisgestion.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcfraisgestion'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion']; - - $this->gc->recapfraisgestion($idEnteteGcFraisgestion); - - $entetefraisgestion = $this->gc->getentetefraisgestion($idEnteteGcFraisgestion); - - $this->genererVue(array('entetefraisgestion' => $entetefraisgestion)); - } -} - diff --git a/radiantproduction/Controleur/ControleurGcinitfraisgestion.php b/radiantproduction/Controleur/ControleurGcinitfraisgestion.php deleted file mode 100644 index 07bbaa7..0000000 --- a/radiantproduction/Controleur/ControleurGcinitfraisgestion.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcinitfraisgestion'); - - $this->gc = new Gestionconfiee(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - } - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc, 'periode' => $this->periode, 'exercice' => $this->exercice)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGcmodiffacturation.php b/radiantproduction/Controleur/ControleurGcmodiffacturation.php deleted file mode 100644 index c7b9362..0000000 --- a/radiantproduction/Controleur/ControleurGcmodiffacturation.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcmodiffacturation'); - - $this->reglement = new Gestionconfiee(); - - $_SESSION['idFacture_C'] = "0"; - } - - public function index() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->reglement->getgcreglement($idGcReglement); - - $this->genererVue(array('reglement' => $reglement)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcnewfacturation.php b/radiantproduction/Controleur/ControleurGcnewfacturation.php deleted file mode 100644 index 0270f11..0000000 --- a/radiantproduction/Controleur/ControleurGcnewfacturation.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcnewfacturation'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $gc = $this->gc->getGcNewFactureId() ; - - $this->genererVue(array('gc' => $gc)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcpolices.php b/radiantproduction/Controleur/ControleurGcpolices.php deleted file mode 100644 index 37a8468..0000000 --- a/radiantproduction/Controleur/ControleurGcpolices.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Gcpolices"); - - $this->gc = new Gestionconfiee(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $gcs = $this->gc->getGcPolices(); - $this->genererVue(array('gcs' => $gcs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGcredressements.php b/radiantproduction/Controleur/ControleurGcredressements.php deleted file mode 100644 index 8b64655..0000000 --- a/radiantproduction/Controleur/ControleurGcredressements.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcredressements'); - - $this->gc = new Gestionconfiee(); - } - - public function index() - { - $gc = $this->gc->getListe() ; - - $this->genererVue(array('gc' => $gc)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcreglement.php b/radiantproduction/Controleur/ControleurGcreglement.php deleted file mode 100644 index 8261d86..0000000 --- a/radiantproduction/Controleur/ControleurGcreglement.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcreglement'); - - $this->reglement = new Gestionconfiee(); - - $_SESSION['idFacture_C'] = "0"; - } - - public function index() - { - $composante = $this->reglement->getListeCompsanteReglement(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $this->reglement->recapgcreglement(); - - $reglement = $this->reglement->getgcreglement($idGcReglement); - - $this->genererVue(array('reglement' => $reglement, 'composante' => $composante)); - } -} diff --git a/radiantproduction/Controleur/ControleurGcreglementcons.php b/radiantproduction/Controleur/ControleurGcreglementcons.php deleted file mode 100644 index f27ab12..0000000 --- a/radiantproduction/Controleur/ControleurGcreglementcons.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gcreglementcons'); - - $this->reglement = new Gestionconfiee(); - - $_SESSION['idFacture_C'] = "0"; - } - - public function index() - { - $composante = $this->reglement->getListeCompsanteReglementCons(); - - $idGcReglement = $_SESSION['idGcReglement']; - - $reglement = $this->reglement->getgcreglement($idGcReglement); - - $this->genererVue(array('reglement' => $reglement, 'composante' => $composante)); - } -} diff --git a/radiantproduction/Controleur/ControleurGed.php b/radiantproduction/Controleur/ControleurGed.php deleted file mode 100644 index cdefcb0..0000000 --- a/radiantproduction/Controleur/ControleurGed.php +++ /dev/null @@ -1,122 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Ged'); - - $this->ged = new Ged(); - } - - public function index($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->enregistrergedpolice($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrerged($nomOrigine, $nouveau_fichier, $taille); - $this->rediriger("Ged"); - } - 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; - - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $geds = $this->ged->getged($d1, $d2, ""); - - unset($_FILES['fichier_upload']); - - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGedadherent.php b/radiantproduction/Controleur/ControleurGedadherent.php deleted file mode 100644 index f9722b3..0000000 --- a/radiantproduction/Controleur/ControleurGedadherent.php +++ /dev/null @@ -1,121 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gedadherent'); - - $this->ged = new Ged(); - } - - public function index($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->enregistrergedadherent($nomOrigine, $nouveau_fichier, $taille); - $this->rediriger("Gedadherent"); - } - 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; - - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $geds = $this->ged->getgedadherent($d1, $d2, ""); - - unset($_FILES['fichier_upload']); - - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGedbeneficiaireprest.php b/radiantproduction/Controleur/ControleurGedbeneficiaireprest.php deleted file mode 100644 index bd97717..0000000 --- a/radiantproduction/Controleur/ControleurGedbeneficiaireprest.php +++ /dev/null @@ -1,121 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gedbeneficiaireprest'); - - $this->ged = new Ged(); - } - - public function index($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->enregistrergedbeneficiaireprest($nomOrigine, $nouveau_fichier, $taille); - $this->rediriger("Gedbeneficiaireprest"); - } - 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; - - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $geds = $this->ged->getgedbeneficiaireprest($d1, $d2, ""); - - unset($_FILES['fichier_upload']); - - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGedbeneficiaireprod.php b/radiantproduction/Controleur/ControleurGedbeneficiaireprod.php deleted file mode 100644 index cd0b534..0000000 --- a/radiantproduction/Controleur/ControleurGedbeneficiaireprod.php +++ /dev/null @@ -1,121 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gedbeneficiaireprod'); - - $this->ged = new Ged(); - } - - public function index($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->enregistrergedbeneficiaireprod($nomOrigine, $nouveau_fichier, $taille); - $this->rediriger("Gedbeneficiaireprod"); - } - 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; - - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $geds = $this->ged->getgedbeneficiaireprod($d1, $d2, ""); - - unset($_FILES['fichier_upload']); - - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGedfeuillemaladie.php b/radiantproduction/Controleur/ControleurGedfeuillemaladie.php deleted file mode 100644 index 27c7094..0000000 --- a/radiantproduction/Controleur/ControleurGedfeuillemaladie.php +++ /dev/null @@ -1,121 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gedfeuillemaladie'); - - $this->ged = new Ged(); - } - - public function index($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->rediriger("Gedfeuillemaladie"); - } - 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; - - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $geds = $this->ged->getgedfeuillemaladie($d1, $d2, ""); - - unset($_FILES['fichier_upload']); - - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGedpolice.php b/radiantproduction/Controleur/ControleurGedpolice.php deleted file mode 100644 index c12aec9..0000000 --- a/radiantproduction/Controleur/ControleurGedpolice.php +++ /dev/null @@ -1,121 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gedpolice'); - - $this->ged = new Ged(); - } - - public function index($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->enregistrergedpolice($nomOrigine, $nouveau_fichier, $taille); - $this->rediriger("Gedpolice"); - } - 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; - - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $geds = $this->ged->getgedpolice($d1, $d2, ""); - - unset($_FILES['fichier_upload']); - - $this->genererVue(array('geds' => $geds, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGenererbon.php b/radiantproduction/Controleur/ControleurGenererbon.php deleted file mode 100644 index d0e08f7..0000000 --- a/radiantproduction/Controleur/ControleurGenererbon.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Genererbon'); - - $this->typebon = new Typebon(); - $this->prestataire = new Prestataire(); - } - public function index($msgErreur=null) { - $msgErreur = ""; - $etape = $this->requete->getParametreFormulaire("id"); - if($etape=="1") - { - $msgErreur = 'Génération terminée avec succès!'; - } - - $prestataire_courant = $this->prestataire->getPrestataireCode($_SESSION['codePrestataire_C']); - $typebon = $this->typebon->getListe(); - - $this->genererVue(array('prestataire_courant' => $prestataire_courant, 'typebon' => $typebon, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurGestionbons.php b/radiantproduction/Controleur/ControleurGestionbons.php deleted file mode 100644 index dd1d8ce..0000000 --- a/radiantproduction/Controleur/ControleurGestionbons.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gestionbons'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurGestionconfiee.php b/radiantproduction/Controleur/ControleurGestionconfiee.php deleted file mode 100644 index af26e5c..0000000 --- a/radiantproduction/Controleur/ControleurGestionconfiee.php +++ /dev/null @@ -1,19 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gestionconfiee'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurGestiondiverses.php b/radiantproduction/Controleur/ControleurGestiondiverses.php deleted file mode 100644 index 1925d29..0000000 --- a/radiantproduction/Controleur/ControleurGestiondiverses.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Gestiondiverses'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurGestiondroits.php b/radiantproduction/Controleur/ControleurGestiondroits.php deleted file mode 100644 index c152d57..0000000 --- a/radiantproduction/Controleur/ControleurGestiondroits.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Gestiondroits"); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurGestionnairetables.php b/radiantproduction/Controleur/ControleurGestionnairetables.php deleted file mode 100644 index 3ade226..0000000 --- a/radiantproduction/Controleur/ControleurGestionnairetables.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionnaire(); - - $this->listebales1 = new Tablegestionnaire(); - $this->listebales2 = new Tablegestionnaire(); - $this->listebales3 = new Tablegestionnaire(); - } - - public function index() - { - $listebales1 = $this->listebales1->getListeTables('1'); - $listebales2 = $this->listebales2->getListeTables('2'); - $listebales3 = $this->listebales3->getListeTables('3'); - - $this->genererVue(array('listebales1' => $listebales1, 'listebales2' => $listebales2, 'listebales3' => $listebales3)); - } -} diff --git a/radiantproduction/Controleur/ControleurHeritageprofilass.php b/radiantproduction/Controleur/ControleurHeritageprofilass.php deleted file mode 100644 index b83e9bd..0000000 --- a/radiantproduction/Controleur/ControleurHeritageprofilass.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Heritageprofilass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profil_source = $this->utilisateur->getListeProfilCode(); - - $profil_destination = $this->utilisateur->getListeProfilCode(); - - $this->genererVue(array('profil_source' => $profil_source, 'profil_destination' => $profil_destination)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurHistoetat.php b/radiantproduction/Controleur/ControleurHistoetat.php deleted file mode 100644 index 9047353..0000000 --- a/radiantproduction/Controleur/ControleurHistoetat.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Histoetat"); - - $this->beneficiaire = new Beneficiaire(); - $this->etatbeneficiaire = new Etatbeneficiaire(); - } - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $beneficiaire = $this->beneficiaire->getBeneficiaireId($idBeneficiaire); - - $etatbeneficiaires = $this->etatbeneficiaire->getEtatsBeneficiaire($idBeneficiaire); - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'etatbeneficiaires' => $etatbeneficiaires)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurHistsupprempreinte.php b/radiantproduction/Controleur/ControleurHistsupprempreinte.php deleted file mode 100644 index 11ecb00..0000000 --- a/radiantproduction/Controleur/ControleurHistsupprempreinte.php +++ /dev/null @@ -1,15 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Histsupprempreinte'); - } - - public function index() { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurHistsupprface.php b/radiantproduction/Controleur/ControleurHistsupprface.php deleted file mode 100644 index f767c67..0000000 --- a/radiantproduction/Controleur/ControleurHistsupprface.php +++ /dev/null @@ -1,15 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Histsupprface'); - } - - public function index() { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurImage.php b/radiantproduction/Controleur/ControleurImage.php deleted file mode 100644 index 7b8522c..0000000 --- a/radiantproduction/Controleur/ControleurImage.php +++ /dev/null @@ -1,129 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Image'); - } - - public function index() - { - $manager = new ImageManager(array('driver' => 'imagick')); - // $image = $manager->make('C:\wamp64\www\bicorproduction\Societes\bicor\Photos\0001000601_427521.jpg')->resize(100, 100); - $image = $manager->make('C:\wamp64\www\bicorproduction\Societes\bicor\Photos\0001000601_427521.jpg'); - $image->resize(100, null, function ($constraint) - { - $constraint->aspectRatio(); - }); - - $image->save('C:/wamp64/www/bicorproduction/Societes/bicor/Photos/test_photo_new_kane3.jpg'); - - /* - $message = ""; - $nouveau_fichier = "Rien"; - - if(!empty($_POST)) - { - define('TARGET', $_SESSION['dossierSociete'].'/Photos/'); // Repertoire cible - define('MAX_SIZE', 100000); // Taille max en octets du fichier - define('WIDTH_MAX', 800); // Largeur max de l'image en pixels - define('HEIGHT_MAX', 800); // Hauteur max de l'image en pixels - - // Tableaux de donnees - $tabExt = array('jpg','png','jpeg'); // Extensions autorisees - $infosImg = array(); - - // Variables - $extension = ''; - $nomImage = ''; - - 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_image_a_uploader']['name']) ) - { - - // Recuperation de l'extension du fichier - $extension = pathinfo($_FILES['fichier_image_a_uploader']['name'], PATHINFO_EXTENSION); - - // On verifie l'extension du fichier - if(in_array(strtolower($extension),$tabExt)) - { - // On recupere les dimensions du fichier - $infosImg = getimagesize($_FILES['fichier_image_a_uploader']['tmp_name']); - - // On verifie le type de l'image - if($infosImg[2] >= 1 && $infosImg[2] <= 14) - { - // On verifie les dimensions et taille de l'image - if(($infosImg[0] <= WIDTH_MAX) && ($infosImg[1] <= HEIGHT_MAX) && (filesize($_FILES['fichier_image_a_uploader']['tmp_name']) <= MAX_SIZE)) - { - // Parcours du tableau d'erreurs - if(isset($_FILES['fichier_image_a_uploader']['error']) - && UPLOAD_ERR_OK === $_FILES['fichier_image_a_uploader']['error']) - { - // On renomme le fichier - //$nomImage = md5(uniqid()) .'.'. $extension; - - $rand = rand(1,1000000); - $nomImage = $_SESSION['numeroBeneficiaire_C']."_".$rand.'.'. $extension; - - // ajout du 13/11/2019 => redimensionement en utilisant Intervention/Image - - - // Si c'est OK, on teste l'upload - if(move_uploaded_file($_FILES['fichier_image_a_uploader']['tmp_name'], TARGET.$nomImage)) - { - // A réactiver sur beneficiaire - // $nouveau_fichier = $nomImage; - // $message = 'Chargement réussi !'; - // $this->beneficiaire->changerPhoto($id, $nomImage); - // $_SESSION['lienPhoto_C'] = $nomImage; - } - else - { - $message = 'Problème lors du chargement !'; - } - } - else - { - $message = 'Une erreur interne a empêché le chargement'; - } - } - else - { - $message = 'Erreur dans les dimensions du fichier !'; - } - } - else - { - $message = 'Le fichier à charger n\'est pas une image !'; - } - } - else - { - $message = 'L\'extension du fichier est incorrecte !'; - } - } - else - { - $message = 'Veuillez sélectionner un fichier SVP !'; - } - } - */ - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurImportassure.php b/radiantproduction/Controleur/ControleurImportassure.php deleted file mode 100644 index c4068d6..0000000 --- a/radiantproduction/Controleur/ControleurImportassure.php +++ /dev/null @@ -1,130 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Importassure"); - - $this->police = new Police(); - $this->beneficiaire = new Beneficiaire(); - } - - public function index($msgErreur=null) - { - // DEBUT CHARGELENT FICHIER EXCEL A IMPORTER - $message = ""; - - $nouveau_fichier = "Rien"; - - if(!empty($_POST)) - { - define('TARGET', 'Temp/import/'); // 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("xls", "xlsx"); // 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'; - $message = _('Chargé avec succès'); - - // on va envoyer dans la base de données - - $this->beneficiaire->enregistrerparamimportassure($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; - - unset($_FILES['fichier_upload']); - // FIN CHARGELENT FICHIER EXCEL A IMPORTER - - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $police = $this->police->getPoliceId($idPolice); - - $fichierimport = $this->beneficiaire->getFichierImport(); - - $this->genererVue(array('police' => $police, 'msgErreur' => $msgErreur, 'fichierimport' => $fichierimport, - 'nouveau_fichier' => $nouveau_fichier)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurImportassurefamiliale.php b/radiantproduction/Controleur/ControleurImportassurefamiliale.php deleted file mode 100644 index 4e71a84..0000000 --- a/radiantproduction/Controleur/ControleurImportassurefamiliale.php +++ /dev/null @@ -1,130 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Importassurefamiliale"); - - $this->police = new Police(); - $this->beneficiaire = new Beneficiaire(); - } - - public function index($msgErreur=null) - { - // DEBUT CHARGELENT FICHIER EXCEL A IMPORTER - $message = ""; - - $nouveau_fichier = "Rien"; - - if(!empty($_POST)) - { - define('TARGET', 'Temp/import/'); // 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("xls", "xlsx"); // 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'; - $message = _('Chargé avec succès'); - - // on va envoyer dans la base de données - - $this->beneficiaire->enregistrerparamimportassure($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; - - unset($_FILES['fichier_upload']); - // FIN CHARGELENT FICHIER EXCEL A IMPORTER - - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $police = $this->police->getPoliceId($idPolice); - - $fichierimport = $this->beneficiaire->getFichierImport(); - - $this->genererVue(array('police' => $police, 'msgErreur' => $msgErreur, 'fichierimport' => $fichierimport, - 'nouveau_fichier' => $nouveau_fichier)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurImportdestinatairesms.php b/radiantproduction/Controleur/ControleurImportdestinatairesms.php deleted file mode 100644 index e22839f..0000000 --- a/radiantproduction/Controleur/ControleurImportdestinatairesms.php +++ /dev/null @@ -1,122 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Importdestinatairesms"); - - $this->messagerie = new Messagerie(); - } - - public function index($msgErreur=null) - { - // DEBUT CHARGELENT FICHIER EXCEL A IMPORTER - $message = ""; - - $nouveau_fichier = "Rien"; - - if(!empty($_POST)) - { - define('TARGET', 'Temp/import/'); // 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("xls", "xlsx"); // 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'; - $message = _('Chargé avec succès'); - - // on va envoyer dans la base de données - - $this->messagerie->enregistrerparamimportdestinatairesms($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; - - unset($_FILES['fichier_upload']); - // FIN CHARGELENT FICHIER EXCEL A IMPORTER - - $fichierimport = $this->messagerie->getFichierImportSms(); - - $this->genererVue(array('msgErreur' => $msgErreur, 'fichierimport' => $fichierimport,'nouveau_fichier' => $nouveau_fichier)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurImportertarifmedicament.php b/radiantproduction/Controleur/ControleurImportertarifmedicament.php deleted file mode 100644 index c49392c..0000000 --- a/radiantproduction/Controleur/ControleurImportertarifmedicament.php +++ /dev/null @@ -1,129 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Importertarifmedicament'); - - $this->tarif = new Tarifsmedicaments(); - } - - public function index($msgErreur=null) - { - $idTarif = $this->requete->getParametreFormulaire("id"); - - $_SESSION['idTarif'] = $idTarif; - - // DEBUT CHARGELENT FICHIER EXCEL A IMPORTER - $message = ""; - - $nouveau_fichier = "Rien"; - - if(!empty($_POST)) - { - define('TARGET', 'Temp/import/'); // 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("xls", "xlsx"); // 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->tarif->enregistrerparamimporttarif($idTarif, $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; - - unset($_FILES['fichier_upload']); - // FIN CHARGELENT FICHIER EXCEL A IMPORTER - - $idTarif = $this->requete->getParametreFormulaire("id"); - $tarif = $this->tarif->getunptarif($idTarif); - $fichierimport = $this->tarif->getFichierImport($idTarif); - - $this->genererVue(array('tarif' => $tarif, 'msgErreur' => $msgErreur, 'fichierimport' => $fichierimport, - 'nouveau_fichier' => $nouveau_fichier)); - - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurImprimerdevis.php b/radiantproduction/Controleur/ControleurImprimerdevis.php deleted file mode 100644 index b9f89da..0000000 --- a/radiantproduction/Controleur/ControleurImprimerdevis.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Imprimerdevis"); - - $this->etat = new Etatdevis(); - } - - public function index() - { - $etats = $this->etat->getEtatdevis() ; - - $this->genererVue(array('etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurInitdecompte.php b/radiantproduction/Controleur/ControleurInitdecompte.php deleted file mode 100644 index 92071a4..0000000 --- a/radiantproduction/Controleur/ControleurInitdecompte.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Initdecompte'); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - } - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurInitstatistiques.php b/radiantproduction/Controleur/ControleurInitstatistiques.php deleted file mode 100644 index 96d383d..0000000 --- a/radiantproduction/Controleur/ControleurInitstatistiques.php +++ /dev/null @@ -1,15 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Initstatistiques'); - } - public function index() { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLiaisonclients.php b/radiantproduction/Controleur/ControleurLiaisonclients.php deleted file mode 100644 index d161690..0000000 --- a/radiantproduction/Controleur/ControleurLiaisonclients.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Liaisonclients'); - - $this->client = new Client(); - } - public function index() { - $idClient = $_SESSION['idClient_C']; - $client = $this->client->getClientId($idClient); - $client_parent = $this->client->getClientParent($idClient); - $client_enfants = $this->client->getClientEnfants($idClient); - $client_freres = $this->client->getClientFreres($idClient); - - - $this->genererVue(array('client' => $client, 'client_parent' => $client_parent, 'client_enfants' => $client_enfants, - 'client_freres' => $client_freres)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLiercolleges.php b/radiantproduction/Controleur/ControleurLiercolleges.php deleted file mode 100644 index fb8dc2e..0000000 --- a/radiantproduction/Controleur/ControleurLiercolleges.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Liercolleges'); - - $this->college = (new Collegepolice())->getListe($_SESSION['idPolice_C']); - } - - public function index() { - $idPolice = $_SESSION['idPolice_C']; - - $this->genererVue(array('college' => $this->college)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeactes.php b/radiantproduction/Controleur/ControleurListeactes.php deleted file mode 100644 index d8dfadc..0000000 --- a/radiantproduction/Controleur/ControleurListeactes.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeactes'); - - $this->tarif = new Tarifsactes(); - $this->familleacte = new Familleacte(); - } - - public function index() - { - $actesHarmonises = $_SESSION['actesHarmonises']; - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - $_SESSION['codeTarifActe_C'] = "ST"; - } - - $tarifs = $this->tarif->getListeCreation(); - - $codeTarifActe = $_SESSION['codeTarifActe_C']; - - $familleacte = $this->familleacte->getListeFamilleActeTarifCombo($codeTarifActe); - - $this->genererVue(array('tarifs' => $tarifs, 'familleacte' => $familleacte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeadherent.php b/radiantproduction/Controleur/ControleurListeadherent.php deleted file mode 100644 index aec3532..0000000 --- a/radiantproduction/Controleur/ControleurListeadherent.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeadherent"); - - $this->adherent = new Adherent(); - $this->police = new Police(); - - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - - $this->adherent->getNbassure($idPolice); - - $police = $this->police->getPoliceIdSimple($idPolice); - - $this->genererVue(array('police' => $police)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeavenant.php b/radiantproduction/Controleur/ControleurListeavenant.php deleted file mode 100644 index c291506..0000000 --- a/radiantproduction/Controleur/ControleurListeavenant.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeavenant"); - - $this->police = new Police(); - $this->avenant = new Avenant(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $police = $this->police->getPoliceId($idPolice); - - $avenants = $this->avenant->getAvenant($idPolice); - - $this->genererVue(array('police' => $police, 'avenants' => $avenants)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeclients.php b/radiantproduction/Controleur/ControleurListeclients.php deleted file mode 100644 index 906ac0b..0000000 --- a/radiantproduction/Controleur/ControleurListeclients.php +++ /dev/null @@ -1,85 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeclients"); - - $this->client = new Client(); - $this->police = new Police(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index($numeroclientsearch="", $nomsearch="", $prenomsearch="", $telsearch="", $numeroPolicesearch="", $idPolicesearch="") - { - if (isset($_POST['numeroclientsearch'])) - { - $numeroclientsearch = $_POST['numeroclientsearch']; - $numeroPolicesearch = $_POST['numeroPolicesearch']; - $idPolicesearch = $_POST['idPolicesearch']; - - if ($numeroclientsearch>" ") { - $clients = $this->client->getClientsearch($numeroclientsearch); - } - elseif($idPolicesearch>"0") - { - $idPolice = $this->police->getClientsearchPolId($idPolicesearch); - if ($idPolice<>"0") - { - $this->police->getContexteClientId($idPolice); - $this->police->getContexteAjaxPolice($idPolice); - $this->rediriger("Fichepolice"); - } - else - { - $clients = $this->client->getClientVide(); - } - } - elseif($numeroPolicesearch>"0") - { - $idPolice = $this->police->getClientsearchPol($numeroPolicesearch); - if ($idPolice<>"0") - { - $this->police->getContexteClientId($idPolice); - $this->police->getContexteAjaxPolice($idPolice); - $this->rediriger("Fichepolice"); - } - else - { - $clients = $this->client->getClients($numeroPolicesearch, "", ""); - } - } - else - { - $nomsearch=$_POST['nomsearch']; - $prenomsearch=$_POST['prenomsearch']; - $telsearch=$_POST['telsearch']; - $clients = $this->client->getClients($nomsearch, $prenomsearch, $telsearch); - } - } - else - { - $clients = $this->client->getClientVide(); - } - - if ($clients->rowCount() == 1) - { - $client = $clients->fetch(); - $_SESSION['idClientAjax'] = $client['id']; - $this->rediriger("Ficheclient"); - } - else - { - $this->genererVue(array('clients' => $clients, 'numeroclientsearch' => $numeroclientsearch, 'idPolicesearch' => $idPolicesearch, - 'nomsearch' => $nomsearch, 'prenomsearch' => $prenomsearch, 'telsearch' => $telsearch, 'numeroPolicesearch' => $numeroPolicesearch)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListedecomptes.php b/radiantproduction/Controleur/ControleurListedecomptes.php deleted file mode 100644 index bf2bb80..0000000 --- a/radiantproduction/Controleur/ControleurListedecomptes.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listedecomptes'); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - $this->etatdecompte = (new Etatdecompte())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice, 'etatdecompte' => $this->etatdecompte, - 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListedemandebon.php b/radiantproduction/Controleur/ControleurListedemandebon.php deleted file mode 100644 index 7bcbfee..0000000 --- a/radiantproduction/Controleur/ControleurListedemandebon.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listedemandebon"); - - $this->typebon = (new Typebon())->getListe(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire_courant' => $prestataire_courant,'typebon' => $this->typebon)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListederogations.php b/radiantproduction/Controleur/ControleurListederogations.php deleted file mode 100644 index 67fb615..0000000 --- a/radiantproduction/Controleur/ControleurListederogations.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listederogations'); - - $this->listederogation = (new Derogation())->getListe(); - $this->reponsederogation = (new Reponsederogation())->getListe(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('listederogation' => $this->listederogation, 'reponsederogation' => $this->reponsederogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListederogationsbenficiaire.php b/radiantproduction/Controleur/ControleurListederogationsbenficiaire.php deleted file mode 100644 index 9003ee6..0000000 --- a/radiantproduction/Controleur/ControleurListederogationsbenficiaire.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listederogationsbenficiaire'); - - $this->derogation = new Derogation(); - } - - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $derogations = $this->derogation->getderogationsbenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVue(array('derogations' => $derogations)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListedossiers.php b/radiantproduction/Controleur/ControleurListedossiers.php deleted file mode 100644 index 658e838..0000000 --- a/radiantproduction/Controleur/ControleurListedossiers.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listedossiers'); - - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire' => $this->prestataire)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeententeprealables.php b/radiantproduction/Controleur/ControleurListeententeprealables.php deleted file mode 100644 index 42f6263..0000000 --- a/radiantproduction/Controleur/ControleurListeententeprealables.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeententeprealables'); - - $this->prestataire = new Prestataire(); - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeententeprealablesbenficiaire.php b/radiantproduction/Controleur/ControleurListeententeprealablesbenficiaire.php deleted file mode 100644 index 563cd80..0000000 --- a/radiantproduction/Controleur/ControleurListeententeprealablesbenficiaire.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeententeprealablesbenficiaire'); - - $this->ententeprealable = new Ententeprealable(); - } - - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $ententeprealables = $this->ententeprealable->getententeprealablesbenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVue(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeententeprealablesmont.php b/radiantproduction/Controleur/ControleurListeententeprealablesmont.php deleted file mode 100644 index 47a86a2..0000000 --- a/radiantproduction/Controleur/ControleurListeententeprealablesmont.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeententeprealablesmont'); - - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() { - $this->genererVue(array('reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeententeprealablesopt.php b/radiantproduction/Controleur/ControleurListeententeprealablesopt.php deleted file mode 100644 index af5a72c..0000000 --- a/radiantproduction/Controleur/ControleurListeententeprealablesopt.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeententeprealablesopt'); - - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() { - $this->genererVue(array('reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeententeprealablespha.php b/radiantproduction/Controleur/ControleurListeententeprealablespha.php deleted file mode 100644 index 93a912a..0000000 --- a/radiantproduction/Controleur/ControleurListeententeprealablespha.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeententeprealablespha'); - - $this->reponseententeprealable = (new Reponseententeprealable())->getListe(); - } - - public function index() { - $this->genererVue(array('reponseententeprealable' => $this->reponseententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeexclusions.php b/radiantproduction/Controleur/ControleurListeexclusions.php deleted file mode 100644 index 1d6dbaf..0000000 --- a/radiantproduction/Controleur/ControleurListeexclusions.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeexclusions'); - - $this->prestataire = (new Prestataire())->getListeTypePrestataireBon(); - $this->reponseautorisation = (new Reponseautorisation())->getListe(); - } - - public function index() { - $this->genererVue(array('prestataire' => $this->prestataire, 'reponseautorisation' => $this->reponseautorisation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeexclusionsbenficiaire.php b/radiantproduction/Controleur/ControleurListeexclusionsbenficiaire.php deleted file mode 100644 index 2b0f145..0000000 --- a/radiantproduction/Controleur/ControleurListeexclusionsbenficiaire.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeexclusionsbenficiaire'); - - $this->ententeprealable = new Ententeprealable(); - } - - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $ententeprealables = $this->ententeprealable->getacteexclusbenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVue(array('ententeprealables' => $ententeprealables)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeexercices.php b/radiantproduction/Controleur/ControleurListeexercices.php deleted file mode 100644 index 2bf5403..0000000 --- a/radiantproduction/Controleur/ControleurListeexercices.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeexercices"); - - $this->police = new Police(); - $this->contrat = new Contrat(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - $police = $this->police->getPoliceId($idPolice); - - $contrats = $this->contrat->getContrat($idPolice); - - $this->genererVue(array('police' => $police, 'contrats' => $contrats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListefactures.php b/radiantproduction/Controleur/ControleurListefactures.php deleted file mode 100644 index a9ac237..0000000 --- a/radiantproduction/Controleur/ControleurListefactures.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listefactures'); - - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire' => $this->prestataire)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListefamilleacte.php b/radiantproduction/Controleur/ControleurListefamilleacte.php deleted file mode 100644 index 5fb3c92..0000000 --- a/radiantproduction/Controleur/ControleurListefamilleacte.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listefamilleacte"); - - $this->familleacte = new Familleacte(); - $this->tarif = new Tarifsactes(); - } - - public function index() - { - $actesHarmonises = $_SESSION['actesHarmonises']; - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - $_SESSION['codeTarifActe_C'] = "ST"; - } - - $codeTarifActe = $_SESSION['codeTarifActe_C']; - - $familleactes = $this->familleacte->getListeFamilleActeTarif($codeTarifActe); - - $tarifs = $this->tarif->getListeCreation(); - - $this->genererVue(array('familleactes' => $familleactes, 'tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListegenererbon.php b/radiantproduction/Controleur/ControleurListegenererbon.php deleted file mode 100644 index 17894cc..0000000 --- a/radiantproduction/Controleur/ControleurListegenererbon.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listegenererbon'); - - $this->typebon = (new Typebon())->getListe(); - $this->prestataire = new Prestataire(); - } - - public function index() - { - $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire_courant' => $prestataire_courant, 'typebon' => $this->typebon)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeimportassure.php b/radiantproduction/Controleur/ControleurListeimportassure.php deleted file mode 100644 index a1458f1..0000000 --- a/radiantproduction/Controleur/ControleurListeimportassure.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeimportassure"); - - $this->beneficiaire = new Beneficiaire(); - } - public function index() - { - $beneficiaires = $this->beneficiaire->getListeAssuresImportes(); - - $nb_adh = $this->beneficiaire->getnbadhimpsanscollege(); - - $dbeneficiaires_total = null; - $nb_ligne_ass = count($beneficiaires); - - if($nb_ligne_ass>0) - { - $dbeneficiaires_total = $beneficiaires['0']; - } - - $this->genererVue(array('beneficiaires' => $beneficiaires, 'dbeneficiaires_total' => $dbeneficiaires_total, - 'nb_adh' => $nb_adh, 'nb_ligne_ass' => $nb_ligne_ass)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeimportassurefamiliale.php b/radiantproduction/Controleur/ControleurListeimportassurefamiliale.php deleted file mode 100644 index 94db697..0000000 --- a/radiantproduction/Controleur/ControleurListeimportassurefamiliale.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeimportassurefamiliale"); - - $this->beneficiaire = new Beneficiaire(); - } - public function index() - { - $beneficiaires = $this->beneficiaire->getListeAssuresImportesFamiliale(); - - $nb_adh = $this->beneficiaire->getnbadhimpsanscollege(); - - $dbeneficiaires_total = null; - $nb_ligne_ass = count($beneficiaires); - - if($nb_ligne_ass>0) - { - $dbeneficiaires_total = $beneficiaires['0']; - } - - $this->genererVue(array('beneficiaires' => $beneficiaires, 'dbeneficiaires_total' => $dbeneficiaires_total, - 'nb_adh' => $nb_adh, 'nb_ligne_ass' => $nb_ligne_ass)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeimporttarifmedicament.php b/radiantproduction/Controleur/ControleurListeimporttarifmedicament.php deleted file mode 100644 index 1710fa3..0000000 --- a/radiantproduction/Controleur/ControleurListeimporttarifmedicament.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeimporttarifmedicament"); - - $this->tarif = new Tarifsmedicaments(); - } - public function index() - { - $tarifs = $this->tarif->getListeMedicamentsImportes(); - - $tarifs_total = null; - $nb_ligne_med = count($tarifs); - - if($nb_ligne_med>0) - { - $tarifs_total = $tarifs['0']; - } - - $this->genererVue(array('tarifs' => $tarifs, 'tarifs_total' => $tarifs_total, 'nb_ligne_med' => $nb_ligne_med)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListemedicaments.php b/radiantproduction/Controleur/ControleurListemedicaments.php deleted file mode 100644 index fd9e59e..0000000 --- a/radiantproduction/Controleur/ControleurListemedicaments.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listemedicaments'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeprofil.php b/radiantproduction/Controleur/ControleurListeprofil.php deleted file mode 100644 index 572fe4e..0000000 --- a/radiantproduction/Controleur/ControleurListeprofil.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeprofil'); - - $this->profil = new Profil(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $profils = $this->profil->getProfils($codesearch,$libellesearch); - $this->genererVue(array('profils' => $profils, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->profil->supprimer($id); - $this->rediriger("Listeprofil"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeprofilass.php b/radiantproduction/Controleur/ControleurListeprofilass.php deleted file mode 100644 index a6ec402..0000000 --- a/radiantproduction/Controleur/ControleurListeprofilass.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeprofilass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profils = $this->utilisateur->getListeProfilComplet(); - - $this->genererVue(array('profils' => $profils)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeprospects.php b/radiantproduction/Controleur/ControleurListeprospects.php deleted file mode 100644 index 71ea634..0000000 --- a/radiantproduction/Controleur/ControleurListeprospects.php +++ /dev/null @@ -1,71 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listeprospects"); - - $this->client = new Client_d(); - $this->police = new Police_d(); - - $_SESSION['modeDevis'] = "1"; - } - - public function index($numeroclientsearch="", $nomsearch="", $prenomsearch="", $telsearch="", $numeroPolicesearch="") - { - $_SESSION['numeroOptionTarif'] = "1"; - - if (isset($_POST['numeroclientsearch'])) - { - $numeroclientsearch=$_POST['numeroclientsearch']; - $numeroPolicesearch=$_POST['numeroPolicesearch']; - if ($numeroclientsearch>" ") { - $clients = $this->client->getClientsearch($numeroclientsearch); - } - elseif($numeroPolicesearch>"0") - { - $idPolice = $this->police->getClientsearchPol($numeroPolicesearch); - if ($idPolice<>"0") - { - $this->police->getContexteClientId($idPolice); - $this->police->getContexteAjaxPolice($idPolice); - $this->rediriger("Fichedevis"); - } - else - { - $clients = $this->client->getClients($numeroPolicesearch, "", ""); - } - } - else - { - $nomsearch=$_POST['nomsearch']; - $prenomsearch=$_POST['prenomsearch']; - $telsearch=$_POST['telsearch']; - $clients = $this->client->getClients($nomsearch, $prenomsearch, $telsearch); - } - } - else - { - $clients = $this->client->getClientVide(); - } - - if ($clients->rowCount() == 1) - { - $client = $clients->fetch(); - $_SESSION['idClient_d_Ajax'] = $client['id']; - $this->rediriger("Ficheprospect"); - } - else - { - $this->genererVue(array('clients' => $clients, 'numeroclientsearch' => $numeroclientsearch, - 'nomsearch' => $nomsearch, 'prenomsearch' => $prenomsearch, 'telsearch' => $telsearch, 'numeroPolicesearch' => $numeroPolicesearch)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListerclients.php b/radiantproduction/Controleur/ControleurListerclients.php deleted file mode 100644 index 2141659..0000000 --- a/radiantproduction/Controleur/ControleurListerclients.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listerclients"); - - $this->client = new Client(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $clients = $this->client->getListeClients(); - - $this->genererVue(array('clients' => $clients)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListerequeteperso.php b/radiantproduction/Controleur/ControleurListerequeteperso.php deleted file mode 100644 index 3e45a84..0000000 --- a/radiantproduction/Controleur/ControleurListerequeteperso.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listerequeteperso"); - - $this->requetesperso = new Requetesperso(); - } - public function index() { - - $requetespersos = $this->requetesperso->getrequetesperso(); - - $this->genererVue(array('requetespersos' => $requetespersos)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListerprospects.php b/radiantproduction/Controleur/ControleurListerprospects.php deleted file mode 100644 index 3e8bc42..0000000 --- a/radiantproduction/Controleur/ControleurListerprospects.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listerprospects"); - - $this->client = new Client_d(); - - $_SESSION['modeDevis'] = "1"; - } - - public function index() - { - $clients = $this->client->getListeClients(); - - $this->genererVue(array('clients' => $clients)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListetarifacte.php b/radiantproduction/Controleur/ControleurListetarifacte.php deleted file mode 100644 index 29b8265..0000000 --- a/radiantproduction/Controleur/ControleurListetarifacte.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listetarifacte"); - - $this->tarif = new Tarifsactes(); - } - - public function index() - { - $tarifs = $this->tarif->getListeTarif(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListetarifmedicament.php b/radiantproduction/Controleur/ControleurListetarifmedicament.php deleted file mode 100644 index ac7a188..0000000 --- a/radiantproduction/Controleur/ControleurListetarifmedicament.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listetarifmedicament"); - - $this->tarif = new Tarifsmedicaments(); - } - - public function index() - { - $tarifs = $this->tarif->getListeTarif(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListetarifoptique.php b/radiantproduction/Controleur/ControleurListetarifoptique.php deleted file mode 100644 index 43b095e..0000000 --- a/radiantproduction/Controleur/ControleurListetarifoptique.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Listetarifoptique"); - - $this->tarif = new Tarifsoptiques(); - } - - public function index() - { - $tarifs = $this->tarif->getListeTarif(); - - $this->genererVue(array('tarifs' => $tarifs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeutilisateur.php b/radiantproduction/Controleur/ControleurListeutilisateur.php deleted file mode 100644 index fabf91d..0000000 --- a/radiantproduction/Controleur/ControleurListeutilisateur.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeutilisateur'); - - $this->utilisateur = new Utilisateur(); - } - - public function index($codesearch="",$nomsearch="",$prenomsearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $nomsearch=$_POST['nomsearch']; - $prenomsearch=$_POST['prenomsearch']; - } - $utilisateurs = $this->utilisateur->getUtilisateurs($codesearch,$nomsearch,$prenomsearch); - $this->genererVue(array('utilisateurs' => $utilisateurs, 'codesearch' => $codesearch, 'nomsearch' => $nomsearch, 'prenomsearch' => $prenomsearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->utilisateur->supprimer($id); - $this->rediriger("Listeutilisateur"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurListeverres.php b/radiantproduction/Controleur/ControleurListeverres.php deleted file mode 100644 index 306847d..0000000 --- a/radiantproduction/Controleur/ControleurListeverres.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Listeverres'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLocaliseradherent.php b/radiantproduction/Controleur/ControleurLocaliseradherent.php deleted file mode 100644 index 122a08a..0000000 --- a/radiantproduction/Controleur/ControleurLocaliseradherent.php +++ /dev/null @@ -1,45 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Localiseradherent"); - - $this->pays = new Pays(); - $this->ville = new Ville(); - $this->localite = new Localite(); - $this->client = new Client(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idClient = $_SESSION['idClient_C']; - $idPolice = $_SESSION['idPolice_C']; - - $client = $this->client->getClientId($idClient); - - $codeSociete = $_SESSION['codeSociete']; - $codePays = $client['codePays']; - $codeVille = $client['codeVille']; - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $this->genererVue(array('pays' => $pays, 'ville' => $ville, 'localite' => $localite, 'client' => $client)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLogconnexion.php b/radiantproduction/Controleur/ControleurLogconnexion.php deleted file mode 100644 index 7a4dcde..0000000 --- a/radiantproduction/Controleur/ControleurLogconnexion.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Logconnexion'); - } - - public function index() - { - $this->genererVue(); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLogreconnaissancefaciale.php b/radiantproduction/Controleur/ControleurLogreconnaissancefaciale.php deleted file mode 100644 index aa0b264..0000000 --- a/radiantproduction/Controleur/ControleurLogreconnaissancefaciale.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Logreconnaissancefaciale'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLogregisterface.php b/radiantproduction/Controleur/ControleurLogregisterface.php deleted file mode 100644 index ffb0341..0000000 --- a/radiantproduction/Controleur/ControleurLogregisterface.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Logregisterface'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurLogremoveface.php b/radiantproduction/Controleur/ControleurLogremoveface.php deleted file mode 100644 index cfc5f44..0000000 --- a/radiantproduction/Controleur/ControleurLogremoveface.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Logremoveface'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMajdatesortie.php b/radiantproduction/Controleur/ControleurMajdatesortie.php deleted file mode 100644 index e1ec65e..0000000 --- a/radiantproduction/Controleur/ControleurMajdatesortie.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Majdatesortie"); - - $this->beneficiaire = new Beneficiaire(); - } - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $beneficiaire = $this->beneficiaire->getBeneficiaireId($idBeneficiaire); - - $this->genererVue(array('beneficiaire' => $beneficiaire)); - } - - public function enregistrer() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $motifSortie = $this->requete->getParametreFormulaire("motifSortie"); - $dateSortie = $this->requete->getParametreDate("dateSortie"); - - $this->beneficiaire->majdatesortie($idBeneficiaire, $dateSortie, $motifSortie); - - - $this->rediriger("Fichebeneficiaire/".$_SESSION['idBeneficiaire_C']); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMajmedecinsprestataire.php b/radiantproduction/Controleur/ControleurMajmedecinsprestataire.php deleted file mode 100644 index 9d44a60..0000000 --- a/radiantproduction/Controleur/ControleurMajmedecinsprestataire.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Majmedecinsprestataire"); - - $this->prestataire = new Prestataire(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $prestataire = $this->prestataire->getunprestatairebycode($codePrestataire); - - $medecinsnonaccessibles = $this->prestataire->getmedecinsnonaccessibles($codePrestataire); - - $medecinsaccessibles = $this->prestataire->getmedecinsprestataire($codePrestataire); - - $this->genererVue(array('prestataire' => $prestataire, 'medecinsnonaccessibles' => $medecinsnonaccessibles, 'medecinsaccessibles' => $medecinsaccessibles)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMedecins.php b/radiantproduction/Controleur/ControleurMedecins.php deleted file mode 100644 index e9a1f01..0000000 --- a/radiantproduction/Controleur/ControleurMedecins.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Medecins"); - - $this->specialite = new Specialite(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - - $specialite = $this->specialite->getListe(); - - $this->genererVue(array('specialite' => $specialite)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMedecinsprestataire.php b/radiantproduction/Controleur/ControleurMedecinsprestataire.php deleted file mode 100644 index bf6ffc7..0000000 --- a/radiantproduction/Controleur/ControleurMedecinsprestataire.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Medecinsprestataire"); - - $this->prestataire = new Prestataire(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $prestataire = $this->prestataire->getunprestatairebycode($codePrestataire); - - $medecins = $this->prestataire->getmedecinsprestataire($codePrestataire); - - $this->genererVue(array('prestataire' => $prestataire, 'medecins' => $medecins)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMessagerie.php b/radiantproduction/Controleur/ControleurMessagerie.php deleted file mode 100644 index 6dd12a3..0000000 --- a/radiantproduction/Controleur/ControleurMessagerie.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Messagerie'); - - $this->ouinonlu = (new Ouinon())->getListe(); - } - - public function index() - { - $this->genererVue(array('ouinonlu' => $this->ouinonlu)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMessageriecommun.php b/radiantproduction/Controleur/ControleurMessageriecommun.php deleted file mode 100644 index aa1c668..0000000 --- a/radiantproduction/Controleur/ControleurMessageriecommun.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Messageriecommun'); - - $this->typeprestataire = (new Typeprestataire())->getListeActifs(); - $this->messagerie = new Messagerie(); - } - - public function index() - { - $this->messagerie->initmessagecommun(); - - $this->genererVue(array('typeprestataire' => $this->typeprestataire)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifautresparametresgeneraux.php b/radiantproduction/Controleur/ControleurModifautresparametresgeneraux.php deleted file mode 100644 index 48a2370..0000000 --- a/radiantproduction/Controleur/ControleurModifautresparametresgeneraux.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifautresparametresgeneraux'); - - $this->societeuser = new Societeuser(); - } - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - $this->genererVue(array('societeuser' => $societeuser)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifautresparametresprod.php b/radiantproduction/Controleur/ControleurModifautresparametresprod.php deleted file mode 100644 index 0a44e37..0000000 --- a/radiantproduction/Controleur/ControleurModifautresparametresprod.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifautresparametresprod'); - - $this->societeuser = new Societeuser(); - } - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - $this->genererVue(array('societeuser' => $societeuser)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifautresparametressin.php b/radiantproduction/Controleur/ControleurModifautresparametressin.php deleted file mode 100644 index 9459789..0000000 --- a/radiantproduction/Controleur/ControleurModifautresparametressin.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifautresparametressin'); - - $this->societeuser = new Societeuser(); - - $this->accesAjoutPhOuinon = (new Ouinon())->getListe(); - $this->ajoutPrescriptionOuinon = (new Ouinon())->getListe(); - $this->ajoutPrescriptionExamOuinon = (new Ouinon())->getListe(); - $this->envoismsactifOuinon = (new Ouinon())->getListe(); - $this->smsAssureOuinon = (new Ouinon())->getListe(); - $this->smsmParFactureOuinon = (new Ouinon())->getListe(); - $this->emailParFactureOuinon = (new Ouinon())->getListe(); - $this->copieSmsAssureOuinon = (new Ouinon())->getListe(); - $this->filtreMedecinOuinon = (new Ouinon())->getListe(); - $this->seuilAlerteActifOuinon = (new Ouinon())->getListe(); - } - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - $this->genererVue(array('societeuser' => $societeuser, 'accesAjoutPhOuinon' => $this->accesAjoutPhOuinon, - 'ajoutPrescriptionOuinon' => $this->ajoutPrescriptionOuinon, 'ajoutPrescriptionExamOuinon' => $this->ajoutPrescriptionExamOuinon, - 'envoismsactifOuinon' => $this->envoismsactifOuinon, 'smsAssureOuinon' => $this->smsAssureOuinon, - 'smsmParFactureOuinon' => $this->smsmParFactureOuinon, 'emailParFactureOuinon' => $this->emailParFactureOuinon, - 'copieSmsAssureOuinon' => $this->copieSmsAssureOuinon, 'filtreMedecinOuinon' => $this->filtreMedecinOuinon, - 'seuilAlerteActifOuinon' => $this->seuilAlerteActifOuinon)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifieracte.php b/radiantproduction/Controleur/ControleurModifieracte.php deleted file mode 100644 index ae95f8f..0000000 --- a/radiantproduction/Controleur/ControleurModifieracte.php +++ /dev/null @@ -1,56 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifieracte'); - - $this->acte = new Acte(); - $this->familleacte = new Familleacte(); - $this->oui_non = new Ouinon(); - $this->garantie = new Garantie(); - $this->tarif = new Tarifsactes(); - $this->typeprestation = new Typeprestation(); - } - - public function index() - { - // $_SESSION['idActe_C'] = $this->requete->getParametre("idActe"); - $_SESSION['idActe_C'] = $this->requete->getParametre("id"); - - $idActe = $_SESSION['idActe_C']; - - $acte = $this->acte->getcaracteristiqueunsacte($idActe); - $familleacte = $this->familleacte->getListeCode(); - $acte_ententePrealable = $this->oui_non->getListe(); - $acte_exclu = $this->oui_non->getListe(); - $acte_chirurgie = $this->oui_non->getListe(); - $acte_actif = $this->oui_non->getListe(); - $garanties = $this->garantie->getListePourActe(); - $tarifs = $this->tarif->getListeCreation(); - $typesprestation = $this->typeprestation->getListe(); - $acte_alerte = $this->oui_non->getListe(); - - - $this->genererVue(array('acte' => $acte, 'acte_ententePrealable' => $acte_ententePrealable, 'acte_exclu' => $acte_exclu, - 'acte_chirurgie' => $acte_chirurgie, 'acte_actif' => $acte_actif, 'familleacte' => $familleacte, - 'garanties' => $garanties, 'tarifs' => $tarifs, 'typesprestation' => $typesprestation, 'acte_alerte' => $acte_alerte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifieradherent.php b/radiantproduction/Controleur/ControleurModifieradherent.php deleted file mode 100644 index 0307902..0000000 --- a/radiantproduction/Controleur/ControleurModifieradherent.php +++ /dev/null @@ -1,112 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifieradherent'); - - $this->adherent = new Adherent(); - $this->beneficiaire = new Beneficiaire(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->situationfamille = (new Situationfamille())->getListe(); - // $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->pays = new Pays(); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->tarif = new Tarif(); - $this->college = (new Collegepolice())->getListeToutes($_SESSION['idPolice_C']); - $this->ville = new Ville(); - $this->localite = new Localite(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $id = $this->requete->getParametre("id"); - $adherent = $this->adherent->getAdherentIdConso($id); - - $codePays = $adherent['codePays']; - $codeVille = $adherent['codeVille']; - // $codeLocalite = $client['codeLocalite']; - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $this->genererVue(array('adherent' => $adherent, 'college' => $this->college, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'pays' => $pays, 'situationfamille' => $this->situationfamille, 'groupesanguin' => $this->groupesanguin, - 'ville' => $ville, 'localite' => $localite)); - } - - public function modifier($prenoms=null) { - $id = $this->requete->getParametre("id"); - // $idCollege = $this->requete->getParametre("idCollege"); - $idPolice = $_SESSION['idPolice_C']; - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $codeSituationFamille = $this->requete->getParametreFormulaire("codeSituationFamille"); - $nombreEnfants = $this->requete->getParametreFormulaire("nombreEnfants"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePostale = $this->requete->getParametreFormulaire("adressePostale"); - $codePays = $this->requete->getParametre("codePays"); - $telephonFixe = $this->requete->getParametreFormulaire("telephonFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametreFormulaire("email"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - - $codeLocalite = $this->requete->getParametre("codeLocalite"); - - // echo "codeLocalite => $codeLocalite"; - // exit(); - - $this->adherent->modifier($id, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, $dateNaissance, $codeGroupeSanguin, - $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, $codePays, $telephonFixe, $telephonePortable, $email, $codeLocalite); - - $idAdherent = $id; - // $this->rediriger("Ficheadherent/".$id); - - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - if($codeTypeContrat=="F") - { - $this->rediriger("Ficheadherentfamiliale/".$idAdherent); - exit(); - } - else - { - $this->rediriger("Ficheadherent/".$idAdherent); - exit(); - } - } -} diff --git a/radiantproduction/Controleur/ControleurModifierapporteur.php b/radiantproduction/Controleur/ControleurModifierapporteur.php deleted file mode 100644 index 9ef7405..0000000 --- a/radiantproduction/Controleur/ControleurModifierapporteur.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierapporteur'); - - $this->apporteur = new Apporteur(); - } - - public function index() - { - $idApporteur = $this->requete->getParametre("id"); - - $apporteur = $this->apporteur->afficherunapporteur($idApporteur); - - $this->genererVue(array('apporteur' => $apporteur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierbeneficiaire.php b/radiantproduction/Controleur/ControleurModifierbeneficiaire.php deleted file mode 100644 index 2b53c4d..0000000 --- a/radiantproduction/Controleur/ControleurModifierbeneficiaire.php +++ /dev/null @@ -1,80 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierbeneficiaire'); - - $this->beneficiaire = new Beneficiaire(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->groupesanguin = (new Groupesanguin())->getListe(); - $this->adherent = new Adherent(); - // $this->lienparente = (new Lienparente())->getListe(); - $this->lienparente = new Lienparente(); - } - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $idAdherent = $_SESSION['idAdherent_C']; - $adherent = $this->adherent->getAdherentId($idAdherent); - $id = $this->requete->getParametre("id"); - $beneficiaire = $this->beneficiaire->getBeneficiaireId($id); - - $codeLienParente = $beneficiaire['codeLienParente']; - - if($codeLienParente=="A") - { - $lienparente = $this->lienparente->getListeAdherent(); - } - else - { - $lienparente = $this->lienparente->getListeDependant(); - } - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'adherent' => $adherent, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'groupesanguin' => $this->groupesanguin, 'lienparente' => $lienparente)); - } - - public function modifier($prenoms=null) { - $id = $this->requete->getParametre("id"); - $nomBeneficiaire = $this->requete->getParametre("nomBeneficiaire"); - $prenomsBeneficiaire = $this->requete->getParametreFormulaire("prenomsBeneficiaire"); - $codeLienParente = $this->requete->getParametre("codeLienParente"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $numeroPiece = $this->requete->getParametreFormulaire("numeroPiece"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $codeGroupeSanguin = $this->requete->getParametreFormulaire("codeGroupeSanguin"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $dateEntree = $this->requete->getParametreDate("dateEntree"); - - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $primeBeneficiaire = $this->requete->getParametreFormulaire("primeBeneficiaire","numerique"); - - $nomBeneficiaire = strtoupper($nomBeneficiaire); - $prenomsBeneficiaire = ucwords($prenomsBeneficiaire); - - $this->beneficiaire->modifier($id, $nomBeneficiaire, $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, - $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $dateEntree, $primeFamille, $primeBeneficiaire); - - $this->rediriger("Fichebeneficiaire/".$id); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierclient.php b/radiantproduction/Controleur/ControleurModifierclient.php deleted file mode 100644 index 3438fb7..0000000 --- a/radiantproduction/Controleur/ControleurModifierclient.php +++ /dev/null @@ -1,96 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierclient'); - - $this->client = new Client(); - $this->titre = (new Titre())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->typeclient = (new Typeclient())->getListe(); - $this->secteuractivite = (new Secteuractivite())->getListe(); - $this->langue = new Langue(); - } - public function index() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - //$id = $this->requete->getParametre("id"); - $id = $_SESSION['idClient_C']; - $client = $this->client->getClientId($id); - $codePays = $client['codePays']; - $codeVille = $client['codeVille']; - $this->pays = (new Pays())->getListe($client['codeSociete']); - $this->ville = (new Ville())->getListe($client['codePays']); - $this->localite = (new Localite())->getListe($codePays, $codeVille); - $langue = $this->langue->getListe(); - - $this->genererVue(array('client' => $client, 'pays' => $this->pays, 'ville' => $this->ville, 'titre' => $this->titre, - 'secteuractivite' => $this->secteuractivite, 'sexe' => $this->sexe, 'typeclient' => $this->typeclient, - 'listelocalite' => $this->localite, 'langue' => $langue)); - } - - public function modifier($prenoms=null) { - // $id = $this->requete->getParametre("id"); - $id = $_SESSION['idClient_C']; - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $typeClient = $this->requete->getParametre("typeClient"); - $codeTitre = $this->requete->getParametre("codeTitre"); - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $boitepostale = $this->requete->getParametreFormulaire("boitepostale"); - $codeVille = $this->requete->getParametre("codeVille"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $codePays = $this->requete->getParametre("codePays"); - $telephoneBureau = $this->requete->getParametreFormulaire("telephoneBureau"); - $telephonedomicile = $this->requete->getParametreFormulaire("telephonedomicile"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $fax = $this->requete->getParametreFormulaire("fax"); - $email = $this->requete->getParametreFormulaire("email"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - // $dateNaissance = $this->requete->getParametreFormulaire("dateNaissance","date"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeSecteur = $this->requete->getParametreFormulaire("codeSecteur"); - // $codeGestionnaire = $this->requete->getParametreFormulaire("codeGestionnaire"); - $codeGestionnaire = ""; - $nomMandataire = $this->requete->getParametreFormulaire("nomMandataire"); - $telephoneFixemandataire = $this->requete->getParametreFormulaire("telephoneFixemandataire"); - $telephonePortablemandataire = $this->requete->getParametreFormulaire("telephonePortablemandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - - $registreCommerce = $this->requete->getParametreFormulaire("registreCommerce"); - $codeLangueClient = $this->requete->getParametreFormulaire("codeLangueUser"); - - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - $this->client->modifier($id, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, - $fax, $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $codeLocalite, $registreCommerce, $codeLangueClient); - - $_SESSION['idClientAjax'] = $id; - // $this->rediriger("Ficheclient/".$id); - $this->rediriger("Ficheclient"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiercollege.php b/radiantproduction/Controleur/ControleurModifiercollege.php deleted file mode 100644 index 134b42a..0000000 --- a/radiantproduction/Controleur/ControleurModifiercollege.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiercollege'); - - $this->college_temp = new College_temp(); - $this->tarif = new Tarif(); - $this->produit = (new Produit())->getListe(); - $this->rachattm = (new Ouinon())->getListe(); - $this->ouinonimposerplafond = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Modifiercollegeindex.php'; - } - - public function enregistrer() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Modifiercollegeenregistrer.php'; - } -} diff --git a/radiantproduction/Controleur/ControleurModifiercolleged.php b/radiantproduction/Controleur/ControleurModifiercolleged.php deleted file mode 100644 index c9e8f27..0000000 --- a/radiantproduction/Controleur/ControleurModifiercolleged.php +++ /dev/null @@ -1,40 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiercolleged'); - - $this->college_temp = new College_temp_d(); - $this->tarif = new Tarif(); - $this->produit = (new Produit())->getListe(); - $this->rachattm = (new Ouinon())->getListe(); - $this->ouinonimposerplafond = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "1"; - } - - public function index() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Modifiercollegedindex.php'; - } - - public function enregistrer() - { - require_once $_SESSION['dossierSociete'].'/Tarifs/Controleur/Modifiercollegedenregistrer.php'; - } -} diff --git a/radiantproduction/Controleur/ControleurModifiercollegetemp.php b/radiantproduction/Controleur/ControleurModifiercollegetemp.php deleted file mode 100644 index e5c2053..0000000 --- a/radiantproduction/Controleur/ControleurModifiercollegetemp.php +++ /dev/null @@ -1,52 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiercollegetemp'); - $this->college_temp = new College_temp(); - } - - public function index() - { - $_SESSION['idCollegeTemp']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesadd = $this->college_temp->getGarAddCollege($idCollegeTemp); - $limiteadd = $this->college_temp->getLimiteAddCollege($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'garantiesadd' => $garantiesadd, 'limiteadd' => $limiteadd)); - } - - public function enregistrer() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $this->college_temp->recapituler_maj_limite_college($idCollegeTemp); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Modifiercollegetemp/".$_SESSION['idCollegeTemp']."/"); - } - else - { - $this->rediriger("Fichelimiteadditionnelle"); - } - } -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurModifiercommercial.php b/radiantproduction/Controleur/ControleurModifiercommercial.php deleted file mode 100644 index 2edc8b4..0000000 --- a/radiantproduction/Controleur/ControleurModifiercommercial.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiercommercial'); - - $this->apporteur = new Apporteur(); - $this->typeapporteur = new Typeapporteur(); - } - - public function index() - { - $idApporteur = $this->requete->getParametre("id"); - - $apporteur = $this->apporteur->afficheruncommercial($idApporteur); - - $typeapporteurs = $this->typeapporteur->getTypeapporteursCommercial(); - - $this->genererVue(array('apporteur' => $apporteur, 'typeapporteurs' => $typeapporteurs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierdevis.php b/radiantproduction/Controleur/ControleurModifierdevis.php deleted file mode 100644 index eb7dd59..0000000 --- a/radiantproduction/Controleur/ControleurModifierdevis.php +++ /dev/null @@ -1,80 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Modifierdevis"); - - $this->police = new Police_d(); - $this->typecontrat = (new Typecontrat())->getListe(); - $this->apporteur = (new Apporteur())->getListeBroker(); - $this->commercial = (new Apporteur())->getListeCommerciaux(); - $this->rachattm = (new Ouinon())->getListe(); - $this->fractionnement = (new Fractionnement())->getListe(); - $this->periodicite = (new Periodicite())->getListe(); - $this->ouinontacitereconduction = (new Ouinon())->getListe(); - - $_SESSION['modeDevis'] = "1"; - } - public function index() { - $id = $_SESSION['idPolice_d_C']; - $this->police->getContextePoliceId($id); - $police = $this->police->getPoliceId($id); - - $this->genererVue(array('police' => $police, 'typecontrat' => $this->typecontrat, 'apporteur' => $this->apporteur, - 'commercial' => $this->commercial, 'fractionnement' => $this->fractionnement, 'periodicite' => $this->periodicite, - 'rachattm' => $this->rachattm, 'ouinontacitereconduction' => $this->ouinontacitereconduction)); - } - - public function modifier() - { - $id = $_SESSION['idPolice_d_C']; - - $codeTypeContrat = $this->requete->getParametre("codeTypeContrat"); - $dateEffet = $this->requete->getParametreDate("dateEffet"); - $dateEcheance = $this->requete->getParametreDate("dateEcheance"); - $dateFin = $this->requete->getParametreDate("dateEcheance"); - $dateAvenant = $dateEffet; - $codeTypeAvenant = "AFN"; - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - $codeCommercial = $this->requete->getParametreFormulaire("codeCommercial"); - $codeGestionnaire = ""; - $rachatTm = $this->requete->getParametreFormulaire("rachatTm"); - $codeEtatPolice = "EC"; - $codeFractionnement = $this->requete->getParametre("codeFractionnement"); - $codePeriodicite = $this->requete->getParametre("codePeriodicite"); - $tauxCommission = $this->requete->getParametreFormulaire("tauxCommission","numerique"); - $tauxCommissionAutre = $this->requete->getParametreFormulaire("tauxCommissionAutre","numerique"); - $deduireComm = $this->requete->getParametreFormulaire("deduireComm"); - $taciteReconduction = $this->requete->getParametreFormulaire("taciteReconduction"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRistourne = $this->requete->getParametreFormulaire("tauxRistourne","numerique"); - - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $primeBeneficiaire = $this->requete->getParametreFormulaire("primeBeneficiaire","numerique"); - $delaiCarencePolice = $this->requete->getParametreFormulaire("delaiCarencePolice","numerique"); - - $this->police->modifier($id, $codeTypeContrat, $codeApporteur, $tauxCommission, $codePeriodicite, $rachatTm, $tauxRachatTm, $dateEffet, - $dateEcheance, $codeCommercial, $tauxCommissionAutre, $tauxRistourne, $delaiCarencePolice); - - $idPolice = $id; - $this->police->getContexteAjaxPolice($idPolice); - - $this->rediriger("Fichedevis"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierdossierclassique.php b/radiantproduction/Controleur/ControleurModifierdossierclassique.php deleted file mode 100644 index 23b09c4..0000000 --- a/radiantproduction/Controleur/ControleurModifierdossierclassique.php +++ /dev/null @@ -1,46 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierdossierclassique'); - - $this->facture = new Facture(); - $this->ouinonhospit = (new Ouinon())->getListe(); - $this->raison = (new Raisonconsultation())->getListe(); - $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); - $this->liendemandeur = (new Lienbeneficiaire())->getListe(); - - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idDossierClassique = $_SESSION['idDossierClassique']; - - $dossier = $this->facture->getdossierclassique($idDossierClassique); - - $this->genererVue(array('dossier' => $dossier, 'lienbeneficiaire' => $this->lienbeneficiaire, - 'liendemandeur' => $this->liendemandeur, 'modepaiement' => $this->modepaiement, 'banque' => $banque, - 'raison' => $this->raison, 'ouinonhospit' => $this->ouinonhospit)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierfamilleacte.php b/radiantproduction/Controleur/ControleurModifierfamilleacte.php deleted file mode 100644 index c9a0e67..0000000 --- a/radiantproduction/Controleur/ControleurModifierfamilleacte.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierfamilleacte'); - - $this->familleacte = new Familleacte(); - $this->oui_non = new Ouinon(); - $this->garantie = new Garantie(); - $this->tarif = new Tarifsactes(); - $this->typeprestation = new Typeprestation(); - } - - public function index() - { - $idFamilleacte = $this->requete->getParametreFormulaire("id"); - $famillacte = $this->familleacte->getunefamilleacte($idFamilleacte); - - $famille_hospitalisation = $this->oui_non->getListe(); - $garanties = $this->garantie->getListePourActe(); - $tarifs = $this->tarif->getListeCreation(); - $typesprestation = $this->typeprestation->getListe(); - - $this->genererVue(array('famille_hospitalisation' => $famille_hospitalisation, 'garanties' => $garanties, - 'tarifs' => $tarifs, 'typesprestation' => $typesprestation, 'famillacte' => $famillacte)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierfraisfuneraire.php b/radiantproduction/Controleur/ControleurModifierfraisfuneraire.php deleted file mode 100644 index 03c50df..0000000 --- a/radiantproduction/Controleur/ControleurModifierfraisfuneraire.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierfraisfuneraire'); - - $this->fraisfuneraire = new Fraisfuneraire(); - $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); - $this->liendemandeur = (new Lienbeneficiaire())->getListe(); - - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $fraisfuneraire = $this->fraisfuneraire->getfraisfuneraire($idBeneficiaire); - - $this->genererVue(array('fraisfuneraire' => $fraisfuneraire, 'lienbeneficiaire' => $this->lienbeneficiaire, - 'liendemandeur' => $this->liendemandeur, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiergcassureur.php b/radiantproduction/Controleur/ControleurModifiergcassureur.php deleted file mode 100644 index 8f77781..0000000 --- a/radiantproduction/Controleur/ControleurModifiergcassureur.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiergcassureur'); - - $this->gc = new Gestionconfiee(); - } - public function index() - { - $idGc = $this->requete->getParametreFormulaire("id"); - - $gc = $this->gc->getGcAssureurId($idGc); - - $gestioncarte = $this->gc->getListeGestioncarte(); - - - $this->genererVue(array('gc' => $gc, 'gestioncarte' => $gestioncarte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiergcpolice.php b/radiantproduction/Controleur/ControleurModifiergcpolice.php deleted file mode 100644 index e579dc3..0000000 --- a/radiantproduction/Controleur/ControleurModifiergcpolice.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Modifiergcpolice"); - - $this->gc = new Gestionconfiee(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $idPolice = $this->requete->getParametreFormulaire("id"); - - $_SESSION['idPolice_C'] = $idPolice; - - $gc = $this->gc->sp_getGcPoliceId($idPolice); - - $this->genererVue(array('gc' => $gc)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiermedecin.php b/radiantproduction/Controleur/ControleurModifiermedecin.php deleted file mode 100644 index 3304c15..0000000 --- a/radiantproduction/Controleur/ControleurModifiermedecin.php +++ /dev/null @@ -1,34 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiermedecin'); - - $this->medecin = new Medecin(); - $this->specialite = new Specialite(); - $this->sexe = (new Sexe())->getListe(); - } - - public function index() - { - $idMedecin = $this->requete->getParametreFormulaire("id"); - - $medecin = $this->medecin->getunmedecin($idMedecin); - - $specialite = $this->specialite->getListe(); - - $this->genererVue(array('medecin' => $medecin, 'specialite' => $specialite, 'sexe' => $this->sexe)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiermedicament.php b/radiantproduction/Controleur/ControleurModifiermedicament.php deleted file mode 100644 index e33348a..0000000 --- a/radiantproduction/Controleur/ControleurModifiermedicament.php +++ /dev/null @@ -1,34 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiermedicament'); - - $this->detailtarifmedicament = new Detailtarifmedicament(); - $this->oui_non = new Ouinon(); - } - - public function index() - { - // $_SESSION['idmedicament_C'] = $this->requete->getParametre("id"); - - $idMedicament = $this->requete->getParametre("id"); - $medicament = $this->detailtarifmedicament->getunmedicament($idMedicament); - $medicament_ententePrealable = $this->oui_non->getListe(); - $medicament_exclu = $this->oui_non->getListe(); - $medicament_actif = $this->oui_non->getListe(); - - $this->genererVue(array('medicament' => $medicament, 'medicament_ententePrealable' => $medicament_ententePrealable, - 'medicament_exclu' => $medicament_exclu, 'medicament_actif' => $medicament_actif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierparametresgeneraux.php b/radiantproduction/Controleur/ControleurModifierparametresgeneraux.php deleted file mode 100644 index 3c6791e..0000000 --- a/radiantproduction/Controleur/ControleurModifierparametresgeneraux.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierparametresgeneraux'); - - $this->societeuser = new Societeuser(); - $this->langue = new Langue(); - } - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - $langue = $this->langue->getListe(); - - $this->genererVue(array('societeuser' => $societeuser, 'langue' => $langue)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierpolice.php b/radiantproduction/Controleur/ControleurModifierpolice.php deleted file mode 100644 index 999c088..0000000 --- a/radiantproduction/Controleur/ControleurModifierpolice.php +++ /dev/null @@ -1,64 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Modifierpolice"); - - $this->police = new Police(); - $this->apporteur = (new Apporteur())->getListeBroker(); - $this->commercial = (new Apporteur())->getListeCommerciaux(); - $this->rachattm = (new Ouinon())->getListe(); - $this->police_speciale = (new Ouinon())->getListe(); - $this->remplacement_adherent = (new Ouinon())->getListe(); - } - public function index() - { - $id = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($id); - $police = $this->police->getPoliceId($id); - - $this->genererVue(array('police' => $police, 'apporteur' => $this->apporteur, 'rachattm' => $this->rachattm, - 'commercial' => $this->commercial, 'police_speciale' => $this->police_speciale, - 'remplacement_adherent' => $this->remplacement_adherent)); - } - - public function modifier() - { - $id = $_SESSION['idPolice_C']; - $tauxCommission = $this->requete->getParametreFormulaire("tauxCommission","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $primeBeneficiaire = $this->requete->getParametreFormulaire("primeBeneficiaire","numerique"); - - $codeApporteur = $this->requete->getParametreFormulaire("codeApporteur"); - - $codeCommercial = $this->requete->getParametreFormulaire("codeCommercial"); - $tauxCommissionAutre = $this->requete->getParametreFormulaire("tauxCommissionAutre","numerique"); - - $speciale = $this->requete->getParametreFormulaire("speciale"); - $limiteConsommation = $this->requete->getParametreFormulaire("limiteConsommation","numerique"); - $tauxRistourne = $this->requete->getParametreFormulaire("tauxRistourne","numerique"); - $remplacementAdherent = $this->requete->getParametreFormulaire("remplacementAdherent"); - $delaiCarencePolice = $this->requete->getParametreFormulaire("delaiCarencePolice","numerique"); - - $this->police->modifier($id, $tauxCommission, $primeFamille, $primeBeneficiaire, $codeApporteur, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent, $delaiCarencePolice); - - $idPolice = $id; - $this->police->getContexteAjaxPolice($idPolice); - - $this->rediriger("Fichepolice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierprestataire.php b/radiantproduction/Controleur/ControleurModifierprestataire.php deleted file mode 100644 index e3d5fed..0000000 --- a/radiantproduction/Controleur/ControleurModifierprestataire.php +++ /dev/null @@ -1,71 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierprestataire'); - - $this->prestataire = new Prestataire(); - - $this->typeprestataire = new Typeprestataire(); - $this->reseausoins = new Reseausoins(); - $this->pays = new Pays(); - $this->ville = new Ville(); - $this->localite = new Localite(); - $this->tarifacte = new Tarifsactes(); - $this->tarifsmedicament = new Tarifsmedicaments(); - $this->tarifsoptique = new Tarifsoptiques(); - $this->typedecompte = new Typedecompte(); - $this->ouinonconvention = (new Ouinon())->getListe(); - $this->ouinongestionreseau = (new Ouinon())->getListe(); - $this->banque = new Banque(); - $this->langue = new Langue(); - } - - public function index() - { - $idPrestataire = $this->requete->getParametreFormulaire("id"); - $prestataire = $this->prestataire->getunprestataire($idPrestataire); - - $codeSociete = $_SESSION['codeSociete']; - $codePays = $prestataire['codePays']; - $codeVille = $prestataire['codeVille']; - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - $typeprestataire = $this->typeprestataire->getListeActifs(); - $reseausoins = $this->reseausoins->getListe(); - $tarifacte = $this->tarifacte->getListe(); - $tarifsmedicament = $this->tarifsmedicament->getListe(); - $tarifsoptique = $this->tarifsoptique->getListe(); - $typedecompte = $this->typedecompte->getListe(); - $banque = $this->banque->getListe(); - $langue = $this->langue->getListe(); - - $this->genererVue(array('prestataire' => $prestataire, 'pays' => $pays, 'ville' => $ville, 'listelocalite' => $localite, - 'typeprestataire' => $typeprestataire, 'reseausoins' => $reseausoins, 'tarifacte' => $tarifacte, 'banque' => $banque, - 'tarifsmedicament' => $tarifsmedicament, 'tarifsoptique' => $tarifsoptique, 'typedecompte' => $typedecompte, - 'ouinonconvention' => $this->ouinonconvention, 'ouinongestionreseau' => $this->ouinongestionreseau, 'langue' => $langue)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierprimebeneficiaire.php b/radiantproduction/Controleur/ControleurModifierprimebeneficiaire.php deleted file mode 100644 index 3d2981c..0000000 --- a/radiantproduction/Controleur/ControleurModifierprimebeneficiaire.php +++ /dev/null @@ -1,51 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierprimebeneficiaire'); - $this->beneficiaire = new Beneficiaire(); - } - - public function index() - { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $idBeneficiaire = $this->requete->getParametre("id"); - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $beneficiaire = $this->beneficiaire->getPrimeBeneficiaire($idBeneficiaire); - - $this->genererVue(array('beneficiaire' => $beneficiaire)); - - } - - public function imposerprime() - { - $primeNette = $this->requete->getParametreFormulaire("primeNette","numerique"); - $commission = $this->requete->getParametreFormulaire("commission_new","numerique"); - $commissionAutre = $this->requete->getParametreFormulaire("commissionAutre_new","numerique"); - $accessoire = $this->requete->getParametreFormulaire("accessoire_new","numerique"); - $primeHt = $this->requete->getParametreFormulaire("primeHt_new","numerique"); - $taxe = $this->requete->getParametreFormulaire("taxe_new","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $primeTtc = $this->requete->getParametreFormulaire("primeTtc_new","numerique"); - $primeNetteStat = $this->requete->getParametreFormulaire("primeNetteStat_new","numerique"); - - // var_dump("primeHt=$primeHt ; accessoire=$accessoire"); - // exit(); - - // On va calculuer la prime - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $this->beneficiaire->imposerprime($idAdherent, $idBeneficiaire, $primeNette, $commission, $commissionAutre, $primeHt, $accessoire, - $taxe, $fraisCarte, $primeTtc, $primeNetteStat); - - $this->rediriger("Ficheadherent/".$_SESSION['idAdherent_C']); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierproduit.php b/radiantproduction/Controleur/ControleurModifierproduit.php deleted file mode 100644 index 9771634..0000000 --- a/radiantproduction/Controleur/ControleurModifierproduit.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierproduit'); - - $this->produit = new Produit(); - } - - public function index() - { - $idProduit = $this->requete->getParametreFormulaire("id"); - - $produit = $this->produit->getunproduit($idProduit); - - $this->genererVue(array('produit' => $produit)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierprofil.php b/radiantproduction/Controleur/ControleurModifierprofil.php deleted file mode 100644 index d5a30fc..0000000 --- a/radiantproduction/Controleur/ControleurModifierprofil.php +++ /dev/null @@ -1,44 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierprofil'); - - $this->profil = new Profil(); - $this->profilsysteme = new ProfilSysteme(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $profil = $this->profil->getProfil($id); - $profilsysteme = $this->profilsysteme->getListe(); - $this->genererVue(array('profil' => $profil, 'profilsysteme' => $profilsysteme)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idprofil"); - - $oldcodeType = $this->requete->getParametre("oldcodeProfil"); - $codeProfil = $this->requete->getParametre("codeProfil"); - $libelle = $this->requete->getParametre("libelle"); - $codeProfilSysteme= $this->requete->getParametre("codeProfilSysteme"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeProfil!=$oldcodeType) && ($this->profil->existeligne($codeProfil))); - if (!$doublon) { - $this->profil->modifier($id, $codeProfil, $libelle, $codeProfilSysteme); - } - $this->rediriger("Listeprofil"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierprospect.php b/radiantproduction/Controleur/ControleurModifierprospect.php deleted file mode 100644 index bd70b6d..0000000 --- a/radiantproduction/Controleur/ControleurModifierprospect.php +++ /dev/null @@ -1,94 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierprospect'); - - $this->client = new Client_d(); - $this->titre = (new Titre())->getListe(); - $this->sexe = (new Sexe())->getListe(); - $this->typeclient = (new Typeclient())->getListe(); - $this->secteuractivite = (new Secteuractivite())->getListe(); - $this->langue = new Langue(); - - $_SESSION['modeDevis'] = "1"; - } - public function index() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $id = $_SESSION['idClient_d_C']; - $client = $this->client->getClientId($id); - $codePays = $client['codePays']; - $codeVille = $client['codeVille']; - $this->pays = (new Pays())->getListe($client['codeSociete']); - $this->ville = (new Ville())->getListe($client['codePays']); - $this->localite = (new Localite())->getListe($codePays, $codeVille); - $langue = $this->langue->getListe(); - - $this->genererVue(array('client' => $client, 'pays' => $this->pays, 'ville' => $this->ville, 'titre' => $this->titre, - 'secteuractivite' => $this->secteuractivite, 'sexe' => $this->sexe, 'typeclient' => $this->typeclient, - 'listelocalite' => $this->localite, 'langue' => $langue)); - } - - public function modifier($prenoms=null) - { - $id = $_SESSION['idClient_d_C']; - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $typeClient = $this->requete->getParametre("typeClient"); - $codeTitre = $this->requete->getParametre("codeTitre"); - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $boitepostale = $this->requete->getParametreFormulaire("boitepostale"); - $codeVille = $this->requete->getParametre("codeVille"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $codePays = $this->requete->getParametre("codePays"); - $telephoneBureau = $this->requete->getParametreFormulaire("telephoneBureau"); - $telephonedomicile = $this->requete->getParametreFormulaire("telephonedomicile"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $fax = $this->requete->getParametreFormulaire("fax"); - $email = $this->requete->getParametreFormulaire("email"); - $sexe = $this->requete->getParametreFormulaire("sexe"); - $dateNaissance = $this->requete->getParametreDate("dateNaissance"); - $codeSecteur = $this->requete->getParametreFormulaire("codeSecteur"); - $codeGestionnaire = ""; - $nomMandataire = $this->requete->getParametreFormulaire("nomMandataire"); - $telephoneFixemandataire = $this->requete->getParametreFormulaire("telephoneFixemandataire"); - $telephonePortablemandataire = $this->requete->getParametreFormulaire("telephonePortablemandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - $emailMandataire = $this->requete->getParametreFormulaire("emailMandataire"); - - $registreCommerce = $this->requete->getParametreFormulaire("registreCommerce"); - $codeLangueClient = $this->requete->getParametreFormulaire("codeLangueUser"); - - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - $this->client->modifier($id, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, - $fax, $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $codeLocalite, $registreCommerce, $codeLangueClient); - - $_SESSION['idClient_d_Ajax'] = $id; - $this->rediriger("Ficheprospect"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierreseausoins.php b/radiantproduction/Controleur/ControleurModifierreseausoins.php deleted file mode 100644 index bbd9efc..0000000 --- a/radiantproduction/Controleur/ControleurModifierreseausoins.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierreseausoins'); - - $this->reseau = new Reseausoins(); - } - - public function index() - { - $idReseau = $this->requete->getParametreFormulaire("id"); - - $reseau = $this->reseau->getunreseau($idReseau); - - $this->genererVue(array('reseau' => $reseau)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiertarifacte.php b/radiantproduction/Controleur/ControleurModifiertarifacte.php deleted file mode 100644 index 7102862..0000000 --- a/radiantproduction/Controleur/ControleurModifiertarifacte.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiertarifacte'); - - $this->tarif = new Tarifsactes(); - } - - public function index() - { - $idTarif = $this->requete->getParametreFormulaire("id"); - - $tarif = $this->tarif->getunptarif($idTarif); - - $this->genererVue(array('tarif' => $tarif)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiertarifmedicament.php b/radiantproduction/Controleur/ControleurModifiertarifmedicament.php deleted file mode 100644 index a46353b..0000000 --- a/radiantproduction/Controleur/ControleurModifiertarifmedicament.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiertarifmedicament'); - - $this->tarif = new Tarifsmedicaments(); - } - - public function index() - { - $idTarif = $this->requete->getParametreFormulaire("id"); - - $tarif = $this->tarif->getunptarif($idTarif); - - $this->genererVue(array('tarif' => $tarif)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifiertarifoptique.php b/radiantproduction/Controleur/ControleurModifiertarifoptique.php deleted file mode 100644 index 6907f86..0000000 --- a/radiantproduction/Controleur/ControleurModifiertarifoptique.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifiertarifoptique'); - - $this->tarif = new Tarifsoptiques(); - } - - public function index() - { - $idTarif = $this->requete->getParametreFormulaire("id"); - - $tarif = $this->tarif->getunptarif($idTarif); - - $this->genererVue(array('tarif' => $tarif)); - } - - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierutilisateur.php b/radiantproduction/Controleur/ControleurModifierutilisateur.php deleted file mode 100644 index a0f077a..0000000 --- a/radiantproduction/Controleur/ControleurModifierutilisateur.php +++ /dev/null @@ -1,60 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierutilisateur'); - - $this->utilisateur = new Utilisateur(); - $this->profil = (new Profil())->getListe(); - $this->service = (new Service())->getListe(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $utilisateur = $this->utilisateur->getUtilisateurId($id); - $this->genererVue(array('utilisateur' => $utilisateur, 'profil' => $this->profil, 'service' => $this->service)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idUtilisateur"); - - $oldcodeUtilisateur = $this->requete->getParametre("oldcodeUtilisateur"); - $codeUtilisateur = $this->requete->getParametre("codeUtilisateur"); - - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeUtilisateur = $this->requete->getParametre("codeUtilisateur"); - - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametre("prenoms"); - $codeService = $this->requete->getParametre("codeService"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $fonction = $this->requete->getParametreFormulaire("fonction"); - $codeProfil = $this->requete->getParametre("codeProfil"); - - // Début contrôle doublon - $doublon = false; - $doublon = (($codeUtilisateur!=$oldcodeUtilisateur) && ($this->utilisateur->existeligne($codeUtilisateur))); - if (!$doublon) { - $this->utilisateur->modifier($id, $codeUtilisateur, $nom, $prenoms, $codeService, $telephone, - $email, $fonction, $codeProfil); - } - $this->rediriger("Listeutilisateur"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifierverre.php b/radiantproduction/Controleur/ControleurModifierverre.php deleted file mode 100644 index 297cfca..0000000 --- a/radiantproduction/Controleur/ControleurModifierverre.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifierverre'); - - $this->detailtarif = new Detailtarifoptique(); - $this->oui_non = new Ouinon(); - } - - public function index() - { - $idVerre = $this->requete->getParametre("id"); - $verre = $this->detailtarif->getunverre($idVerre); - $verre_actif = $this->oui_non->getListe(); - - $this->genererVue(array('verre' => $verre, 'verre_actif' => $verre_actif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifparamdureeviebon.php b/radiantproduction/Controleur/ControleurModifparamdureeviebon.php deleted file mode 100644 index cf47315..0000000 --- a/radiantproduction/Controleur/ControleurModifparamdureeviebon.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifparamdureeviebon'); - - $this->typebon = new Typebon(); - } - public function index() - { - $typebons = $this->typebon->getTypebon(); - - $this->genererVue(array('typebons' => $typebons)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurModifparamseuilalerte.php b/radiantproduction/Controleur/ControleurModifparamseuilalerte.php deleted file mode 100644 index d23b5c1..0000000 --- a/radiantproduction/Controleur/ControleurModifparamseuilalerte.php +++ /dev/null @@ -1,20 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Modifparamseuilalerte'); - - $this->produit = (new Produit())->getListe(); - } - public function index() - { - $this->genererVue(array('produit' => $this->produit)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurMoritio.php b/radiantproduction/Controleur/ControleurMoritio.php deleted file mode 100644 index 48f897c..0000000 --- a/radiantproduction/Controleur/ControleurMoritio.php +++ /dev/null @@ -1,51 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Nonfacturepolice"); - - $this->beneficiaire = new Beneficiaire(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - - $nonfactures = $this->beneficiaire->getBeneficiairesNonFature($idPolice); - - $ente_nonfacture = null; - - if(count($nonfactures)>"0") - { - $ente_nonfacture = $nonfactures['0']; - } - - $this->genererVue(array('nonfactures' => $nonfactures, 'ente_nonfacture' => $ente_nonfacture)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNonfacturepolicecons.php b/radiantproduction/Controleur/ControleurNonfacturepolicecons.php deleted file mode 100644 index 6410d09..0000000 --- a/radiantproduction/Controleur/ControleurNonfacturepolicecons.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Nonfacturepolicecons"); - - $this->beneficiaire = new Beneficiaire(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - - $nonfactures = $this->beneficiaire->getBeneficiairesNonFature($idPolice); - - $ente_nonfacture = null; - - if(count($nonfactures)>"0") - { - $ente_nonfacture = $nonfactures['0']; - } - - $this->genererVue(array('nonfactures' => $nonfactures, 'ente_nonfacture' => $ente_nonfacture)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNotesbeneficiaire.php b/radiantproduction/Controleur/ControleurNotesbeneficiaire.php deleted file mode 100644 index aead8ff..0000000 --- a/radiantproduction/Controleur/ControleurNotesbeneficiaire.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Notesbeneficiaire'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNotesfeuillemaladie.php b/radiantproduction/Controleur/ControleurNotesfeuillemaladie.php deleted file mode 100644 index cb5b887..0000000 --- a/radiantproduction/Controleur/ControleurNotesfeuillemaladie.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Notesfeuillemaladie'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveaumedicament.php b/radiantproduction/Controleur/ControleurNouveaumedicament.php deleted file mode 100644 index 638b5fb..0000000 --- a/radiantproduction/Controleur/ControleurNouveaumedicament.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveaumedicament'); - - $this->oui_non = new Ouinon(); - } - - public function index() - { - $medicament_ententePrealable = $this->oui_non->getListe(); - $medicament_exclu = $this->oui_non->getListe(); - $medicament_actif = $this->oui_non->getListe(); - - $this->genererVue(array('medicament_ententePrealable' => $medicament_ententePrealable, 'medicament_exclu' => $medicament_exclu, - 'medicament_actif' => $medicament_actif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveauproduit.php b/radiantproduction/Controleur/ControleurNouveauproduit.php deleted file mode 100644 index e4cc329..0000000 --- a/radiantproduction/Controleur/ControleurNouveauproduit.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveauproduit'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveaureseausoins.php b/radiantproduction/Controleur/ControleurNouveaureseausoins.php deleted file mode 100644 index aa6753b..0000000 --- a/radiantproduction/Controleur/ControleurNouveaureseausoins.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveaureseausoins'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveautarifacte.php b/radiantproduction/Controleur/ControleurNouveautarifacte.php deleted file mode 100644 index a233d8c..0000000 --- a/radiantproduction/Controleur/ControleurNouveautarifacte.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveautarifacte'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveautarifmedicament.php b/radiantproduction/Controleur/ControleurNouveautarifmedicament.php deleted file mode 100644 index 0409200..0000000 --- a/radiantproduction/Controleur/ControleurNouveautarifmedicament.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveautarifmedicament'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveautarifoptique.php b/radiantproduction/Controleur/ControleurNouveautarifoptique.php deleted file mode 100644 index 2de6abe..0000000 --- a/radiantproduction/Controleur/ControleurNouveautarifoptique.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveautarifoptique'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveauverre.php b/radiantproduction/Controleur/ControleurNouveauverre.php deleted file mode 100644 index d635083..0000000 --- a/radiantproduction/Controleur/ControleurNouveauverre.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveauverre'); - - $this->oui_non = new Ouinon(); - } - - public function index() - { - $verre_actif = $this->oui_non->getListe(); - - $this->genererVue(array('verre_actif' => $verre_actif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouveleacte.php b/radiantproduction/Controleur/ControleurNouveleacte.php deleted file mode 100644 index ffb11ec..0000000 --- a/radiantproduction/Controleur/ControleurNouveleacte.php +++ /dev/null @@ -1,56 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouveleacte'); - - $this->familleacte = new Familleacte(); - $this->oui_non = new Ouinon(); - $this->garantie = new Garantie(); - $this->tarif = new Tarifsactes(); - $this->typeprestation = new Typeprestation(); - } - - public function index() - { - $actesHarmonises = $_SESSION['actesHarmonises']; - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - $_SESSION['codeTarifActe_C'] = "ST"; - } - $codeTarifActe = $_SESSION['codeTarifActe_C']; - - $familleacte = $this->familleacte->getListeFamilleActeTarifCombo($codeTarifActe); - - // $familleacte = $this->familleacte->getListeCode(); - $acte_ententePrealable = $this->oui_non->getListe(); - $acte_exclu = $this->oui_non->getListe(); - $acte_chirurgie = $this->oui_non->getListe(); - $acte_actif = $this->oui_non->getListe(); - $garanties = $this->garantie->getListePourActe(); - $tarifs = $this->tarif->getListeCreation(); - $typesprestation = $this->typeprestation->getListe(); - $acte_alerte = $this->oui_non->getListe(); - - - $this->genererVue(array('acte_ententePrealable' => $acte_ententePrealable, 'acte_exclu' => $acte_exclu, - 'acte_chirurgie' => $acte_chirurgie, 'acte_actif' => $acte_actif, 'familleacte' => $familleacte, - 'garanties' => $garanties, 'tarifs' => $tarifs, 'typesprestation' => $typesprestation, 'acte_alerte' => $acte_alerte)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurNouvellefamilleacte.php b/radiantproduction/Controleur/ControleurNouvellefamilleacte.php deleted file mode 100644 index 98b47ef..0000000 --- a/radiantproduction/Controleur/ControleurNouvellefamilleacte.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Nouvellefamilleacte'); - - $this->oui_non = new Ouinon(); - $this->garantie = new Garantie(); - $this->tarif = new Tarifsactes(); - $this->typeprestation = new Typeprestation(); - } - - public function index() - { - $famille_hospitalisation = $this->oui_non->getListe(); - $garanties = $this->garantie->getListePourActe(); - $tarifs = $this->tarif->getListeCreation(); - $typesprestation = $this->typeprestation->getListe(); - - $this->genererVue(array('famille_hospitalisation' => $famille_hospitalisation, 'garanties' => $garanties, - 'tarifs' => $tarifs, 'typesprestation' => $typesprestation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurOpticiencons.php b/radiantproduction/Controleur/ControleurOpticiencons.php deleted file mode 100644 index a41512d..0000000 --- a/radiantproduction/Controleur/ControleurOpticiencons.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Opticiencons'); - - $this->facture_optique = new Optique(); - } - - public function index() - { - $numeroBonOptique = $_SESSION['numeroBonOptique_C']; - $codePrestataireLivraison = $_SESSION['codePrestataireLivraison_C']; - - $prescription = $this->facture_optique->getoptique_opt($numeroBonOptique, $codePrestataireLivraison); - - $detaillivres = $this->facture_optique->getdetailoptique_opt($numeroBonOptique, $codePrestataireLivraison); - - $this->genererVue(array('prescription' => $prescription, 'detaillivres' => $detaillivres)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurOpticiendec.php b/radiantproduction/Controleur/ControleurOpticiendec.php deleted file mode 100644 index 5d5b3bc..0000000 --- a/radiantproduction/Controleur/ControleurOpticiendec.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Opticiendec'); - - $this->facture_optique = new Optique(); - } - - public function index() - { - $numeroBonOptique = $_SESSION['numeroBonOptique_C']; - $codePrestataireLivraison = $_SESSION['codePrestataireLivraison_C']; - - $prescription = $this->facture_optique->getoptique_opt($numeroBonOptique, $codePrestataireLivraison); - - $detaillivres = $this->facture_optique->getdetailoptique_opt($numeroBonOptique, $codePrestataireLivraison); - - $this->genererVue(array('prescription' => $prescription, 'detaillivres' => $detaillivres)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurOptiquecons.php b/radiantproduction/Controleur/ControleurOptiquecons.php deleted file mode 100644 index 3219803..0000000 --- a/radiantproduction/Controleur/ControleurOptiquecons.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Optiquecons'); - - $this->optique = new Optique(); - $this->detailoptique = new Detailoptique(); - } - - public function index() - { - $numeroOptique = $_SESSION['numeroOptique_C']; - - $optique = $this->optique->getoptique($numeroOptique); - - $detailoptiques = $this->detailoptique->getdetailoptique($numeroOptique); - - $this->genererVue(array('optique' => $optique, 'detailoptiques' => $detailoptiques)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurOptiquedec.php b/radiantproduction/Controleur/ControleurOptiquedec.php deleted file mode 100644 index 542c6fa..0000000 --- a/radiantproduction/Controleur/ControleurOptiquedec.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Optiquedec'); - - $this->optique = new Optique(); - $this->detailoptique = new Detailoptique(); - } - - public function index() - { - $numeroOptique = $_SESSION['numeroOptique_C']; - - $optique = $this->optique->getoptique($numeroOptique); - - $detailoptiques = $this->detailoptique->getdetailoptique($numeroOptique); - - $this->genererVue(array('optique' => $optique, 'detailoptiques' => $detailoptiques)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPaiementdecompte.php b/radiantproduction/Controleur/ControleurPaiementdecompte.php deleted file mode 100644 index 5de93ce..0000000 --- a/radiantproduction/Controleur/ControleurPaiementdecompte.php +++ /dev/null @@ -1,40 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paiementdecompte'); - - $this->reglement = new Reglement(); - } - - public function index() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $reglement = $this->reglement->getpaiementdecompte($idPaiementDecompte); - $valide = $reglement['valide']; - - if($valide=="1") - { - $this->rediriger("Paiementdecomptecons"); - exit(); - } - else - { - $composante = $this->reglement->getListeCompsanteReglement(); - - $this->reglement->recappaiementdecompte(); - - $reglement = $this->reglement->getpaiementdecompte($idPaiementDecompte); - - $decomptes = $this->reglement->get_paiementdecompte_sel(); - - $this->genererVue(array('reglement' => $reglement, 'composante' => $composante, 'decomptes' => $decomptes)); - } - } -} diff --git a/radiantproduction/Controleur/ControleurPaiementdecomptecons.php b/radiantproduction/Controleur/ControleurPaiementdecomptecons.php deleted file mode 100644 index 214e33c..0000000 --- a/radiantproduction/Controleur/ControleurPaiementdecomptecons.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paiementdecomptecons'); - - $this->reglement = new Reglement(); - } - - public function index() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $reglement = $this->reglement->getpaiementdecompte($idPaiementDecompte); - - $decomptes = $this->reglement->get_paiementdecompte_cons(); - - $this->genererVue(array('reglement' => $reglement, 'decomptes' => $decomptes)); - } -} diff --git a/radiantproduction/Controleur/ControleurParamactevisible.php b/radiantproduction/Controleur/ControleurParamactevisible.php deleted file mode 100644 index 24c4d24..0000000 --- a/radiantproduction/Controleur/ControleurParamactevisible.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paramactevisible'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profils = $this->utilisateur->getListeProfil(); - - $this->genererVue(array('profils' => $profils)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParambons.php b/radiantproduction/Controleur/ControleurParambons.php deleted file mode 100644 index a58a107..0000000 --- a/radiantproduction/Controleur/ControleurParambons.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Parambons'); - - $this->typebon = new Typebon(); - } - public function index() - { - $typebons = $this->typebon->getTypebonParam(); - - $this->genererVue(array('typebons' => $typebons)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamdureeviebon.php b/radiantproduction/Controleur/ControleurParamdureeviebon.php deleted file mode 100644 index 108f0f7..0000000 --- a/radiantproduction/Controleur/ControleurParamdureeviebon.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paramdureeviebon'); - - $this->typebon = new Typebon(); - } - public function index() - { - $typebons = $this->typebon->getTypebon(); - - $this->genererVue(array('typebons' => $typebons)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamerequeteperso.php b/radiantproduction/Controleur/ControleurParamerequeteperso.php deleted file mode 100644 index f896cdf..0000000 --- a/radiantproduction/Controleur/ControleurParamerequeteperso.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paramerequeteperso'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParametrages.php b/radiantproduction/Controleur/ControleurParametrages.php deleted file mode 100644 index b501f35..0000000 --- a/radiantproduction/Controleur/ControleurParametrages.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Parametrages'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurParametresgeneraux.php b/radiantproduction/Controleur/ControleurParametresgeneraux.php deleted file mode 100644 index 0a42508..0000000 --- a/radiantproduction/Controleur/ControleurParametresgeneraux.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Parametresgeneraux"); - - $this->societeuser = new Societeuser(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $codeSociete = $_SESSION['codeSociete']; - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - $this->genererVue(array('societeuser' => $societeuser)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamhabilitation.php b/radiantproduction/Controleur/ControleurParamhabilitation.php deleted file mode 100644 index 8c54961..0000000 --- a/radiantproduction/Controleur/ControleurParamhabilitation.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Paramhabilitation"); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamhabilitationass.php b/radiantproduction/Controleur/ControleurParamhabilitationass.php deleted file mode 100644 index cfcb440..0000000 --- a/radiantproduction/Controleur/ControleurParamhabilitationass.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paramhabilitationass'); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profil = $this->utilisateur->getListeProfil(); - - $this->genererVue(array('profil' => $profil)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamprod.php b/radiantproduction/Controleur/ControleurParamprod.php deleted file mode 100644 index 648c4e6..0000000 --- a/radiantproduction/Controleur/ControleurParamprod.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Paramprod"); - - // $this->tablesparam = new Tablesparamprod(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - /* - $tablesparams = $this->tablesparam->getListe(); - $this->genererVue(array('typeprestataire' => $typeprestataire, 'reseausoins' => $reseausoins)); - */ - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamreinitmotpass.php b/radiantproduction/Controleur/ControleurParamreinitmotpass.php deleted file mode 100644 index 8df840d..0000000 --- a/radiantproduction/Controleur/ControleurParamreinitmotpass.php +++ /dev/null @@ -1,58 +0,0 @@ -societeuser = new Societeuser(); - - $this->menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paramreinitmotpass'); - } - - public function index() - { - $this->genererVue(); - } - - public function changerpass() - { - $codeSociete = $_SESSION['codeSociete']; - - if ($this->requete->existeParametre("ancmdp") - && $this->requete->existeParametre("nvmdp") - && $this->requete->existeParametre("cfnvmdp")) - { - $ancmdp = $this->requete->getParametre("ancmdp"); - $nvmdp = $this->requete->getParametre("nvmdp"); - $cfnvmdp = $this->requete->getParametre("cfnvmdp"); - if ($nvmdp!=$cfnvmdp) - { - $this->genererVue(array('msgErreur' => 'Veuillez confirmer le nouveau mot de passe!'), "index"); - } - else if ($nvmdp==$ancmdp) - { - $this->genererVue(array('msgErreur' => 'Veuillez changer le mot de passe!'), "index"); - } - else if ($this->societeuser->verifiermotpass($codeSociete, $ancmdp)) - { - $this->societeuser->changerpass($codeSociete, $ancmdp, $nvmdp); - $this->rediriger("Parametresgeneraux"); - } - else - { - $this->genererVue(array('msgErreur' => 'Ancien mot de passe incorrect!'), "index"); - } - } - else - { - $this->genererVue(array('msgErreur' => 'Veuillez revoir votre saisie!'), "index"); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamseuilalerte.php b/radiantproduction/Controleur/ControleurParamseuilalerte.php deleted file mode 100644 index 8f1a960..0000000 --- a/radiantproduction/Controleur/ControleurParamseuilalerte.php +++ /dev/null @@ -1,20 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Paramseuilalerte'); - - $this->produit = (new Produit())->getListe(); - } - public function index() - { - $this->genererVue(array('produit' => $this->produit)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamsin.php b/radiantproduction/Controleur/ControleurParamsin.php deleted file mode 100644 index 0ebe362..0000000 --- a/radiantproduction/Controleur/ControleurParamsin.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Paramsin"); - - // $this->tablesparam = new Tablesparamprod(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - /* - $tablesparams = $this->tablesparam->getListe(); - $this->genererVue(array('typeprestataire' => $typeprestataire, 'reseausoins' => $reseausoins)); - */ - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurParamsourcedonneesrequetesperso.php b/radiantproduction/Controleur/ControleurParamsourcedonneesrequetesperso.php deleted file mode 100644 index 2503db5..0000000 --- a/radiantproduction/Controleur/ControleurParamsourcedonneesrequetesperso.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Paramsourcedonneesrequetesperso"); - - $this->requetesperso = new Requetesperso(); - } - public function index() - { - $idsourcerequete = $this->requete->getParametreFormulaire("id"); - - $sourcedonneesrequetesperso = $this->requetesperso->getunesourcedonneesrequetesperso($idsourcerequete); - $paramrequetes = $this->requetesperso->getparamrequetesperso($idsourcerequete); - - $this->genererVue(array('sourcedonneesrequetesperso' => $sourcedonneesrequetesperso, 'paramrequetes' => $paramrequetes)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPayerdossierclassique.php b/radiantproduction/Controleur/ControleurPayerdossierclassique.php deleted file mode 100644 index 50f8c45..0000000 --- a/radiantproduction/Controleur/ControleurPayerdossierclassique.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Payerdossierclassique'); - - $this->facture = new Facture(); - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idDossierClassique = $_SESSION['idDossierClassique']; - - $dossier = $this->facture->getdossierclassique($idDossierClassique); - - $this->genererVue(array('dossier' => $dossier, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPayerfactureclassique.php b/radiantproduction/Controleur/ControleurPayerfactureclassique.php deleted file mode 100644 index 9ac8b6e..0000000 --- a/radiantproduction/Controleur/ControleurPayerfactureclassique.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Payerfactureclassique'); - - $this->facture = new Facture(); - $this->modepaiement = (new Pmodepaiement())->getListe(); - } - - public function index() - { - $idFacture = $_SESSION['idFacture_C']; - - $facture = $this->facture->getfactureclassique(); - - $this->genererVue(array('facture' => $facture, 'modepaiement' => $this->modepaiement)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPayerfraisfuneraire.php b/radiantproduction/Controleur/ControleurPayerfraisfuneraire.php deleted file mode 100644 index c9d590a..0000000 --- a/radiantproduction/Controleur/ControleurPayerfraisfuneraire.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Payerfraisfuneraire'); - - $this->fraisfuneraire = new Fraisfuneraire(); - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $fraisfuneraire = $this->fraisfuneraire->getfraisfuneraire($idBeneficiaire); - - $this->genererVue(array('fraisfuneraire' => $fraisfuneraire, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPharmaciencons.php b/radiantproduction/Controleur/ControleurPharmaciencons.php deleted file mode 100644 index 862f61b..0000000 --- a/radiantproduction/Controleur/ControleurPharmaciencons.php +++ /dev/null @@ -1,127 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Pharmaciencons'); - - $this->facture_pharmacie = new Prescription(); - $this->ged = new Ged(); - } - - public function index($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->enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrergedprescription($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; - - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $codePrestataireLivraison = $_SESSION['codePrestataireLivraison_C']; - - $prescription = $this->facture_pharmacie->getprescription_pha($numeroBonOrdonnance, $codePrestataireLivraison); - - $detaillivres = $this->facture_pharmacie->getdetailprescription_pha($numeroBonOrdonnance, $codePrestataireLivraison); - - unset($_FILES['fichier_upload']); - $geds = $this->ged->getgedpharmacie(); - - $this->genererVue(array('prescription' => $prescription, 'detaillivres' => $detaillivres, 'geds' => $geds, 'msgErreur' => $msgErreur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPharmaciendec.php b/radiantproduction/Controleur/ControleurPharmaciendec.php deleted file mode 100644 index d5de72f..0000000 --- a/radiantproduction/Controleur/ControleurPharmaciendec.php +++ /dev/null @@ -1,27 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Pharmaciendec'); - - $this->facture_pharmacie = new Prescription(); - } - - public function index() - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $codePrestataireLivraison = $_SESSION['codePrestataireLivraison_C']; - - $prescription = $this->facture_pharmacie->getprescription_pha($numeroBonOrdonnance, $codePrestataireLivraison); - - $detaillivres = $this->facture_pharmacie->getdetailprescription_pha($numeroBonOrdonnance, $codePrestataireLivraison); - - $this->genererVue(array('prescription' => $prescription, 'detaillivres' => $detaillivres)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondadherent.php b/radiantproduction/Controleur/ControleurPlafondadherent.php deleted file mode 100644 index b25a4d9..0000000 --- a/radiantproduction/Controleur/ControleurPlafondadherent.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Plafondadherent"); - - $this->adherent = new Adherent(); - $this->garantieadherent = new Garantieadherent(); - - } - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $adherent = $this->adherent->getContexteAdherentId($idAdherent); - $exercieReference = $_SESSION['exercieReference_C']; - $idEntetecontrat = $_SESSION['idEntetecontrat']; - $entecontrats = $this->garantieadherent->getlisteentetecontratadherent($idAdherent); - - $garantieadherents = $this->garantieadherent->getGarantieAdherentEnteteContrat($idAdherent, $idEntetecontrat); - - $this->genererVue(array('adherent' => $adherent, 'garantieadherents' => $garantieadherents, 'entecontrats' => $entecontrats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondavantfacturecdec.php b/radiantproduction/Controleur/ControleurPlafondavantfacturecdec.php deleted file mode 100644 index 46b2ddf..0000000 --- a/radiantproduction/Controleur/ControleurPlafondavantfacturecdec.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Plafondavantfacturecdec'); - - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $garantieadherents = $this->garantieadherent->getPlafondAvantFacture(); - $this->genererVue(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondavantfactureclassique.php b/radiantproduction/Controleur/ControleurPlafondavantfactureclassique.php deleted file mode 100644 index 41ab4de..0000000 --- a/radiantproduction/Controleur/ControleurPlafondavantfactureclassique.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Plafondavantfactureclassique'); - - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $garantieadherents = $this->garantieadherent->getPlafondAvantFacture(); - $this->genererVue(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondavantfacturecons.php b/radiantproduction/Controleur/ControleurPlafondavantfacturecons.php deleted file mode 100644 index 0c2ec68..0000000 --- a/radiantproduction/Controleur/ControleurPlafondavantfacturecons.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Plafondavantfacturecons'); - - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $garantieadherents = $this->garantieadherent->getPlafondAvantFacture(); - $this->genererVue(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondavantfacturephacons.php b/radiantproduction/Controleur/ControleurPlafondavantfacturephacons.php deleted file mode 100644 index af6f16a..0000000 --- a/radiantproduction/Controleur/ControleurPlafondavantfacturephacons.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Plafondavantfacturephacons'); - - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $garantieadherents = $this->garantieadherent->getPlafondAvantFacture(); - $this->genererVue(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondavantfacturephadec.php b/radiantproduction/Controleur/ControleurPlafondavantfacturephadec.php deleted file mode 100644 index e1b2512..0000000 --- a/radiantproduction/Controleur/ControleurPlafondavantfacturephadec.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Plafondavantfacturephadec'); - - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $garantieadherents = $this->garantieadherent->getPlafondAvantFacture(); - $this->genererVue(array('garantieadherents' => $garantieadherents)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPlafondbeneficiaire.php b/radiantproduction/Controleur/ControleurPlafondbeneficiaire.php deleted file mode 100644 index 60b6e90..0000000 --- a/radiantproduction/Controleur/ControleurPlafondbeneficiaire.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Plafondbeneficiaire"); - - $this->garantieadherent = new Garantieadherent(); - - } - public function index() - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $exercieReference = $_SESSION['exercieReference_C']; - $idEntetecontrat = $_SESSION['idEntetecontrat']; - - $entecontrats = $this->garantieadherent->getlisteentetecontratbeneficiaire($idBeneficiaire); - - $garantieadherents = $this->garantieadherent->getGarantieBeneficiaireEnteteContrat($idBeneficiaire, $idEntetecontrat); - - $this->genererVue(array('garantieadherents' => $garantieadherents, 'entecontrats' => $entecontrats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPolicesnonren.php b/radiantproduction/Controleur/ControleurPolicesnonren.php deleted file mode 100644 index 3e64ea5..0000000 --- a/radiantproduction/Controleur/ControleurPolicesnonren.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Policesnonren"); - - $this->rapportsp = new Police(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $rapportsps = $this->rapportsp->etatpolnonren() ; - - $this->genererVue(array('rapportsps' => $rapportsps)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPrescriptioncons.php b/radiantproduction/Controleur/ControleurPrescriptioncons.php deleted file mode 100644 index f4bd742..0000000 --- a/radiantproduction/Controleur/ControleurPrescriptioncons.php +++ /dev/null @@ -1,135 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prescriptioncons'); - - $this->prescription = new Prescription(); - $this->detailprescription = new Detailprescription(); - $this->ged = new Ged(); - } - - - public function index($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->enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille); - $this->ged->enregistrergedprescription($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; - - $numeroPrescription = $_SESSION['numeroPrescription_C']; - - $prescription = $this->prescription->getprescription($numeroPrescription); - - $detailprescriptions = $this->detailprescription->getdetailprescription($numeroPrescription); - - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - unset($_FILES['fichier_upload']); - $geds = $this->ged->getgedpharmacie(); - - $medicaments_liberes = $this->detailprescription->consultermedicamentliberes($numeroBonOrdonnance); - - $this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, - 'geds' => $geds, 'msgErreur' => $msgErreur, 'medicaments_liberes' => $medicaments_liberes)); - - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPrescriptiondec.php b/radiantproduction/Controleur/ControleurPrescriptiondec.php deleted file mode 100644 index 3e46a8b..0000000 --- a/radiantproduction/Controleur/ControleurPrescriptiondec.php +++ /dev/null @@ -1,29 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prescriptiondec'); - - $this->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->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPrestatairegestionbon.php b/radiantproduction/Controleur/ControleurPrestatairegestionbon.php deleted file mode 100644 index 5eb3e07..0000000 --- a/radiantproduction/Controleur/ControleurPrestatairegestionbon.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestatairegestionbon'); - - $this->typebon = new Typebon(); - } - public function index() - { - $typegestion = $this->typebon->getListeGestion(); - - $this->genererVue(array('typegestion' => $typegestion)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPrestatairenmoins.php b/radiantproduction/Controleur/ControleurPrestatairenmoins.php deleted file mode 100644 index 4d923ef..0000000 --- a/radiantproduction/Controleur/ControleurPrestatairenmoins.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestatairenmoins'); - $this->college_temp = new College_temp(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idCollege = $_SESSION['idCollege']; - - $college= $this->college_temp->getCollegepoliceId($idCollege); - - $prestatairereseaus= $this->college_temp->getprestatairereseau($idCollege); - - $prestataireenmoinss= $this->college_temp->getprestataireenmoins($idCollege); - - $this->genererVue(array('college' => $college, 'prestatairereseaus' => $prestatairereseaus, 'prestataireenmoinss' => $prestataireenmoinss)); - } - -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurPrestatairenplus.php b/radiantproduction/Controleur/ControleurPrestatairenplus.php deleted file mode 100644 index aefb2ad..0000000 --- a/radiantproduction/Controleur/ControleurPrestatairenplus.php +++ /dev/null @@ -1,40 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestatairenplus'); - $this->college_temp = new College_temp(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idCollege = $_SESSION['idCollege']; - - $college= $this->college_temp->getCollegepoliceId($idCollege); - - $prestatairehorsreseaus= $this->college_temp->getprestatairehorsreseau($idCollege); - - $prestataireenpluss= $this->college_temp->getprestataireenplus($idCollege); - - $this->genererVue(array('college' => $college, 'prestatairehorsreseaus' => $prestatairehorsreseaus, 'prestataireenpluss' => $prestataireenpluss)); - - } - -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurPrestatairenpluscons.php b/radiantproduction/Controleur/ControleurPrestatairenpluscons.php deleted file mode 100644 index 5e3d102..0000000 --- a/radiantproduction/Controleur/ControleurPrestatairenpluscons.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestatairenpluscons'); - $this->college_temp = new College_temp(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $college= $this->college_temp->getListeCollege($idPolice); - - $this->genererVue(array('college' => $college)); - - } -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurPrestataires.php b/radiantproduction/Controleur/ControleurPrestataires.php deleted file mode 100644 index 6cc5b90..0000000 --- a/radiantproduction/Controleur/ControleurPrestataires.php +++ /dev/null @@ -1,46 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Prestataires"); - - $this->typeprestataire = new Typeprestataire(); - $this->reseausoins = new Reseausoins(); - - $this->pays = new Pays(); - $this->ville = new Ville(); - $this->localite = new Localite(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - $codePays = $_SESSION['codePaysSociete']; - $codeVille = ""; - - $typeprestataire = $this->typeprestataire->getListeActifs(); - $reseausoins = $this->reseausoins->getListe(); - - $pays = $this->pays->getListe($codePays); - $ville = $this->ville->getListe($codePays); - $localite = $this->localite->getListe($codePays, $codeVille); - - $this->genererVue(array('pays' => $pays, 'ville' => $ville, 'listelocalite' => $localite, - 'typeprestataire' => $typeprestataire, 'reseausoins' => $reseausoins)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurPrestatairetm.php b/radiantproduction/Controleur/ControleurPrestatairetm.php deleted file mode 100644 index e0a88eb..0000000 --- a/radiantproduction/Controleur/ControleurPrestatairetm.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestatairetm'); - $this->college_temp = new College_temp(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idCollege = $_SESSION['idCollege']; - - $college= $this->college_temp->getCollegepoliceId($idCollege); - - $prestatairereseaus= $this->college_temp->getprestatairereseautm($idCollege); - - $prestatairetms= $this->college_temp->getprestatairetm($idCollege); - - $this->genererVue(array('college' => $college, 'prestatairereseaus' => $prestatairereseaus, 'prestatairetms' => $prestatairetms)); - } - -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurPrestatairetmcons.php b/radiantproduction/Controleur/ControleurPrestatairetmcons.php deleted file mode 100644 index b2ff1a7..0000000 --- a/radiantproduction/Controleur/ControleurPrestatairetmcons.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestatairetmcons'); - $this->college_temp = new College_temp(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $college= $this->college_temp->getListeCollege($idPolice); - - $this->genererVue(array('college' => $college)); - - } -} - - - - - - - - - diff --git a/radiantproduction/Controleur/ControleurPrestations.php b/radiantproduction/Controleur/ControleurPrestations.php deleted file mode 100644 index 50dceb1..0000000 --- a/radiantproduction/Controleur/ControleurPrestations.php +++ /dev/null @@ -1,284 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Prestations'); - - $this->beneficiaire = new Beneficiaire(); - $this->police = new Police(); - $this->garantieadherent = new Garantieadherent(); - - $this->pbeneficiaire = new Pbeneficiaire(); - - $this->liensubstitut = (new Lienparente())->getListeSubstitut(); - $this->naturepiece = (new Naturepiece())->getListe(); - $this->sexe = (new Sexe())->getListe(); - - $_SESSION['modeDevis'] = "0"; - } - - public function index() - { - $id = $this->requete->getParametre("id"); - $idBeneficiaire = $id; - - $this->beneficiaire->getModeBiometrie(); - - $this->beneficiaire->getContexteBeneficiaireId($id); - $idPolice = $_SESSION['idPolice_C']; - $this->police->getContextePoliceId($idPolice); - - $beneficiaire = $this->pbeneficiaire->getContexteBeneficiaireIdPrest($idBeneficiaire); - - $idAdherent = $_SESSION['idAdherent_C']; - - // $garantieadherents = $this->garantieadherent->getGarantieAdherent($idAdherent); - $garantieadherents = $this->garantieadherent->getGarantieBeneficiaire($idBeneficiaire); - - // A enlever après - $_SESSION['lienServeur'] = $_SESSION['lienProduction_C']; - - $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); - - $limite_beneficiaire = $this->garantieadherent->getLimitesBeneficiaire($idBeneficiaire); - - $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); - - $this->genererVue(array('beneficiaire' => $beneficiaire, 'garantieadherents' => $garantieadherents, - 'liensubstitut' => $this->liensubstitut, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe, - 'limite_beneficiaire' => $limite_beneficiaire, 'limite_adherent' => $limite_adherent)); - } - - public function ebeneenregistrerface() - { - $_SESSION['messageFace'] = ""; - $compare_face = $_POST['compare_face']; - $del_face = $_POST['del_face']; - - if(isset($_POST['image_face'])) - { - $_SESSION['okId_face'] = "-1"; - $_SESSION['okId'] = "-1"; - - $path = "Temp/"; - $extension = "jpeg"; - - $data = $_POST['image_face']; - - $data = str_replace('data:image/jpeg;base64,', '', $data); - - $data = base64_decode($data); - - $username = $_SESSION['numeroBeneficiaire_C']; - - $date = date('YmdHis'); - $file_name = "img_v_".$date.uniqid().".".$extension; - $chemin = $path.$file_name; - - file_put_contents($chemin, $data); - - $rand = rand(1,1000000); - $nomImage = $username."_".$rand.'.'. $extension; - - if ($compare_face=="1") - { - if($del_face=="1") - { - $this->beneficiaire->init_traiterlaface('3'); - } - else - { - $this->beneficiaire->init_traiterlaface('2'); - } - - $arrgs = [ - 'credentials' => [ - /* - 'key' => 'AKIARKWWQN5L3CY26JXS', - 'secret' => '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', - */ - /* - 'key' => 'AKIARKWWQN5LZYQYF5HJ', - 'secret' => '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', - */ - 'key' => 'AKIA2O2PTXQ7XN5OATO3', - 'secret' => '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', - ], - 'version' => 'latest', - 'region' => 'us-west-2' - // 'region' => 'Oregon' - // 'region' => 'eu-west-1' - - ]; -/* -regions -us-east-2 -us-east-1 -us-west-1 -us-west-2 -af-south-1 -ap-east-1 -ap-south-2 -ap-southeast-3 -ap-southeast-4 -ap-south-1 -ap-northeast-3 -ap-northeast-2 -ap-southeast-1 -ap-southeast-2 -ap-northeast-1 -ca-central-1 -eu-central-1 -eu-west-1 -eu-west-2 -eu-south-1 -eu-west-3 -eu-south-2 -eu-north-1 -eu-central-2 -me-south-1 -me-central-1 -sa-east-1 -us-gov-east-1 -us-gov-west-1 -*/ - - $client = new RekognitionClient($arrgs); - - $sourceImage = $chemin; - $targetImage = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$_SESSION['lienPhoto_C']; - - try - { - $result = $client->compareFaces - ( - [ - 'SimilarityThreshold' => 80, - 'SourceImage' => [ - 'Bytes' => file_get_contents($sourceImage) - ], - 'TargetImage' => [ - 'Bytes' => file_get_contents($targetImage) - ], - ] - ); - - $faceMatches = count($result['FaceMatches']); - if ($faceMatches==0) - { - $_SESSION['messageFace'] = "Les faces ne correspondent pas! / The faces do not match!"; - $this->beneficiaire->resultat_traitement_face($username, '0', $_SESSION['messageFace']); - $this->genererVueAjax(array('messageFace' => $_SESSION['messageFace'], 'msgErreur' => $_SESSION['messageFace'], 'photo_succes' => "0")); - } - elseif ($del_face=="1") - { - $motif = $_POST['motif']; - - $this->beneficiaire->resultat_traitement_face($username, '1', $motif); - - - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $this->beneficiaire->supprimerPhoto($idBeneficiaire); - $this->beneficiaire->unregisterface($username, $motif); - $_SESSION['messageFace'] = "Face supprimée pour motif : $motif / Face removed for reason : $motif"; - - $this->genererVueAjax(array('messageFace' => $_SESSION['messageFace'], 'photo_succes' => "1")); - $_SESSION['lienPhoto_C']=""; - } - else - { - $this->beneficiaire->resultat_traitement_face($username, '1', ''); - - $_SESSION['okId_face'] = "1"; - $_SESSION['messageFace'] = "Face confirmée! / Face confirmed!"; - $this->genererVueAjax(array('messageFace' => $_SESSION['messageFace'], 'msgErreur' => $_SESSION['messageFace'], 'photo_succes' => "1")); - } - } - catch (Exception $e) - { - // echo 'Message: ' .$e->getMessage(); - // exit(); - $msgErreur = $e->getMessage(); - $_SESSION['messageFace'] = "Un problème lors du traitement! / A problem during treatment!"; - - $this->beneficiaire->resultat_traitement_face($username, '9', $msgErreur); - - $this->genererVueAjax(array('messageFace' => $_SESSION['messageFace'], 'msgErreur' => $_SESSION['messageFace'], 'photo_succes' => "0")); - } - } - else - { - $this->beneficiaire->init_traiterlaface('1'); - - $cheminNew = $_SESSION['lienPhotoFace'] . $nomImage; - - $_SESSION['okId_face'] = "1"; - - // réduction de la taille de l'immage - $infosImg = getimagesize($chemin); - $src = $chemin; - $imgtype = image_type_to_mime_type($infosImg[2]); - - switch ($imgtype) - { - case 'image/jpeg': - $source_image = imagecreatefromjpeg($src); - break; - case 'image/jpg': - $source_image = imagecreatefromjpeg($src); - break; - case 'image/png': - $source_image = imagecreatefrompng($src); - break; - } - - $width = imagesx($source_image); - $desired_width = $width; - if ($desired_width > $_SESSION['largeurPhoto']) - { - $desired_width = $_SESSION['largeurPhoto']; - } - $height = imagesy($source_image); - - $desired_height = floor($height * ($desired_width / $width)); - - $virtual_image = imagecreatetruecolor($desired_width, $desired_height); - - imagecopyresampled($virtual_image, $source_image, 0, 0, 0, 0, $desired_width, $desired_height, $width, $height); - - if (imagejpeg($virtual_image, $cheminNew, -1)) - // if (imagejpeg($virtual_image, $cheminNew, 60)) - { - $this->beneficiaire->registerface($username); - - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $this->beneficiaire->changerPhoto($idBeneficiaire, $nomImage); - - $_SESSION['messageFace'] = "Enrôlement effectué avec succès! / Enrollment completed successfully!!"; - $this->genererVueAjax(array('messageFace' => $_SESSION['messageFace'], 'msgErreur' => $_SESSION['messageFace'], 'photo_succes' => "1")); - } - $this->beneficiaire->resultat_traitement_face($username, '1', ''); - } - unlink($chemin); - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurProduitreseau.php b/radiantproduction/Controleur/ControleurProduitreseau.php deleted file mode 100644 index 3dba668..0000000 --- a/radiantproduction/Controleur/ControleurProduitreseau.php +++ /dev/null @@ -1,19 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Produitreseau'); - - $this->produit = (new Produit())->getListe(); - } - - public function index() { - $this->genererVue(array('produit' => $this->produit)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurProduits.php b/radiantproduction/Controleur/ControleurProduits.php deleted file mode 100644 index da4396b..0000000 --- a/radiantproduction/Controleur/ControleurProduits.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Produits"); - - $this->produit = new Produit(); - } - - public function index() - { - $produits = $this->produit->getProduits(); - - $this->genererVue(array('produits' => $produits)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurProfilmenu.php b/radiantproduction/Controleur/ControleurProfilmenu.php deleted file mode 100644 index c4874e6..0000000 --- a/radiantproduction/Controleur/ControleurProfilmenu.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Profilmenu'); - - $this->menuvueutilisateur = new Menuutilisateur(); - $this->profil = (new Profil())->getListe(); - } - public function index() { - $listemenu= $this->menuvueutilisateur->getMenusProfil(""); - $this->genererVue(array('profil' => $this->profil, 'listemenu' => $listemenu)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurProfilutilisateur.php b/radiantproduction/Controleur/ControleurProfilutilisateur.php deleted file mode 100644 index 3fdf88a..0000000 --- a/radiantproduction/Controleur/ControleurProfilutilisateur.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Profilutilisateur'); - - $this->utilisateur = new Utilisateur(); - $this->profil = (new Profil())->getListe(); - } - public function index() { - $listeutilisateur= $this->utilisateur->getUtilisateursProfil(""); - $this->genererVue(array('profil' => $this->profil, 'listeutilisateur' => $listeutilisateur)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurProfilvue.php b/radiantproduction/Controleur/ControleurProfilvue.php deleted file mode 100644 index 750c106..0000000 --- a/radiantproduction/Controleur/ControleurProfilvue.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Profilvue'); - - //$this->menuvueutilisateur = new Menuutilisateur(); - $this->profil = (new Profil())->getListe(); - $this->vue = (new Vues())->getListe(); - } - public function index() { - $listemenu= $this->menuvue->getMenusvueProfil("",""); - $this->genererVue(array('profil' => $this->profil, 'vue' => $this->vue, 'listemenu' => $listemenu)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurProvisonssin.php b/radiantproduction/Controleur/ControleurProvisonssin.php deleted file mode 100644 index c9df2cf..0000000 --- a/radiantproduction/Controleur/ControleurProvisonssin.php +++ /dev/null @@ -1,17 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Provisonssin'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurQuitter.php b/radiantproduction/Controleur/ControleurQuitter.php deleted file mode 100644 index 982890e..0000000 --- a/radiantproduction/Controleur/ControleurQuitter.php +++ /dev/null @@ -1,20 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Quitter"); - - session_destroy(); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurRecaplimiteadd.php b/radiantproduction/Controleur/ControleurRecaplimiteadd.php deleted file mode 100644 index 00638b2..0000000 --- a/radiantproduction/Controleur/ControleurRecaplimiteadd.php +++ /dev/null @@ -1,26 +0,0 @@ -avenant = new Police(); - $this->college_temp = new College_temp(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $this->avenant->recapituler_maj_limite_police(); - $avenant = $this->avenant->getAvenantTemp($idPolice); - - $colleges = $this->college_temp->getCollegesPolice(); - $totalcollege = $this->college_temp->getTotaldcollege($idPolice); - - $this->genererVueAjax(array('avenant' => $avenant, 'colleges' => $colleges, 'totalcollege' => $totalcollege)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRecaplimitecollege.php b/radiantproduction/Controleur/ControleurRecaplimitecollege.php deleted file mode 100644 index d0d536a..0000000 --- a/radiantproduction/Controleur/ControleurRecaplimitecollege.php +++ /dev/null @@ -1,27 +0,0 @@ -college_temp = new College_temp(); - } - - public function index() - { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $this->college_temp->recapituler_maj_limite_college($idCollegeTemp); - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - - $this->genererVueAjax(array('collegeTemp' => $collegeTemp)); - } - - public function recapituler() { - $idCollegeTemp = $_SESSION['idCollegeTemp']; - $this->college_temp->recapituler_maj_limite_college($idCollegeTemp); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRecconnexion.php b/radiantproduction/Controleur/ControleurRecconnexion.php deleted file mode 100644 index 81487a8..0000000 --- a/radiantproduction/Controleur/ControleurRecconnexion.php +++ /dev/null @@ -1,8 +0,0 @@ -rediriger("Connexion","deconnecter"); - } -} diff --git a/radiantproduction/Controleur/ControleurRecherche.php b/radiantproduction/Controleur/ControleurRecherche.php deleted file mode 100644 index b01aef5..0000000 --- a/radiantproduction/Controleur/ControleurRecherche.php +++ /dev/null @@ -1,65 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Recherche"); - - $this->beneficiaire = new Beneficiaire(); - - $_SESSION['modeDevis'] = "0"; - - $_SESSION['okId'] = "-1"; - $_SESSION['okId_face'] = "-1"; - } - - public function index($numeroBeneficiaire="", $numeroAdherent="", $nomBeneficiaire="", - $prenomsBeneficiaire="", $telephonePortable="", $email="") - { - $this->beneficiaire->getModeBiometrie(); - - if (isset($_POST['numeroBeneficiaire'])) - { - $numeroBeneficiaire=trim($_POST['numeroBeneficiaire']); - $numeroAdherent=trim($_POST['numeroAdherent']); - $nomBeneficiaire=trim($_POST['nomBeneficiaire']); - $prenomsBeneficiaire=trim($_POST['prenomsBeneficiaire']); - $telephonePortable=trim($_POST['telephonePortable']); - $email=trim($_POST['email']); - - if ($numeroBeneficiaire<=" " && $numeroAdherent<=" " && $numeroBeneficiaire<=" " && - $nomBeneficiaire<=" " && $prenomsBeneficiaire<=" " && $telephonePortable<=" " && $email<=" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } else - if ($numeroBeneficiaire>" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiaire($numeroBeneficiaire); - } else - if ($numeroAdherent>" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiairesAdh($numeroAdherent); - } else - { - $beneficiaires = $this->beneficiaire->getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email); - } - } else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - - if ($beneficiaires->rowCount() == 1) - { - $beneficiaire = $beneficiaires->fetch(); - $this->rediriger("Fichebeneficiaire", $beneficiaire['id']); - } else - { - $this->genererVue(array('beneficiaires' => $beneficiaires)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRecherche_old_2017_04_20.php b/radiantproduction/Controleur/ControleurRecherche_old_2017_04_20.php deleted file mode 100644 index 1faf016..0000000 --- a/radiantproduction/Controleur/ControleurRecherche_old_2017_04_20.php +++ /dev/null @@ -1,57 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Recherche"); - - $this->beneficiaire = new Beneficiaire(); - } - - public function index($numeroBeneficiaire="", $numeroAdherent="", $nomBeneficiaire="", - $prenomsBeneficiaire="", $telephonePortable="", $email="") - { - if (isset($_POST['numeroBeneficiaire'])) - { - $numeroBeneficiaire=trim($_POST['numeroBeneficiaire']); - $numeroAdherent=trim($_POST['numeroAdherent']); - $nomBeneficiaire=trim($_POST['nomBeneficiaire']); - $prenomsBeneficiaire=trim($_POST['prenomsBeneficiaire']); - $telephonePortable=trim($_POST['telephonePortable']); - $email=trim($_POST['email']); - - if ($numeroBeneficiaire<=" " && $numeroAdherent<=" " && $numeroBeneficiaire<=" " && - $nomBeneficiaire<=" " && $prenomsBeneficiaire<=" " && $telephonePortable<=" " && $email<=" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } else - if ($numeroBeneficiaire>" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiaire($numeroBeneficiaire); - } else - if ($numeroAdherent>" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiairesAdh($numeroAdherent); - } else - { - $beneficiaires = $this->beneficiaire->getBeneficiaires($nomBeneficiaire,$prenomsBeneficiaire,$telephonePortable,$email); - } - } else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - - if ($beneficiaires->rowCount() == 1) - { - $beneficiaire = $beneficiaires->fetch(); - $this->rediriger("Fichebeneficiaire", $beneficiaire['id']); - } else - { - $this->genererVue(array('beneficiaires' => $beneficiaires)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRechercheprestations.php b/radiantproduction/Controleur/ControleurRechercheprestations.php deleted file mode 100644 index 1196575..0000000 --- a/radiantproduction/Controleur/ControleurRechercheprestations.php +++ /dev/null @@ -1,530 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Rechercheprestations"); - - $this->beneficiaire = new Pbeneficiaire(); - - viderContexte(); - $_SESSION['numeroBonOrdonnance_C'] = "-1"; - $_SESSION['numeroBonExamen_C'] = "-1"; - $_SESSION['numeroBonOptique_C'] = "-1"; - $_SESSION['numeroBonKine_C'] = "-1"; - $_SESSION['numeroBonSeance_C'] = "-1"; - - $_SESSION['okId'] = "-1"; - $_SESSION['okId_face'] = "-1"; - } - - public function index($numeroBeneficiaire="", $numeroAdherent="", $nomBeneficiaire="", - $prenomsBeneficiaire="", $telephonePortable="", $email="", $numeroBonConsultation="", - $numeroBonOrdonnance="", $numeroBonHospitalisation="", $numeroBonOptique="", - $numeroBonExamen="", $numeroBonKine="", $numeroBonSeance="") - { - $this->beneficiaire->getModeBiometrie(); - - if (isset($_POST['numeroBeneficiaire'])) - { - $numeroBeneficiaire=trim($_POST['numeroBeneficiaire']); - $numeroAdherent=trim($_POST['numeroAdherent']); - $nomBeneficiaire=trim($_POST['nomBeneficiaire']); - $prenomsBeneficiaire=trim($_POST['prenomsBeneficiaire']); - $telephonePortable=trim($_POST['telephonePortable']); - $email=trim($_POST['email']); - $numeroBonConsultation=trim($_POST['numeroBonConsultation']); - $numeroBonOrdonnance=trim($_POST['numeroBonOrdonnance']); - $numeroBonHospitalisation=trim($_POST['numeroBonHospitalisation']); - $numeroBonOptique=trim($_POST['numeroBonOptique']); - $numeroBonExamen=trim($_POST['numeroBonExamen']); - $numeroBonKine=trim($_POST['numeroBonKine']); - $numeroBonSeance=trim($_POST['numeroBonSeance']); - - if ($numeroBonConsultation=="0") - { - $numeroBonConsultation=""; - } - - if ($numeroBonOrdonnance=="0") - { - $numeroBonOrdonnance=""; - } - - if ($numeroBonHospitalisation=="0") - { - $numeroBonHospitalisation=""; - } - - if ($numeroBonOptique=="0") - { - $numeroBonOptique=""; - } - - if ($numeroBonExamen=="0") - { - $numeroBonExamen=""; - } - - if ($numeroBonKine=="0") - { - $numeroBonKine=""; - } - - if ($numeroBonSeance=="0") - { - $numeroBonSeance=""; - } - - if ($numeroBeneficiaire<=" " && $numeroAdherent<=" " && $numeroBeneficiaire<=" " && - $nomBeneficiaire<=" " && $prenomsBeneficiaire<=" " && $telephonePortable<=" " && $email<=" "&& - $numeroBonConsultation<=" " && $numeroBonOrdonnance<=" " && $numeroBonHospitalisation<=" " && $numeroBonOptique<=" "&& - $numeroBonExamen<=" " && $numeroBonKine<=" " && $numeroBonSeance<=" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - else - if ($numeroBeneficiaire>" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiaire($numeroBeneficiaire); - } - else - if ($numeroAdherent>" ") - { - $beneficiaires = $this->beneficiaire->getBeneficiairesAdh($numeroAdherent); - } - else - if ($numeroBonConsultation>" ") - { - $resultat = $this->beneficiaire->getBeneficiaireConsultationCso($numeroBonConsultation); - $idBeneficiaire = $resultat['idBeneficiaire']; - - // var_dump($resultat); - // exit(); - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - $this->rediriger("Feuillemaladiecons"); - exit(); - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - } - else - if ($numeroBonOrdonnance>" ") - { - $resultat = $this->beneficiaire->getBeneficiaireOrdonnanceCso($numeroBonOrdonnance); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - // $this->rediriger("Prescriptioncons"); - // changement du 23/11/2017 - $this->rediriger("Feuillemaladiecons"); - exit(); - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - } - // Optique - else - if ($numeroBonOptique>" ") - { - $resultat = $this->beneficiaire->getBeneficiaireOptiqueCso($numeroBonOptique); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - // $this->rediriger("Optiquecons"); - // changement du 23/11/2017 - $this->rediriger("Feuillemaladiecons"); - exit(); - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - } - // Fin Optique - else - if ($numeroBonHospitalisation>" ") - { - $resultat = $this->beneficiaire->getBeneficiaireHospit($numeroBonHospitalisation); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - // $this->rediriger("Chambrecons"); - // changement du 23/11/2017 - $this->rediriger("Feuillemaladiecons"); - exit(); - } - } - // Examen - else - if ($numeroBonExamen>" ") - { - // throw new Exception("numeroBonExamen : ".$numeroBonExamen); - - $resultat = $this->beneficiaire->getBeneficiaireExamenCso($numeroBonExamen); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - $this->rediriger("Feuillemaladiecons"); - exit(); - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - } - // Fin Examen - - - - // Prescription Kine - else - if ($numeroBonKine>" ") - { - // throw new Exception("numeroBonKine : ".$numeroBonKine); - - $resultat = $this->beneficiaire->getBeneficiaireKineCso($numeroBonKine); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - $this->rediriger("Feuillemaladiecons"); - exit(); - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - } - // Fin Prescription Kine - - // Séance Kine - else - if ($numeroBonSeance>" ") - { - // throw new Exception("numeroBonSeance : ".$numeroBonSeance); - - $resultat = $this->beneficiaire->getBeneficiaireSeanceKine($numeroBonSeance); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $numeroBonKine = $resultat['numeroBonKine']; - - $resultat = $this->beneficiaire->getBeneficiaireKineCso($numeroBonKine); - $idBeneficiaire = $resultat['idBeneficiaire']; - - if ($idBeneficiaire > "0") - { - $idBeneficiaire = $resultat['idBeneficiaire']; - - $numeroFeuilleMaladie = $resultat['numeroFeuilleMaladie']; - - $numeroBonConsultation = $resultat['numeroBonConsultation']; - $numeroBonHospitalisation = $resultat['numeroBonHospitalisation']; - - $numeroBonOrdonnance = $resultat['numeroBonOrdonnance']; - $numeroBonOptique = $resultat['numeroBonOptique']; - $numeroBonExamen = $resultat['numeroBonExamen']; - $numeroBonKine = $resultat['numeroBonKine']; - - $numeroPrescription = $resultat['numeroPrescription']; - $numeroOptique = $resultat['numeroOptique']; - $numeroExamen = $resultat['numeroExamen']; - $numeroPrescriptionKine = $resultat['numeroPrescriptionKine']; - - $beneficiaire = $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - - $_SESSION['numeroBonConsultation_C'] = $numeroBonConsultation; - $_SESSION['numeroBonHospitalisation_C'] = $numeroBonHospitalisation; - - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $_SESSION['numeroBonOptique_C'] = $numeroBonOptique; - $_SESSION['numeroBonExamen_C'] = $numeroBonExamen; - $_SESSION['numeroBonKine_C'] = $numeroBonKine; - - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - $_SESSION['numeroOptique_C'] = $numeroOptique; - $_SESSION['numeroExamen_C'] = $numeroExamen; - $_SESSION['numeroPrescriptionKine_C'] = $numeroPrescriptionKine; - - $this->beneficiaire->getEffectifPolice($_SESSION['idPolice_C']); - - $this->rediriger("Feuillemaladiecons"); - exit(); - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - - } - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - - } - // Fin Séance Kine - - else - { - $beneficiaires = $this->beneficiaire->getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email); - } - } else - { - - $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); - } - - if ($beneficiaires->rowCount() == 1) - { - $beneficiaire = $beneficiaires->fetch(); - $_SESSION['idBeneficiaire_C'] = $beneficiaire['idBeneficiaire']; - $_SESSION['idBeneficiaire_sav'] = $_SESSION['idBeneficiaire_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - // $this->rediriger("Prestations"); - $this->rediriger("Prestations", $idBeneficiaire); - exit(); - } - else - { - $nbligne = $beneficiaires->rowCount(); - $this->genererVue(array('beneficiaires' => $beneficiaires, 'nbligne' => $nbligne)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuseracteexclu.php b/radiantproduction/Controleur/ControleurRefuseracteexclu.php deleted file mode 100644 index afc0a9e..0000000 --- a/radiantproduction/Controleur/ControleurRefuseracteexclu.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuseracteexclu'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeautorisation = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getActeExcluId($idDemandeautorisation); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuseracteexclus.php b/radiantproduction/Controleur/ControleurRefuseracteexclus.php deleted file mode 100644 index bcc14ce..0000000 --- a/radiantproduction/Controleur/ControleurRefuseracteexclus.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuseracteexclus'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeautorisation = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getActeExcluId($idDemandeautorisation); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserderogation.php b/radiantproduction/Controleur/ControleurRefuserderogation.php deleted file mode 100644 index 8434adf..0000000 --- a/radiantproduction/Controleur/ControleurRefuserderogation.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserderogation'); - - $this->derogation = new Derogation(); - } - public function index() { - $idDemandederogation = $this->requete->getParametre("id"); - - $derogation = $this->derogation->getDerogationId($idDemandederogation); - - $this->genererVue(array('derogation' => $derogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserderogations.php b/radiantproduction/Controleur/ControleurRefuserderogations.php deleted file mode 100644 index d7cb93c..0000000 --- a/radiantproduction/Controleur/ControleurRefuserderogations.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserderogations'); - - $this->derogation = new Derogation(); - } - public function index() { - $idDemandederogation = $this->requete->getParametre("id"); - - $derogation = $this->derogation->getDerogationId($idDemandederogation); - - $this->genererVue(array('derogation' => $derogation)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserententeprealable.php b/radiantproduction/Controleur/ControleurRefuserententeprealable.php deleted file mode 100644 index 6c8e0ee..0000000 --- a/radiantproduction/Controleur/ControleurRefuserententeprealable.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserententeprealable'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserententeprealables.php b/radiantproduction/Controleur/ControleurRefuserententeprealables.php deleted file mode 100644 index cc37d20..0000000 --- a/radiantproduction/Controleur/ControleurRefuserententeprealables.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserententeprealables'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserententeprealablesmont.php b/radiantproduction/Controleur/ControleurRefuserententeprealablesmont.php deleted file mode 100644 index 23ac04e..0000000 --- a/radiantproduction/Controleur/ControleurRefuserententeprealablesmont.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserententeprealablesmont'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealablemontId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserententeprealablesopt.php b/radiantproduction/Controleur/ControleurRefuserententeprealablesopt.php deleted file mode 100644 index 6663114..0000000 --- a/radiantproduction/Controleur/ControleurRefuserententeprealablesopt.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserententeprealablesopt'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealableoptId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRefuserententeprealablespha.php b/radiantproduction/Controleur/ControleurRefuserententeprealablespha.php deleted file mode 100644 index 0a5a870..0000000 --- a/radiantproduction/Controleur/ControleurRefuserententeprealablespha.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Refuserententeprealablespha'); - - $this->ententeprealable = new Ententeprealable(); - } - public function index() { - $idDemandeententeprealable = $this->requete->getParametre("id"); - - $ententeprealable = $this->ententeprealable->getEntenteprealablephaId($idDemandeententeprealable); - - $this->genererVue(array('ententeprealable' => $ententeprealable)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurReglerdecompte.php b/radiantproduction/Controleur/ControleurReglerdecompte.php deleted file mode 100644 index a2fb833..0000000 --- a/radiantproduction/Controleur/ControleurReglerdecompte.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Reglerdecompte'); - - $this->reglement = new Reglement(); - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - - public function index() - { - $banque = $this->banque->getListe(); - - $idReglement = $_SESSION['idReglement_C']; - - $reglement = $this->reglement->getreglement($idReglement); - - $this->genererVue(array('reglement' => $reglement, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRelevecompteprestaire.php b/radiantproduction/Controleur/ControleurRelevecompteprestaire.php deleted file mode 100644 index 4e1e8d4..0000000 --- a/radiantproduction/Controleur/ControleurRelevecompteprestaire.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Relevecompteprestaire'); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - } - - public function index() - { - $prestataire = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire' => $prestataire, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRelevecompteprestairep.php b/radiantproduction/Controleur/ControleurRelevecompteprestairep.php deleted file mode 100644 index 6adcb1f..0000000 --- a/radiantproduction/Controleur/ControleurRelevecompteprestairep.php +++ /dev/null @@ -1,31 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Relevecompteprestairep'); - - $this->prestataire = new Prestataire(); - $this->periode = (new Periode)->getListe(); - $this->exercice = (new Exercice())->getListe(); - - $this->periode2 = (new Periode)->getListe(); - $this->exercice2 = (new Exercice())->getListe(); - } - - public function index() - { - $prestataire = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); - - $this->genererVue(array('prestataire' => $prestataire, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRemboursementclassique.php b/radiantproduction/Controleur/ControleurRemboursementclassique.php deleted file mode 100644 index a0da62b..0000000 --- a/radiantproduction/Controleur/ControleurRemboursementclassique.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Remboursementclassique'); - - $this->facture = new Facture(); - - $_SESSION['codePrestataire_C'] = "NC0001"; - } - - public function index() { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $d1 = $_SESSION['dUneSemaineAvant_C']; - $d2 = date('Y-m-d'); - - $factures = $this->facture->getfacturesclassiquebenficiaire($idBeneficiaire, $d1, $d2); - - $this->genererVue(array('factures' => $factures)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRemplaceradherent.php b/radiantproduction/Controleur/ControleurRemplaceradherent.php deleted file mode 100644 index f443c79..0000000 --- a/radiantproduction/Controleur/ControleurRemplaceradherent.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Remplaceradherent'); - - $this->adherent = new Adherent(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - - // $adherent = $this->adherent->getAdherentIdConso($idAdherent); - $adherent = $this->adherent->getAdherentIdRempl($idAdherent); - - $this->genererVue(array('adherent' => $adherent)); - } -} - - - - - - - diff --git a/radiantproduction/Controleur/ControleurRemplaceradherentcons.php b/radiantproduction/Controleur/ControleurRemplaceradherentcons.php deleted file mode 100644 index fba07d0..0000000 --- a/radiantproduction/Controleur/ControleurRemplaceradherentcons.php +++ /dev/null @@ -1,71 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Remplaceradherentcons'); - - $this->adherent = new Adherent(); - $this->garantieadherent = new Garantieadherent(); - } - - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $idAdherent_sortant = $_SESSION['idAdherent_C']; - - $adherent_sortant = $this->adherent->getAdherentIdConso($idAdherent_sortant); - - $remplacementadherent = $this->adherent->getremplacementadherent($idAdherent_sortant); - - $idRemplacementadherent = $remplacementadherent['idRemplacementadherent']; - - $idAdherent_entrant = $adherent_sortant['idRemplacant']; - - $adherent_entrant = $this->adherent->getAdherentIdConso($idAdherent_entrant); - - $garantieadherents = $this->adherent->getgarantieremplacementadherent($idAdherent_sortant); - - $beneficiaires = $this->adherent->getbeneficiaireremplacementadherent($idRemplacementadherent); - - $this->genererVue(array('adherent_sortant' => $adherent_sortant, 'remplacementadherent' => $remplacementadherent, - 'adherent_entrant' => $adherent_entrant, 'garantieadherents' => $garantieadherents, 'beneficiaires' => $beneficiaires)); - } - - public function remplacant() - { - $idPolice = $_SESSION['idPolice_C']; - - $idAdherent_entrant = $_SESSION['idAdherent_C']; - $adherent_entrant = $this->adherent->getAdherentIdConso($idAdherent_entrant); - - $idAdherent_sortant = $adherent_entrant['idRemplace']; - $adherent_sortant = $this->adherent->getAdherentIdConso($idAdherent_sortant); - - $remplacementadherent = $this->adherent->getremplacementadherent($idAdherent_sortant); - $idRemplacementadherent = $remplacementadherent['idRemplacementadherent']; - - $garantieadherents = $this->adherent->getgarantieremplacementadherent($idAdherent_sortant); - - $beneficiaires = $this->adherent->getbeneficiaireremplacementadherent($idRemplacementadherent); - - $this->genererVue(array('adherent_sortant' => $adherent_sortant, 'remplacementadherent' => $remplacementadherent, - 'adherent_entrant' => $adherent_entrant, 'garantieadherents' => $garantieadherents, 'beneficiaires' => $beneficiaires)); - } - -} - - - - - - - diff --git a/radiantproduction/Controleur/ControleurReposmedical.php b/radiantproduction/Controleur/ControleurReposmedical.php deleted file mode 100644 index 9ba3d4c..0000000 --- a/radiantproduction/Controleur/ControleurReposmedical.php +++ /dev/null @@ -1,16 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Reposmedical'); - } - - public function index() - { - $this->genererVue(); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRequeterecherche.php b/radiantproduction/Controleur/ControleurRequeterecherche.php deleted file mode 100644 index 00135da..0000000 --- a/radiantproduction/Controleur/ControleurRequeterecherche.php +++ /dev/null @@ -1,23 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Requeterecherche'); - - $this->etat = new Statistique(); - } - - public function index() - { - $etats = $this->etat->getListeRequeteRecherche(); - - $this->genererVue(array('etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurRequetes.php b/radiantproduction/Controleur/ControleurRequetes.php deleted file mode 100644 index 1ec8777..0000000 --- a/radiantproduction/Controleur/ControleurRequetes.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Requetes'); - - $this->requetes = (new Requetes())->getListe(); - } - - public function index() - { - $this->genererVue(array('requetes' => $this->requetes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurReseausoins.php b/radiantproduction/Controleur/ControleurReseausoins.php deleted file mode 100644 index 02d6022..0000000 --- a/radiantproduction/Controleur/ControleurReseausoins.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Reseausoins"); - - $this->reseau = new Reseausoins(); - } - - public function index() - { - $reseaus = $this->reseau->getReseausoins(); - - $this->genererVue(array('reseaus' => $reseaus)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSecurise.php b/radiantproduction/Controleur/ControleurSecurise.php deleted file mode 100644 index 4c32775..0000000 --- a/radiantproduction/Controleur/ControleurSecurise.php +++ /dev/null @@ -1,10 +0,0 @@ -requete->getSession()->detruire(); - $this->rediriger("Connexion"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSourcerequetesperso.php b/radiantproduction/Controleur/ControleurSourcerequetesperso.php deleted file mode 100644 index 20ca351..0000000 --- a/radiantproduction/Controleur/ControleurSourcerequetesperso.php +++ /dev/null @@ -1,21 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Sourcerequetesperso"); - - $this->requetesperso = new Requetesperso(); - } - public function index() { - - $sourcerequetes = $this->requetesperso->getsourcerequetesperso(); - - $this->genererVue(array('sourcerequetes' => $sourcerequetes)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSpadherent.php b/radiantproduction/Controleur/ControleurSpadherent.php deleted file mode 100644 index 6b30e09..0000000 --- a/radiantproduction/Controleur/ControleurSpadherent.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Spadherent"); - - $this->spadherent = new Adherent(); - } - public function index() { - $idAdherent = $_SESSION['idAdherent_C']; - - $dj = date("Y-m-d"); - - $spadherent = $this->spadherent->getRapportSpAdherent($idAdherent, $dj); - - $this->genererVue(array('spadherent' => $spadherent)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSpcollege.php b/radiantproduction/Controleur/ControleurSpcollege.php deleted file mode 100644 index f826a4b..0000000 --- a/radiantproduction/Controleur/ControleurSpcollege.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Spcollege"); - - $this->spcollege = new Collegepolice(); - } - public function index() { - $idCollege = $_SESSION['idCollege']; - - $dj = date("Y-m-d"); - - $spcollege = $this->spcollege->getRapportSpCollege($idCollege, $dj); - - $this->genererVue(array('spcollege' => $spcollege)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSppolice.php b/radiantproduction/Controleur/ControleurSppolice.php deleted file mode 100644 index ad547cb..0000000 --- a/radiantproduction/Controleur/ControleurSppolice.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Sppolice"); - - $this->sppolice = new Police(); - } - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $dj = date("Y-m-d"); - - $sppoliceentete = $this->sppolice->getRapportSpPoliceEntete($idPolice, $dj); - - $this->genererVue(array('sppoliceentete' => $sppoliceentete)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurStatistiques.php b/radiantproduction/Controleur/ControleurStatistiques.php deleted file mode 100644 index 3ede01a..0000000 --- a/radiantproduction/Controleur/ControleurStatistiques.php +++ /dev/null @@ -1,25 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Statistiques'); - - $this->statistique = new Statistique(); - } - - public function index() - { - $etats = $this->statistique->getListeArchive(); - $entetestat = $this->statistique->getParametreStat(); - - $this->genererVue(array('entetestat' => $entetestat, 'etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurStatistiquesnonarchives.php b/radiantproduction/Controleur/ControleurStatistiquesnonarchives.php deleted file mode 100644 index ea303a0..0000000 --- a/radiantproduction/Controleur/ControleurStatistiquesnonarchives.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Statistiquesnonarchives'); - - $this->statistique = new Statistique(); - } - - public function index() - { - $etats = $this->statistique->getListeNonArchive(); - $entetestat = $this->statistique->getParametreStat(); - - $this->genererVue(array('entetestat' => $entetestat, 'etats' => $etats)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSupprimerempreinte.php b/radiantproduction/Controleur/ControleurSupprimerempreinte.php deleted file mode 100644 index 1d0d15a..0000000 --- a/radiantproduction/Controleur/ControleurSupprimerempreinte.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Supprimerempreinte'); - - $this->beneficiaire = new Beneficiaire(); - } - - public function index() - { - $empreintesupprimers = $this->beneficiaire->getempreintesupprimers(); - - $this->genererVue(array('empreintesupprimers' => $empreintesupprimers)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSupprimerface.php b/radiantproduction/Controleur/ControleurSupprimerface.php deleted file mode 100644 index 8467126..0000000 --- a/radiantproduction/Controleur/ControleurSupprimerface.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Supprimerface'); - - $this->beneficiaire = new Beneficiaire(); - } - - public function index() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); - $facesupprimers = $this->beneficiaire->getfacesupprimers(); - - $this->genererVue(array('facesupprimers' => $facesupprimers)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurSyntheseconsopolice.php b/radiantproduction/Controleur/ControleurSyntheseconsopolice.php deleted file mode 100644 index 76c8387..0000000 --- a/radiantproduction/Controleur/ControleurSyntheseconsopolice.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Syntheseconsopolice"); - - $this->sppolice = new Police(); - } - public function index() - { - $idPolice = $_SESSION['idPolice_C']; - - $dj = date("Y-m-d"); - - $sppoliceentete = $this->sppolice->getRapportSpPoliceEntete($idPolice, $dj); - - $this->genererVue(array('sppoliceentete' => $sppoliceentete)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTableaucommission.php b/radiantproduction/Controleur/ControleurTableaucommission.php deleted file mode 100644 index d2c0cdf..0000000 --- a/radiantproduction/Controleur/ControleurTableaucommission.php +++ /dev/null @@ -1,50 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Tableaucommission"); - - $this->typeapporteur = new Typeapporteur(); - $this->tableaucommission = new Tableaucommission(); - } - - public function index() - { - $typeapporteurs = $this->typeapporteur->getListeTypeapporteurs(); - - $this->genererVue(array('typeapporteurs' => $typeapporteurs)); - } - - public function detailcommission() - { - $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - - $typeapporteur = $this->typeapporteur->getUnTypeApporteur($codeTypeApporteur); - $tableaucommission = $this->tableaucommission->gettableaucommissiontype($codeTypeApporteur); - - $this->genererVueAjax(array('typeapporteur' => $typeapporteur, 'tableaucommission' => $tableaucommission)); - } - - public function enregistrerdetailcommission() - { -/* -idTableaucommission, codeTypeApporteur, codeTypeContrat, codeEtape, tauxCommission -*/ - $idTableaucommission= $this->requete->getParametreFormulaire("idTableaucommission", "numerique"); - $codeTypeApporteur = $this->requete->getParametreFormulaire("codeTypeApporteur"); - $codeTypeContrat = $this->requete->getParametreFormulaire("codeTypeContrat"); - $codeEtape = $this->requete->getParametreFormulaire("codeEtape"); - $tauxCommission = $this->requete->getParametreFormulaire("tauxCommission", "numerique"); - - $this->tableaucommission->enregistrerdetailcommission($idTableaucommission, $codeTypeApporteur, $codeTypeContrat, $codeEtape, $tauxCommission); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTache.php b/radiantproduction/Controleur/ControleurTache.php deleted file mode 100644 index d6ade19..0000000 --- a/radiantproduction/Controleur/ControleurTache.php +++ /dev/null @@ -1,57 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Tache"); - - $this->tache = new Tachesante(); - $this->acteurtache_crea = (new Acteurtache())->getListe_consult(); - $this->acteurtache_dest = (new Acteurtache())->getListe_consult(); - $this->typtachesante = (new Typtachesante())->getListe(); - $this->etattachesante = (new Etattachesante())->getListe(); - } - - public function index() - { - $codeInitiateur=""; - $codeDestinataire=""; - $codeTypTache=""; - $codeEtatTache="0"; - - if (isset($_POST['codeEtatTache'])) - { - $codeInitiateur = $this->requete->getParametreFormulaire("codeInitiateur"); - $codeDestinataire = $this->requete->getParametreFormulaire("codeDestinataire"); - $codeTypTache = $this->requete->getParametreFormulaire("codeTypTache"); - $codeEtatTache = $this->requete->getParametreFormulaire("codeEtatTache"); - } - $taches = $this->tache->afficherTaches($codeInitiateur, $codeDestinataire, $codeTypTache, $codeEtatTache); - - $this->genererVue(array('taches' => $taches, 'acteurtache_crea' => $this->acteurtache_crea, 'acteurtache_dest' => $this->acteurtache_dest, - 'codeInitiateur' => $codeInitiateur, 'codeDestinataire' => $codeDestinataire, 'typtachesante' => $this->typtachesante, - 'etattachesante' => $this->etattachesante, 'codeEtatTache' => $codeEtatTache, 'codeTypTache' => $codeTypTache)); - } - - public function pointerTache() { - $idTache = $this->requete->getParametre("id"); - $this->tache->pointerTache($idTache); - - // $this->rediriger("Avishospitalisation"); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTacheadherent.php b/radiantproduction/Controleur/ControleurTacheadherent.php deleted file mode 100644 index c543311..0000000 --- a/radiantproduction/Controleur/ControleurTacheadherent.php +++ /dev/null @@ -1,57 +0,0 @@ -menuvue = new Menuvueprofil(); - $this->menuvue->getMenuVue("Tacheadherent"); - - $this->tache = new Tachesante(); - $this->acteurtache_dest = (new Acteurtache())->getListe_adherent(); - // $this->typtachesante = (new Typtachesante())->getListe(); - $this->typtachesante = (new Typtachesante())->getListeAdherent(); - $this->etattachesante = (new Etattachesante())->getListe(); - } - - public function index() - { - $codeInitiateur=""; - // $codeDestinataire=$_SESSION['codeTypeUtilisateur']; - $codeDestinataire=""; - //if($_SESSION['codeTypeUtilisateur']=='PR') - //$codeDestinataire=$_SESSION['codePrestataireUtilisateur']; - $codeTypTache=""; - $codeEtatTache="0"; - - if (isset($_POST['codeEtatTache'])) - { - $codeInitiateur = $this->requete->getParametreFormulaire("codeInitiateur"); - $codeDestinataire = $this->requete->getParametreFormulaire("codeDestinataire"); - $codeTypTache = $this->requete->getParametreFormulaire("codeTypTache"); - $codeEtatTache = $this->requete->getParametreFormulaire("codeEtatTache"); - } - $taches = $this->tache->afficherTachesadherent($codeDestinataire, $codeTypTache, $codeEtatTache); - - $this->genererVue(array('taches' => $taches, 'acteurtache_dest' => $this->acteurtache_dest, - 'codeDestinataire' => $codeDestinataire, 'typtachesante' => $this->typtachesante, - 'etattachesante' => $this->etattachesante, 'codeEtatTache' => $codeEtatTache, 'codeTypTache' => $codeTypTache)); - } - - public function pointerTache() { - $idTache = $this->requete->getParametre("id"); - $this->tache->pointerTache($idTache); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTacheassure.php b/radiantproduction/Controleur/ControleurTacheassure.php deleted file mode 100644 index c365714..0000000 --- a/radiantproduction/Controleur/ControleurTacheassure.php +++ /dev/null @@ -1,56 +0,0 @@ -menuvue = new Menuvueprofil(); - $this->menuvue->getMenuVue("Tacheassure"); - //$this->acteurtache_dest = (new Acteurtache())->getListe_adherent(); - $this->tache = new Tachesante(); - $this->acteurtache_crea = (new Acteurtache())->getListe_assure(); - $this->acteurtache_dest = (new Acteurtache())->getListe_assure(); - $this->typtachesante = (new Typtachesante())->getListe(); - $this->etattachesante = (new Etattachesante())->getListe(); - } - - public function index() - { - $codeInitiateur=""; - $codeDestinataire=""; - $codeTypTache=""; - $codeEtatTache="0"; - - if (isset($_POST['codeEtatTache'])) - { - $codeInitiateur = $this->requete->getParametreFormulaire("codeInitiateur"); - $codeDestinataire = $this->requete->getParametreFormulaire("codeDestinataire"); - $codeTypTache = $this->requete->getParametreFormulaire("codeTypTache"); - $codeEtatTache = $this->requete->getParametreFormulaire("codeEtatTache"); - } - - $taches = $this->tache->afficherTachesassure($codeInitiateur, $codeDestinataire, $codeTypTache, $codeEtatTache); - - $this->genererVue(array('taches' => $taches, 'acteurtache_crea' => $this->acteurtache_crea, 'acteurtache_dest' => $this->acteurtache_dest, - 'codeInitiateur' => $codeInitiateur, 'codeDestinataire' => $codeDestinataire, 'typtachesante' => $this->typtachesante, - 'etattachesante' => $this->etattachesante, 'codeEtatTache' => $codeEtatTache, 'codeTypTache' => $codeTypTache)); - } - - public function pointerTache() { - $idTache = $this->requete->getParametre("id"); - $this->tache->pointerTache($idTache); - $this->executerAction("index"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTarifs.php b/radiantproduction/Controleur/ControleurTarifs.php deleted file mode 100644 index e5fcf87..0000000 --- a/radiantproduction/Controleur/ControleurTarifs.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Tarifs'); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurTarifsactes.php b/radiantproduction/Controleur/ControleurTarifsactes.php deleted file mode 100644 index 0908602..0000000 --- a/radiantproduction/Controleur/ControleurTarifsactes.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Tarifsactes'); - - $this->tarif = (new Tarifsactes())->getListe(); - } - - public function index() - { - $this->genererVue(array('tarif' => $this->tarif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTarifsmedicaments.php b/radiantproduction/Controleur/ControleurTarifsmedicaments.php deleted file mode 100644 index 4289c3f..0000000 --- a/radiantproduction/Controleur/ControleurTarifsmedicaments.php +++ /dev/null @@ -1,20 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Tarifsmedicaments'); - - $this->tarif = (new Tarifsmedicaments())->getListe(); - } - - public function index() { - $this->genererVue(array('tarif' => $this->tarif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTarifsoptiques.php b/radiantproduction/Controleur/ControleurTarifsoptiques.php deleted file mode 100644 index e7e8b51..0000000 --- a/radiantproduction/Controleur/ControleurTarifsoptiques.php +++ /dev/null @@ -1,20 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Tarifsoptiques'); - - $this->tarif = (new Tarifsoptiques())->getListe(); - } - - public function index() { - $this->genererVue(array('tarif' => $this->tarif)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouteracte.php b/radiantproduction/Controleur/ControleurTbajouteracte.php deleted file mode 100644 index 3c65787..0000000 --- a/radiantproduction/Controleur/ControleurTbajouteracte.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('acte'); - - $this->acte = new Acte(); - $this->familleacte = (new Familleacte())->getListe(); - - } - public function index() { - $this->genererVue(array('familleacte' => $this->familleacte)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeActe = $this->requete->getParametre("codeActe"); - // Début contrôle doublon - if (!$this->acte->existeligne($codeActe)) { - $libelle = $this->requete->getParametre("libelle"); - $caracteristiques = $this->requete->getParametreFormulaire("caracteristiques"); - $codeFamille = $this->requete->getParametre("codeFamille"); - - $codeActe = strtoupper($codeActe); - $libelle = ucfirst($libelle); - - $this->acte->ajouter($codeSociete, $codeActe, $libelle, $codeFamille, $caracteristiques); - $this->executerAction("index"); - } - else - $this->genererVue(array('familleacte' => $this->familleacte, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouteraffection.php b/radiantproduction/Controleur/ControleurTbajouteraffection.php deleted file mode 100644 index 75341d6..0000000 --- a/radiantproduction/Controleur/ControleurTbajouteraffection.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('affection'); - - $this->affection = new Affection(); - $this->typeaffection = (new Typeaffection())->getListe(); - } - public function index() { - $this->genererVue(array('typeaffection' => $this->typeaffection)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeAffection = $this->requete->getParametre("codeAffection"); - // Début contrôle doublon - if (!$this->affection->existeligne($codeAffection)) { - $libelle = $this->requete->getParametre("libelle"); - $codeType = $this->requete->getParametre("codeType"); - - $codeAffection = strtoupper($codeAffection); - $libelle = ucfirst($libelle); - - $this->affection->ajouter($codeSociete, $codeAffection, $libelle, $codeType); - $this->executerAction("index"); - } - else - $this->genererVue(array('typeaffection' => $this->typeaffection, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterapporteur.php b/radiantproduction/Controleur/ControleurTbajouterapporteur.php deleted file mode 100644 index 6a8ce7a..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterapporteur.php +++ /dev/null @@ -1,52 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('apporteur'); - - $this->apporteur = new Apporteur(); - $this->typeapporteur = (new Typeapporteur())->getListe(); - $this->bureau = (new Bureau())->getListe(); - } - public function index() { - $this->genererVue(array('typeapporteur' => $this->typeapporteur, 'bureau' => $this->bureau)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeApporteur = $this->requete->getParametre("codeApporteur"); - // Début contrôle doublon - - if (!$this->apporteur->existeligne($codeApporteur)) { - $libelle = $this->requete->getParametre("libelle"); - $codeTypeApporteur = $this->requete->getParametre("codeTypeApporteur"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - $nomResponsable = $this->requete->getParametreFormulaire("nomResponsable"); - $codeBureau = $this->requete->getParametre("codeBureau"); - - $codeApporteur = strtoupper($codeApporteur); - $libelle = ucfirst($libelle); - $nomResponsable = ucwords($nomResponsable); - - $this->apporteur->ajouter($codeSociete, $codeApporteur, $libelle, $codeTypeApporteur, - $telephone, $email, $adresseGeo, $adressePost, $nomResponsable, $codeBureau); - - $this->executerAction("index"); - } - else - $this->genererVue(array('typeapporteur' => $this->typeapporteur, 'bureau' => $this->bureau, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterbanque.php b/radiantproduction/Controleur/ControleurTbajouterbanque.php deleted file mode 100644 index 8435ded..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterbanque.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('banque'); - - $this->banque = new banque(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codebanque = $this->requete->getParametre("codebanque"); - // Début contrôle doublon - if (!$this->banque->existeligne($codebanque)) { - $libelle = $this->requete->getParametre("libelle"); - - $codebanque = strtoupper($codebanque); - $libelle = ucfirst($libelle); - - $this->banque->ajouter($codeSociete, $codebanque, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterbureau.php b/radiantproduction/Controleur/ControleurTbajouterbureau.php deleted file mode 100644 index 668ea93..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterbureau.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('bureau'); - - $this->bureau = new bureau(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeBureau = $this->requete->getParametre("codeBureau"); - // Début contrôle doublon - if (!$this->bureau->existeligne($codeBureau)) { - $libelle = $this->requete->getParametre("libelle"); - $nomRespon = $this->requete->getParametreFormulaire("nomRespon"); - $prenomRespon = $this->requete->getParametreFormulaire("prenomRespon"); - $telephoneFixe = $this->requete->getParametreFormulaire("telephoneFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametreFormulaire("email"); - - $codeBureau = strtoupper($codeBureau); - $libelle = ucfirst($libelle); - $nomRespon = strtoupper($nomRespon); - $prenomRespon = ucwords($prenomRespon); - - $this->bureau->ajouter($codeSociete, $codeBureau, $libelle, - $nomRespon, $prenomRespon, $telephoneFixe, $telephonePortable, $email); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterexclusion.php b/radiantproduction/Controleur/ControleurTbajouterexclusion.php deleted file mode 100644 index 865086d..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterexclusion.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('exclusion'); - - $this->exclusion = new exclusion(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeExclusion = $this->requete->getParametre("codeExclusion"); - // Début contrôle doublon - if (!$this->exclusion->existeligne($codeExclusion)) { - $libelle = $this->requete->getParametre("libelle"); - - $codeExclusion = strtoupper($codeExclusion); - $libelle = ucfirst($libelle); - - $this->exclusion->ajouter($codeSociete, $codeExclusion, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterfamilleacte.php b/radiantproduction/Controleur/ControleurTbajouterfamilleacte.php deleted file mode 100644 index 1a073eb..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterfamilleacte.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('familleacte'); - - $this->familleacte = new familleacte(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codefamille = $this->requete->getParametre("codefamille"); - // Début contrôle doublon - if (!$this->familleacte->existeligne($codefamille)) { - $libelle = $this->requete->getParametre("libelle"); - - $codefamille = strtoupper($codefamille); - $libelle = ucfirst($libelle); - - $this->familleacte->ajouter($codeSociete, $codefamille, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajoutergestionnaire.php b/radiantproduction/Controleur/ControleurTbajoutergestionnaire.php deleted file mode 100644 index 7414f4e..0000000 --- a/radiantproduction/Controleur/ControleurTbajoutergestionnaire.php +++ /dev/null @@ -1,44 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('gestionnaire'); - - $this->gestionnaire = new Gestionnaire(); - $this->service = (new Service())->getListe(); - } - public function index() { - $this->genererVue(array('service' => $this->service)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeGestionnaire = $this->requete->getParametre("codeGestionnaire"); - // Début contrôle doublon - if (!$this->gestionnaire->existeligne($codeGestionnaire)) { - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametreFormulaire("prenoms"); - $telephone = $this->requete->getParametreFormulaire("telephone"); - $email = $this->requete->getParametreFormulaire("email"); - $codeService = $this->requete->getParametre("codeService"); - - $codeGestionnaire = strtoupper($codeGestionnaire); - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - - $this->gestionnaire->ajouter($codeSociete, $codeGestionnaire, $nom, $prenoms, $codeService, $telephone, $email); - $this->executerAction("index"); - } - else - $this->genererVue(array('service' => $this->service, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterlocalite.php b/radiantproduction/Controleur/ControleurTbajouterlocalite.php deleted file mode 100644 index 7dda0b4..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterlocalite.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('localite'); - - $this->localite = new Localite(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->ville = (new Ville())->getListe($_SESSION['codePaysSociete']); - } - public function index() { - $this->genererVue(array('pays' => $this->pays, 'ville' => $this->ville)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - // Début contrôle doublon - if (!$this->localite->existeligne($codeLocalite)) { - $libelle = $this->requete->getParametre("libelle"); - $codePays = $this->requete->getParametre("codePays"); - $codeVille = $this->requete->getParametre("codeVille"); - - $codeLocalite = strtoupper($codeLocalite); - $libelle = ucfirst($libelle); - - $this->localite->ajouter($codeSociete, $codeLocalite, $libelle, $codePays, $codeVille); - $this->executerAction("index"); - } - else - $this->genererVue(array('pays' => $this->pays, 'ville' => $this->ville, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouternaturepiece.php b/radiantproduction/Controleur/ControleurTbajouternaturepiece.php deleted file mode 100644 index 9017a6a..0000000 --- a/radiantproduction/Controleur/ControleurTbajouternaturepiece.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('naturepiece'); - - $this->naturepiece = new naturepiece(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - // Début contrôle doublon - if (!$this->naturepiece->existeligne($codeNaturePiece)) { - $libelle = $this->requete->getParametre("libelle"); - - $codeNaturePiece = strtoupper($codeNaturePiece); - $libelle = ucfirst($libelle); - - $this->naturepiece->ajouter($codeSociete, $codeNaturePiece, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterpays.php b/radiantproduction/Controleur/ControleurTbajouterpays.php deleted file mode 100644 index b8e09d0..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterpays.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('pays'); - - $this->pays = new pays(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codePays = $this->requete->getParametre("codePays"); - // Début contrôle doublon - if (!$this->pays->existeligne($codePays)) { - $libelle = $this->requete->getParametre("libelle"); - - $codePays = strtoupper($codePays); - $libelle = ucfirst($libelle); - - $this->pays->ajouter($codeSociete, $codePays, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterprestataire.php b/radiantproduction/Controleur/ControleurTbajouterprestataire.php deleted file mode 100644 index 86ba9dd..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterprestataire.php +++ /dev/null @@ -1,86 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('prestataire'); - - $this->prestataire = new Prestataire(); - $this->typeprestataire = (new Typeprestataire())->getListe(); - $this->natureprestataire = (new Natureprestataire())->getListe(); - $this->gestionnaire = (new Gestionnaire())->getListe(); - $this->localite = new Localite(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - $this->ville = (new Ville())->getListe($_SESSION['codePaysSociete']); - } - public function index() { - $this->genererVue(array('typeprestataire' => $this->typeprestataire, 'listelocalite' => $this->localite, - 'pays' => $this->pays, 'listeville' => $this->ville, 'gestionnaire' => $this->gestionnaire, 'natureprestataire' => $this->natureprestataire)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codePrestataire = $this->requete->getParametre("codePrestataire"); - // Début contrôle doublon -/* - id, codeSociete, codeTypePrestataire, codePrestataire, libelle, codePays, codeVille, codeLocalite, adresseGeo, - adressePost, telephoneFixe, telephonePortable, email, nomResponsable, contactResponsable, emailResponsable, - nomInterlocuteur, contactInterlocuteur, emailInterlocuteur, numeroCompte, codeGestionnaire, codeNaturePrestataire -*/ - if (!$this->prestataire->existeligne($codePrestataire)) { - $libelle = $this->requete->getParametre("libelle"); - $codeTypePrestataire = $this->requete->getParametre("codeTypePrestataire"); - $codePays = $this->requete->getParametre("codePays"); - $codeVille = $this->requete->getParametre("codeVille"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - $telephoneFixe = $this->requete->getParametreFormulaire("telephoneFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametre("email"); - $nomResponsable = $this->requete->getParametre("nomResponsable"); - $contactResponsable = $this->requete->getParametre("contactResponsable"); - $emailResponsable = $this->requete->getParametre("emailResponsable"); - $nomInterlocuteur = $this->requete->getParametre("nomInterlocuteur"); - $contactInterlocuteur = $this->requete->getParametre("contactInterlocuteur"); - $emailInterlocuteur = $this->requete->getParametre("emailInterlocuteur"); - $numeroCompte = $this->requete->getParametreFormulaire("numeroCompte"); - $codeGestionnaire = $this->requete->getParametre("codeGestionnaire"); - $codeNaturePrestataire = $this->requete->getParametre("codeNaturePrestataire"); - - $codePrestataire = strtoupper($codePrestataire); - $libelle = ucfirst($libelle); - $nomResponsable = ucwords($nomResponsable); - $nomInterlocuteur = ucwords($nomInterlocuteur); - - $this->prestataire->ajouter($codeSociete, $codeTypePrestataire, $codePrestataire, $libelle, $codePays, - $codeVille, $codeLocalite, $adresseGeo, $adressePost, $telephoneFixe, $telephonePortable, $email, $nomResponsable, - $contactResponsable, $emailResponsable, $nomInterlocuteur, $contactInterlocuteur, $emailInterlocuteur, $numeroCompte, - $codeGestionnaire, $codeNaturePrestataire); - - $this->executerAction("index"); - } - else - $this->genererVue(array('typeprestataire' => $this->typeprestataire, 'listelocalite' => $this->localite, - 'pays' => $this->pays, 'listeville' => $this->ville, 'gestionnaire' => $this->gestionnaire, 'natureprestataire' => $this->natureprestataire, 'msgErreur' => 'Ce code existe déjà!'), "index"); - - // $this->genererVue(array('typeprestataire' => $this->typeprestataire, 'bureau' => $this->bureau, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterproduit.php b/radiantproduction/Controleur/ControleurTbajouterproduit.php deleted file mode 100644 index 6ceded4..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterproduit.php +++ /dev/null @@ -1,55 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('produit'); - - $this->produit = new Produit(); - $this->reseau = (new Reseausoins())->getListe(); - $this->basetarification = (new Basetarification())->getListe(); - } - public function index() { - $this->genererVue(array('reseau' => $this->reseau, 'basetarification' => $this->basetarification)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeProduit = $this->requete->getParametre("codeProduit"); - // Début contrôle doublon -/* - id, -codeSociete, codeProduit, libelle, codeEtatProduit, dateEtat, codeBaseTarification, primeFixe, -primeFamille, primeIndividu, codeReseau -*/ - if (!$this->produit->existeligne($codeProduit)) { - $libelle = $this->requete->getParametre("libelle"); - $codeEtatProduit = "1"; - $dateEtat = date("Y-m-d"); - $codeBaseTarification = $this->requete->getParametre("codeBaseTarification"); - $primeFixe = $this->requete->getParametreFormulaire("primeFixe","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $primeIndividu = $this->requete->getParametreFormulaire("primeIndividu","numerique"); - $codeReseau = $this->requete->getParametre("codeReseau"); - - $codeProduit = strtoupper($codeProduit); - $libelle = ucfirst($libelle); - - $this->produit->ajouter($codeSociete, $codeProduit, $libelle, $codeEtatProduit, $dateEtat, $codeBaseTarification, - $primeFixe, $primeFamille, $primeIndividu, $codeReseau); - - $this->executerAction("index"); - } - else - $this->genererVue(array('reseau' => $this->reseau, 'basetarification' => $this->basetarification, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterreseausoins.php b/radiantproduction/Controleur/ControleurTbajouterreseausoins.php deleted file mode 100644 index 7c12565..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterreseausoins.php +++ /dev/null @@ -1,36 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('reseausoins'); - - $this->reseausoins = new Reseausoins(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeReseau = $this->requete->getParametre("codeReseau"); - // Début contrôle doublon - if (!$this->reseausoins->existeligne($codeReseau)) { - $libelle = $this->requete->getParametre("libelle"); - $descritpionReseau = $this->requete->getParametreFormulaire("descritpionReseau"); - - $codeReseau = strtoupper($codeReseau); - $libelle = ucfirst($libelle); - - $this->reseausoins->ajouter($codeSociete, $codeReseau, $libelle, $descritpionReseau); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajoutersecteuractivite.php b/radiantproduction/Controleur/ControleurTbajoutersecteuractivite.php deleted file mode 100644 index 6431ded..0000000 --- a/radiantproduction/Controleur/ControleurTbajoutersecteuractivite.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('secteuractivite'); - - $this->secteuractivite = new secteuractivite(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - // $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeSecteur = $this->requete->getParametre("codeSecteur"); - // Début contrôle doublon - if (!$this->secteuractivite->existeligne($codeSecteur)) { - $libelleSecteur = $this->requete->getParametre("libelleSecteur"); - - $codeSecteur = strtoupper($codeSecteur); - $libelleSecteur = ucfirst($libelleSecteur); - - $this->secteuractivite->ajouter($codeSecteur, $libelleSecteur); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterservice.php b/radiantproduction/Controleur/ControleurTbajouterservice.php deleted file mode 100644 index ac179f2..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterservice.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('service'); - - $this->service = new service(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeService = $this->requete->getParametre("codeService"); - // Début contrôle doublon - if (!$this->service->existeligne($codeService)) { - $libelle = $this->requete->getParametre("libelle"); - - $codeService = strtoupper($codeService); - $libelle = ucfirst($libelle); - - $this->service->ajouter($codeSociete, $codeService, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajoutertitre.php b/radiantproduction/Controleur/ControleurTbajoutertitre.php deleted file mode 100644 index 15badf8..0000000 --- a/radiantproduction/Controleur/ControleurTbajoutertitre.php +++ /dev/null @@ -1,37 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('titre'); - - $this->titre = new titre(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeTitre = $this->requete->getParametre("codeTitre"); - // Début contrôle doublon - if (!$this->titre->existeligne($codeTitre)) { - $libelle = $this->requete->getParametre("libelle"); - $titreCourrier = $this->requete->getParametreFormulaire("titreCourrier"); - - $codeTitre = strtoupper($codeTitre); - $libelle = ucfirst($libelle); - $titreCourrier = ucfirst($titreCourrier); - - $this->titre->ajouter($codeSociete, $codeTitre, $libelle, $titreCourrier); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajoutertypeaffection.php b/radiantproduction/Controleur/ControleurTbajoutertypeaffection.php deleted file mode 100644 index 3d248e0..0000000 --- a/radiantproduction/Controleur/ControleurTbajoutertypeaffection.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('typeaffection'); - - $this->typeaffection = new typeaffection(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeType = $this->requete->getParametre("codeType"); - // Début contrôle doublon - if (!$this->typeaffection->existeligne($codeType)) { - $libelle = $this->requete->getParametre("libelle"); - - $codeTitre = strtoupper($codeType); - $libelle = ucfirst($libelle); - - $this->typeaffection->ajouter($codeSociete, $codeType, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajoutertypeapporteur.php b/radiantproduction/Controleur/ControleurTbajoutertypeapporteur.php deleted file mode 100644 index 6783380..0000000 --- a/radiantproduction/Controleur/ControleurTbajoutertypeapporteur.php +++ /dev/null @@ -1,35 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('typeapporteur'); - - $this->typeapporteur = new typeapporteur(); - } - public function index() { - $this->genererVue(); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeType = $this->requete->getParametre("codeType"); - // Début contrôle doublon - if (!$this->typeapporteur->existeligne($codeType)) { - $libelle = $this->requete->getParametre("libelle"); - - $codeType = strtoupper($codeType); - $libelle = ucfirst($libelle); - - $this->typeapporteur->ajouter($codeSociete, $codeType, $libelle); - $this->executerAction("index"); - } - else - $this->genererVue(array('msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajoutertypeprestataire.php b/radiantproduction/Controleur/ControleurTbajoutertypeprestataire.php deleted file mode 100644 index dd179d6..0000000 --- a/radiantproduction/Controleur/ControleurTbajoutertypeprestataire.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('typeprestataire'); - - $this->typeprestataire = new Typeprestataire(); - $this->typeprestatairesysteme = (new Typeprestatairesysteme())->getListe(); - } - public function index() { - $this->genererVue(array('typeprestatairesysteme' => $this->typeprestatairesysteme)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeTypePrestataire = $this->requete->getParametre("codeTypePrestataire"); - // Début contrôle doublon - if (!$this->typeprestataire->existeligne($codeTypePrestataire)) { - $libelle = $this->requete->getParametre("libelle"); - $codeTypeSysteme = $this->requete->getParametre("codeTypeSysteme"); - - $codeTypePrestataire = strtoupper($codeTypePrestataire); - $libelle = ucfirst($libelle); - - $this->typeprestataire->ajouter($codeSociete, $codeTypePrestataire, $libelle, $codeTypeSysteme); - $this->executerAction("index"); - } - else - $this->genererVue(array('typeprestatairesysteme' => $this->typeprestatairesysteme, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbajouterville.php b/radiantproduction/Controleur/ControleurTbajouterville.php deleted file mode 100644 index 8f50c24..0000000 --- a/radiantproduction/Controleur/ControleurTbajouterville.php +++ /dev/null @@ -1,39 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('ville'); - - $this->ville = new Ville(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - } - public function index() { - $this->genererVue(array('pays' => $this->pays)); - } - - public function ajouter() { - $codeSociete = $this->requete->getSession()->getAttribut('codeSociete'); - $codeVille = $this->requete->getParametre("codeVille"); - // Début contrôle doublon - if (!$this->ville->existeligne($codeVille)) { - $libelle = $this->requete->getParametre("libelle"); - $codePays = $this->requete->getParametre("codePays"); - - $codeVille = strtoupper($codeVille); - $libelle = ucfirst($libelle); - - $this->ville->ajouter($codeSociete, $codeVille, $libelle, $codePays); - $this->executerAction("index"); - } - else - $this->genererVue(array('pays' => $this->pays, 'msgErreur' => 'Ce code existe déjà!'), "index"); - // Fin doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteacte.php b/radiantproduction/Controleur/ControleurTblisteacte.php deleted file mode 100644 index ac2654e..0000000 --- a/radiantproduction/Controleur/ControleurTblisteacte.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('acte'); - - $this->acte = new Acte(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $actes = $this->acte->getActes($codesearch,$libellesearch); - $this->genererVue(array('actes' => $actes, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->acte->supprimer($id); - $this->rediriger("Tblisteacte"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteaffection.php b/radiantproduction/Controleur/ControleurTblisteaffection.php deleted file mode 100644 index 4b5380c..0000000 --- a/radiantproduction/Controleur/ControleurTblisteaffection.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('affection'); - - $this->affection = new Affection(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $affections = $this->affection->getAffections($codesearch,$libellesearch); - $this->genererVue(array('affections' => $affections, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->affection->supprimer($id); - $this->rediriger("Tblisteaffection"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteapporteur.php b/radiantproduction/Controleur/ControleurTblisteapporteur.php deleted file mode 100644 index fd37ed6..0000000 --- a/radiantproduction/Controleur/ControleurTblisteapporteur.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('apporteur'); - - $this->apporteur = new Apporteur(); - } - - public function index($codesearch="",$libellesearch="",$bureausearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - $bureausearch=$_POST['bureausearch']; - } - $apporteurs = $this->apporteur->getApporteurs($codesearch,$libellesearch,$bureausearch); - $this->genererVue(array('apporteurs' => $apporteurs, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch, 'bureausearch' => $bureausearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->apporteur->supprimer($id); - $this->rediriger("Tblisteapporteur"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistebanque.php b/radiantproduction/Controleur/ControleurTblistebanque.php deleted file mode 100644 index 2ee46d0..0000000 --- a/radiantproduction/Controleur/ControleurTblistebanque.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('banque'); - - $this->banque = new Banque(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $banques = $this->banque->getbanques($codesearch,$libellesearch); - $this->genererVue(array('banques' => $banques, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->banque->supprimer($id); - $this->rediriger("Tblistebanque"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistebureau.php b/radiantproduction/Controleur/ControleurTblistebureau.php deleted file mode 100644 index 9d3e612..0000000 --- a/radiantproduction/Controleur/ControleurTblistebureau.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('bureau'); - - $this->bureau = new bureau(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $bureaux = $this->bureau->getBureaux($codesearch,$libellesearch); - $this->genererVue(array('bureaux' => $bureaux, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->bureau->supprimer($id); - $this->rediriger("Tblistebureau"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteexclusion.php b/radiantproduction/Controleur/ControleurTblisteexclusion.php deleted file mode 100644 index 2951c50..0000000 --- a/radiantproduction/Controleur/ControleurTblisteexclusion.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('exclusion'); - - $this->exclusion = new exclusion(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $exclusions = $this->exclusion->getExclusions($codesearch,$libellesearch); - $this->genererVue(array('exclusions' => $exclusions, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->exclusion->supprimer($id); - $this->rediriger("Tblisteexclusion"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistefamilleacte.php b/radiantproduction/Controleur/ControleurTblistefamilleacte.php deleted file mode 100644 index 46d3aea..0000000 --- a/radiantproduction/Controleur/ControleurTblistefamilleacte.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('familleacte'); - - $this->familleacte = new familleacte(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $familleactes = $this->familleacte->getFamilleactes($codesearch,$libellesearch); - $this->genererVue(array('familleactes' => $familleactes, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->familleacte->supprimer($id); - $this->rediriger("Tblistefamilleacte"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistegestionnaire.php b/radiantproduction/Controleur/ControleurTblistegestionnaire.php deleted file mode 100644 index 72438cd..0000000 --- a/radiantproduction/Controleur/ControleurTblistegestionnaire.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('gestionnaire'); - - $this->gestionnaire = new Gestionnaire(); - } - - public function index($codesearch="",$nomsearch="",$prenomsearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $nomsearch=$_POST['nomsearch']; - $prenomsearch=$_POST['prenomsearch']; - } - $gestionnaires = $this->gestionnaire->getGestionnaires($codesearch,$nomsearch,$prenomsearch); - $this->genererVue(array('gestionnaires' => $gestionnaires, 'codesearch' => $codesearch, 'nomsearch' => $nomsearch, 'prenomsearch' => $prenomsearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->gestionnaire->supprimer($id); - $this->rediriger("Tblistegestionnaire"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistelocalite.php b/radiantproduction/Controleur/ControleurTblistelocalite.php deleted file mode 100644 index 259e90b..0000000 --- a/radiantproduction/Controleur/ControleurTblistelocalite.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('localite'); - - $this->localite = new Localite(); - } - - public function index($codesearch="",$libellesearch="",$villesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - $villesearch=$_POST['villesearch']; - } - $localites = $this->localite->getLocalites($codesearch,$libellesearch,$villesearch); - $this->genererVue(array('localites' => $localites, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch, 'villesearch' => $villesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->localite->supprimer($id); - $this->rediriger("Tblistelocalite"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistenaturepiece.php b/radiantproduction/Controleur/ControleurTblistenaturepiece.php deleted file mode 100644 index db1b8e2..0000000 --- a/radiantproduction/Controleur/ControleurTblistenaturepiece.php +++ /dev/null @@ -1,30 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('naturepiece'); - - $this->naturepiece = new naturepiece(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $naturepieces = $this->naturepiece->getnaturepieces($codesearch,$libellesearch); - $this->genererVue(array('naturepieces' => $naturepieces, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->naturepiece->supprimer($id); - $this->rediriger("Tblistenaturepiece"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistepays.php b/radiantproduction/Controleur/ControleurTblistepays.php deleted file mode 100644 index 1658788..0000000 --- a/radiantproduction/Controleur/ControleurTblistepays.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('pays'); - - $this->pays = new pays(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $payss = $this->pays->getPayss($codesearch,$libellesearch); - $this->genererVue(array('payss' => $payss, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->pays->supprimer($id); - $this->rediriger("Tblistepays"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteprestataire.php b/radiantproduction/Controleur/ControleurTblisteprestataire.php deleted file mode 100644 index 690e6e1..0000000 --- a/radiantproduction/Controleur/ControleurTblisteprestataire.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('prestataire'); - - $this->prestataire = new Prestataire(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $prestataires = $this->prestataire->getPrestataires($codesearch,$libellesearch); - $this->genererVue(array('prestataires' => $prestataires, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->prestataire->supprimer($id); - $this->rediriger("Tblisteprestataire"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteproduit.php b/radiantproduction/Controleur/ControleurTblisteproduit.php deleted file mode 100644 index 898797f..0000000 --- a/radiantproduction/Controleur/ControleurTblisteproduit.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('produit'); - - $this->produit = new Produit(); - } - - public function index($codesearch="",$libellesearch="",$reseausearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - $reseausearch=$_POST['reseausearch']; - } - $produits = $this->produit->getProduits($codesearch,$libellesearch,$reseausearch); - $this->genererVue(array('produits' => $produits, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch, 'reseausearch' => $reseausearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->produit->supprimer($id); - $this->rediriger("Tblisteproduit"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistereseausoins.php b/radiantproduction/Controleur/ControleurTblistereseausoins.php deleted file mode 100644 index cbf545f..0000000 --- a/radiantproduction/Controleur/ControleurTblistereseausoins.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('reseausoins'); - - $this->reseausoins = new Reseausoins(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $reseausoins = $this->reseausoins->getReseausoins($codesearch,$libellesearch); - $this->genererVue(array('reseausoins' => $reseausoins, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->reseausoins->supprimer($id); - $this->rediriger("Tblistereseausoins"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistesecteuractivite.php b/radiantproduction/Controleur/ControleurTblistesecteuractivite.php deleted file mode 100644 index 8d5cadb..0000000 --- a/radiantproduction/Controleur/ControleurTblistesecteuractivite.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('secteuractivite'); - - $this->secteuractivite = new Secteuractivite(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $secteuractivites = $this->secteuractivite->getSecteuractivites($codesearch,$libellesearch); - $this->genererVue(array('secteuractivites' => $secteuractivites, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->secteuractivite->supprimer($id); - $this->rediriger("Tblistesecteuractivite"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteservice.php b/radiantproduction/Controleur/ControleurTblisteservice.php deleted file mode 100644 index 03a46b0..0000000 --- a/radiantproduction/Controleur/ControleurTblisteservice.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('service'); - - $this->service = new service(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $services = $this->service->getServices($codesearch,$libellesearch); - $this->genererVue(array('services' => $services, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->service->supprimer($id); - $this->rediriger("Tblisteservice"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistetitre.php b/radiantproduction/Controleur/ControleurTblistetitre.php deleted file mode 100644 index 11c94f6..0000000 --- a/radiantproduction/Controleur/ControleurTblistetitre.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('titre'); - - $this->titre = new titre(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $titres = $this->titre->getTitres($codesearch,$libellesearch); - $this->genererVue(array('titres' => $titres, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->titre->supprimer($id); - $this->rediriger("Tblistetitre"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistetypeaffection.php b/radiantproduction/Controleur/ControleurTblistetypeaffection.php deleted file mode 100644 index 41741cc..0000000 --- a/radiantproduction/Controleur/ControleurTblistetypeaffection.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('typeaffection'); - - $this->typeaffection = new typeaffection(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $typeaffections = $this->typeaffection->getTypeaffections($codesearch,$libellesearch); - $this->genererVue(array('typeaffections' => $typeaffections, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->typeaffection->supprimer($id); - $this->rediriger("Tblistetypeaffection"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistetypeapporteur.php b/radiantproduction/Controleur/ControleurTblistetypeapporteur.php deleted file mode 100644 index e47a530..0000000 --- a/radiantproduction/Controleur/ControleurTblistetypeapporteur.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('typeapporteur'); - - $this->typeapporteur = new typeapporteur(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $typeapporteurs = $this->typeapporteur->getTypeapporteurs($codesearch,$libellesearch); - $this->genererVue(array('typeapporteurs' => $typeapporteurs, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->typeapporteur->supprimer($id); - $this->rediriger("Tblistetypeapporteur"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblistetypeprestataire.php b/radiantproduction/Controleur/ControleurTblistetypeprestataire.php deleted file mode 100644 index a5cda81..0000000 --- a/radiantproduction/Controleur/ControleurTblistetypeprestataire.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('typeprestataire'); - - $this->typeprestataire = new typeprestataire(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $typeprestataires = $this->typeprestataire->getTypeprestataires($codesearch,$libellesearch); - $this->genererVue(array('typeprestataires' => $typeprestataires, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->typeprestataire->supprimer($id); - $this->rediriger("Tblistetypeprestataire"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTblisteville.php b/radiantproduction/Controleur/ControleurTblisteville.php deleted file mode 100644 index e5cd908..0000000 --- a/radiantproduction/Controleur/ControleurTblisteville.php +++ /dev/null @@ -1,32 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuGestionTatbles('ville'); - - $this->ville = new Ville(); - } - - public function index($codesearch="",$libellesearch="") { - if (isset($_POST['codesearch'])) - { - $codesearch=$_POST['codesearch']; - $libellesearch=$_POST['libellesearch']; - } - $villes = $this->ville->getVilles($codesearch,$libellesearch); - $this->genererVue(array('villes' => $villes, 'codesearch' => $codesearch, 'libellesearch' => $libellesearch)); - } - - public function supprimer() { - $id = $this->requete->getParametre("id"); - $this->ville->supprimer($id); - $this->rediriger("Tblisteville"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifieracte.php b/radiantproduction/Controleur/ControleurTbmodifieracte.php deleted file mode 100644 index 2a674ce..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifieracte.php +++ /dev/null @@ -1,48 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('acte'); - - $this->acte = new Acte(); - $this->familleacte = new Familleacte(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $acte = $this->acte->getacte($id); - $familleacte = $this->familleacte->getListe(); - $this->genererVue(array('acte' => $acte, 'familleacte' => $familleacte)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idacte"); - $oldcodeActe = $this->requete->getParametre("oldcodeActe"); - $codeActe = $this->requete->getParametre("codeActe"); - $libelle = $this->requete->getParametre("libelle"); - $caracteristiques = $this->requete->getParametre("caracteristiques"); - $codeFamille = $this->requete->getParametre("codeFamille"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeActe!=$oldcodeActe) && ($this->acte->existeligne($codeActe))); - if (!$doublon) { - $codeActe = strtoupper($codeActe); - $libelle = ucfirst($libelle); - $caracteristiques = ucfirst($caracteristiques); - - $this->acte->modifier($id, $codeActe, $libelle, $codeFamille, $caracteristiques); - } - $this->rediriger("Tblisteacte"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifieraffection.php b/radiantproduction/Controleur/ControleurTbmodifieraffection.php deleted file mode 100644 index e4f24bf..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifieraffection.php +++ /dev/null @@ -1,46 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('affection'); - - $this->affection = new Affection(); - $this->typeaffection = new Typeaffection(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $affection = $this->affection->getaffection($id); - $typeaffection = $this->typeaffection->getListe(); - $this->genererVue(array('affection' => $affection, 'typeaffection' => $typeaffection)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idaffection"); - $oldcodeAffection = $this->requete->getParametre("oldcodeAffection"); - $codeAffection = $this->requete->getParametre("codeAffection"); - $libelle = $this->requete->getParametre("libelle"); - $codeType = $this->requete->getParametre("codeType"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeAffection!=$oldcodeAffection) && ($this->affection->existeligne($codeAffection))); - if (!$doublon) { - $codeAffection = strtoupper($codeAffection); - $libelle = ucfirst($libelle); - - $this->affection->modifier($id, $codeAffection, $libelle, $codeType); - } - $this->rediriger("Tblisteaffection"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierapporteur.php b/radiantproduction/Controleur/ControleurTbmodifierapporteur.php deleted file mode 100644 index 13663e8..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierapporteur.php +++ /dev/null @@ -1,60 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('apporteur'); - - $this->apporteur = new Apporteur(); - $this->typeapporteur = (new Typeapporteur())->getListe(); - $this->bureau = (new Bureau())->getListe(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $apporteur = $this->apporteur->getapporteur($id); - $this->genererVue(array('apporteur' => $apporteur, 'typeapporteur' => $this->typeapporteur, 'bureau' => $this->bureau)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idapporteur"); - $oldcodeApporteur = $this->requete->getParametre("oldcodeApporteur"); - $codeApporteur = $this->requete->getParametre("codeApporteur"); - - $libelle = $this->requete->getParametre("libelle"); - $codeTypeApporteur = $this->requete->getParametre("codeTypeApporteur"); - $telephone = $this->requete->getParametre("telephone"); - $email = $this->requete->getParametre("email"); - $adresseGeo = $this->requete->getParametre("adresseGeo"); - $adressePost = $this->requete->getParametre("adressePost"); - $nomResponsable = $this->requete->getParametre("nomResponsable"); - $codeBureau = $this->requete->getParametre("codeBureau"); - - // Début contrôle doublon - $doublon = false; - $doublon = (($codeApporteur!=$oldcodeApporteur) && ($this->apporteur->existeligne($codeApporteur))); - if (!$doublon) { - $codeApporteur = strtoupper($codeApporteur); - $libelle = ucfirst($libelle); - $nomResponsable = ucfirst($nomResponsable); - - $this->apporteur->modifier($id, $codeApporteur, $libelle, $codeTypeApporteur, - $telephone, $email, $adresseGeo, $adressePost, $nomResponsable, $codeBureau); - } - $this->rediriger("Tblisteapporteur"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierbanque.php b/radiantproduction/Controleur/ControleurTbmodifierbanque.php deleted file mode 100644 index 33057a2..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierbanque.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('banque'); - - $this->banque = new banque(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $banque = $this->banque->getbanque($id); - $this->genererVue(array('banque' => $banque)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idbanque"); - $oldcodebanque = $this->requete->getParametre("oldcodebanque"); - $codebanque = $this->requete->getParametre("codebanque"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codebanque!=$oldcodebanque) && ($this->banque->existeligne($codebanque))); - if (!$doublon) { - $codebanque = strtoupper($codebanque); - $libelle = ucfirst($libelle); - - $this->banque->modifier($id, $codebanque, $libelle); - } - $this->rediriger("Tblistebanque"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierbureau.php b/radiantproduction/Controleur/ControleurTbmodifierbureau.php deleted file mode 100644 index 88e549f..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierbureau.php +++ /dev/null @@ -1,49 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('bureau'); - - $this->bureau = new bureau(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $bureau = $this->bureau->getBureau($id); - $this->genererVue(array('bureau' => $bureau)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idbureau"); - $oldcodeBureau = $this->requete->getParametre("oldcodeBureau"); - $codeBureau = $this->requete->getParametre("codeBureau"); - $libelle = $this->requete->getParametre("libelle"); - $nomRespon = $this->requete->getParametre("nomRespon"); - $prenomRespon = $this->requete->getParametre("prenomRespon"); - $telephoneFixe = $this->requete->getParametre("telephoneFixe"); - $telephonePortable = $this->requete->getParametre("telephonePortable"); - $email = $this->requete->getParametre("email"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeBureau!=$oldcodeBureau) && ($this->bureau->existeligne($codeBureau))); - if (!$doublon) { - $codeBureau = strtoupper($codeBureau); - $libelle = ucfirst($libelle); - $nomRespon = strtoupper($nomRespon); - $prenomRespon = ucwords($prenomRespon); - - $this->bureau->modifier($id, $codeBureau, $libelle, $nomRespon, $prenomRespon, $telephoneFixe, $telephonePortable, $email); - } - // Fin contrôle doublon - $this->rediriger("Tblistebureau"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierexclusion.php b/radiantproduction/Controleur/ControleurTbmodifierexclusion.php deleted file mode 100644 index 2f92305..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierexclusion.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('exclusion'); - - $this->exclusion = new exclusion(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $exclusion = $this->exclusion->getexclusion($id); - $this->genererVue(array('exclusion' => $exclusion)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idexclusion"); - $oldcodeExclusion = $this->requete->getParametre("oldcodeExclusion"); - $codeExclusion = $this->requete->getParametre("codeExclusion"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeExclusion!=$oldcodeExclusion) && ($this->exclusion->existeligne($codeExclusion))); - if (!$doublon) { - $codeExclusion = strtoupper($codeExclusion); - $libelle = ucfirst($libelle); - - $this->exclusion->modifier($id, $codeExclusion, $libelle); - } - $this->rediriger("Tblisteexclusion"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierfamilleacte.php b/radiantproduction/Controleur/ControleurTbmodifierfamilleacte.php deleted file mode 100644 index 2e0f6ec..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierfamilleacte.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('familleacte'); - - $this->familleacte = new familleacte(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $familleacte = $this->familleacte->getFamilleacte($id); - $this->genererVue(array('familleacte' => $familleacte)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idfamilleacte"); - $oldcodefamille = $this->requete->getParametre("oldcodefamille"); - $codefamille = $this->requete->getParametre("codefamille"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codefamille!=$oldcodefamille) && ($this->familleacte->existeligne($codefamille))); - if (!$doublon) { - $codefamille = strtoupper($codefamille); - $libelle = ucfirst($libelle); - - $this->familleacte->modifier($id, $codefamille, $libelle); - } - // Fin contrôle doublon - $this->rediriger("Tblistefamilleacte"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiergestionnaire.php b/radiantproduction/Controleur/ControleurTbmodifiergestionnaire.php deleted file mode 100644 index b623f7a..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiergestionnaire.php +++ /dev/null @@ -1,52 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('gestionnaire'); - - $this->gestionnaire = new Gestionnaire(); - $this->service = new Service(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $gestionnaire = $this->gestionnaire->getgestionnaire($id); - $service = $this->service->getListe(); - $this->genererVue(array('gestionnaire' => $gestionnaire, 'service' => $service)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idgestionnaire"); - $oldcodeGestionnaire = $this->requete->getParametre("oldcodeGestionnaire"); - $codeGestionnaire = $this->requete->getParametre("codeGestionnaire"); - $nom = $this->requete->getParametre("nom"); - $prenoms = $this->requete->getParametre("prenoms"); - $telephone = $this->requete->getParametre("telephone"); - $email = $this->requete->getParametre("email"); - $codeService = $this->requete->getParametre("codeService"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeGestionnaire!=$oldcodeGestionnaire) && ($this->gestionnaire->existeligne($codeGestionnaire))); - if (!$doublon) { - $codeGestionnaire = strtoupper($codeGestionnaire); - $libelle = ucfirst($libelle); - - $nom = strtoupper($nom); - $prenoms = ucwords($prenoms); - - $this->gestionnaire->modifier($id, $codeGestionnaire, $nom, $prenoms, $codeService, $telephone, $email); - } - $this->rediriger("Tblistegestionnaire"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierlocalite.php b/radiantproduction/Controleur/ControleurTbmodifierlocalite.php deleted file mode 100644 index aecd389..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierlocalite.php +++ /dev/null @@ -1,52 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('localite'); - - $this->localite = new Localite(); - $this->pays = new Pays(); - $this->ville = new Ville(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $localite = $this->localite->getlocalite($id); - $codePays = $localite['codePays']; - $pays = $this->pays->getListe($_SESSION['codePaysSociete']); - $ville = $this->ville->getListe($codePays); - - $this->genererVue(array('localite' => $localite, 'pays' => $pays, 'ville' => $ville)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idlocalite"); - $oldcodeLocalite = $this->requete->getParametre("oldcodeLocalite"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $libelle = $this->requete->getParametre("libelle"); - $codePays = $this->requete->getParametre("codePays"); - $codeVille = $this->requete->getParametre("codeVille"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeLocalite!=$oldcodeLocalite) && ($this->localite->existeligne($codeLocalite))); - if (!$doublon) { - $codeLocalite = strtoupper($codeLocalite); - $libelle = ucfirst($libelle); - - $this->localite->modifier($id, $codeLocalite, $libelle, $codePays, $codeVille); - } - $this->rediriger("Tblistelocalite"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiernaturepiece.php b/radiantproduction/Controleur/ControleurTbmodifiernaturepiece.php deleted file mode 100644 index 96d32a2..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiernaturepiece.php +++ /dev/null @@ -1,41 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('naturepiece'); - - $this->naturepiece = new naturepiece(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $naturepiece = $this->naturepiece->getnaturepiece($id); - $this->genererVue(array('naturepiece' => $naturepiece)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idnaturepiece"); - $oldcodeNaturePiece = $this->requete->getParametre("oldcodeNaturePiece"); - $codeNaturePiece = $this->requete->getParametre("codeNaturePiece"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeNaturePiece!=$oldcodeNaturePiece) && ($this->naturepiece->existeligne($codeNaturePiece))); - if (!$doublon) { - $codeNaturePiece = strtoupper($codeNaturePiece); - $libelle = ucfirst($libelle); - - $this->naturepiece->modifier($id, $codeNaturePiece, $libelle); - } - $this->rediriger("Tblistenaturepiece"); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierpays.php b/radiantproduction/Controleur/ControleurTbmodifierpays.php deleted file mode 100644 index 7fe6f30..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierpays.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('pays'); - - $this->pays = new pays(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $pays = $this->pays->getPays($id); - $this->genererVue(array('pays' => $pays)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idpays"); - $oldcodePays = $this->requete->getParametre("oldcodePays"); - $codePays = $this->requete->getParametre("codePays"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codePays!=$oldcodePays) && ($this->pays->existeligne($codePays))); - if (!$doublon) { - $codePays = strtoupper($codePays); - $libelle = ucfirst($libelle); - - $this->pays->modifier($id, $codePays, $libelle); - } - $this->rediriger("Tblistepays"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierprestataire.php b/radiantproduction/Controleur/ControleurTbmodifierprestataire.php deleted file mode 100644 index 0a5e47d..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierprestataire.php +++ /dev/null @@ -1,99 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('prestataire'); - - $this->prestataire = new Prestataire(); - $this->typeprestataire = (new Typeprestataire())->getListe(); - $this->natureprestataire = (new Natureprestataire())->getListe(); - $this->gestionnaire = (new Gestionnaire())->getListe(); - $this->pays = (new Pays())->getListe($_SESSION['codePaysSociete']); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $prestataire = $this->prestataire->getprestataire($id); - - $codePays = $prestataire['codePays']; - $codeVille = $prestataire['codeVille']; - - $this->ville = (new Ville())->getListe($codePays); - $this->localite = (new Localite())->getListe($codePays, $codeVille); - - $this->genererVue(array('prestataire' => $prestataire,'typeprestataire' => $this->typeprestataire, 'listelocalite' => $this->localite, - 'pays' => $this->pays, 'listeville' => $this->ville, 'gestionnaire' => $this->gestionnaire, 'natureprestataire' => $this->natureprestataire)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - -/* - id, codeSociete, codeTypePrestataire, codePrestataire, libelle, codePays, codeVille, codeLocalite, adresseGeo, - adressePost, telephoneFixe, telephonePortable, email, nomResponsable, contactResponsable, emailResponsable, - nomInterlocuteur, contactInterlocuteur, emailInterlocuteur, numeroCompte, codeGestionnaire, codeNaturePrestataire -*/ - - $id = $this->requete->getParametre("idprestataire"); - $oldcodePrestataire = $this->requete->getParametre("oldcodePrestataire"); - $codePrestataire = $this->requete->getParametre("codePrestataire"); - - $libelle = $this->requete->getParametre("libelle"); - $codeTypePrestataire = $this->requete->getParametre("codeTypePrestataire"); - $codePays = $this->requete->getParametre("codePays"); - $codeVille = $this->requete->getParametre("codeVille"); - $codeLocalite = $this->requete->getParametre("codeLocalite"); - $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); - $adressePost = $this->requete->getParametreFormulaire("adressePost"); - $telephoneFixe = $this->requete->getParametreFormulaire("telephoneFixe"); - $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); - $email = $this->requete->getParametre("email"); - $nomResponsable = $this->requete->getParametre("nomResponsable"); - $contactResponsable = $this->requete->getParametre("contactResponsable"); - $emailResponsable = $this->requete->getParametre("emailResponsable"); - $nomInterlocuteur = $this->requete->getParametre("nomInterlocuteur"); - $contactInterlocuteur = $this->requete->getParametre("contactInterlocuteur"); - $emailInterlocuteur = $this->requete->getParametre("emailInterlocuteur"); - $numeroCompte = $this->requete->getParametreFormulaire("numeroCompte"); - $codeGestionnaire = $this->requete->getParametre("codeGestionnaire"); - $codeNaturePrestataire = $this->requete->getParametre("codeNaturePrestataire"); - - // Début contrôle doublon - $doublon = false; - $doublon = (($codePrestataire!=$oldcodePrestataire) && ($this->prestataire->existeligne($codePrestataire))); - if (!$doublon) { - $codePrestataire = strtoupper($codePrestataire); - $libelle = ucfirst($libelle); - - $nomResponsable = ucwords($nomResponsable); - $nomInterlocuteur = ucwords($nomInterlocuteur); - - $this->prestataire->modifier($id, $codeTypePrestataire, $codePrestataire, $libelle, $codePays, - $codeVille, $codeLocalite, $adresseGeo, $adressePost, $telephoneFixe, $telephonePortable, $email, $nomResponsable, - $contactResponsable, $emailResponsable, $nomInterlocuteur, $contactInterlocuteur, $emailInterlocuteur, $numeroCompte, - $codeGestionnaire, $codeNaturePrestataire); - } - $this->rediriger("Tblisteprestataire"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierproduit.php b/radiantproduction/Controleur/ControleurTbmodifierproduit.php deleted file mode 100644 index f9f8c48..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierproduit.php +++ /dev/null @@ -1,59 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('produit'); - - $this->produit = new Produit(); - $this->reseau = (new Reseausoins())->getListe(); - $this->basetarification = (new Basetarification())->getListe(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $produit = $this->produit->getproduit($id); - $this->genererVue(array('produit' => $produit, 'reseau' => $this->reseau, 'basetarification' => $this->basetarification)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idproduit"); - $oldcodeProduit = $this->requete->getParametre("oldcodeProduit"); - $codeProduit = $this->requete->getParametre("codeProduit"); - - $libelle = $this->requete->getParametre("libelle"); - $codeEtatProduit = "1"; - $dateEtat = date("Y-m-d"); - $codeBaseTarification = $this->requete->getParametre("codeBaseTarification"); - $primeFixe = $this->requete->getParametre("primeFixe"); - $primeFamille = $this->requete->getParametre("primeFamille"); - $primeIndividu = $this->requete->getParametre("primeIndividu"); - $codeReseau = $this->requete->getParametre("codeReseau"); - - // Début contrôle doublon - $doublon = false; - $doublon = (($codeProduit!=$oldcodeProduit) && ($this->produit->existeligne($codeProduit))); - if (!$doublon) { - $codeProduit = strtoupper($codeProduit); - $libelle = ucfirst($libelle); - - $this->produit->modifier($id, $codeProduit, $libelle, $codeEtatProduit, $dateEtat, $codeBaseTarification, - $primeFixe, $primeFamille, $primeIndividu, $codeReseau); - } - $this->rediriger("Tblisteproduit"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierreseausoins.php b/radiantproduction/Controleur/ControleurTbmodifierreseausoins.php deleted file mode 100644 index d7ac093..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierreseausoins.php +++ /dev/null @@ -1,43 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('reseausoins'); - - $this->reseausoins = new reseausoins(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $reseausoins = $this->reseausoins->getReseausoin($id); - $this->genererVue(array('reseausoins' => $reseausoins)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idreseausoins"); - $oldcodeReseau = $this->requete->getParametre("oldcodeReseau"); - $codeReseau = $this->requete->getParametre("codeReseau"); - $libelle = $this->requete->getParametre("libelle"); - $descritpionReseau = $this->requete->getParametre("descritpionReseau"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeReseau!=$oldcodeReseau) && ($this->reseausoins->existeligne($codeReseau))); - if (!$doublon) { - $codeReseau = strtoupper($codeReseau); - $libelle = ucfirst($libelle); - - $this->reseausoins->modifier($id, $codeReseau, $libelle, $descritpionReseau); - } - $this->rediriger("Tblistereseausoins"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiersecteuractivite.php b/radiantproduction/Controleur/ControleurTbmodifiersecteuractivite.php deleted file mode 100644 index 1d49650..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiersecteuractivite.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('secteuractivite'); - - $this->secteuractivite = new secteuractivite(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $secteuractivite = $this->secteuractivite->getSecteuractivite($id); - $this->genererVue(array('secteuractivite' => $secteuractivite)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idsecteur"); - $oldcodeSecteur = $this->requete->getParametre("oldcodeSecteur"); - $codeSecteur = $this->requete->getParametre("codeSecteur"); - $libelleSecteur = $this->requete->getParametre("libelleSecteur"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeSecteur!=$oldcodeSecteur) && ($this->secteuractivite->existeligne($codeSecteur))); - if (!$doublon) { - $codeSecteur = strtoupper($codeSecteur); - $libelle = ucfirst($libelle); - - $this->secteuractivite->modifier($id, $codeSecteur, $libelleSecteur); - } - $this->rediriger("Tblistesecteuractivite"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierservice.php b/radiantproduction/Controleur/ControleurTbmodifierservice.php deleted file mode 100644 index 944de8a..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierservice.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('service'); - - $this->service = new service(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $service = $this->service->getservice($id); - $this->genererVue(array('service' => $service)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idservice"); - $oldcodeService = $this->requete->getParametre("oldcodeService"); - $codeService = $this->requete->getParametre("codeService"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeService!=$oldcodeService) && ($this->service->existeligne($codeService))); - if (!$doublon) { - $codeService = strtoupper($codeService); - $libelle = ucfirst($libelle); - - $this->service->modifier($id, $codeService, $libelle); - } - $this->rediriger("Tblisteservice"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiertitre.php b/radiantproduction/Controleur/ControleurTbmodifiertitre.php deleted file mode 100644 index 555e0b5..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiertitre.php +++ /dev/null @@ -1,44 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('titre'); - - $this->titre = new titre(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $titre = $this->titre->gettitre($id); - $this->genererVue(array('titre' => $titre)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idtitre"); - $oldcodeTitre = $this->requete->getParametre("oldcodeTitre"); - $codeTitre = $this->requete->getParametre("codeTitre"); - $libelle = $this->requete->getParametre("libelle"); - $titreCourrier = $this->requete->getParametre("titreCourrier"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeTitre!=$oldcodeTitre) && ($this->titre->existeligne($codeTitre))); - if (!$doublon) { - $codeTitre = strtoupper($codeTitre); - $libelle = ucfirst($libelle); - $titreCourrier = ucwords($titreCourrier); - - $this->titre->modifier($id, $codeTitre, $libelle, $titreCourrier); - } - $this->rediriger("Tblistetitre"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiertypeaffection.php b/radiantproduction/Controleur/ControleurTbmodifiertypeaffection.php deleted file mode 100644 index fc742e0..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiertypeaffection.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('typeaffection'); - - $this->typeaffection = new typeaffection(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $typeaffection = $this->typeaffection->gettypeaffection($id); - $this->genererVue(array('typeaffection' => $typeaffection)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idtypeaffection"); - $oldcodeType = $this->requete->getParametre("oldcodeType"); - $codeType = $this->requete->getParametre("codeType"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeType!=$oldcodeType) && ($this->typeaffection->existeligne($codeType))); - if (!$doublon) { - $codeType = strtoupper($codeType); - $libelle = ucfirst($libelle); - - $this->typeaffection->modifier($id, $codeType, $libelle); - } - $this->rediriger("Tblistetypeaffection"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiertypeapporteur.php b/radiantproduction/Controleur/ControleurTbmodifiertypeapporteur.php deleted file mode 100644 index 956a8f7..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiertypeapporteur.php +++ /dev/null @@ -1,42 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('typeapporteur'); - - $this->typeapporteur = new typeapporteur(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $typeapporteur = $this->typeapporteur->gettypeapporteur($id); - $this->genererVue(array('typeapporteur' => $typeapporteur)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idtypeapporteur"); - $oldcodeType = $this->requete->getParametre("oldcodeType"); - $codeTypeApporteur = $this->requete->getParametre("codeTypeApporteur"); - $libelle = $this->requete->getParametre("libelle"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeTypeApporteur!=$oldcodeType) && ($this->typeapporteur->existeligne($codeTypeApporteur))); - if (!$doublon) { - $codeTypeApporteur = strtoupper($codeTypeApporteur); - $libelle = ucfirst($libelle); - - $this->typeapporteur->modifier($id, $codeTypeApporteur, $libelle); - } - $this->rediriger("Tblistetypeapporteur"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifiertypeprestataire.php b/radiantproduction/Controleur/ControleurTbmodifiertypeprestataire.php deleted file mode 100644 index e694201..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifiertypeprestataire.php +++ /dev/null @@ -1,47 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('typeprestataire'); - - $this->typeprestataire = new Typeprestataire(); - $this->typeprestatairesysteme = new Typeprestatairesysteme(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $typeprestataire = $this->typeprestataire->gettypeprestataire($id); - $typeprestatairesysteme = $this->typeprestatairesysteme->getListe(); - $this->genererVue(array('typeprestataire' => $typeprestataire, 'typeprestatairesysteme' => $typeprestatairesysteme)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idtypeprestataire"); - - $oldcodeType = $this->requete->getParametre("oldcodeType"); - $codeTypePrestataire = $this->requete->getParametre("codeTypePrestataire"); - $libelle = $this->requete->getParametre("libelle"); - $codeTypeSysteme = $this->requete->getParametre("codeTypeSysteme"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeTypePrestataire!=$oldcodeType) && ($this->typeprestataire->existeligne($codeTypePrestataire))); - if (!$doublon) { - $codeTypePrestataire = strtoupper($codeTypePrestataire); - $libelle = ucfirst($libelle); - - $this->typeprestataire->modifier($id, $codeTypePrestataire, $libelle, $codeTypeSysteme); - } - $this->rediriger("Tblistetypeprestataire"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTbmodifierville.php b/radiantproduction/Controleur/ControleurTbmodifierville.php deleted file mode 100644 index b586248..0000000 --- a/radiantproduction/Controleur/ControleurTbmodifierville.php +++ /dev/null @@ -1,47 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuTbajout('ville'); - - $this->ville = new Ville(); - $this->pays = new Pays(); - } - - public function index() { - $id = $this->requete->getParametre("id"); - $ville = $this->ville->getville($id); - $pays = $this->pays->getListe($_SESSION['codePaysSociete']); - - $this->genererVue(array('ville' => $ville, 'pays' => $pays)); - } - - public function reafficher() { - $this->genererVue(); - } - - public function modifier() { - $id = $this->requete->getParametre("idville"); - $oldcodeVille = $this->requete->getParametre("oldcodeVille"); - $codeVille = $this->requete->getParametre("codeVille"); - $libelle = $this->requete->getParametre("libelle"); - $codePays = $this->requete->getParametre("codePays"); - // Début contrôle doublon - $doublon = false; - $doublon = (($codeVille!=$oldcodeVille) && ($this->ville->existeligne($codeVille))); - if (!$doublon) { - $codeVille = strtoupper($codeVille); - $libelle = ucfirst($libelle); - - $this->ville->modifier($id, $codeVille, $libelle, $codePays); - } - $this->rediriger("Tblisteville"); - // Fin contrôle doublon - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTestsms.php b/radiantproduction/Controleur/ControleurTestsms.php deleted file mode 100644 index 71fa839..0000000 --- a/radiantproduction/Controleur/ControleurTestsms.php +++ /dev/null @@ -1,24 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Testsms'); - - $this->societeuser = new Societeuser(); - } - public function index() - { - $codeSociete = $_SESSION['codeSociete']; - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - $this->genererVue(array('societeuser' => $societeuser)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTextecp.php b/radiantproduction/Controleur/ControleurTextecp.php deleted file mode 100644 index 85392e1..0000000 --- a/radiantproduction/Controleur/ControleurTextecp.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Textecp"); - - $this->textecp = new Police(); - } - public function index() { - $idPolice = $_SESSION['idPolice_C']; - $textecp = $this->textecp->getTextecp($idPolice); - $this->genererVue(array('textecp' => $textecp)); - } - - public function enregistrer() { - $idPolice = $_SESSION['idPolice_C']; - $texteCp = $this->requete->getParametreFormulaire("texteCp"); - $this->textecp->enregistrertexteCp($texteCp, $idPolice); - $this->rediriger("Fichepolice"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTextecpd.php b/radiantproduction/Controleur/ControleurTextecpd.php deleted file mode 100644 index 665cd89..0000000 --- a/radiantproduction/Controleur/ControleurTextecpd.php +++ /dev/null @@ -1,28 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Textecpd"); - - $this->textecp = new Police_d(); - } - public function index() { - $idPolice = $_SESSION['idPolice_d_C']; - $textecp = $this->textecp->getTextecp($idPolice); - $this->genererVue(array('textecp' => $textecp)); - } - - public function enregistrer() { - $idPolice = $_SESSION['idPolice_d_C']; - $texteCp = $this->requete->getParametreFormulaire("texteCp"); - $this->textecp->enregistrertexteCp($texteCp, $idPolice); - $this->rediriger("Fichedevis"); - } - -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurTypesapporteurs.php b/radiantproduction/Controleur/ControleurTypesapporteurs.php deleted file mode 100644 index 5e658ba..0000000 --- a/radiantproduction/Controleur/ControleurTypesapporteurs.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Typesapporteurs"); - - $this->typeapporteur = new Typeapporteur(); - } - - public function index() - { - $typeapporteurs = $this->typeapporteur->getListeTypeapporteurs(); - - $this->genererVue(array('typeapporteurs' => $typeapporteurs)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurUsersagence.php b/radiantproduction/Controleur/ControleurUsersagence.php deleted file mode 100644 index 3674cec..0000000 --- a/radiantproduction/Controleur/ControleurUsersagence.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Usersagence"); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $agences = $this->utilisateur->getListeAgences(); - - $this->genererVue(array('agences' => $agences)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurUsersassureur.php b/radiantproduction/Controleur/ControleurUsersassureur.php deleted file mode 100644 index 5f95eac..0000000 --- a/radiantproduction/Controleur/ControleurUsersassureur.php +++ /dev/null @@ -1,22 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Usersassureur"); - - $this->utilisateur = new Utilisateur(); - } - public function index() - { - $profil = $this->utilisateur->getListeProfilCode(); - - $this->genererVue(array('profil' => $profil)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurUsersgcassureur.php b/radiantproduction/Controleur/ControleurUsersgcassureur.php deleted file mode 100644 index 1442f47..0000000 --- a/radiantproduction/Controleur/ControleurUsersgcassureur.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Usersgcassureur"); - - $this->gc = new Gestionconfiee(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $codeGcAssureur = $_SESSION['codeGcAssureur_C']; - - $gc = $this->gc->getGcAssureurCode($codeGcAssureur); - - $users = $this->gc->getusersgc($codeGcAssureur); - - $this->genererVue(array('gc' => $gc, 'users' => $users)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurUsersprestaire.php b/radiantproduction/Controleur/ControleurUsersprestaire.php deleted file mode 100644 index ec8e8d3..0000000 --- a/radiantproduction/Controleur/ControleurUsersprestaire.php +++ /dev/null @@ -1,26 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Usersprestaire"); - - $this->prestataire = new Prestataire(); - - $_SESSION['modeDevis'] = "0"; - } - public function index() { - $codePrestataire = $_SESSION['codePrestataire_C']; - - $prestataire = $this->prestataire->getunprestatairebycode($codePrestataire); - - $users = $this->prestataire->getusersprestataire($codePrestataire); - - $this->genererVue(array('prestataire' => $prestataire, 'users' => $users)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/ControleurUtilitaires.php b/radiantproduction/Controleur/ControleurUtilitaires.php deleted file mode 100644 index c393c5e..0000000 --- a/radiantproduction/Controleur/ControleurUtilitaires.php +++ /dev/null @@ -1,18 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue("Utilitaires"); - } - - public function index() - { - $this->genererVue(); - } -} diff --git a/radiantproduction/Controleur/ControleurValiderpaiementdecompte.php b/radiantproduction/Controleur/ControleurValiderpaiementdecompte.php deleted file mode 100644 index 5db1e08..0000000 --- a/radiantproduction/Controleur/ControleurValiderpaiementdecompte.php +++ /dev/null @@ -1,33 +0,0 @@ -menuvue = new Menuvueutilisateur(); - $this->menuvue->getMenuVue('Validerpaiementdecompte'); - - $this->reglement = new Reglement(); - $this->modepaiement = (new Pmodepaiement())->getListe(); - $this->banque = new Banque(); - } - - public function index() - { - // $banque = $this->banque->getListe(); - $banque = $this->banque->getListeSociete(); - - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $reglement = $this->reglement->getpaiementdecompte($idPaiementDecompte); - - $this->genererVue(array('reglement' => $reglement, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); - } -} \ No newline at end of file diff --git a/radiantproduction/Controleur/Ebenegmail.php b/radiantproduction/Controleur/Ebenegmail.php deleted file mode 100644 index 7dc12cf..0000000 --- a/radiantproduction/Controleur/Ebenegmail.php +++ /dev/null @@ -1,38 +0,0 @@ -isSMTP(); - -//Enable SMTP debugging -// 0 = off (for production use) -// 1 = client messages -// 2 = client and server messages -$mail->SMTPDebug = 0; - -// $mail->Debugoutput = 'html'; - -$mail->Host = 'smtp.gmail.com'; -// $mail->Host = gethostbyname('smtp.gmail.com'); -// if your network does not support SMTP over IPv6 - -$mail->Port = 587; - -$mail->SMTPSecure = 'tls'; - -$mail->SMTPAuth = true; - -$mail->Username = "intersanteebene@gmail.com"; -// $mail->Password = "Moritio1973"; -$mail->Password = "hftebsmxzqviinuh"; - -// $mail->setFrom('intersanteebene@gmail.com', 'INTER-SANTE : MEDICARE'); -$mail->setFrom('intersanteebene@gmail.com', 'RADIANT INSURANCE COMPANY'); -$mail->addReplyTo('verification@radiant.rw', 'RADIANT INSURANCE COMPANY'); - -// à activer en cas de besoin -// $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__)); - diff --git a/radiantproduction/Controleur/testcurl.php b/radiantproduction/Controleur/testcurl.php deleted file mode 100644 index 61a2f21..0000000 --- a/radiantproduction/Controleur/testcurl.php +++ /dev/null @@ -1,3 +0,0 @@ - */ -( function( factory ) { - if ( typeof define === "function" && define.amd ) { - - // AMD. Register as an anonymous module. - define( [ "../widgets/datepicker" ], factory ); - } else { - - // Browser globals - factory( jQuery.datepicker ); - } -}( function( datepicker ) { - -datepicker.regional.fr = { - closeText: "Fermer", - prevText: "Precedent", - nextText: "Suivant", - currentText: "Aujourd'hui", - monthNames: [ "janvier", "fevrier", "mars", "avril", "mai", "juin", - "juillet", "aout", "septembre", "octobre", "novembre", "decembre" ], - monthNamesShort: [ "janv.", "fevr.", "mars", "avr.", "mai", "juin", - "juil.", "aout", "sept.", "oct.", "nov.", "dec." ], - dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ], - dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ], - dayNamesMin: [ "D","L","M","M","J","V","S" ], - weekHeader: "Sem.", - dateFormat: "dd/mm/yy", - firstDay: 1, - isRTL: false, - showMonthAfterYear: false, - yearSuffix: "" }; -datepicker.setDefaults( datepicker.regional.fr ); - -return datepicker.regional.fr; - -} ) ); \ No newline at end of file diff --git a/radiantproduction/Js/fonctions.js b/radiantproduction/Js/fonctions.js deleted file mode 100644 index 041a909..0000000 --- a/radiantproduction/Js/fonctions.js +++ /dev/null @@ -1,45091 +0,0 @@ -function alert_ebene(p_msg, p_msg_eng) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - alert(p_msg_eng); - } - else - { - alert(p_msg); - } -} - -function alert_ebene_ajax(p_msg, p_msg_eng) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - alert(p_msg_eng); - } - else - { - alert(p_msg); - } -} - -function confirm_ebene(p_msg, p_msg_eng) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - return confirm(p_msg_eng); - } - else - { - return confirm(p_msg); - } -} - -function prompt_ebene(p_msg, p_msg_eng, p_retour) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - return prompt(p_msg_eng, p_retour); - } - else - { - return prompt(p_msg, p_retour); - } -} - -function addslashes(ch) -{ - ch = ch.replace(/\\/g,"\\\\"); - ch = ch.replace(/\'/g,"\\'"); - ch = ch.replace(/\"/g,"\\\""); - return ch; -} - -function adherents_police() -{ - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Listeadherent/"); - } -} - -function college_police() -{ - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Collegepolice/"); - } -} - -function facturer_police() -{ - /* - // 06/11/2020 - if(est_ce_police_famille()) - { - facturer_police_familiale(); - return; - } - */ - - // 08/12/2020 - if(est_ce_police_famille()) - { - v_msg="Oprétaion non autorisée!"; - v_msgEng="Unauthorized operation!"; - alert_ebene(v_msg, v_msgEng); - - // afficher_police_id(); - return; - } - - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Facturerpolice/"); - } -} - -$.prototype.enable = function () { - $.each(this, function (index, el) { - $(el).removeAttr('disabled'); - }); -} - -$.prototype.disable = function () { - $.each(this, function (index, el) { - $(el).attr('disabled', 'disabled'); - }); -} - -$.prototype.unreadable = function () { - $.each(this, function (index, el) { - $(el).attr('READONLY', 'READONLY'); - }); -} - -$.prototype.readable = function () { - $.each(this, function (index, el) { - $(el).removeAttr('READONLY'); - }); -} - -Date.estAnneeBissextile = function (annee) { - return (((annee % 4 === 0) && (annee % 100 !== 0)) || (annee % 400 === 0)); -}; - -Date.getDaysInMonth = function (annee, month) { - return [31, (Date.estAnneeBissextile(annee) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]; -}; - -Date.prototype.estAnneeBissextile = function () { - return Date.estAnneeBissextile(this.getFullYear()); -}; - -Date.prototype.getDaysInMonth = function () { - return Date.getDaysInMonth(this.getFullYear(), this.getMonth()); -}; - -Date.prototype.addMonths = function (value) { - var n = this.getDate(); - this.setDate(1); - this.setMonth(this.getMonth() + value); - this.setDate(Math.min(n, this.getDaysInMonth())); - this.setDate(this.getDate()-1); - return this; -}; - -$( ".datepicker" ).datepicker({ - inline: true, - changeMonth: true, - changeYear: true, - yearRange: "c-60:c+20" - -}); - -/*les fonctions courantes et globales */ - -function get_age(dater) -{ - var td2 = $("#datejourfr_C").datepicker("getDate"); - return age = td2.getFullYear()-dater.getFullYear(); -} - -function controle_age(dater, codeLienParente) -{ - age = get_age(dater); - $("#agepersonne").val("Âge : "+age); - - if (age>65) - { - v_msg="Âge "+age+" supérieur à 65 ans!"; - v_msgEng="Age "+age+" over 65!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - if ( (codeLienParente=="E")&& (age>21) ) - { - v_msg="Âge "+age+" => Enfant âgé de plus de 21 ans!"; - v_msgEng="Âge "+age+" => Child over 21 years old!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - if ( (codeLienParente=="O")&& (age>21) ) - { - v_msg="Âge "+age+" => Enfant âgé de plus de 21 ans!"; - v_msgEng="Âge "+age+" => Child over 21 years old!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - return true; -} - -/* Début JS client */ -function selectionner_client(id,no) -{ - $("#idClient_C").val(id); - $("#numeroClient_C").val(no); - $("#nomClient_C").val(""); -} - -function selectionner_client_d(id,no) -{ - $("#idClient_d_C").val(id); - $("#numeroClient_d_C").val(no); - $("#nomClient_d_C").val(""); -} - -function afficher_client_id() -{ - idClient=$("#idClient_C" ).val(); - - if (idClient>"") - { - ajax_context_client_afficher(idClient); - } -} - -function afficher_client_d_id() -{ - idClient=$("#idClient_d_C" ).val(); - - if (idClient>"") - { - ajax_context_client_d_afficher(idClient); - } -} - - -/* Fin JS client */ - -/* Début JS police */ -function selectionner_police(id,no) -{ - $("#idPolice_C" ).val(id); - $("#numeroPolice_C" ).val(no); -} - -function selectionner_police_d(id,no) -{ - $("#idPolice_d_C" ).val(id); - $("#numeroPolice_d_C" ).val(no); -} - -function afficher_police_id() -{ - idPolice=$("#idPolice_C" ).val(); - - if (idPolice>"") - { - ajax_context_police_afficher(idPolice); - } -} - -function afficher_police_d_id() -{ - idPolice=$("#idPolice_d_C" ).val(); - - if (idPolice>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/"); - } -} - -function afficher_police_d_id_init() -{ - idPolice=$("#idPolice_d_C" ).val(); - - if (idPolice>"") - { - ajax_context_police_d_afficher(idPolice); - } -} - -function detail_quittance(idQuittance) -{ - if (idQuittance>"0") - { - window.location.assign($("#racineWeb" ).val()+"Beneficiairequittance/"+idQuittance+"/"); - } -} - - -/* Fin JS client */ - -/* Début JS adherent */ -function selectionner_adherent(id,no) -{ - $("#idAdherent_C" ).val(id); - $("#numeroAdherent_C" ).val(no); -} - -function afficher_adherent() -{ - if ($("#numeroAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+$("#numeroAdherent_C" ).val()+"/"); - } -} - -function afficher_adherent_id() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - if (codeTypeContrat=="F") - { - afficher_adherent_familiale_id(); - return; - } - - idAdherent = $("#idAdherent_C" ).val(); - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+$("#idAdherent_C" ).val()+"/"); - } -} -/* Fin JS adherent */ - -/* Début JS bénéficiare */ -function selectionner_beneficiaire(id,no) -{ - $("#idBeneficiaire_C" ).val(id); - $("#numeroBeneficiaire_C" ).val(no); -} - -function afficher_beneficiaire() -{ - if ($("#numeroBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichebeneficiaire/"+$("#numeroBeneficiaire_C" ).val()+"/"); - } -} - -function afficher_beneficiaire_id() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - if (codeTypeContrat=="F") - { - afficher_beneficiaire_familiale_(); - return; - } - - idBeneficiaire = $("#idBeneficiaire_C" ).val(); - if ($("#idBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichebeneficiaire/"+idBeneficiaire+"/"); - } -} - -function modifier_prime_beneficiaire(idBeneficiaire) -{ - // alert("Attention!"); - // return; - - if (idBeneficiaire>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierprimebeneficiaire/"+$("#idBeneficiaire_C" ).val()+"/"); - } -} - -function afficher_adherent_assure() -{ - if ($("#idAdherent_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"ficheadherentassure/"); -} - - -function afficher_echeance_assure() -{ - if ($("#idAdherent_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"Echeanceassure/"); -} - -function afficher_echeance_adherent() -{ - if ($("#idAdherent_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"Echeanceadherent/"); -} - -function afficher_assure() -{ - if ($("#idAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"ficheadherentassure/"+$("#idAdherent_C" ).val()+"/"); - } -} - -function afficher_beneficiaire_assure() -{ - if ($("#idBeneficiaire_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"fichebeneficiaireassure/"+$("#idBeneficiaire_C" ).val()+"/"); -} - -function changer_photo_beneficiaire_id() -{ -} - -function fermerFenetre() -{ - v_msg="Etes-vous sur de vouloir quitter?"; - v_msgEng="Are you sure you want to exit?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - ajax_deconnexion(); - } -} - -function supprimer_ligne_Tb(id,libelle) -{ - v_msg="Confirmez-vous la suppression de la ligne : "+libelle+"?"; - v_msgEng="Do you confirm the deletion of the line : "+libelle+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Tbliste"+$("#nomtable").val()+"/supprimer/"+id+"/"); - } -} - -function modifier_ligne_Tb() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Tbmodifier"+$("#nomtable").val()+"/"+$("#idLigne" ).val()+"/"); -} - -function selectionner_ligne_Tb(id) -{ - $("#idLigne" ).val(id); -} - -/* */ - -function selectionner_Tb(lientable) -{ - $("#lientable" ).val(lientable); -} - -function modifier_Tb() -{ - if ($("#lientable" ).val()<="") - { - v_msg="Veuillez sélectionner une table!"; - v_msgEng="Please select a table!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb" ).val()+$("#lientable" ).val()); -} - -function afficher_Tb() -{ - if ($("#lientable" ).val()<="") - { - v_msg="Veuillez sélectionner une table!"; - v_msgEng="Please select a table!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb" ).val()+$("#lientable" ).val()); -} - -function ajaxListerVille() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxville/", - type : 'post', - data: "codePays="+$("#codePays").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeville").html(data); - }, - complete: function() { - } - }); -} - -function ajaxListerLocalite() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocalite/", - type : 'post', - data: "codePays="+$("#codePays").val()+"&codeVille="+$("#codeVille").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listelocalite").html(data); - } - }); -} - -function controletytpeclient() -{ - if ($("#typeClient").val()=="E") - { - $("#zonemandat").show(); - $("#zoneparticulier").hide(); - } else - { - $("#zoneparticulier").show(); - $("#zonemandat").hide(); - } -} - -function enregistrer_client() -{ - $("#formficheclient").submit(); -} - -function modifier_client() -{ - if ($("#idClient_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifierclient/"); - } -} - -function modifier_client_d() -{ - if ($("#idClient_d_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifierprospect/"); - } -} - -function modifier_police() -{ - idPolice = $("#idPolice_C").val(); - if (idPolice>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierpolice/"); - } -} - -function modifier_devis() -{ - idPolice = $("#idPolice_d_C").val(); - - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idPolice>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierdevis/"); - } -} - - -function transformer_devis() -{ - idDevis = $("#idPolice_d_C").val(); - - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - primeTtc_total = $("#primeTtc_total").val(); - - if (primeTtc_total=="0") - { - v_msg="Rien à transformer!"; - v_msgEng="Nothing to transform!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la transformation en contrat?"; - v_msgEng="Do you confirm the transformation into a contract?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - numeroOptionTarif = $("#numeroOptionTarif").val(); - donnees = 'idDevis='+idDevis+"&numeroOptionTarif="+numeroOptionTarif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtransformerdevis/", - type: 'POST', - data: donnees, - success: function() { - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); - } - }); - } -} - - -function supprimer_client() -{ - v_msg="Confirmez-vous la suppression de ce client?"; - v_msgEng="Do you confirm the deletion of this customer?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheclient/supprimer/"+$("#idClient_C").val()+"/"); - } -} - -function supprimer_prospect() -{ - v_msg="Confirmez-vous la suppression de ce prospect?"; - v_msgEng="Do you confirm the deletion of this prospect?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheprospect/supprimer/"+$("#idClient_d_C").val()+"/"); - } -} - -/* avant 02/01/2020 -function CalculerEcheance() -{ - $("#dateEcheance").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateEffet").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "L": - $("#dateEcheance").enable(); - typdate = $("#dateEcheance").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - - $( "#dateEcheance" ).datepicker( "setDate", typdate ); -} -*/ - -function CalculerEcheance() -{ - $("#dateEcheance").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateEffet").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - case "L": - $("#dateEcheance").enable(); - typdate = $("#dateEcheance").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - $( "#dateEcheance" ).datepicker( "setDate", typdate ); -} - -function CalculerFin() -{ - $("#dateFin").disable(); - - codeFractionnement=$("#codeFractionnement").val(); - - var typdate = $("#dateEffet").datepicker("getDate"); - var dtech = $("#dateEcheance").datepicker("getDate"); - - switch (codeFractionnement) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - default: - typdate.addMonths(12); - } - if (typdate>dtech) - { - typdate=dtech; - } - $( "#dateFin" ).datepicker( "setDate", typdate ); -} - -function ControlerEcheance() -{ - codePeriodicite=$("#codePeriodicite").val(); - if (codePeriodicite!="L") return true; - else { - var eff = $("#dateEffet").datepicker("getDate"); - var ech = $("#dateEcheance").datepicker("getDate"); - - if (echeff.addMonths(12)) { - v_msg="Période supérieur à un an!"; - v_msgEng="Period greater than one year!"; - alert_ebene(v_msg, v_msgEng); - } - } -} - -function ChangerPass() -{ - if ($("#ancmdp" ).val()<=' ') - { - alert_ebene("Veuillez saisir l\'ancien mot de passe!", "Please enter the old password!"); - $("#ancmdp").focus(); - return false; - } - - if ($("#nvmdp" ).val()<=' ') - { - v_msg="Veuillez saisir un mot de passe!"; - v_msgEng="Please enter a password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - if ($("#nvmdp").val()=='0000' || $("#nvmdp").val()=='radiant') - { - alert_ebene("Veuillez changer de mot de passe!", "Please change password!"); - $("#nvmdp").focus(); - return false; - } - - longueur = $("#nvmdp").val().length; - - if(longueur>0 && longueur<6) - { - v_msg="6 caractères minimum exigé!"; - v_msgEng="6 characters minmum required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - if ($("#cfnvmdp" ).val()!=$("#nvmdp" ).val()) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } -} - -function modifier_profil() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb").val()+"Modifierprofil/"+$("#idLigne" ).val()+"/"); -} - - -function parametrer_profil() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb").val()+"Parametrerprofil/"+$("#idLigne" ).val()+"/"); -} - -function supprimer_profil(id, libelle) -{ - v_msg="Confirmez-vous la suppression de la ligne : "+libelle+"?"; - v_msgEng="Do you confirm the deletion of the line : "+libelle+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Listeprofil/supprimer/"+id+"/"); - } -} - -function modifier_utilisateur() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb").val()+"Modifierutilisateur/"+$("#idLigne" ).val()+"/"); -} - -function supprimer_utilisateur(id,libelle) -{ - v_msg="Confirmez-vous la suppression de la ligne : "+libelle+"?"; - v_msgEng="Do you confirm the deletion of the line : "+libelle+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Listeutilisateur/supprimer/"+id+"/"); - } -} - -function supprimer_police() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de cette police?"; - v_msgEng="Do you confirm the deletion of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/supprimer/"+$("#idPolice_C").val()+"/"); - } -} - -function supprimer_devis() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de ce devis?"; - v_msgEng="Do you confirm the deletion of this quote?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/supprimer/"+$("#idPolice_d_C").val()+"/"); - } -} - -function archiver_garantie_police() -{ - v_msg="Confirmez-vous l\'archivage des garanties de cette police?"; - v_msgEng="Do you confirm the archiving of the guarantees of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/archivergarantie/"+$("#idPolice_C").val()+"/"); - } -} - -function archiver_colleege_police() -{ -} - -function ajaxListerUtilisateursProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeutilisateur").html(data); - } - }); -} - -function ajaxListerUtilisateursPrestataire() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprestataire/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeutilisateur").html(data); - } - }); -} - -function attribuer_profil_utilisateur(p_choix,p_id_utilisateur) -{ - donnees = 'id_utilisateur='+p_id_utilisateur; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprofil/attribuerProfil/"+p_id_utilisateur+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function attribuer_prestataire_utilisateur(p_choix,p_id_utilisateur) -{ - donnees = 'id_utilisateur='+p_id_utilisateur; - donnees += '&codePrestataire='+$("#codePrestataire").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprestataire/attribuerPrestataire/"+p_id_utilisateur+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function beneficiaire_a_facturer(p_choix,p_id_beneficiaire) -{ - donnees = 'idBeneficiairePrime='+p_id_beneficiaire; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaireafacturer/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - $("#actualsiser" ).val("0"); - } - }); -} - -function ajaxListerMenusProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmenusprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listemenu").html(data); - } - }); -} - -function ajouter_menu_profil(p_choix,p_code_menu,p_id_menuprofil) -{ - donnees = 'id_menuprofil='+p_id_menuprofil; - donnees += '&codeMenu='+p_code_menu; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmenusprofil/ajouterMenu/"+p_id_menuprofil+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajaxListerVuesProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxvuesprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val()+"&vue="+$("#vue").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listemenu").html(data); - } - }); -} - -function ajouter_vue_profil(p_choix,p_code_menu,p_id_menuvueprofil) -{ - donnees = 'id_menuvueprofil='+p_id_menuvueprofil; - donnees += '&codeMenu='+p_code_menu; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&vue='+$("#vue").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxvuesprofil/ajouterMenu/"+p_id_menuvueprofil+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function lancer_facturation() -{ - if ($("#actualsiser").val()=="0" && $("#primeTtc").val()>"0") - { - v_msg="Veuillez réactualiser!"; - v_msgEng="Please refresh!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#primeTtc").val()<="0") - { - v_msg="Rien à facturer!"; - v_msgEng="Nothing to charge!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Lancer la facturation?"; - v_msgEng="Start billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Facturerpolice/facturer/"); - } -} - -function afficher_image(fichier) -{ - window.open(fichier); -} - -function modifier_adherent() -{ - if ($("#idAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifieradherent/"+$("#idAdherent_C").val()+"/"); - } -} - -function modifier_beneficiaire() -{ - if ($("#idBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifierbeneficiaire/"+$("#idBeneficiaire_C").val()+"/"); - } -} - -function supprimer_bon() -{ - if ($("#codePrestataire").val()<" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#noDepart").val()<="0") - { - v_msg="Veuillez revoir vos bornes!"; - v_msgEng="Please check your limits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#noFin").val()<$("#noDepart").val()) - { - v_msg="Veuillez revoir vos bornes!"; - v_msgEng="Please check your limits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de la plage de "+$("#noDepart").val()+" à "+$("#noFin").val()+" pour "+$("#codePrestataire").val()+"?"; - v_msgEng="Do you confirm the deletion of the range from "+$("#noDepart").val()+" to "+$("#noFin").val()+" for "+$("#codePrestataire").val()+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $('#frmsupprimerbons').submit(); - } -} - -function selectionner_bon(id,no, codeEtatBon, motifAnnulation) -{ - $("#idBon_C").val(id); - $("#numeroBon_C").val(no); - $("#motifAnnulation_C").val(motifAnnulation); - $("#codeEtatBon_C").val(codeEtatBon); -} - -function annuler_bon() -{ - var codeEtatBon = $("#codeEtatBon_C").val(); - var motifAnnulation = $("#motifAnnulation_C").val(); - var numeroBon = $("#numeroBon_C").val(); - var idBon = $("#idBon_C").val(); - - if (numeroBon<=" ") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBon=="3") - { - v_msg="Anullé pour motif : "+motifAnnulation; - v_msgEng="Canceled for reason : "+motifAnnulation; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBon=="4") - { - v_msg="Remplacé pour motif : "+motifAnnulation; - v_msgEng="Replaced for reason : "+motifAnnulation; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous l\'annulation du bon No "+numeroBon+"?"; - v_msgEng="Do you confirm the cancellation of the form No "+numeroBon+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - v_msg="Raison de l\'annulation?"; - v_msgEng="Reason for cancellation?"; - - motifAnnulation = prompt_ebene(v_msg, v_msgEng, motifAnnulation); - if (motifAnnulation<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#motifAnnulation_C").val(motifAnnulation); - - donnees = 'idBon='+idBon+'&motifAnnulation='+motifAnnulation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/annulerBon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficherbon(); - } - }); - } -} - -function ajaxbondisponible() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#codeMedecin").val()<=" ") - { - v_msg="Veuillez sélectionner un prescripteur!"; - v_msgEng="Please select a prescriber!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMedecin").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBon").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbondisponible/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&numeroBon="+$("#numeroBon").val(), - error: function(errorData) { - }, - success: function(data) { - $("#msgErreur").html(data); - }, - complete: function() { - imprimerbon(); - } - }); -} - -function imprimerbon() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var codeEtatBon = $("input[name='codeEtatBon']").val(); - - if (codeEtatBon!="1") - { - return; - } - - $("#frmconsultation").submit(); -} - -function imprimerbonVierge() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - $("#codeTypeBon").val('2'); - $("#frmconsultation").submit(); - $("#codeTypeBon").val('1'); -} - - -function ajaxcommission() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcommission/", - type : 'post', - data: "codeApporteur="+$("#codeApporteur").val()+"&codeEtape="+$("#codeEtape").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infocomm").html(data); - }, - complete: function() { - $("#tauxCommission").val( $("#tauxCommission_info").val()); - } - }); -} - -function ajaxinfosacte() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinfosacte/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&codeActe="+$("#codeActe").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infosacte").html(data); - }, - complete: function() { - $("#montantacte").val( $("#montantacte_info").val()); - $("#tauxCouverture").val( $("#tauxCouverture_info").val()); - calculer_Tm(); - } - }); -} - -function recapitulerprimeimposee() -{ - primeNette = $("#primeNette").val(); - fraisCarte = $("#fraisCarte").val(); - - donnees = "primeNette="+primeNette+"&fraisCarte="+fraisCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecapitulerprimeimposee/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#primeimposee").html(data); - }, - complete: function() { - $("#primeHt").val( $("#primeHt_info").val()); - $("#accessoire").val( $("#accessoire_info").val()); - $("#commission").val( $("#commission_info").val()); - $("#commissionAutre").val( $("#commissionAutre_info").val()); - $("#taxe").val( $("#taxe_info").val()); - $("#primeTtc").val( $("#primeTtc_info").val()); - $("#primeNetteStat").val( $("#primeNetteStat_info").val()); - } - }); -} - -function imposerprime() -{ - v_msg="Confirmez-vous cette nouvelle prime?"; - v_msgEng="Do you confirm this new premium?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#frmModifierprimebeneficiaire").submit(); - } -} - -function calculer_Tm() -{ - $("#montantTm").val( ($("#montantacte").val() * (100-$("#tauxCouverture").val() )) / 100 ); - if ($("#codeMedecin").val()>" ") - $("#numeroBon").focus(); - else - $("#codeMedecin").focus(); - return true; -} - -function controlefocusconsultationMd() -{ - if ($("#codeActe").val()>" ") - $("#numeroBon").focus(); - else - $("#codeActe").focus(); - return true; -} - -function ajaxinfosacteexamen() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinfosacte/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&codeActe="+$("#codeActe").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infosacte").html(data); - }, - complete: function() { - $("#tauxCouverture").val( $("#tauxCouverture_info").val()); - } - }); -} - -function ajaxbonexamendisponible() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBon").focus(); - return; - } - - $("#codeTypeBon").val('1'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbondisponible/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&numeroBon="+$("#numeroBon").val(), - error: function(errorData) { - }, - success: function(data) { - $("#msgErreur").html(data); - }, - complete: function() { - imprimerbon(); - } - }); -} - -function ajaxbonhospitdisponible() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBon").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbondisponible/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&numeroBon="+$("#numeroBon").val(), - error: function(errorData) { - }, - success: function(data) { - $("#msgErreur").html(data); - }, - complete: function() { - imprimerbon(); - } - }); -} - -function repondreDemandePec(numeroDemande, codeFamille) -{ - if(codeFamille=="EE") - { - window.location.assign($("#racineWeb").val()+"Repondrepecexamen/"+numeroDemande+"/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Repondrepechospit/"+numeroDemande+"/"); - } -} - -function accueil() -{ - if($("#codeProfil_C" ).val()=="MEC") - { - window.location.assign($("#racineWeb").val()+"Accueilmedecin/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Accueil/"); - } -} - -function tache() -{ - if($("#codeProfil_C" ).val()=="ASS") - { - window.location.assign($("#racineWeb").val()+"Tacheassure/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Tache/"); - } -} - -function actualiserdemandeexam() -{ - window.location.assign($("#racineWeb").val()+"Examenententeprealable/"); -} - -function actualiserdemandehospit() -{ - window.location.assign($("#racineWeb").val()+"Avishospitalisation/"); -} - -function actualiserprolongationhospit() -{ - window.location.assign($("#racineWeb").val()+"Prologerhospitalisation/"); -} - -function Imprimerbonpecexam(numeroDemande) -{ - window.location.assign($("#racineWeb").val()+"Imprimerbonpecexam/"+ numeroDemande +"/"); -} - -function Imprimerbonpechosp(numeroDemande) -{ - window.location.assign($("#racineWeb").val()+"Imprimerbonpechosp/"+ numeroDemande +"/"); -} - -function Imprimerprolongationhosp(numeroDemande) -{ - window.location.assign($("#racineWeb").val()+"Imprimprolonghosp/"+ numeroDemande +"/"); -} - -function forceDownload(fileURL, fileName) -{ -} - - -function ged() -{ - if ($("#numeroBeneficiaire_C" ).val()<=" ") - { - v_msg="Veuillez sélectionner un assuré!"; - v_msgEng="Please select an insured person!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Ged/"); -} - -function gedassure() -{ - if ($("#numeroAdherent_C" ).val()<=" ") - { - v_msg="Veuillez sélectionner un assuré!"; - v_msgEng="Please select an insured person!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Gedassure/"); -} - - -function tachesadherent() -{ - if ($("#numeroAdherent_C" ).val()<=" ") - { - v_msg="Veuillez sélectionner un assuré!"; - v_msgEng="Please select an insured person!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Tacheadherent/"); -} - -function afficherged(cheminFichier) -{ - if (cheminFichier<=" ") - { - v_msg="Veuillez sélectionner un fichier!"; - v_msgEng="Please select a file"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.open(cheminFichier, '_blank'); -} - -function archiverged() -{ - if ($("#nomFichier").val()<=" ") - { - v_msg="Veuillez sélectionner un document!"; - v_msgEng="Please select a document"; - alert_ebene(v_msg, v_msgEng); - - return; - } - if( $("#accesAssure").val()=="0" && $("#accesPrestataire").val()=="0" - && $("#accesMedecin").val()=="0" && $("#accesGestionnaire").val()=="0") - { - v_msg="Le document doit être visible par au moins un des acteurs!"; - v_msgEng="The document must be seen by at least one of the persons in charge!"; - alert_ebene(v_msg, v_msgEng); - return; - } - $("#frmarchiherged").submit(); -} - -function archiverfacture() -{ - if ($("#nomFichier").val()<=" ") - { - v_msg="Veuillez sélectionner un fichier!"; - v_msgEng="Please select a file"; - alert_ebene(v_msg, v_msgEng); - - return; - } - $("#frmarchiherged").submit(); -} - -function ajaxinfosdestinatairetache() -{ - if ($("#codeDestinataire").val()<=" ") - { - v_msg="Veuillez sélectionner un destinataire!"; - v_msgEng="Please select a recipient!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeDestinataire").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinfosdestinatairetache/", - type : 'post', - data: "codeDestinataire="+$("#codeDestinataire").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infosdestinatairetache").html(data); - }, - complete: function() { - $("#emailtache").val( $("#emailActeurtache_info").val()); - } - }); -} - -function afficherPrestataireAssure(id) -{ - if (id <=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Prestataireassure/"+id+"/"); -} - - -function selectionner_Rq(lienrequete) -{ - $("#lienrequete" ).val(lienrequete); -} - - -function parametre_Rq() -{ - if ($("#lienrequete" ).val()<="") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query (request)!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - { - window.location.assign($("#racineWeb" ).val()+$("#lienrequete" ).val()); - } -} - -function imprimer_pdf() -{ - $("#sortie").val('1'); - $("#frmrequete").submit(); -} - -function export_xls() -{ - $("#sortie").val('2'); - $("#frmrequete").submit(); - $("#sortie").val('1'); -} - -function affichermanuel() -{ - codeProfil = $("#codeProfil_C").val(); - - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_CENTRES_DE_SOINS.pdf"; - - switch(codeProfil) - { - case "AAA": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_AGENT_AFRIK_ASSUR.pdf"; - break; - case "ADM": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_ADMINISTRATEUR_SYSTEME.pdf"; - break; - case "ASS": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_ASSURE.pdf"; - break; - case "CSO": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_CENTRES_DE_SOINS.pdf"; - break; - case "DIR": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_DIRECTION_AFRIK_ASSUR.pdf"; - break; - case "LAB": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_LABORATOIRES.pdf"; - break; - case "MEC": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_MEDECINS_CONSEIL.pdf"; - break; - case "PHA": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_PHARMACIES.pdf"; - break; - } - window.open('Docs/'+cheminFichier, '_blank'); -} - -function ajaxListerequetesProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetesprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listerequete").html(data); - } - }); -} - -function ajouter_requete_profil(p_choix,p_nomRequete,p_id_requeteprofil) -{ - donnees = 'id_requeteprofil='+p_id_requeteprofil; - donnees += '&nomRequete='+p_nomRequete; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetesprofil/ajouterRequete/"+p_id_requeteprofil+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function supprimer_beneficiaire() -{ - idBeneficiaire = $("#idBeneficiaire_C").val(); - - primeArchive=$("#primeArchive").val(); - if (primeArchive=="1") - { - v_msg="Prime archivée!"; - v_msgEng="Primium archived!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (primeArchive=="0") - { - supprimer_beneficiaire_id(idBeneficiaire); - return; - } - - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - if (codeTypeAvenant!="REN" && codeTypeAvenant!="AFN") - { - v_msg="Veuillez procéder à un retrait!"; - v_msgEng="Please make a withdrawal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - supprimer_beneficiaire_id(idBeneficiaire); -} - -function supprimer_beneficiaire_id(idBeneficiaire) -{ - v_msg="Confirmez-vous la suppression de ce bénéficiaire?"; - v_msgEng="Do you confirm the removal of this beneficiary?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaire/supprimer/", - type : 'post', - data: "idBeneficiaire="+idBeneficiaire, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_adherent_id(); - } - }); - } -} - -function actualiserbeneficiaireafacturer() -{ - window.location.assign($("#racineWeb").val()+"Facturerpolice/"); -} - -function selectionner_tout_beneficiaireafacturer(choix) -{ - window.location.assign($("#racineWeb").val()+"Facturerpolice/selectionnertout/"+choix+"/"); -} - -/* -function compta() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - window.location.assign($("#racineWeb").val()+"Compta/"+idClient+"/"); -} -*/ - -function compta() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - - if(idClient<'0') - { - idClient = '0'; - } - - if(idClient>'0') - { - window.location.assign($("#racineWeb").val()+"Compta/"+idClient+"/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Compta/"); - } -} - -function selection_quittanes_enc() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - window.location.assign($("#racineWeb").val()+"Encselectionquittances/"+idClient+"/"); -} - -function selection_quittances_cli_enc() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - window.location.assign($("#racineWeb").val()+"Encselectquitclient/"+idClient+"/"); -} - -function compta_changer_client(numeroClient) -{ - if (numeroClient>"0") - { - $("#forminfoclient").submit(); - } -} - - -function encaissement_changer_client(numeroClient) -{ - if (numeroClient>"0") - { - $("#forminfoclient").submit(); - } -} - -function afficher_quittances_police() -{ - numeroPolice = $("#numeroPolice_C" ).val(); - idPolice = $("#idPolice_C" ).val(); - - $("#div_quittancepolice").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - if (numeroPolice>" ") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxquittancepolice/", - type : 'post', - data: "idPolice="+idPolice+"&numeroPolice="+numeroPolice, - error: function(errorData) { - }, - success: function(data) { - $("#div_quittancepolice").html(data); - } - }); - } -} - -function afficher_quittances_impayees_client() -{ - idClient = $("#idClient_C").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/", - type : 'post', - data: "idClient="+idClient, - error: function(errorData) { - }, - success: function(data) { - $("#div_quittancesclient").html(data); - } - }); -} - -function afficher_encaissements_quittance(idQuittance, numeroQuittance) -{ - if (idQuittance>"0") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxencaissementquittance/", - type : 'post', - data: "idQuittance="+idQuittance+"&numeroQuittance="+numeroQuittance, - error: function(errorData) { - }, - success: function(data) { - $("#div_encaissementsquittance").html(data); - } - }); - } -} - - -function afficher_encaissement(idEncaissement) -{ - if (idEncaissement>"0") - { - window.location.assign($("#racineWeb" ).val()+"Ficheencaissement/"+idEncaissement+"/"); - } -} - - -function encaisser_client() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - - if (idClient>"0") - { - window.location.assign($("#racineWeb").val()+"Encaisserclient/"+idClient+"/"); - } -} - -function encaisser_depot_bord() -{ - $("#btn_depot").click(); -} - -function enregistrer_college() -{ - $("#btn_enreg").click(); -} - -function enregistrer_college_d() -{ - $("#btn_enreg").click(); -} - -function encaisser_quittance(idQuittance) -{ - if (idQuittance>"0") - { - window.location.assign($("#racineWeb" ).val()+"Encaisserquittance/"+idQuittance+"/"); - } -} - -function selectionner_quittance_impayee(numeroQuittance, idQuittance, primeTtc, encaisse, solde) -{ - $("#numeroQuittanceAcpte").val(numeroQuittance); - $("#idQuittanceAcpte").val(idQuittance); - $("#primeTtcAcpte").val(primeTtc); - $("#encaisseAcpte").val(encaisse); - $("#montantAcpte").val(solde); - $("#anc_soldeAcpte").val(solde); -} - -function ajouter_quittance_acompte() -{ - idQuittance = $("#idQuittanceAcpte" ).val(); - montantAcpte = $("#montantAcpte" ).val(); - primeTtcAcpte = $("#primeTtcAcpte" ).val(); - - if(idQuittance<="0") - { - v_msg="Veuillez sélectionner une quittance!"; - v_msgEng="PLease select a premium issue!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - if(montantAcpte<="0") - { - v_msg="Veuillez saisir l\'acompte!"; - v_msgEng="Please enter the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - anc_soldeAcpte = $("#anc_soldeAcpte" ).val(); - - if(Number(montantAcpte)>Number(anc_soldeAcpte)) - { - v_msg="Veuillez vérifier le montant de l\'acompte!"; - v_msgEng="Please check the amount of the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - donnees = 'idQuittance='+idQuittance+'&montantAcpte='+montantAcpte+'&primeTtcAcpte='+primeTtcAcpte; - - $("#div_situation_client").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/ajouteracomptequittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function ajouter_quittance_acompte_client() -{ - idQuittance = $("#idQuittanceAcpte" ).val(); - montantAcpte = $("#montantAcpte" ).val(); - primeTtcAcpte = $("#primeTtcAcpte" ).val(); - - if(idQuittance<="0") - { - v_msg="Veuillez sélectionner une quittance!"; - v_msgEng="PLease select a premium issue!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - if(montantAcpte<="0") - { - v_msg="Veuillez saisir l\'acompte!"; - v_msgEng="Please enter the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - anc_soldeAcpte = $("#anc_soldeAcpte" ).val(); - - if(Number(montantAcpte)>Number(anc_soldeAcpte)) - { - v_msg="Veuillez vérifier le montant de l\'acompte!"; - v_msgEng="Please check the amount of the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - donnees = 'idQuittance='+idQuittance+'&montantAcpte='+montantAcpte+'&primeTtcAcpte='+primeTtcAcpte; - - $("#div_situation_client").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximpayeclient/ajouteracomptequittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function solder_quittance_temp(idQuittance) -{ - donnees = 'idQuittance='+idQuittance; - - $("#div_situation_client").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/solderquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function solder_quittance_client_temp(idQuittance) -{ - donnees = 'idQuittance='+idQuittance; - - $("#div_situation_client").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximpayeclient/solderquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function supprimer_detail_encaissement(idDetailencaissement) -{ - donnees = 'idDetailencaissement='+idDetailencaissement; - - $("#div_situation_client").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/supprimerquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - - -function retirer_garantie_police(idGarantie) -{ - donnees = 'idGarantie='+idGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiespolice/supprimergarantie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function ajouter_une_garantie_college(codeGarantie) -{ - donnees = 'codeGarantie='+codeGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/ajoutergarantie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function supprimer_detail_encaissement_client(idDetailencaissement) -{ - donnees = 'idDetailencaissement='+idDetailencaissement; - - $("#div_situation_client").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximpayeclient/supprimerquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function encaissement_changer_client(numeroClient) -{ - if (numeroClient>"0") - { - $("#forminfoclient").submit(); - } -} - -function encaisser_bordereau() -{ - window.location.assign($("#racineWeb").val()+"Encaisserbordereau/"); -} - -function encaisser_bordereau_detail() -{ -} - - -function imprimer_recu(idEncaissement) -{ - donnees = 'idEncaissement='+idEncaissement; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerrecucaisse/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function afficher_pop_recherche_client() -{ - numeroclientsearch = $("#numeroclientsearch").val(); - nomsearch = $("#nomsearch").val(); - prenomsearch = $("#prenomsearch").val(); - telsearch = $("#telsearch").val(); - - if (numeroclientsearch+nomsearch+prenomsearch+telsearch > " ") - { - donnees = "valid=1&numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&prenomsearch="+prenomsearch+"&telsearch="+telsearch; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclients/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeclient").html(data); - } - }); - } -} - -function afficher_pop_recherche_client_enc() -{ - numeroclientsearch = $("#numeroclientsearch").val(); - nomsearch = $("#nomsearch").val(); - prenomsearch = $("#prenomsearch").val(); - telsearch = $("#telsearch").val(); - - if (numeroclientsearch+nomsearch+prenomsearch+telsearch > " ") - { - donnees = "valid=1&numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&prenomsearch="+prenomsearch+"&telsearch="+telsearch; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclientsenc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeclient").html(data); - } - }); - } -} - -function selectionner_client_pop(id,no,nom) -{ - $("#nocli").val(no); - $("#nomcli").val(nom); - selectionner_client(id,no); -} - -function ctrlkeypress(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_client(); - } -} - -function ctrlkeypress_enc(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_client_enc(); - } -} - -function ajaxListerMoyenPaiement() -{ - codeModePaiement = $("#codeModePaiement").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmoyenpaiement/", - type : 'post', - data: "codeModePaiement="+codeModePaiement, - error: function(errorData) { - }, - success: function(data) { - $("#listemoyenpaiement").html(data); - }, - complete: function() { - } - }); -} - -function ajax_no_cpt_paiement() -{ - codeModePaiement = $("#codeModePaiement").val(); - codeMoyenPaiement = $("#codeMoyenPaiement").val(); - - donnees = "codeModePaiement="+codeModePaiement+"&codeMoyenPaiement="+codeMoyenPaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnocptmoyenpaiement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infonocpt").html(data); - }, - complete: function() { - $("#numeroCompte").val( $("#numeroCompte_info").val()); - } - }); -} - -function modifier_detail_encaissement(idDetailencaissement) -{ -} - -function recap_bordereau_encaissement() -{ - montant_ecart = $("#montant_ecart_info").val(); - $("#montant_selection").val( $("#montant_selection_info").val()); - $("#montant_ecart").val(montant_ecart); -} - -function enregistrer_encaissement_bordereau() -{ - montant_ecart = $("#montant_ecart").val(); - montant_ecart = montant_ecart.replace(" ", ""); - montant_ecart = parseInt(montant_ecart); - montant_ecart = Math.abs(montant_ecart); - - if(montant_ecart>"100") - { - v_msg="Veuillez vérifier votre écart!"; - v_msgEng="Please check your gap!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#formente_encaissement").submit(); -} - -function enregistrer_encaissement_client() -{ - montant_ecart = $("#montant_ecart").val(); - montant_ecart = montant_ecart.replace(" ", ""); - montant_ecart = parseInt(montant_ecart); - montant_ecart = Math.abs(montant_ecart); - - if(montant_ecart>"100") - { - v_msg="Veuillez vérifier votre écart!"; - v_msgEng="Please check your gap!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montant = $("#montant").val(); - montant = montant.replace(" ", ""); - montant = parseInt(montant); - montant = Math.abs(montant); - - codeModePaiement = $("#codeModePaiement").val(); - codeMoyenPaiement = $("#codeMoyenPaiement").val(); - referencePaiement = $("#referencePaiement").val(); - libelleOperation = $("#libelleOperation").val(); - - - if(montant=="100") - { - v_msg="Veuillez saisir un montant!"; - v_msgEng="Please enter an amount"; - alert_ebene(v_msg, v_msgEng); - - $("#montant").focus(); - return; - } - - if(codeModePaiement<=" ") - { - v_msg="Veuillez indiquer le mode de paiement!"; - v_msgEng="Please enter the method of payment"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if(codeMoyenPaiement<=" ") - { - v_msg="Veuillez indiquer le moyen de paiement!"; - v_msgEng="Please enter the method of payment!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMoyenPaiement").focus(); - return; - } - - if(referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if(libelleOperation<=" ") - { - v_msg="Veuillez saisir le libellé de l\'opération!"; - v_msgEng="Please enter the text of the transaction!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleOperation").focus(); - return; - } - - $("#formente_encaissement").submit(); -} - -function enregistrer_encaissement_quittance() -{ - anc_solde = $("#anc_solde").val(); - montant = $("#montant").val(); - montant_ecart = (montant-anc_solde); - montant_ecart = Math.abs(montant_ecart); - - - if(montant_ecart>"100") - { - v_msg="Veuillez vérifier votre écart!"; - v_msgEng="Please check your gap!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montant = $("#montant").val(); - montant = montant.replace(" ", ""); - montant = parseInt(montant); - montant = Math.abs(montant); - - codeModePaiement = $("#codeModePaiement").val(); - codeMoyenPaiement = $("#codeMoyenPaiement").val(); - referencePaiement = $("#referencePaiement").val(); - libelleOperation = $("#libelleOperation").val(); - - - if(montant=="100") - { - v_msg="Veuillez saisir un montant!"; - v_msgEng="Please enter an amount"; - alert_ebene(v_msg, v_msgEng); - - $("#montant").focus(); - return; - } - - if(codeModePaiement<=" ") - { - v_msg="Veuillez indiquer le mode de paiement!"; - v_msgEng="Please enter the method of payment"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if(codeMoyenPaiement<=" ") - { - v_msg="Veuillez indiquer le moyen de paiement!"; - v_msgEng="Please enter the method of payment!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMoyenPaiement").focus(); - return; - } - - if(referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if(libelleOperation<=" ") - { - v_msg="Veuillez saisir le libellé de l\'opération!"; - v_msgEng="Please enter the text of the transaction!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleOperation").focus(); - return; - } - - $("#formente_encaissement").submit(); -} - -function controle_numerique(controle) -{ - if(isNaN(controle.value)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.value=""; - controle.focus(); - return false; - } - return true; -} - -function ajax_context_client(idClient) -{ - donnees = 'idClient='+idClient; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextclient/", - type : 'post', - data: donnees, - error: function(errorData) { - } - }); -} - -function ajax_context_client_afficher(idClient) -{ - donnees = 'idClient='+idClient; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextclient/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Ficheclient/"); - } - }); -} - - -function ajax_context_client_d_afficher(idClient) -{ - donnees = 'idClient='+idClient; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextclientd/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Ficheprospect/"); - } - }); -} - -function ajax_context_police(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - } - }); -} - -function ajax_context_police_d(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpoliced/", - type : 'post', - data: donnees, - error: function(errorData) { - } - }); -} - -function ajax_context_police_afficher(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); - } - }); -} - -function ajax_context_police_d_afficher(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpoliced/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/"); - } - }); -} - -function ajax_deconnexion() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdeconnexion/", - complete: function() - { - window.open('about:blank','_parent',''); - close(); - window.close(); - } - }); - -/* 24/03/2019 - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdeconnexion/" - }); -*/ -} - -function selectionner_college(idCollege) -{ - $("#idCollege" ).val(idCollege); -} - -function supprimer_college(idCollege) -{ - v_msg="Confirmez-vous la suppression de ce collège?"; - v_msgEng="Do you confirm the removal of this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Collegepolice/supprimerCollege/"+idCollege+"/"); - } -} - -function supprimer_college_d(idCollege) -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de ce collège?"; - v_msgEng="Do you confirm the removal of this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/supprimerCollege/"+idCollege+"/"); - } -} - -function modifier_college(idCollege) -{ - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiercollege/"+idCollege+"/"); - } -} - -function modifier_college_d(idCollege) -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiercolleged/"+idCollege+"/"); - } -} - -function consulter_college(idCollege) -{ - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Consultercollege/"+idCollege+"/"); - } -} - -function retour_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Consultercollege/"+idCollege+"/"); - } -} - -function ajax_flexcode() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxflexcode/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#content").html(data); - }, - complete: function() { - } - }); -} - -function ajaxttcfammille() -{ - idCollege=$("#idCollege").val(); - dateEntree=$("#dateEntree").val(); - - donnees = 'idCollege='+idCollege; - donnees += '&dateEntree='+dateEntree; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxttcfammille/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infottc").html(data); - }, - complete: function() { - } - }); -} - -function supprimer_adherent() -{ - idAherent=$("#idAdherent_C").val(); - - primeArchive=$("#primeArchive").val(); - if (primeArchive=="1") - { - v_msg="Prime archivée!"; - v_msgEng="Primium archived!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - // alert('codeTypeAvenant => '+codeTypeAvenant); - // return; - - if (codeTypeAvenant!="REN" && codeTypeAvenant!="AFN" && codeTypeAvenant!="CHE") - { - v_msg="Veuillez procéder à un retrait!"; - v_msgEng="Please make a withdrawal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (primeArchive=="0") - { - supprimer_adherent_id(idAherent); - return; - } -} - - -function supprimer_adherent_id(idAherent) -{ - v_msg="Confirmez-vous la suppression de cet adhérent?"; - v_msgEng="Do you confirm the deletion of this member?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxadherent/supprimer/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Suppression terminée avec succès terminé!"; - v_msgEng="Deletion completed successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - adherents_police(); - } - }); - } -} - -function supprimer_adherent_id_list(idAherent) -{ - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - if (codeTypeAvenant!="REN" && codeTypeAvenant!="AFN" && codeTypeAvenant!="CHE") - { - v_msg="Veuillez procéder à un retrait!"; - v_msgEng="Please make a withdrawal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de cet adhérent?"; - v_msgEng="Do you confirm the deletion of this member?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"ajaxadherent/supprimer/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - v_msg="Suppression terminée avec succès terminé!"; - v_msgEng="Deletion completed successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - adherents_police(); - } - }); - } -} - - -function ajax_init_echancier() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinitnbecheance/", - type : 'post', - data: "codeTypeEcheancier="+$("#codeTypeEcheancier").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infonbEcheance").html(data); - }, - complete: function() { - $("#nbEcheance").val( $("#nbEcheance_info").val()); - ajax_maj_echancier(); - } - }); -} - -function ajax_maj_echancier() -{ - codeTypeEcheancier = $("#codeTypeEcheancier").val(); - nbEcheance = $("#nbEcheance").val(); - tauxInteret = $("#tauxInteret").val(); - - donnees = "codeTypeEcheancier="+codeTypeEcheancier+"&nbEcheance="+nbEcheance+"&tauxInteret="+tauxInteret; - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - -function enregistrer_echeancier() -{ - if ($("#nbEcheance").val()=="1") - { - v_msg="Confirmez-vous l\'émission sans échéancier?"; - v_msgEng="Do you confirm the issue of primium without payment schedule?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - afficher_police_id(); - return; - } - - v_msg="Confirmez-vous cet échéancier?"; - v_msgEng="Do you confirm this payment schedule?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/enregistrer/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_police_id(); - } - }); - } -} - -function ajax_maj_lib_echancier(idEcheancier, libelleEcheance) -{ - donnees = "idEcheancier="+idEcheancier+"&libelleEcheance="+libelleEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/majlibelle/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - -function ajax_maj_date_echancier(idEcheancier, datePaiement) -{ - donnees = "idEcheancier="+idEcheancier+"&datePaiement="+datePaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/majdatepaiement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - - - -function ajax_maj_taux_echancier(idEcheancier, tauxEcheance) -{ - nbEcheance = $("#nbEcheance").val(); - - donnees = "idEcheancier="+idEcheancier+"&tauxEcheance="+tauxEcheance+"&nbEcheance="+nbEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/majtauxecheance/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - -function retirer_garantie_college(idGarantie) -{ - donnees = 'idGarantie='+idGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/supprimergarantie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajax_maj_taux_plafond(idGarantie, tauxPlafond, controle) -{ - tauxPlafond=tauxPlafond.replace(",","."); - controle.value=tauxPlafond; - - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&tauxPlafond="+tauxPlafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majtauxplafond/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function ajax_imposer_plafond(idGarantie, plafond, controle) -{ - plafond=plafond.replace(",","."); - controle.value=plafond; - - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/imposerplafond/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function ajax_maj_lib_gar_opt(idGarantie, libellegarantie, controle) -{ - if (libellegarantie<=" ") - { - return; - } - - donnees = 'idGarantie='+idGarantie+"&libellegarantie="+libellegarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majlibgar/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); -} - -function maj_prime_gar_opt(idGarantie, primeOption, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&primeOption="+primeOption; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majprimeopt/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function archiver_garantie_college(idCollege) -{ - v_msg="Confirmez-vous l\'archivage des garanties ce collège?"; - v_msgEng="Do you confirm the archiving of guarantees this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archivergarntie/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - college_police(); - } - }); - } -} - -function controle_champ_obligatoire(controle) -{ - if (controle.value<=" ") - { - v_msg="Valeur exigée!"; - v_msgEng="Value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.focus(); - return false; - } - return true; -} - -function controle_champ_obligatoire_new(controle) -{ - if (controle.value<=" ") - { - v_msg="Valeur exigée!"; - v_msgEng="Value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.focus(); - return false; - } - return true; -} - -function controle_champ_obligatoire_old(controle) -{ - if (controle.value<=" ") - { - v_msg="Valeur exigée!"; - v_msgEng="Value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.focus(); - return false; - } - return true; -} - - -function plafond_adherent() -{ - if ($("#idAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Plafondadherent/"); - } -} - -function creer_adherents() -{ - // 06/11/2020 - if(est_ce_police_famille()) - { - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); - return; - } - - nbAdh = $("#nbAdh_C").val(); - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if ( (codeTypeContrat!="G") && (nbAdh>0) ) - { - v_msg="Ce n\'est pas une police GROUPE!"; - v_msgEng="This is not a GROUP policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creeradherent/"); -} - -function creer_colleges() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creercollege/initcollege/"); -} - - -function creer_colleges_d() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creercolleged/initcollege/"); -} - -function creer_beneficiaires() -{ - if(est_ce_police_famille()) - { - creer_beneficiaires_familiale(); - return; - } - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etatadh=$("#codeEtatAdherent_C").val(); - - if (etatadh != "V") - { - v_msg="Attention! cette famille n\'est pas en vigueur!"; - v_msgEng="Warning! this family is not in force!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creerbeneficiaire/"); -} - -function changer_etat_adherent() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Changeretatadherent/"); -} - -function creer_avenant() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creeravenant/"); -} - -function liste_avenant() -{ - window.location.assign($("#racineWeb" ).val()+"Listeavenant/"); -} - -function prorater_prime_adherent() -{ - idCollege=$("#idCollege").val(); - dateEntree=$("#dateEntree").val(); - prorata=$("#prorata").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - donnees += '&dateEntree='+dateEntree; - donnees += '&prorata='+prorata; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproraterprime/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function prorater_prime_beneficiaire() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - codeLienParente=$("#codeLienParente").val(); - - if (codeLienParente=="A") - { - v_msg="Veuillez revoir le lien de parenté!"; - v_msgEng="Please review the relationship"; - alert_ebene(v_msg, v_msgEng); - $("#codeLienParente").focus(); - return; - } - - dateEntree=$("#dateEntree").val(); - fraisCarte=$("#fraisCarte").val(); - prorata=$("#prorata").val(); - - donnees = '&dateEntree='+dateEntree; - donnees += '&fraisCarte='+fraisCarte; - donnees += '&prorata='+prorata; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproraterprimebeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function histo_etats() -{ - window.location.assign($("#racineWeb" ).val()+"Histoetat/"); -} - -function afficher_emission(idEmission) -{ - if (idEmission>"0") - { - window.location.assign($("#racineWeb" ).val()+"Emission/"+idEmission+"/"); - } -} - -function exporter_liste_assures() -{ - $('#div_exporter_liste_assures').html(''); - - $("#btn_exporter_liste_assures").click(); -} - - -function imprimer_liste_assures() -{ - $('#div_export_assures').html(''); - - $("#btn_liste_assures").click(); -} - -function imprimer_limites() -{ - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'idEntetecontrat='+idEntetecontrat; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlimite/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp(lienEtat) -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'lienEtat='+lienEtat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercp/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp_d(lienEtat) -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'lienEtat='+lienEtat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercpd/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp_eng() -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercpeng/", - type: 'POST', - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp_eng_d() -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercpengd/", - type: 'POST', - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function rachat_tm_police() -{ - if($('#rachatTm').val()=="1") - { - $("#tauxRachatTm").readable(); - } - else - { - $("#tauxRachatTm").val("0"); - $("#tauxRachatTm").unreadable(); - } -} - -function pop_tableau_prestation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtableauprestation/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_tableau_prestation").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - - -function pop_consulter_tableau_prestation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxconsultertableauprestation/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_tableau_prestation").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function pop_afficher_detail_resiliation() -{ - var div_tableau_assure = $('#div_tableau_assure'); - - div_tableau_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailresiliation/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - div_tableau_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function maj_college() -{ - if($('#codeProduit').val()<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - $('#codeProduit').focus(); - return; - } - $("#btn_recap").click(); -} - -function ajax_maj_tm(idPrestation, tm, controle) -{ - tm=tm.replace(",","."); - controle.value=tm; - - if(controle_numerique(controle)) - { - donnees = 'idPrestation='+idPrestation+"&tm="+tm; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtableauprestation/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function texte_cp() -{ - window.location.assign($("#racineWeb" ).val()+"Textecp/"); -} - -function imprimer_contrat() -{ - prestationPossible = $("#prestationPossible").val(); - - /* - if (prestationPossible!="1") - { - v_msg="Police non encore couverte!"; - v_msgEng="Policy not yet covered!"; - alert_ebene(v_msg, v_msgEng); - return; - } - */ - - window.location.assign($("#racineWeb" ).val()+"Contrat/"); -} - -function imprimer_devis() -{ - window.location.assign($("#racineWeb" ).val()+"Imprimerdevis/"); -} - -function rapport_sp_police() -{ - window.location.assign($("#racineWeb" ).val()+"Sppolice/"); -} - -function rapport_sp_adherent() -{ - window.location.assign($("#racineWeb" ).val()+"Spadherent/"); -} - - -function rapport_sp_college() -{ - window.location.assign($("#racineWeb" ).val()+"Spcollege/"); -} - -function rapport_sp_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Spbeneficiaire/"); -} - -function enregistrer_avenant() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - oldCodeTypeAvenant=$("#oldCodeTypeAvenant").val(); - - if ($("#codeTypeAvenant").val()<" ") - { - v_msg="Veuillez sélectionner le type d\'avenant!"; - v_msgEng="Please select the type of amendment!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(codeTypeAvenant!="CHE" && codeTypeAvenant!="REN") - { - var d_effet = new Date($("#dateEffetSql").val()); - var d_fin = new Date($("#dateFinSql").val()); - var d_avenant = $("#dateAvenant").datepicker("getDate"); - - dt_effet = Math.round(Date.parse(d_effet)/(1000*3600*24)); - dt_fin = Math.round(Date.parse(d_fin)/(1000*3600*24)); - dt_avenant = Math.round(Date.parse(d_avenant)/(1000*3600*24)); - - /* - alert("dt_effet => "+dt_effet); - alert("dt_fin => "+dt_fin); - alert("dt_avenant => "+dt_avenant); - return; - */ - - if (dt_avenant>dt_fin || dt_avenantdt2) - { - v_msg="Veuillez revoir la date de renouvellement!"; - v_msgEng="Please review the renewal date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var eff = $("#dateAvenant").datepicker("getDate"); - var ech = $("#dateEcheanceRen").datepicker("getDate"); - - if (ech>eff.addMonths(12)) { - v_msg="Période supérieur à un an!"; - v_msgEng="Period greater than one year!"; - alert_ebene(v_msg, v_msgEng); - } - } - - if(codeTypeAvenant=="CHE" && oldCodeTypeAvenant=="REN") - { - var td1 = new Date($("#dateEffet").val()); - var td2 = $("#dateAvenant").datepicker("getDate"); - - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - } - - if ( - codeTypeAvenant=="RET" || - codeTypeAvenant=="RES" || - codeTypeAvenant=="SUS" || - codeTypeAvenant=="ANL"|| - codeTypeAvenant=="RVP"|| - codeTypeAvenant=="ADL"|| - codeTypeAvenant=="CHE") - { - motifavenant=$("#motifavenant").val(); - - if ($("#motifavenant").val()<" ") - { - v_msg="Veuillez fournir le motif!"; - v_msgEng="Please provide the reason"; - alert_ebene(v_msg, v_msgEng); - - return; - } - } - - v_msg="Confirmez-vous cet avenant?"; - v_msgEng="Do you confirm this amendment to the contract?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_attente'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - codeTypeAvenant=$("#codeTypeAvenant").val(); - - donnees = ""; - - if (codeTypeAvenant=="ANL") - { - donnees = "controle=existequittance"; - } - - if(donnees>" ") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontroleavenantpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - alert(data); - $("#div_controler_avenant").html(data); - }, - complete: function() { - $("#controler_avenant").val($("#controler_avenant_info").val()); - - resultat_controler_avenant = $("#controler_avenant").val(); - - if (resultat_controler_avenant=="Q") - { - v_msg="Attention, cette police possède des quittances!"; - v_msgEng="Warning, this policy has premium issues!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (resultat_controler_avenant=="C") - { - v_msg="Attention, cette police possède des sinistres!"; - v_msgEng="Warning, this policy has claims!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - return; - } - }); - } - else - if (codeTypeAvenant=="ADL") - { - donnees = "dateAvenant="+$("#dateAvenant").val()+"&motifavenant="+motifavenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlimiteadditionnelle/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#btn_enreg").click(); - } - }); - } - else - { - $("#btn_enreg").click(); - } - } -} - - -function enregistrer_resiliation() -{ - v_msg="Confirmez-vous la résiliation de cette police?"; - v_msgEng="Do you confirm the cancellation of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheresiliation/enregistrerresiliation/"); - } -} - - -function enregistrer_retrait() -{ - var div_assure_a_retirer = $('#div_assure_a_retirer'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailretrait/recapituler/", - type: 'POST', - success: function(data) { - div_assure_a_retirer.html(data); - }, - error: function(data) { - }, - complete: function() { - nbAliment=$("#nbAliment").val(); - - if (nbAliment<"1") - { - v_msg="Veuillez sélectionner les personnes à retirer!"; - v_msgEng="Please select the people to remove!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous le retrait des personnes sélectionnées de cette police?"; - v_msgEng="Do you confirm the withdrawal of the selected people from this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheretrait/enregistrerretrait/"); - } - } - }); - - -} - -function controle_date_avenant() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - - if(est_ce_police_famille() && codeTypeAvenant=="RET") - { - v_msg="Oprétaion non autorisée!"; - v_msgEng="Unauthorized operation!"; - alert_ebene(v_msg, v_msgEng); - - afficher_police_id(); - return; - } - - $("#div_periodidite").html(""); - - if(codeTypeAvenant=="REN") - { - $("#dateAvenant").val($("#DateRenouvellement_fr").val()); - $("#motifavenant").val(""); - - $("#motifavenant").unreadable(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrenouvellement/", - type: 'POST', - // data: donnees, - success: function(data) - { - $("#div_periodidite").html(data); - $(".datepicker" ).datepicker(); - CalculerEcheanceRen(); - CalculerFinRen(); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - $("#dateAvenant").readable(); - } - else - if(codeTypeAvenant=="ADL") - { - $("#dateAvenant").val($("#datejourfr_C").val()); - $("#dateAvenant").unreadable(); - $("#motifavenant").readable(); - } - else - { - $("#dateAvenant").val($("#datejourfr_C").val()); - - $("#dateAvenant").readable(); - $("#motifavenant").readable(); - } -} - -function pop_afficher_detail_renouvellement() -{ - var div_tableau_assure = $('#div_tableau_assure'); - - div_tableau_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrenouvellement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - div_tableau_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function enregistrer_renouvellemnt() -{ - v_msg="Confirmez-vous le renouvellement de cette police?"; - v_msgEng="Do you confirm the renewal of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficherenouvellement/enregistrerrenouvellement/"); - } -} - -function fiche_limite_additionnelle() -{ - window.location.assign($("#racineWeb" ).val()+"Fichelimiteadditionnelle/"); -} - -function enregistrer_changement_etat_famille() -{ - codeEtatAdherent=$("#codeEtatAdherent").val(); - - if (codeEtatAdherent<" ") - { - v_msg="Veuillez sélectionner le nouvel état!"; - v_msgEng="Please select the new state!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - motifEtat=$("#motifEtat").val(); - - if (motifEtat<" ") - { - v_msg="Veuillez indiquer le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce changement d\'état?"; - v_msgEng="Do you confirm this change of state?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function changer_etat_beneficiaire() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Changeretatbeneficiaire/"); -} - -function enregistrer_changement_etat_beneficiaire() -{ - codeEtatBeneficiaire=$("#codeEtatBeneficiaire").val(); - - if (codeEtatBeneficiaire<" ") - { - v_msg="Veuillez sélectionner le nouvel état!"; - v_msgEng="Please select the new state!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - motifEtat=$("#motifEtat").val(); - - if (motifEtat<" ") - { - v_msg="Veuillez indiquer le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce changement d\'état?"; - v_msgEng="Do you confirm this change of state?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function pop_afficher_selection_retrait() -{ - var div_selection_assure = $('#div_selection_assure'); - - div_selection_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionretrait/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - div_selection_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function beneficiaire_a_retirer(p_choix, p_id_beneficiaire) -{ - donnees = 'idBeneficiaire='+p_id_beneficiaire; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionretrait/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recapituler_retrait() -{ - var div_assure_a_retirer = $('#div_assure_a_retirer'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailretrait/recapituler/", - type: 'POST', - success: function(data) { - div_assure_a_retirer.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function changer_college() -{ - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - // /* autorisé le 11/07/2018 en attendant - if (codeTypeAvenant!="REN") - { - v_msg="Opération possible uniquement lors du renouvellement!"; - v_msgEng="Operation possible only during renewal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - codeEtatFacturation=$("#codeEtatFacturation").val(); - if (codeEtatFacturation=="1") - { - v_msg="Attention! Famille déjà facturée!"; - v_msgEng="Warning! Family already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - consommation_adherent=$("#consommation_adherent").val(); - if(consommation_adherent>"0") - { - v_msg="Attention! cette famille a déjà consommé!"; - v_msgEng="Warning! this family has already consumed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Changercollege/"); -} - -function changer_college_adherent() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchangercollege/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function enregistrer_changement_college() -{ - idCollege=$("#idCollege").val(); - idCollegeOld=$("#idCollegeOld").val(); - - if (idCollege==idCollegeOld) - { - v_msg="Veuillez sélectionner un autre collège!"; - v_msgEng="Please select a another college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function enregistrer_limite_additionnelle() -{ - nbAliment=$("#nbAliment").val(); - - if (nbAliment<"1") - { - v_msg="Veuillez sélectionner les familles concernées!"; - v_msgEng="Please select the families concerned!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - cumulPlafond=$("#cumulPlafond").val(); - - // alert("cumulPlafond => "+cumulPlafond); - // return; - - if (cumulPlafond<="1") - { - v_msg="Veuillez saisir les limites additionnelles!"; - v_msgEng="Please enter the additional limits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ces limites additionnelles?"; - v_msgEng="Do you confirm these additional limits?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichelimiteadditionnelle/enregistrerlimiteadditionnelle/"); - } -} - -function selection_college(p_choix,p_id_college_temp) -{ - donnees = 'idCollegeTemp='+p_id_college_temp; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlimiteadditionnelle/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_additionnelle(); - } - }); -} - -function modifier_college_temp(p_id_college_temp) -{ - if (p_id_college_temp>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiercollegetemp/"+p_id_college_temp+"/"); - } -} - -function maj_limite_additionnelle(idGarantie, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majplafondadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function maj_prime_additionnelle(idGarantie, primeOption, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&primeOption="+primeOption; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majprimeadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college(); - controle.focus(); - } - }); - } -} - -function enregistrer_college_temp() -{ - $("#btn_enreg").click(); -} - -function recapituler_limite_additionnelle() -{ - var div_primes = $('#div_primes'); - - $.ajax({ - url: $("#racineWeb").val()+"Recaplimiteadd/", - type: 'POST', - success: function(data) { - div_primes.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recapituler_limite_college() -{ - var div_recap = $('#div_recap'); - - $.ajax({ - url: $("#racineWeb").val()+"Recaplimitecollege/", - type: 'POST', - success: function(data) { - div_recap.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function changer_limite() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etatadh=$("#codeEtatAdherent_C").val(); - - if (etatadh != "V") - { - v_msg="Attention! cette famille n\'est pas en vigueur!"; - v_msgEng="Warning! this family is not in force!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - rapport_sp_police=$("#rapport_sp_police").val(); - if(rapport_sp_police>"0.70") - { - v_msg="Attention! S/P > 70%"; - v_msgEng="Warbing! Loss Ratio > 70%"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlimiteaddadherent/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Changerlimite/"); - } - }); -} - -function maj_limite_add_adherent(idGarantie, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadherent/majplafondadherent/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function enregistrer_changement_limite() -{ - $("#btn_enreg").click(); -} - -function pop_afficher_selection_limite(p_id_college_temp) -{ - var div_selection_assure = $('#div_selection_assure'); - donnees = 'id_college_temp='+p_id_college_temp; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionlimite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_selection_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function selection_famille_limite(p_choix,p_idBeneficiaire) -{ - donnees = 'idBeneficiaire='+p_idBeneficiaire; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionlimite/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college_simple(); - } - }); -} - - -function recapituler_limite_college_simple() -{ - $.ajax({ - url: $("#racineWeb").val()+"Recaplimitecollege/recapituler/", - type: 'POST', - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_additionnelle(); - } - }); -} - -function selectionner_tout_limite(p_idCollegeTemp, p_choix) -{ - donnees = 'idCollegeTemp='+p_idCollegeTemp; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionlimite/selectionnertout/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college_simple(); - pop_afficher_selection_limite(p_idCollegeTemp); - } - }); -} - -function gestionbon() -{ - adminBon = $("#adminBon").val(); - - if (adminBon!="1") - { - v_msg="Accès refusé!"; - v_msgEng="Access denied!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb").val()+"Gestionbons/"); -} - -function getDenierNumeroBon() -{ - $("#msgErreur").html(""); - $("#div_wait").html(""); - - codeTypeBon=$("#codeTypeBon").val(); - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#msgErreur").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderniernumerobon/", - type : 'post', - data: "codeTypeBon="+codeTypeBon, - error: function(errorData) { - }, - success: function(data) { - $("#infodernierbon").html(data); - $("#msgErreur").html(""); - }, - complete: function() { - denierNumeroBon = $("#denierNumeroBon_info").val(); - denierNumeroBon = parseInt(denierNumeroBon); - $("#denierNumeroBon").val(denierNumeroBon); - $("#noDepart").val(denierNumeroBon+1); - $("#noFin").val(denierNumeroBon+50); - } - }); -} - -function genererbon() -{ - codePrestataire=$("#codePrestataire").val(); - codeTypeBon=$("#codeTypeBon").val(); - receptionnaire=$("#receptionnaire").val(); - - noDepart=$("#noDepart").val(); - noFin=$("#noFin").val(); - - if (noDepart=="") - { - noDepart="0"; - } - - if (noFin=="") - { - noFin="0"; - } - - noDepart = parseInt(noDepart); - noFin = parseInt(noFin); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - $("#btn_pop_prestataire").click(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - if (noFin  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgenererbons/genererBon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_page_entiere").html(data); - }, - complete: function() { - imprimer_livraison_bon(); - } - }); - } - }); - } -} - -function afficherbon() -{ - codePrestataire=$("#codePrestataire").val(); - - codeTypeBon=$("#codeTypeBon").val(); - codeEtatBon=$("#codeEtatBon").val(); - - noDepart=$("#noDepart").val(); - noFin=$("#noFin").val(); - - if (noDepart=="") - { - noDepart="0"; - } - - if (noFin=="") - { - noFin="0"; - } - - noDepart = parseInt(noDepart); - noFin = parseInt(noFin); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - if (noFin  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_bonpecs").html(data); - }, - complete: function() { - $("#nbligne").val("Nombre de bons affichés : "+$("#nbligne_info").val()); - } - }); -} - -function listergenerationbon() -{ - codePrestataire=$("#codePrestataire").val(); - codeTypeBon=$("#codeTypeBon").val(); - d1=$("#d1").val(); - d2=$("#d2").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeTypeBon='+codeTypeBon+'&d1='+d1+'&d2='+d2; - - $("#div_bonpecs").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxalistegenererbons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_bonpecs").html(data); - }, - complete: function() { - $("#nbligne").val("Nombre de lignes affichées : "+$("#nbligne_info").val()); - } - }); -} - -function listerdemandebon() -{ - codePrestataire=$("#codePrestataire").val(); - codeTypeBon=$("#codeTypeBon").val(); - d1=$("#d1").val(); - d2=$("#d2").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeTypeBon='+codeTypeBon+'&d1='+d1+'&d2='+d2; - - $("#div_bonpecs").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxalistedemandebon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_bonpecs").html(data); - }, - complete: function() { - } - }); -} - -function ajaxListerExclusions() -{ - $("#div_acte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexclureacte/", - type : 'post', - data: "idCollege="+$("#idCollege").val(), - error: function(errorData) { - }, - success: function(data) { - $("#div_acte").html(data); - } - }); -} - -function exclure_acte(p_choix, p_codeActe, id_exclusioncollege) -{ - donnees = 'idCollege='+$("#idCollege").val(); - donnees += '&id_exclusioncollege='+id_exclusioncollege; - donnees += '&codeActe='+p_codeActe; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexclureacte/exclure/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function separateur_millier(montant) -{ - montant = parseInt(montant); - montant.toLocaleString(); - return montant.toLocaleString(); -} - -function afficher_detail_generartionbon(idgenerationbon) -{ - if (idgenerationbon>"") - { - window.location.assign($("#racineWeb" ).val()+"Detailgenerationbon/"+idgenerationbon+"/"); - } -} - -function afficher_tarifoptique() -{ - var div_detail = $('#div_detail'); - - codeTarifOptique=$("#codeTarifOptique").val(); - libelleOptique=$("#libelleOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - /* - if(libelleOptique<=' ') - { - v_msg="Veuillez saisir un nom!"; - v_msgEng="Please enter a name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleOptique").focus(); - return; - } - */ - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleOptique='+libelleOptique; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifoptique/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_detail").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function maj_tarifoptique(idDetail, prix) -{ - donnees = 'idDetail='+idDetail+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifoptique/maj/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function supprimer_espace_nombre(nombre) -{ - // nombre = nombre.replace(" ", ""); - nombre = nombre.replace(/ /g, ""); - - if(isNaN(nombre)) - { - v_msg = nombre+" n\'est pas un nombre!"; - v_msgEng = nombre+" is not a number!"; - alert_ebene(v_msg, v_msgEng); - - return '0'; - } - nombre = parseInt(nombre); - return nombre; -} - -function afficher_tarifpharmacie() -{ - var div_detail = $('#div_detail'); - - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_detail").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function maj_tarifpharmacie(idDetail, prix) -{ - donnees = 'idDetail='+idDetail+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/maj/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function afficher_tarifacte() -{ - var div_detail = $('#div_detail'); - - codeTarifActe=$("#codeTarifActe").val(); - libelleActe=$("#libelleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(libelleActe<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&libelleActe='+libelleActe; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifacte/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_detail").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function maj_tarifacte(idDetail, prix) -{ - donnees = 'idDetail='+idDetail+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifacte/maj/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function gestiondiverses() -{ - adminDiv = $("#adminDiv").val(); - - if (adminDiv!="1") - { - v_msg="Accès refusé!"; - v_msgEng="Access denied!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Gestiondiverses/"); -} - - -function liste_derogation_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Listederogationsbenficiaire/"); -} - -function listerderogationbeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function accepter_derogation(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepterderogation/"+idDemandederogation+"/"); -} - -function refuser_derogation(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Refuserderogation/"+idDemandederogation+"/"); -} - -function enregistrerrefusderogation() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusderogation'; - typeSms="refusderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistrerrefusderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_beneficiaire(); - } - }); - } -} - -function enregistreraccordderogation() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - debut =$("#debut").val(); - fin =$("#fin").val(); - - codeDerogation = $("#codeDerogation").val(); - tmDerogation = $("#tmDerogation").val(); - tmDerogation = parseInt(tmDerogation); - - codePrestataire = $("#codePrestataire").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#debut").datepicker("getDate"); - var td2 = $("#fin").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if ((dt0>dt1) || dt1>dt2) - { - v_msg="Veuillez revoir les dates!"; - v_msgEng="Please review the dates!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeDerogation=="01" && tmDerogation<=0) - { - v_msg="Veuillez saisir le ticket modérateur!"; - v_msgEng="Please enter the user fees!"; - alert_ebene(v_msg, v_msgEng); - - $("#tmDerogation").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&debut='+debut+'&fin='+fin; - donnees += '&codeDerogation='+codeDerogation+'&tmDerogation='+tmDerogation+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordderogation'; - typeSms = "accordderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistreraccordderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_beneficiaire(); - } - }); - } -} - -function listerderogations() -{ - codePrestataire=$("#codePrestataire").val(); - codeDerogation=$("#codeDerogation").val(); - codeReponseDerogation=$("#codeReponseDerogation").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codePrestataire='+codePrestataire+'&codeDerogation='+codeDerogation+'&codeReponseDerogation='+codeReponseDerogation; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogations/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function accepter_derogation_2(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepterderogations/"+idDemandederogation+"/"); -} - -function refuser_derogation_2(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Refuserderogations/"+idDemandederogation+"/"); -} - -function enregistrerrefusderogation_2() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusderogation'; - typeSms="refusderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistrerrefusderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogations(); - } - }); - } -} - -function enregistreraccordderogation_2() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - debut = $("#debut").val(); - fin = $("#fin").val(); - - codeDerogation = $("#codeDerogation").val(); - tmDerogation = $("#tmDerogation").val(); - tmDerogation = parseInt(tmDerogation); - - codePrestataire = $("#codePrestataire").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#debut").datepicker("getDate"); - var td2 = $("#fin").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if (dt0>dt1 || dt1>dt2) - { - v_msg="Veuillez revoir les dates!"; - v_msgEng="Please review the dates!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeDerogation=="01" && tmDerogation<=0) - { - v_msg="Veuillez saisir le ticket modérateur!"; - v_msgEng="Please enter the user fees!"; - alert_ebene(v_msg, v_msgEng); - - $("#tmDerogation").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&debut='+debut+'&fin='+fin; - donnees += '&codeDerogation='+codeDerogation+'&tmDerogation='+tmDerogation+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordderogation'; - typeSms = "accordderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistreraccordderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogations(); - } - }); - } -} - -function liste_derogations() -{ - window.location.assign($("#racineWeb" ).val()+"Listederogations/"); -} - -function prestations() -{ - if ($("#idBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Prestations/"+$("#idBeneficiaire_C" ).val()+"/"); - } -} - -function dossiers() -{ - window.location.assign($("#racineWeb" ).val()+"Dossiers/"); -} - -function factures() -{ - window.location.assign($("#racineWeb" ).val()+"Factures/"); -} - -function listerdossier() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossiers/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function selectionner_feuille_maladie(no) -{ - $("#numeroFeuilleMaladie_C" ).val(no); -} - -function selectionner_facture(idFacture) -{ - $("#idFacture_C" ).val(idFacture); -} - -function afficher_feuille_maladie() -{ - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C" ).val(); - - if (numeroFeuilleMaladie>"") - { - ajax_context_feuille_maladie_afficher(numeroFeuilleMaladie); - } -} - -function ajax_context_feuille_maladie_afficher(numeroFeuilleMaladie) -{ - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfeuillemaladie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Feuillemaladiecons/"); - } - }); -} - -function afficher_facture() -{ - idFacture=$("#idFacture_C" ).val(); - - if (idFacture>"") - { - ajax_context_facture_afficher(idFacture); - } -} - -function ajax_context_facture_afficher(idFacture) -{ - donnees = 'idFacture='+idFacture; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Facture/"); - } - }); -} - -function listerfacture() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactures/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function sinistres() -{ - adminDiv = $("#adminDiv").val(); - - if (adminDiv!="1") - { - v_msg="Accès refusé!"; - v_msgEng="Access denied!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Rechercheprestations/"); -} - - -function afficher_pharmacie(numeroBonOrdonnance, codePrestataireLivraison) -{ - donnees = 'numeroBonOrdonnance='+numeroBonOrdonnance+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpharmaciencien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Pharmaciencons/"); - } - }); -} - -function afficher_optique(numeroBonOptique, codePrestataireLivraison) -{ - donnees = 'numeroBonOptique='+numeroBonOptique+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextopticien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Opticiencons/"); - } - }); -} - -function fraisfuneraire() -{ - window.location.assign($("#racineWeb" ).val()+"Fraisfuneraire/"); -} - - -function demanderfraisfuneraire() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - - if (fraisFuneraireDemande==1) - { - v_msg="Déjà effectuée!"; - v_msgEng="Already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Demandefraisfuneraire/"); -} - - -function modifierdemanderfraisfuneraire() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Déjà effectuée!"; - v_msgEng="Already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Modifierfraisfuneraire/"); -} - - -function payerfraisfuneraire() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==0) - { - v_msg="Aucune Demande de Règlement!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Payerfraisfuneraire/"); -} - -function enregistrerdemandefraisfuneraire() -{ - enVigueur=$("#enVigueur_C").val(); - codeEtatBeneficiaire=$("#codeEtatBeneficiaire_C").val(); - etatbeneficiaire=$("#etatbeneficiaire_C").val(); - - if (enVigueur!="1") - { - v_msg="Attention! cette personne n'est pas en vigueur,"; - v_msgEng="Warning! This person is not in force,"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - /* - if (codeEtatBeneficiaire!="V") - { - v_msg="Attention! "+etatbeneficiaire; - v_msgEng="Warning! "+etatbeneficiaire; - alert_ebene(v_msg, v_msgEng); - - return; - } - */ - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - causeDeces = $("#causeDeces").val(); - dateDeces=$("#dateDeces").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - fraisReel = $("#fraisReel").val(); - montantApayer = $("#montantApayer").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - if (causeDeces<=" ") - { - v_msg="Veuillez saisir la cause du décès!"; - v_msgEng="Please enter the cause of death"; - alert_ebene(v_msg, v_msgEng); - - $("#causeDeces").focus(); - return; - } - - if (dateDeces<=" ") - { - v_msg="Veuillez saisir la date du décès!"; - v_msgEng="Please enter the date of death!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateDeces").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if(montantApayer<=" ") - { - montantApayer = "0"; - } - - if(montantApayer==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantApayer").focus(); - - return; - } - - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = $("#dateDeces").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateDeces").focus(); - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - dateSortieBeneficiaire = $("#dateSortieBeneficiaire_C").val(); - var tdd = new Date(dateSortieBeneficiaire); - dtd = Math.round(Date.parse(tdd)/(1000*3600*24)); - - if(dateSortieBeneficiaire>"2000-01-01") - { - if (dt1>dtd) - { - v_msg="Attention! cette personne n'est pas couverte à cette date!"; - v_msgEng="Warning! This person is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - } - - v_msg="Confirmez-vous cette demande de frais funéraires?"; - v_msgEng="Do you confirm this request for funeral fees?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - donnees += '&fraisReel='+fraisReel+'&montantApayer='+montantApayer; - donnees += '&causeDeces='+causeDeces+'&dateDeces='+dateDeces; - donnees += '&observations='+observations; - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - donnees_sav = donnees; - - typeMail='fraisfuneraire'; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/enregistrerdemandefraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire(); - } - }); - } -} - -function listerfraisfuneraires() -{ -} - -function enregistrermodificationsfraisfuneraire() -{ - - idFraisfuneraire = $("#idFraisfuneraire").val(); - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - causeDeces = $("#causeDeces").val(); - dateDeces=$("#dateDeces").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - fraisReel = $("#fraisReel").val(); - montantApayer = $("#montantApayer").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - if (causeDeces<=" ") - { - v_msg="Veuillez saisir la cause du décès!"; - v_msgEng="Please enter the cause of death"; - alert_ebene(v_msg, v_msgEng); - - $("#causeDeces").focus(); - return; - } - - if (dateDeces<=" ") - { - v_msg="Veuillez saisir la date du décès!"; - v_msgEng="Please enter the date of death!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateDeces").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - - if(montantApayer<=" ") - { - montantApayer = "0"; - } - - if(montantApayer==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantApayer").focus(); - - return; - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice=$("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = $("#dateDeces").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date de consultation!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - donnees += '&fraisReel='+fraisReel+'&montantApayer='+montantApayer; - donnees += '&causeDeces='+causeDeces+'&dateDeces='+dateDeces; - donnees += '&observations='+observations+'&idFraisfuneraire='+idFraisfuneraire; - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/enregistrermodificationsfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Modifications effectuées avec succès!"; - v_msgEng="Changes made successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire() - } - }); - } -} - - -function initierdecompte() -{ - codePeriodeMax = $("#codePeriodeMax").val(); - - codePrestataire=$("#codePrestataire").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - codePeriodeCourant = codeExercice+codeMois; - - if (codePeriodeCourant>codePeriodeMax) - { - v_msg="Veuillez revoir la période!"; - v_msgEng="Please review the period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#inforegle").html(data); - }, - complete: function() { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0 || regle==2 || regle==3 || regle==8) - { - afficherdecompte(); - } - else - { - // 9 => Décompte validé mais en attente de règlemen - // 1 => Décompte réglé - consulterdecompte(); - } - } - }); -} - -function liste_decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Listedecomptes/"); -} - -function decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Initdecompte/"); -} - -function afficherdecompte() -{ - window.location.assign($("#racineWeb" ).val()+"Decompte/"); -} - -function re_afficherdecompte() -{ - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - window.location.assign($("#racineWeb" ).val()+"Decompte/"); -} - -function rechargerfacture() -{ - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/rechargerfacture/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - afficherdecompte(); - }, - complete: function() { - } - }); -} - -function reinitialiserdecompte() -{ - v_msg="Remettre le décompte à zéro. Confirmez-vous cette opération?"; - v_msgEng="Reset the counts. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/reinitialiserdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - afficherdecompte(); - }, - complete: function() { - } - }); - } -} - -function afficher_feuille_maladie_dec() -{ - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C").val(); - - if (numeroFeuilleMaladie>"") - { - ajax_context_feuille_maladie_afficher_dec(numeroFeuilleMaladie); - } -} - -function ajax_context_feuille_maladie_afficher_dec(numeroFeuilleMaladie) -{ - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfeuillemaladie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Feuillemaladiedec/"); - } - }); -} - -function afficher_optique_dec(numeroBonOptique, codePrestataireLivraison) -{ - donnees = 'numeroBonOptique='+numeroBonOptique+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextopticien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Opticiendec/"); - } - }); -} - -function afficher_pharmacie_dec(numeroBonOrdonnance, codePrestataireLivraison) -{ - donnees = 'numeroBonOrdonnance='+numeroBonOrdonnance+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpharmaciencien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Pharmaciendec/"); - } - }); -} - -function maj_montantForce(idFacture, montantForce) -{ - donnees = 'idFacture='+idFacture+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxentetedecompte/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#reglement").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function afficherfacturenoncharge() -{ -} - -function afficherfactureattente() -{ -} - -function valider_facture(idFacture, numeroFeuilleMaladie, p_choix, codeTypeFacture) -{ - donnees = 'idFacture='+idFacture+'&choix='+p_choix+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&codeTypeFacture='+codeTypeFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxvaliderfacture/validerfacture/", - type: 'POST', - data: donnees, - success: function(data) { - $("#reglement").html(data); - - montantForce_val = $("#montantForce_val").val(); - montantApayer_val = $("#montantApayer_val").val(); - montantRedresse_val = $("#montantRedresse_val").val(); - montantRedresse_sans_format = $("#montantRedresse_sans_format").val(); - observations_val = $("#observations_val").val(); - - ctrl_montantForce.html(montantForce_val); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - - ctrl_montantRedresse.html(montantRedresse_val); - }, - error: function(data) { - }, - complete: function() - { - // alert("p_choix2 => "+p_choix); - - if ( (montantRedresse_sans_format!=0) && (observations_val<=" ") || (p_choix=="2")) - { - maj_observations_facture(idFacture, observations_val); - } - } - }); -} - -function maj_observations_facture(idFacture, observations) -{ - v_msg="Veuillez saisir ou modifier les observations!"; - v_msgEng="Please enter or edit comments!"; - - observations = prompt_ebene(v_msg, v_msgEng, observations); - - if(observations==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idFacture='+idFacture+"&observations="+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majobservations/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function afficher_div_wait() -{ - $("#div_wait").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); -} - -function effacer_div_wait() -{ - $("#div_wait").html(""); -} - -function rechercheprestations_form() -{ - $("#frmrechercheprestation").submit(); -} - -function consulterdecompte() -{ - // detail_reglement - var div_wait = $('#detail_reglement'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - window.location.assign($("#racineWeb" ).val()+"Decomptecons/"); -} - - -function maj_bordereau_decompte(idReglement, numeroBordereau) -{ - v_msg="Veuillez saisir ou modifier le No de bordereau!"; - v_msgEng="Please enter or modify the slip number!"; - - numeroBordereau = prompt_ebene(v_msg, v_msgEng, numeroBordereau); - - if(numeroBordereau==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idReglement='+idReglement+"&numeroBordereau="+numeroBordereau; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majbordereaudecompte/", - type: 'POST', - data: donnees, - success: function(data) { - $("#numeroBordereauDecompte").val(numeroBordereau); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function validerdecompte_premier() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle>0) - { - v_msg="1ère validation déjà effectuée!"; - v_msgEng="1st validation already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - nbNonTraite = $("#nbNonTraite").val(); - if (nbNonTraite!="0") - { - v_msg="Vous avez "+nbNonTraite+" facture(s) non traitée(s)!"; - v_msgEng="You have "+nbNonTraite+" bill(s) not processed!"; - - alert_ebene(v_msg, v_msgEng); - - return; - } - - montantPrestataire = $("#montantPrestataire").val(); - if (montantPrestataire<="0") - { - v_msg="Veuillez indiquer le montant réclamé par le prestataire! => Réception facture"; - v_msgEng="Please indicate the amount claimed by the provider! => Invoice receipt"; - alert_ebene(v_msg, v_msgEng); - - $('#btn_pop_reception').click(); - - return; - } - - nbExclues = $("#nbExclues").val(); - if (nbExclues<="0") - { - v_msg="Confirmez-vous qu'il n'y a pas de factures à exclure?"; - v_msgEng="Do you confirm that there are no invoices to exclude?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - } - - v_msg="Confirmez-vous la 1ère validation?"; - v_msgEng="Do you confirm the 1st validation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/validerdecomptepremier/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - - prestataire = $("#prestataire").val(); - numeroDecompte = $("#numeroDecompte").val(); - numeroLotDecompte = $("#numeroLotDecompte").val(); - periode = $("#periode").val(); - - - p_message = prestataire+" "; - - p_message += "\n"; - p_message += "Decompte : Attente Valid. prestat. / Waiting for provider valid."; - - p_message += "\n"; - p_message += "Periode : "+periode; - - p_message += "\n"; - p_message += "No Decompte : "+numeroDecompte; - - p_message += "\n"; - p_message += "No Lot : "+numeroLotDecompte; - - envoyer_messagerie(p_message, "0"); - }, - complete: function() - { - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficherdecompte(); - } - }); - } -} - -function validerdecompte() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==0) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==2) - { - v_msg="En attente de la validation du prestataire!"; - v_msgEng="Waiting for the validation of the provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ( (regle==3) || (regle==8) ) - { - v_msg="Confirmez-vous la 2ème validation?"; - v_msgEng="Do you confirm the 2nd validation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/validerdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - consulterdecompte(); - } - }); - } - } -} - -function afficher_div_wait() -{ - $("#div_page_complet").disable(); -} - -function effacer_div_wait() -{ - $("#div_wait").html(""); -} - - -function imprimerbordereaudecompte() -{ - idReglement = $("#idReglement").val(); - - if (idReglement>"0") - { - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/imprimerbordereaudecompte", - type: 'POST', - success: function(data) - { - div_wait.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } -} - -function reglerdecompte() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==0) - { - v_msg="Aucune Demande de Règlement!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Reglerdecompte/"); -} - - -function enregistrerreglementdecompte() -{ - idReglement = $("#idReglement").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce règelement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idReglement='+idReglement+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/enregistrerreglementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - consulterdecompte(); - }, - complete: function() { - } - }); - } -} - -function preparesms(typeSms) -{ - envoismsactif = $("#envoismsactif").val(); - if(envoismsactif=="0") - { - return; - } - - codeLangueSociete = $("#codeLangueSociete").val(); - - p_destinataires = ""; - p_message = ""; - creation_message = "1"; - - if (typeSms=="accordderogation") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroDerogation = $("#numeroDerogation").val(); - libelleDerogation = $("#libelleDerogation").val(); - tmDerogation = $("#tmDerogation").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Exemption granted for : " : "Derogation accordee pour : "; - p_message += libelleDerogation; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroDerogation; - } - - if (typeSms=="refusderogation") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroDerogation = $("#numeroDerogation").val(); - libelleDerogation = $("#libelleDerogation").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Exemption refused for : " : "Derogation refusee pour : "; - p_message += libelleDerogation; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroDerogation; - } - - if (typeSms=="accordententeprealable") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleActe = $("#libelleActe").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Act granted : " : "Acte accorde : "; - p_message += libelleActe; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealable") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleActe = $("#libelleActe").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Act refused : " : "Acte refuse : "; - p_message += libelleActe; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusacteexclu") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroAutorisation = $("#numeroAutorisation").val(); - libelleActe = $("#libelleActe").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - p_message += "Acte refuse : "+libelleActe+" "; - p_message += "\n"; - p_message += "No demande : "+numeroAutorisation; - } - - if (typeSms=="accordacteexclu") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroAutorisation = $("#numeroAutorisation").val(); - libelleActe = $("#libelleActe").val(); - - prixTarif = $("#prixTarif").val(); - valeurActe = $("#valeurActe").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - p_message += "Acte accorde : "+libelleActe+" "; - p_message += "\n"; - - p_message +="Tarif convention : "+prixTarif+" FRW "; - p_message +="Tarif accorde : "+valeurActe+" FRW "; - - p_message += "No demande : "+numeroAutorisation; - } - - if (typeSms=="accordententeprealablepha") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleMedicament = $("#libelleMedicament").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Drug granted : " : "Medicament accorde : "; - p_message += libelleMedicament; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealablepha") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleMedicament = $("#libelleMedicament").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Drug refused : " : "Medicament refuse : "; - p_message += libelleMedicament; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="accordententeprealableopt") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleOptique = $("#libelleOptique").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Glasses granted : " : "Verres accordes : "; - p_message += libelleOptique; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealableopt") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleOptique = $("#libelleOptique").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Glasses refused : " : "Verres refuses : "; - p_message += libelleOptique; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="accordententeprealablemont") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Optical frame : granted" : "Monture accordee"; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealablemont") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Optical frame : refused" : "Monture refuse"; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - envoyersms(p_destinataires, p_message, creation_message); -} - - -function liste_ententeprealables() -{ - actVisible=$("#actVisible").val(); - - // if (actVisible!="1" && modeSaisieFacture!="1") - if (actVisible!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Listeententeprealables/"); -} - -function liste_actes_exclus() -{ - window.location.assign($("#racineWeb" ).val()+"Listeexclusions/"); -} - -function listeententeprealables() -{ - codePrestataire=$("#codePrestataire").val(); - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codePrestataire='+codePrestataire+'&codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealables/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function accepter_ententeprealable_2(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealables/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable_2(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealables/"+idDemandeententeprealable+"/"); -} - -// - -function accepter_ententeprealable(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealable/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealable/"+idDemandeententeprealable+"/"); -} - -function liste_ententeprealable_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablesbenficiaire/"); -} - -function liste_actes_exclus_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Listeexclusionsbenficiaire/"); -} - -function enregistreraccordententepreslable_2() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail="accordententeprealable"; - typeSms = "accordententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables(); - } - }); - } -} - -function enregistrerrefusententepreslable_2() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealable'; - typeSms="refusententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables(); - } - }); - } -} - -function listerententeprealablebeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function enregistreraccordententepreslable() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealable'; - typeSms = "accordententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealable_beneficiaire(); - } - }); - } -} - -function enregistrerrefusententepreslable() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealable'; - typeSms="refusententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealable_beneficiaire(); - } - }); - } -} - -function afficher_decompte(idFacture, montantForce) -{ - donnees = 'idFacture='+idFacture+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxentetedecompte/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#reglement").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function ctrlkeypress_tarifmedicament(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_tarifpharmacie(); - } -} - -function ctrlkeypress_tarifacte(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_tarifacte(); - } -} - -function ctrlkeypress_tarifoptique(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_tarifoptique(); - } -} - -function consulter_sinistres() -{ - window.location.assign($("#racineWeb" ).val()+"Consultations/"); -} - -function liste_dossiers() -{ - window.location.assign($("#racineWeb" ).val()+"Listedossiers/"); -} - -function liste_factures() -{ - window.location.assign($("#racineWeb" ).val()+"Listefactures/"); -} - -function lister_dossiers() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - donnees = 'd1='+d1+'&d2='+d2+'&codePrestataire='+codePrestataire; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistedossiers/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function lister_factures() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - donnees = 'd1='+d1+'&d2='+d2+'&codePrestataire='+codePrestataire; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefactures/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - - -function listeactesexclus() -{ - codePrestataire = $("#codePrestataire").val(); - codeReponseAutorisation = $("#codeReponseAutorisation").val(); - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'codePrestataire='+codePrestataire+'&codeReponseAutorisation='+codeReponseAutorisation; - donnees += '&debut='+debut+'&fin='+fin; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactesexclus/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function refuser_acte_exclu_2(idDemandeautorisation) -{ - window.location.assign($("#racineWeb" ).val()+"Refuseracteexclus/"+idDemandeautorisation+"/"); -} - -function refuser_acte_exclu(idDemandeautorisation) -{ - - window.location.assign($("#racineWeb" ).val()+"Refuseracteexclu/"+idDemandeautorisation+"/"); -} - -function enregistrerrefus_acte_exclu_2() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - - donnees_sav = donnees; - typeMail='refusacteexclu'; - typeSms="refusacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus(); - } - }); - } -} - -function accepter_acte_exclu_2(idDemandeautorisation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepteracteexclus/"+idDemandeautorisation+"/"); -} - -function accepter_acte_exclu(idDemandeautorisation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepteracteexclu/"+idDemandeautorisation+"/"); -} - -function enregistreraccord_acte_exclu_2() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - - prixTarif = $("#prixTarif").val(); - valeurActe = $("#valeurActe").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if(valeurActe==0 || parseFloat(valeurActe)>parseFloat(prixTarif)) - { - v_msg="Veuillez revoir le tarif!"; - v_msgEng="Please review rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#valeurActe").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&valeurActe='+valeurActe; - - donnees_sav = donnees; - typeMail='accordacteexclu'; - typeSms="accordacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus(); - } - }); - } -} - -function listeracteexclubeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactesexclusbenficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function enregistrerrefus_acte_exclu() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - - donnees_sav = donnees; - typeMail='refusacteexclu'; - typeSms="refusacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus_beneficiaire(); - } - }); - } -} - -function enregistreraccord_acte_exclu() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - - prixTarif = $("#prixTarif").val(); - valeurActe = $("#valeurActe").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if(valeurActe==0 || parseFloat(valeurActe)>parseFloat(prixTarif)) - { - v_msg="Veuillez revoir le tarif!"; - v_msgEng="Please review rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#valeurActe").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&valeurActe='+valeurActe; - - donnees_sav = donnees; - typeMail='accordacteexclu'; - typeSms="accordacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus_beneficiaire(); - } - }); - } -} - -function verifier_feuille_maladie_dec(numeroFeuilleMaladie, idFacture, codeTypeFacture) -{ - $("#numeroFeuilleMaladie_C").val(numeroFeuilleMaladie); - numeroDecompte = $("#numeroDecompte").val(); - - if (idFacture>"0") - { - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie+'&numeroDecompte='+numeroDecompte+'&idFacture='+idFacture; - - codeTypePrestataire = $("#codeTypePrestataire").val(); - - if(codeTypeFacture=="CSO" || codeTypeFacture=="LAB" || codeTypeFacture=="SEA") - { - verifier_feuille_maladie_dec_cso(donnees); - } - else - if(codeTypeFacture=="PHAR" || codeTypeFacture=="PHA") - { - verifier_feuille_maladie_dec_pha(donnees); - } - else - if(codeTypeFacture=="OPT") - { - verifier_feuille_maladie_dec_opt(donnees); - } - } -} - -function verifier_feuille_maladie_dec_cso(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function verifier_feuille_maladie_dec_pha(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacturepha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - - -function verifier_feuille_maladie_dec_pha_cons(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacturephacons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - - -function valider_facture_dec() -{ - ndPrestNonTraites=$("#ndPrestNonTraites").val(); - - if (ndPrestNonTraites>"0") - { - v_msg="Des prestations non traitées!"; - v_msgEng="Unprocessed benefits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - codeTypeFacture = $("#codeTypeFacture").val(); - - donnees = 'idFacture='+idFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - v_msg="Confirmez-vous ces montants?"; - v_msgEng="Do you confirm these amounts?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/validerfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - montantForce_dec = $("#montantForce_dec").val(); - montantApayer_dec = $("#montantApayer_dec").val(); - montantRedresse_dec = $("#montantRedresse_dec").val(); - - ctrl_montantForce.html(montantForce_dec); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - - ctrl_montantRedresse.html(montantRedresse_dec); - - $("#btn_close_pop").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_recap_decompte(); - } - }); - } -} - -function afficher_recap_decompte() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxentetedecompte/", - success: function(data) { - $("#reglement").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_prestation(idPrestationactes, p_choix) -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idPrestationactes='+idPrestationactes+"&choix="+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/validerprestation/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_prestation_pha(idPrestationactes, p_choix) -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idPrestationactes='+idPrestationactes+"&choix="+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/validerprestation/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function maj_montantForce_prestation(idPrestationactes, montantForce) -{ - donnees = 'idPrestationactes='+idPrestationactes+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reinit_facture_dec() -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idFacture='+idFacture+"&numeroFeuilleMaladie="+numeroFeuilleMaladie; - - v_msg="Confirmez-vous la ré-initialisation?"; - v_msgEng="Do you confirm the re-initialization?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/reinitfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function reinit_facture_dec_pha() -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idFacture='+idFacture+"&numeroFeuilleMaladie="+numeroFeuilleMaladie; - - v_msg="Confirmez-vous la ré-initialisation?"; - v_msgEng="Do you confirm the re-initialization?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/reinitfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - - -function maj_montantForce_prestation_pha(idPrestationactes, montantForce) -{ - donnees = 'idPrestationactes='+idPrestationactes+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_facture_dec_pha() -{ - ndPrestNonTraites=$("#ndPrestNonTraites").val(); - - if (ndPrestNonTraites>"0") - { - v_msg="Des prestations non traitées!"; - v_msgEng="Unprocessed benefits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - codeTypeFacture = $("#codeTypeFacture").val(); - - donnees = 'idFacture='+idFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - v_msg="Confirmez-vous ces montants?"; - v_msgEng="Do you confirm these amounts?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/validerfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - montantForce_dec = $("#montantForce_dec").val(); - montantApayer_dec = $("#montantApayer_dec").val(); - montantRedresse_dec = $("#montantRedresse_dec").val(); - - ctrl_montantForce.html(montantForce_dec); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - ctrl_montantRedresse.html(montantRedresse_dec); - - $("#btn_close_pop").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_recap_decompte(); - } - }); - } -} - - -function verifier_feuille_maladie_dec_cons(numeroFeuilleMaladie, idFacture, codeTypeFacture) -{ - $("#numeroFeuilleMaladie_C").val(numeroFeuilleMaladie); - numeroDecompte = $("#numeroDecompte").val(); - - if (idFacture>"0") - { - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie+'&numeroDecompte='+numeroDecompte+'&idFacture='+idFacture; - - codeTypePrestataire = $("#codeTypePrestataire").val(); - - if(codeTypeFacture=="CSO" || codeTypeFacture=="LAB" || codeTypeFacture=="SEA") - { - verifier_feuille_maladie_dec_cso_cons(donnees); - } - else - if(codeTypeFacture=="PHAR" || codeTypeFacture=="PHA") - { - verifier_feuille_maladie_dec_pha_cons(donnees); - } - else - if(codeTypeFacture=="OPT") - { - verifier_feuille_maladie_dec_opt_cons(donnees); - } - } -} - -function verifier_feuille_maladie_dec_cso_cons(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacturecons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function requetes() -{ - window.location.assign($("#racineWeb" ).val()+"Requetes/"); -} - - -function ajaxenteterequete() -{ - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - donnees = 'codeRequete='+codeRequete; - - v_url = $("#racineWeb").val()+"Ajaxrequeteentete"+codeRequete+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function requetes_feuilles_maladie() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_feuilles_maladie_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function ctrlkeypress_medecin(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_medecin(); - } -} - -function afficher_pop_recherche_medecin() -{ - - noOrdreMedecin = $("#noOrdreMedecin").val(); - nomsearch = $("#nomsearch").val(); - - if(noOrdreMedecin+nomsearch<=" ") - return; - - donnees = "valid=1&noOrdreMedecin="+noOrdreMedecin+"&nomsearch="+nomsearch; - - $("#div_listemedecins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemedecins/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listemedecins").html(data); - } - }); -} - -function selectionner_medecin(codeMedecin, nomMedecin, noOrdreMedecin) -{ - $("#codeMedecin").val(codeMedecin); - $("#nomMedecin").html(nomMedecin+" ( "+noOrdreMedecin+" )"); - $("#close_pop").click(); -} - -function reinitialiser_medecin() -{ - $("#codeMedecin").val(""); - $("#nomMedecin").html("Rechercher Médecin..."); - $("#close_pop").click(); -} - - -function requetes_bonpoec() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - codeTypeBon = $("#codeTypeBon").val(); - codeEtatBon = $("#codeEtatBon").val(); - - // Ligne 2 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - numeroBon1 = $("#numeroBon1").val(); - numeroBon2 = $("#numeroBon2").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBon1 = convertir_en_entier(numeroBon1); - numeroBon2 = convertir_en_entier(numeroBon2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&codeTypeBon=' + codeTypeBon; - donnees += '&codeEtatBon=' + codeEtatBon; - - // Ligne 2 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&numeroBon1=' + numeroBon1; - donnees += '&numeroBon2=' + numeroBon2; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_bonpoec_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - codeTypeBon = $("#codeTypeBon").val(); - codeEtatBon = $("#codeEtatBon").val(); - - // Ligne 2 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - numeroBon1 = $("#numeroBon1").val(); - numeroBon2 = $("#numeroBon2").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBon1 = convertir_en_entier(numeroBon1); - numeroBon2 = convertir_en_entier(numeroBon2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&codeTypeBon=' + codeTypeBon; - donnees += '&codeEtatBon=' + codeEtatBon; - - // Ligne 2 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&numeroBon1=' + numeroBon1; - donnees += '&numeroBon2=' + numeroBon2; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function requetes_prestationactes() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - datePrestation1 = $("#datePrestation1").val(); - datePrestation2 = $("#datePrestation2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - ententePrealable = $("#ententePrealable").val(); - numeroChambre = $("#numeroChambre").val(); - facture = $("#facture").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 5 - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&datePrestation1=' + datePrestation1; - donnees += '&datePrestation2=' + datePrestation2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codeTypePrestation=' + codeTypePrestation; - donnees += '&ententePrealable=' + ententePrealable; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&facture=' + facture; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 5 - donnees += '&libelleActe=' + libelleActe; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_prestationactes_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - datePrestation1 = $("#datePrestation1").val(); - datePrestation2 = $("#datePrestation2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - ententePrealable = $("#ententePrealable").val(); - numeroChambre = $("#numeroChambre").val(); - facture = $("#facture").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 5 - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&datePrestation1=' + datePrestation1; - donnees += '&datePrestation2=' + datePrestation2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codeTypePrestation=' + codeTypePrestation; - donnees += '&ententePrealable=' + ententePrealable; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&facture=' + facture; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 5 - donnees += '&libelleActe=' + libelleActe; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_pharmacie() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleMedicament = $("#libelleMedicament").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleMedicament=' + libelleMedicament; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_pharmacie_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleMedicament = $("#libelleMedicament").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleMedicament=' + libelleMedicament; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_optique() -{ - $('#div_export').html(""); - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleOptique = $("#libelleOptique").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleOptique=' + libelleOptique; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_optique_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleOptique = $("#libelleOptique").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleOptique=' + libelleOptique; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function requetes_assure() -{ - $('#div_export').html(""); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 2 - numeroPolice = $("#numeroPolice").val(); - codeProduit = $("#codeProduit").val(); - codeEtatPolice = $("#codeEtatPolice").val(); - codeLienParente = $("#codeLienParente").val(); - codeEtatBeneficiaire = $("#codeEtatBeneficiaire").val(); - sexe = $("#sexe").val(); - - // Ligne 3 - numeroClient1 = $("#numeroClient1").val(); - numeroClient2 = $("#numeroClient2").val(); - telephonePortableAdherent = $("#telephonePortableAdherent").val(); - emailAdherent = $("#emailAdherent").val(); - decede = $("#decede").val(); - nomClient = $("#nomClient").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroClient1 = convertir_en_entier(numeroClient1); - numeroClient2 = convertir_en_entier(numeroClient2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 2 - donnees += '&numeroPolice=' + numeroPolice; - donnees += '&codeProduit=' + codeProduit; - donnees += '&codeEtatPolice=' + codeEtatPolice; - donnees += '&codeLienParente=' + codeLienParente; - donnees += '&codeEtatBeneficiaire=' + codeEtatBeneficiaire; - donnees += '&sexe=' + sexe; - - // Ligne 3 - donnees += '&numeroClient1=' + numeroClient1; - donnees += '&numeroClient2=' + numeroClient2; - donnees += '&telephonePortableAdherent=' + telephonePortableAdherent; - donnees += '&emailAdherent=' + emailAdherent; - donnees += '&decede=' + decede; - donnees += '&nomClient=' + nomClient; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function(data) { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_assure_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 2 - numeroPolice = $("#numeroPolice").val(); - codeProduit = $("#codeProduit").val(); - codeEtatPolice = $("#codeEtatPolice").val(); - codeLienParente = $("#codeLienParente").val(); - codeEtatBeneficiaire = $("#codeEtatBeneficiaire").val(); - sexe = $("#sexe").val(); - - // Ligne 3 - numeroClient1 = $("#numeroClient1").val(); - numeroClient2 = $("#numeroClient2").val(); - telephonePortableAdherent = $("#telephonePortableAdherent").val(); - emailAdherent = $("#emailAdherent").val(); - decede = $("#decede").val(); - nomClient = $("#nomClient").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroClient1 = convertir_en_entier(numeroClient1); - numeroClient2 = convertir_en_entier(numeroClient2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 2 - donnees += '&numeroPolice=' + numeroPolice; - donnees += '&codeProduit=' + codeProduit; - donnees += '&codeEtatPolice=' + codeEtatPolice; - donnees += '&codeLienParente=' + codeLienParente; - donnees += '&codeEtatBeneficiaire=' + codeEtatBeneficiaire; - donnees += '&sexe=' + sexe; - - // Ligne 3 - donnees += '&numeroClient1=' + numeroClient1; - donnees += '&numeroClient2=' + numeroClient2; - donnees += '&telephonePortableAdherent=' + telephonePortableAdherent; - donnees += '&emailAdherent=' + emailAdherent; - donnees += '&decede=' + decede; - donnees += '&nomClient=' + nomClient; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function consulter_limite_avant_facturation() -{ - facture=$("#facture").val(); - - if (facture==0) - { - v_msg="Pas encore facturée!"; - v_msgEng="Not yet charged!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturecons/"); -} - -function consulter_limite_avant_facturation_dec() -{ - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturecdec/"); -} - -function limite_avant_facture_dec(idFacture) -{ - donnees = 'idFacture='+idFacture; - $.ajax({ - url: $("#racineWeb").val()+"AjaxPlafondavantfacturecdec/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_limites").html(data); - }, - complete: function() { - } - }); -} - -function afficher_pharmacien() -{ - window.location.assign($("#racineWeb" ).val()+"Pharmaciencons/"); -} - -function afficher_pharmacien_dec() -{ - window.location.assign($("#racineWeb" ).val()+"Pharmaciendec/"); -} - - -function consulter_limite_avant_facturation_pha() -{ - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturephacons/"); -} - -function consulter_limite_avant_facturation_pha_dec() -{ - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturephadec/"); -} - - -function imprimer_livraison_bon() -{ - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlivraisonbons/", - type: 'POST', - success: function(data) - { - div_wait.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function convertir_en_entier(valeur) -{ - if(isNaN(valeur)) - { - valeur = "0"; - } - - if (valeur=="") - { - valeur="0"; - } - - valeur = parseInt(valeur); - - return valeur; -} - -function verifier_feuille_maladie_dec_opt(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfactureopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function valider_prestation_opt(idPrestationactes, p_choix) -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idPrestationactes='+idPrestationactes+"&choix="+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/validerprestation/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function maj_montantForce_prestation_opt(idPrestationactes, montantForce) -{ - donnees = 'idPrestationactes='+idPrestationactes+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reinit_facture_dec_opt() -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idFacture='+idFacture+"&numeroFeuilleMaladie="+numeroFeuilleMaladie; - - v_msg="Confirmez-vous la ré-initialisation?"; - v_msgEng="Do you confirm the re-initialization?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/reinitfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function valider_facture_dec_opt() -{ - ndPrestNonTraites=$("#ndPrestNonTraites").val(); - - if (ndPrestNonTraites>"0") - { - v_msg="Des prestations non traitées!"; - v_msgEng="Unprocessed benefits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - codeTypeFacture = $("#codeTypeFacture").val(); - - donnees = 'idFacture='+idFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - v_msg="Confirmez-vous ces montants?"; - v_msgEng="Do you confirm these amounts?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/validerfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - montantForce_dec = $("#montantForce_dec").val(); - montantApayer_dec = $("#montantApayer_dec").val(); - montantRedresse_dec = $("#montantRedresse_dec").val(); - - ctrl_montantForce.html(montantForce_dec); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - - ctrl_montantRedresse.html(montantRedresse_dec); - - $("#btn_close_pop").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_recap_decompte(); - } - }); - } -} - -function verifier_feuille_maladie_dec_opt_cons(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfactureoptcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function supprimer_empreinte_digitale() -{ - finger_id_C=$("#finger_id_C" ).val(); - - if(finger_id_C<1) - { - v_msg="Pas d\'empreinte digitale!"; - v_msgEng="No fingerprint!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - motif=$("#motif").val(); - - if (motif<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#motif").focus(); - return; - } - - v_msg="Confirmez-vous la suppression de l\'empreinte digitale?"; - v_msgEng="Do you confirm the deletion of the fingerprint?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'motif='+motif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsupprimerempreinte/supprimerempreinte/", - type : 'post', - data: donnees, - success: function(data) { - v_msg="Empreinte digitale ré-initialisée avec succès!"; - v_msgEng="Fingerprint re-initialized successfully!"; - alert_ebene(v_msg, v_msgEng); - - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Supprimerempreinte/"); - } - }); - } -} - -function remboursement_classique() -{ - window.location.assign($("#racineWeb" ).val()+"Remboursementclassique/"); -} - -function listerremboursementbeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesclassiques/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function nouvelle_facture_classique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Factureclassique/"); -} - - -function enregistrerfacture_classique_temp() -{ - prestataire = $("#prestataire").val(); - - if (prestataire<=" ") - { - v_msg="Veuillez indiquer le prestataire!"; - v_msgEng="Please indicate the provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#prestataire").focus(); - return; - } - - dateFacture=$("#dateFacture").val(); - - if (dateFacture<=" ") - { - v_msg="Veuillez saisir la date de la facture!"; - v_msgEng="Please enter the date of the invoice!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateFacture").focus(); - return; - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - dateConsultation = $("#dateConsultation").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = new Date(dateConsultation); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - var td4 = $("#dateFacture").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - dt4=Math.round(Date.parse(td4)/(1000*3600*24)); - - if (dt4dt2) - { - v_msg="La date des Prestations ne peut être supérieure à la date du jour!"; - v_msgEng="The date of the Services can not be greater than today"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - if (dt4>dt3 || dt40) - { - v_msg="Attention ! Dépassement de limite"; - v_msgEng="Warning ! Overflow"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function consulter_facture_classique(idFacture) -{ - window.location.assign($("#racineWeb" ).val()+"Consulteractureclassique/"+idFacture+"/"); -} - -function consulter_limite_avant_facturation_classique() -{ - idFacture=$("#idFacture_C").val(); - - if (idFacture==0) - { - v_msg="Pas encore facturée!"; - v_msgEng="Not yet charged!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Plafondavantfactureclassique/"); -} - -function retour_facture_classique() -{ - idFacture=$("#idFacture_C").val(); - window.location.assign($("#racineWeb" ).val()+"Consulteractureclassique/"+idFacture+"/"); -} - -function payerfactureclassique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Payerfactureclassique/"); -} - - -function ajaxcommissionautre() -{ - donnees = "codeApporteur="+$("#codeCommercial").val()+"&codeEtape="+$("#codeEtape").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcommissionautre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infocommautre").html(data); - }, - complete: function() { - $("#tauxCommissionAutre").val( $("#tauxCommissionautre_info").val()); - } - }); -} - -function creer_optiontarif() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la création d\'une nouvelle option?"; - v_msgEng="Do you confirm the creation of a new option?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouvelleoptiontarif/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - - }, - complete: function() { - v_msg="Nouvelle option créée avec succès!"; - v_msgEng="New option created successfully!"; - alert_ebene(v_msg, v_msgEng); - - // afficher_police_d_id(); - window.location.assign($("#racineWeb" ).val()+"Fichedevis/"); - } - }); - } -} - -function actualiser_liste_college_d() -{ - numeroOptionTarif = $("#numeroOptionTarif").val(); - - donnees = "numeroOptionTarif="+numeroOptionTarif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecolleged/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listecollege").html(data); - }, - complete: function() { - } - }); -} - -function supprimer_option() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroOptionTarif = $("#numeroOptionTarif").val(); - - donnees = "numeroOptionTarif="+numeroOptionTarif; - - v_msg="Confirmez-vous la suppression de cette option?"; - v_msgEng="Do you confirm the deletion of this option?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecolleged/supprimeroption/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Option supprimée avec succès!"; - v_msgEng="Option removed successfully!"; - alert_ebene(v_msg, v_msgEng); - - afficher_police_d_id(); - } - }); - } -} - -function texte_cpd() -{ - window.location.assign($("#racineWeb" ).val()+"Textecpd/"); -} - -function prestataire_en_plus() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairenplus/"); -} - -function prestataire_en_moins() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairenmoins/"); -} - - -function ajouter_un_prestataire_en_plus(codePrestataire) -{ - donnees = 'codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenplus/ajouterunprestataireenplus/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function retirer_un_prestataire_en_plus(idPrestation) -{ - donnees = 'idPrestation='+idPrestation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenplus/retirer/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajax_maj_tm_en_plus(idPrestation, tm, controle) -{ - tm=tm.replace(",","."); - controle.value=tm; - - donnees = 'idPrestation='+idPrestation+"&tm="+tm; - - if(controle_numerique(controle)) - { - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenplus/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function ajouter_un_prestataire_en_moins(codePrestataire) -{ - donnees = 'codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenmoins/ajouterunprestataireenmoins/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function retirer_un_prestataire_en_moins(idPrestation) -{ - donnees = 'idPrestation='+idPrestation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenmoins/retirer/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function prestataire_en_plus_cons() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairenpluscons/"); -} - -function afficher_prestataire_en_plus() -{ - idCollege = $("#idCollege").val(); - - donnees = 'idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenpluscons/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function exporter_liste_assures_sans_format() -{ - $('#div_export_assures_sans_format').html(''); - - $("#btn_liste_assures_sans_format").click(); -} - -// - -function requetes_demandederogations() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroDerogation1 = $("#numeroDerogation1").val(); - numeroDerogation2 = $("#numeroDerogation2").val(); - - // Ligne 3 - codeDerogation = $("#codeDerogation").val(); - codeReponseDerogation = $("#codeReponseDerogation").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroDerogation1 = convertir_en_entier(numeroDerogation1); - numeroDerogation2 = convertir_en_entier(numeroDerogation2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroDerogation1=' + numeroDerogation1; - donnees += '&numeroDerogation2=' + numeroDerogation2; - - // Ligne 3 - donnees += '&codeDerogation=' + codeDerogation; - donnees += '&codeReponseDerogation=' + codeReponseDerogation; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_demandederogations_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroDerogation1 = $("#numeroDerogation1").val(); - numeroDerogation2 = $("#numeroDerogation2").val(); - - // Ligne 3 - codeDerogation = $("#codeDerogation").val(); - codeReponseDerogation = $("#codeReponseDerogation").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroDerogation1 = convertir_en_entier(numeroDerogation1); - numeroDerogation2 = convertir_en_entier(numeroDerogation2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroDerogation1=' + numeroDerogation1; - donnees += '&numeroDerogation2=' + numeroDerogation2; - - // Ligne 3 - donnees += '&codeDerogation=' + codeDerogation; - donnees += '&codeReponseDerogation=' + codeReponseDerogation; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function requetes_ententeprealable() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroEntentePrealable1 = $("#numeroEntentePrealable1").val(); - numeroEntentePrealable2 = $("#numeroEntentePrealable2").val(); - - // Ligne 3 - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroEntentePrealable1 = convertir_en_entier(numeroEntentePrealable1); - numeroEntentePrealable2 = convertir_en_entier(numeroEntentePrealable2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroEntentePrealable1=' + numeroEntentePrealable1; - donnees += '&numeroEntentePrealable2=' + numeroEntentePrealable2; - - // Ligne 3 - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - // Ligne 4 - donnees += '&libelleActe=' + libelleActe; - donnees += '&beneficiaire=' + beneficiaire; - - donnees += '&adherent=' + adherent; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_ententeprealable_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroEntentePrealable1 = $("#numeroEntentePrealable1").val(); - numeroEntentePrealable2 = $("#numeroEntentePrealable2").val(); - - // Ligne 3 - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroEntentePrealable1 = convertir_en_entier(numeroEntentePrealable1); - numeroEntentePrealable2 = convertir_en_entier(numeroEntentePrealable2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroEntentePrealable1=' + numeroEntentePrealable1; - donnees += '&numeroEntentePrealable2=' + numeroEntentePrealable2; - - // Ligne 3 - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - // Ligne 4 - donnees += '&libelleActe=' + libelleActe; - donnees += '&beneficiaire=' + beneficiaire; - - donnees += '&adherent=' + adherent; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function statistiques() -{ - window.location.assign($("#racineWeb" ).val()+"Initstatistiques/"); -} - -function initierstatistiques() -{ - dateAnalyse = $("#dateAnalyse").val(); - debutArchivageFr = $("#debutArchivageFr").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutArchivageFr").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // datejourfr_C - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - td2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutArchivageFr - - if ((dt1==dt0)) - { - v_msg="Journée non ecore archivée!"; - v_msgEng="No archived day!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ((dt1>dt0)) - { - v_msg="Date trop grande!"; - v_msgEng="Date too big!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // /* mis en commentaire le 28/08/2018 pour les tests - if ((dt1  ' + 'Chargment en temps réel. Veuillez patienter...' + ''); - } - else - { - $("#div_attente").html('
  ' + 'Chargement archive du '+dateAnalyse+'. Veuillez patienter...' + '
'); - } - */ - - // $("#div_attente").html('
  ' + 'Chargement archive du '+dateAnalyse+'. Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinitstat/initstat/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficherstat(); - } - }); -} - -function initierstatistiques_non_archives() -{ - dateAnalyse = $("#dateAnalyse").val(); - debutArchivageFr = $("#debutArchivageFr").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutArchivageFr").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // datejourfr_C - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - td2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutArchivageFr - - if ((dt1>dt0)) - { - v_msg="Date trop grande!"; - v_msgEng="Date too big!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinitstat/initstat/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficherstatnonarchives(); - } - }); -} - -function afficherstat() -{ - window.location.assign($("#racineWeb" ).val()+"Statistiques/"); -} - - -function afficherstatnonarchives() -{ - window.location.assign($("#racineWeb" ).val()+"Statistiquesnonarchives/"); -} - -function reinitialiser_prestataire() -{ - $("#codePrestataire").val(""); - - $("#close_pop").click(); - - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - $("#libelleApporteur").html("All / Search Provider..."); - - } - else - { - $("#nomPrestataire").html("Tous / Rechercher Prestataire ..."); - } - -} - -function ctrlkeypress_prestataire(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_prestataire(); - } -} - -function afficher_pop_recherche_prestataire() -{ - codesearch = $("#codesearch").val(); - nomsearch = $("#nomsearch").val(); - - if(codesearch+nomsearch<=" ") - return; - - donnees = "valid=1&codesearch="+codesearch+"&nomsearch="+nomsearch; - - $("#div_listeprestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestataires/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeprestataires").html(data); - } - }); -} - -function selectionner_prestataire(codePrestataire, nomPrestataire) -{ - $("#codePrestataire").val(codePrestataire); - $("#nomPrestataire").html(nomPrestataire); - $("#close_pop").click(); -} - -// 2 - -function reinitialiser_prestataire2() -{ - $("#codePrestataire").val(""); - $("#nomPrestataire").html("Tous / Rechercher Prestataire ..."); - $("#close_pop2").click(); -} - -function ctrlkeypress_prestataire2(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_prestataire2(); - } -} - -function afficher_pop_recherche_prestataire2() -{ - codesearch = $("#codesearch2").val(); - nomsearch = $("#nomsearch2").val(); - - if(codesearch+nomsearch<=" ") - return; - - donnees = "valid=1&codesearch="+codesearch+"&nomsearch="+nomsearch; - - $("#div_listeprestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairesb/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeprestataires").html(data); - } - }); -} - -function selectionner_prestataire2(codePrestataire, nomPrestataire) -{ - $("#codePrestataire").val(codePrestataire); - $("#nomPrestataire").html(nomPrestataire); - $("#close_pop2").click(); -} - -function prestataire_tm() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairetm/"); -} - -function ajouter_un_prestataire_tm(codePrestataire) -{ - donnees = 'codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetm/ajouterunprestatairetm/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function retirer_un_prestataire_tm(idPrestation) -{ - donnees = 'idPrestation='+idPrestation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetm/retirer/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajax_maj_tm_tm(idPrestation, tm, controle) -{ - tm=tm.replace(",","."); - controle.value=tm; - - donnees = 'idPrestation='+idPrestation+"&tm="+tm; - - if(controle_numerique(controle)) - { - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetm/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function prestataire_tm_cons() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairetmcons/"); -} - -function afficher_prestataire_tm() -{ - idCollege = $("#idCollege").val(); - - donnees = 'idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetmcons/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function de_archiver_garantie_college(idCollege) -{ - v_msg="Confirmez-vous le désarchivage des garanties de ce collège?"; - v_msgEng="Do you confirm the unarchivity of the guarantees of this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchivergarntie/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - college_police(); - } - }); - } -} - -function ajaxentetestat() -{ - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - donnees = 'codeEtat='+codeEtat; - - v_url = $("#racineWeb").val()+"Ajaxetatentete"+codeEtat+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -// - -function etat_cumul_prestataire() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_cumul_prestataire_export() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// factures cleints - -function requetes_factures_client() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroDecompte1 = $("#numeroDecompte1").val(); - numeroDecompte2 = $("#numeroDecompte2").val(); - hospitalisation = $("#hospitalisation").val(); - numeroChambre = $("#numeroChambre").val(); - chirurgie = $("#chirurgie").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroDecompte1=' + numeroDecompte1; - donnees += '&numeroDecompte2=' + numeroDecompte2; - - donnees += '&hospitalisation=' + hospitalisation; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&chirurgie=' + chirurgie; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_factures_client_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroDecompte1 = $("#numeroDecompte1").val(); - numeroDecompte2 = $("#numeroDecompte2").val(); - hospitalisation = $("#hospitalisation").val(); - numeroChambre = $("#numeroChambre").val(); - chirurgie = $("#chirurgie").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroDecompte1=' + numeroDecompte1; - donnees += '&numeroDecompte2=' + numeroDecompte2; - - donnees += '&hospitalisation=' + hospitalisation; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&chirurgie=' + chirurgie; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function etat_cumul_type_prestataire() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_cumul_type_prestataire_export() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_detail_facture_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// cumul par mois - -function etat_cumul_mois() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_cumul_mois_export() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -// raport SP - -function etat_rapport_sp_exo() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_exo_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function etat_rapport_sp() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function charger_detail_stat_prestataire() -{ - $('#div_export_b').html(""); - codePrestataire = $("#codePrestataire").val(); - donnees = "codePrestataire="+codePrestataire; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetefactureprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function afficher_detail_stat_prestataire(codePrestataire) -{ - $('#div_export_b').html(""); - $("#codePrestataire").val(codePrestataire); - $("#btn_pop_detail").click(); -} - - -function afficher_detail_stat_type_prestataire(codeReseau) -{ - $('#div_export_b').html(""); - $("#codeReseau").val(codeReseau); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_type_prestataire() -{ - $('#div_export_b').html(""); - codeReseau = $("#codeReseau").val(); - donnees = "codeReseau="+codeReseau; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetefacturetypeprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function afficher_detail_stat_prestataire_mois(codePrestataire, mois) -{ - $('#div_export_b').html(""); - $("#codePrestataire").val(codePrestataire); - $("#mois").val(mois); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_prestataire_mois() -{ - $('#div_export_b').html(""); - - codePrestataire = $("#codePrestataire").val(); - mois = $("#mois").val(); - - donnees = "codePrestataire="+codePrestataire+"&mois="+mois; - - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetefactureprestatairemois/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function maj_date_sortie() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Majdatesortie/"); -} - -function enregistrer_maj_date_sortie() -{ - codeEtatBeneficiaire=$("#codeEtatBeneficiaire").val(); - - motifSortie=$("#motifSortie").val(); - - if (motifSortie<" ") - { - v_msg="Veuillez indiquer le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce changement?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function etat_rapport_sp_cat() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_rapport_sp_cat_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_rapport_sp_pol_cat() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_rapport_sp_pol_cat_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// etat DG - -function etat_rapport_sp_pol_cat_det() -{ - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - - -function etat_rapport_sp_pol_cat_det_export() -{ - - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function saisirefacdecompte() -{ - idSaisieDecompte = $("#idSaisieDecompte" ).val(); - lienPrestation_C = $("#lienPrestation_C" ).val(); - lienProduction_C = $("#lienProduction_C" ).val(); - - v_url = lienPrestation_C+"/Connexiondecompte/"+idSaisieDecompte; - - if (idSaisieDecompte>"") - { - window.location.assign(v_url); - } -} - -// etat 10 - -function etat_rapport_sp_cat_det() -{ - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_rapport_sp_cat_det_export() -{ - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function creer_substitut_non_assure() -{ - v_msg="Confirmez-vous la substitution?"; - v_msgEng="question"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - nomSubstitut = $("#nomSubstitut").val(); - prenomsSubstitut = $("#prenomsSubstitut").val(); - codeLienSubstitut = $("#codeLienSubstitut").val(); - codeNaturePiece = $("#codeNaturePiece").val(); - numeroPieceSubstitut = $("#numeroPieceSubstitut").val(); - sexeSubstitut = $("#sexeSubstitut").val(); - dateNaissanceSubstitut = $("#dateNaissanceSubstitut").val(); - telephonePortableSubstitut = $("#telephonePortableSubstitut").val(); - - donnees = "nomSubstitut="+nomSubstitut; - donnees += "&prenomsSubstitut="+prenomsSubstitut; - - donnees += "&codeLienSubstitut="+codeLienSubstitut; - donnees += "&codeNaturePiece="+codeNaturePiece; - donnees += "&numeroPieceSubstitut="+numeroPieceSubstitut; - donnees += "&sexeSubstitut="+sexeSubstitut; - donnees += "&dateNaissanceSubstitut="+dateNaissanceSubstitut; - donnees += "&telephonePortableSubstitut="+telephonePortableSubstitut; - - $.ajax({ - - url: $("#racineWeb").val()+"Ajaxsubstitutnonassure/creersubstitutnonassure/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Substitut créé avec succès!"; - v_msgEng="Substitute successfully created!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - prestations(); - } - }); - } -} - - -function supprimer_substitut_non_assure() -{ - idSubstitut = $("#idSubstitut_C").val(); - - v_msg="Confirmez-vous la suppression du substitut?"; - v_msgEng="Do you confirm the removal of the substitute?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - motifSortie = ""; - - v_msg="Supprimé pour quel motif?"; - v_msgEng="Deleted for what reason?"; - - motifSortie = prompt_ebene(v_msg, v_msgEng, motifSortie); - if (motifSortie<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idSubstitut='+idSubstitut+'&motifSortie='+motifSortie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsubstitutnonassure/supprimersubstitutnonassure/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Substitut supprimé avec succès!"; - v_msgEng="Substitute successfully removed!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - prestations(); - } - }); - } -} - -// Polices non renouvellées - -function etat_polices_non_renouvellees() -{ - $('#div_export_a').html(""); - - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_polices_non_renouvellees_export() -{ - $('#div_export_a').html(""); - - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function maj_plafond_gar_opt(idGarantie, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majplafondopt/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function derogation_medicament() -{ - window.location.assign($("#racineWeb" ).val()+"Derogationmedicement/"); -} - - -function refuser_derogation_medicament(idCollege) -{ - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/refuserderogationmedicament/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - derogation_medicament(); - } - }); - } -} - - -function accorder_derogation_medicament(idCollege) -{ - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/accorderderogationmedicament/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - derogation_medicament(); - } - }); - } -} - - -function afficher_detail_stat_police(idPolice, emailRapport) -{ - $('#div_export_b').html(""); - $("#idPolice").val(idPolice); - $("#emailRapport").val(emailRapport); - $("#emailRapport_0").val(emailRapport); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_police() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportsp/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_police_pdf() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportsppdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_police_facture() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function charger_detail_stat_police_garantie() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function charger_detail_stat_police_facture_pdf() -{ - - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfacturepdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function charger_detail_stat_police_garantie_pdf() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantiepdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function de_archiver_adherent(idAherent) -{ - v_msg="Confirmez-vous le désarchivage de cette famille?"; - v_msgEng="Do you confirm the unarchiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - adherents_police(); - } - }); - } -} - -function archiver_adherent(idAherent) -{ - v_msg="Confirmez-vous l\'archivage de cette famille?"; - v_msgEng="Do you confirm the archiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - adherents_police(); - } - }); - } -} - -function archiver_adherent_fiche(idAherent) -{ - v_msg="Confirmez-vous l\'archivage de cette famille?"; - v_msgEng="Do you confirm the archiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function de_archiver_adherent_fiche(idAherent) -{ - v_msg="Confirmez-vous le désarchivage de cette famille?"; - v_msgEng="Do you confirm the unarchiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function archiver_beneficiaire(idBeneficiaire) -{ - v_msg="Confirmez-vous l\'archivage de cette personne?"; - v_msgEng="Do you confirm the archiving of this person?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archiverbeneficiaire/", - type : 'post', - data: "idBeneficiaire="+idBeneficiaire, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function de_archiver_beneficiaire(idBeneficiaire) -{ - v_msg="Confirmez-vous le désarchivage de cette personne?"; - v_msgEng="Do you confirm the unarchiving of this person?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchiverbeneficiaire/", - type : 'post', - data: "idBeneficiaire="+idBeneficiaire, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function afficher_lite_prestataire() -{ - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - donnees += '&codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestataireparametrage/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_prestataire").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_prestataire_id(idPrestataire) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheprestataire/"+idPrestataire+"/"); -} - -function modifier_prestataire() -{ - idPrestataire = $("#idPrestataire" ).val(); - - if (idPrestataire>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierprestataire/"+idPrestataire+"/"); - } -} - -function enregistrer_modif_prestataire() -{ - idPrestataire = $("#idPrestataire").val(); - libelle = $("#libelle").val(); - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTarifMedicament = $("#codeTarifMedicament").val(); - codeTarifOptique = $("#codeTarifOptique").val(); - codePays = $("#codePays").val(); - villeSignature = $("#villeSignature").val(); - codeTypeDecompte = $("#codeTypeDecompte").val(); - adresseGeo = $("#adresseGeo").val(); - numeroCompte = $("#numeroCompte").val(); - adressePost = $("#adressePost").val(); - conventionne = $("#conventionne").val(); - gestionreseau = $("#gestionreseau").val(); - emailGestionPrestataire = $("#emailGestionPrestataire").val(); - - // Prise en compte des comptes bancaires prestataire - codeBanque = $("#codeBanque").val(); - codeBanqueInterne = $("#codeBanqueInterne").val(); - codeGuichet = $("#codeGuichet").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - cleRib = $("#cleRib").val(); - iban = $("#iban").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - // - - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - smsGestionPrestataire = $("#smsGestionPrestataire").val(); - registreCommerce = $("#registreCommerce").val(); - - codeLanguePrestataire = $("#codeLangueUser").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom du prestataire!"; - v_msgEng="Please enter the name of the provider"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(codeTypePrestataire<=" ") - { - v_msg="Veuillez indiquer le type de prestataire!"; - v_msgEng="Please indicate the type of provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestataire").focus(); - return; - } - - if(codeReseau<=" ") - { - v_msg="Veuillez indiquer le réseau!"; - v_msgEng="Please indicate the care network!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeReseau").focus(); - return; - } - - if (codeTypePrestataire=="CSO" || codeTypePrestataire=="DEN" || codeTypePrestataire=="HRW" || codeTypePrestataire=="LAB"|| codeTypePrestataire=="SEA") - { - if (codeTarifActe<" ") - { - v_msg="Veuillez fournir le tarif des actes!"; - v_msgEng="Please provide the rates of the acts!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - } - - if (codeTypePrestataire=="PHA") - { - if (codeTarifMedicament<" ") - { - v_msg="Veuillez fournir le tarif des médicaments!"; - v_msgEng="Please provide the price of the drugs!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - } - - if (codeTypePrestataire=="OPT") - { - if (codeTarifOptique<" ") - { - v_msg="Veuillez fournir le tarif optique!"; - v_msgEng="Please provide the optical rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - } - - if(villeSignature<=" ") - { - v_msg="Veuillez indiquer la ville de signature!"; - v_msgEng="Please indicate the city of signature!"; - alert_ebene(v_msg, v_msgEng); - - $("#villeSignature").focus(); - return; - } - - if(codeTypeDecompte<=" ") - { - v_msg="Veuillez indiquer la type de décompte!"; - v_msgEng="Please indicate the type of count!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDecompte").focus(); - return; - } - - if(conventionne<=" ") - { - v_msg="Le prestataire est-il conventionné ou pas?"; - v_msgEng="Do the provider have an convetion or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#conventionne").focus(); - return; - } - - if(gestionreseau<=" ") - { - v_msg="Tenir compte des réseaux de soins ou pas?"; - v_msgEng="Consider care networks or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#gestionreseau").focus(); - return; - } - - if(codeLanguePrestataire<=" ") - { - v_msg="Veuillez sélectionner une langue"; - v_msgEng="Please select a language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if(registreCommerce.length<9) - { - v_msg="Veuillez revoir le TIN"; - v_msgEng="Please review the TIN"; - alert_ebene(v_msg, v_msgEng); - - $("#registreCommerce").focus(); - return; - } - - donnees = 'idPrestataire='+idPrestataire+'&libelle='+libelle+'&codeTypePrestataire='+codeTypePrestataire; - donnees += '&codeReseau='+codeReseau+'&codeTarifActe='+codeTarifActe+'&codeTarifMedicament='+codeTarifMedicament; - donnees += '&codeTarifOptique='+codeTarifOptique+'&codePays='+codePays+'&villeSignature='+villeSignature; - donnees += '&codeTypeDecompte='+codeTypeDecompte+'&adresseGeo='+adresseGeo+'&numeroCompte='+numeroCompte; - donnees += '&adressePost='+adressePost+'&conventionne='+conventionne+'&gestionreseau='+gestionreseau+'&emailGestionPrestataire='+emailGestionPrestataire; - - donnees += '&codeBanque='+codeBanque+'&codeBanqueInterne='+codeBanqueInterne+'&codeGuichet='+codeGuichet; - donnees += '&numeroCompteBancaire='+numeroCompteBancaire+'&cleRib='+cleRib+'&iban='+iban+'&intituleCompteBancaire='+intituleCompteBancaire; - - donnees += '&codeVille='+codeVille+'&codeLocalite='+codeLocalite+'&smsGestionPrestataire='+smsGestionPrestataire+'®istreCommerce='+registreCommerce; - - donnees += '&codeLanguePrestataire='+codeLanguePrestataire; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_prestataire_id(); - } - }); - } -} - -function retour_prestataire_id() -{ - idPrestataire = $("#idPrestataire").val(); - afficher_prestataire_id(idPrestataire); -} - -function requetes_factures_leger() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - // Ligne 1 - donnees += 'dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_leger_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - // Ligne 1 - donnees += 'dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function liste_ententeprealables_pha() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablespha/"); -} - -function listeententeprealablespha() -{ - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablespha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function accepter_ententeprealable_pha(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealablespha/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable_pha(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealablespha/"+idDemandeententeprealable+"/"); -} - -function enregistreraccordententepreslable_pha() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - prixAccorde = $("#prixAccorde").val(); - quantiteAccorde = $("#quantiteAccorde").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - prixAccorde=prixAccorde.replace(",","."); - $("#prixAccorde").val(prixAccorde); - - if(isNaN(prixAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#prixAccorde").val("0"); - $("#prixAccorde").focus(); - return; - } - - if(prixAccorde==0) - { - $("#prixAccorde").focus(); - v_msg="Veuillez saisir le prix!"; - v_msgEng="Please enter the price!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // qte accordee - - quantiteAccorde=quantiteAccorde.replace(",","."); - $("#quantiteAccorde").val(quantiteAccorde); - - if(isNaN(quantiteAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#quantiteAccorde").val("0"); - $("#quantiteAccorde").focus(); - return; - } - - if(quantiteAccorde==0) - { - $("#quantiteAccorde").focus(); - v_msg="Veuillez saisir la quantité!"; - v_msgEng="Please enter the quantity!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // fin qte accordee - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&prixAccorde='+prixAccorde+'&quantiteAccorde='+quantiteAccorde; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealablepha'; - typeSms = "accordententeprealablepha"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealablepha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_pha(); - } - }); - } -} - -function enregistrerrefusententepreslable_pha() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealablepha'; - typeSms="refusententeprealablepha"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealablepha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_pha(); - } - }); - } -} - -function controle_longeur_passe(controle) -{ - longueur = controle.value.length; - - if(longueur==0) - { - return false; - } - - if(longueur<6) - { - v_msg="6 caractères minimum exigé!"; - v_msgEng="6 characters minmum required!"; - alert_ebene(v_msg, v_msgEng); - - controle.value=""; - controle.focus(); - return false; - } -} - -// 14/05/2018 - -function modifier_parametresgeneraux() -{ - window.location.assign($("#racineWeb" ).val()+"Modifierparametresgeneraux/"); -} - -function afficher_parametresgeneraux() -{ - window.location.assign($("#racineWeb" ).val()+"Parametresgeneraux/"); -} - -function enregistrer_modif_parametresgeneraux() -{ - idSocieteuser = $("#idSocieteuser").val(); - donnees = 'idSocieteuser='+idSocieteuser; - - emailMedecinConseil = $("#emailMedecinConseil").val(); - emailGestionBon = $("#emailGestionBon").val(); - donnees += '&emailMedecinConseil='+emailMedecinConseil+'&emailGestionBon='+emailGestionBon; - - - - emailCcomptabilite = $("#emailCcomptabilite").val(); - emailDerogation = $("#emailDerogation").val(); - emailAccordPrealable = $("#emailAccordPrealable").val(); - - donnees += '&emailCcomptabilite='+emailCcomptabilite+'&emailDerogation='+emailDerogation+'&emailAccordPrealable='+emailAccordPrealable; - - emailFraudeFinger = $("#emailFraudeFinger").val(); - email_standard = $("#email_standard").val(); - email_reply = $("#email_reply").val(); - - smsMedecinConseil = $("#smsMedecinConseil").val(); - - donnees += '&emailFraudeFinger='+emailFraudeFinger+'&email_standard='+email_standard+'&smsMedecinConseil='+smsMedecinConseil+'&email_reply='+email_reply; - - smsGestionBon = $("#smsGestionBon").val(); - smsDerogation = $("#smsDerogation").val(); - smsAccordPrealable = $("#smsAccordPrealable").val(); - - donnees += '&smsGestionBon='+smsGestionBon+'&smsDerogation='+smsDerogation+'&smsAccordPrealable='+smsAccordPrealable; - - /* - sms_standard = $("#sms_standard").val(); - donnees += '&sms_standard='+sms_standard; - */ - - codeLangueSociete = $("#codeLangueUser").val(); - - if(codeLangueSociete<=" ") - { - v_msg="Veuillez sélectionner une langue"; - v_msgEng="Please select a language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - donnees += '&codeLangueSociete='+codeLangueSociete; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_parametresgeneraux(); - } - }); -} - -function changer_verificateur() -{ - userCourant = $("#userCourant").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - - if(codeUtilisateur==userCourant) - { - v_msg="Vous êtes déjà le vérificateur!"; - v_msgEng="You are already the auditor!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous être le vérificateur?"; - v_msgEng="Do you confirm to be the auditor?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/changerverificateur/", - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - - codeUtilisateur = $("#userCourant").val(); - - $("#codeUtilisateur").val(codeUtilisateur); - - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function requetes_verification() -{ - - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_verificateur() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - // lert(donnees); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_verification_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_verificateur_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_rapport_sp_adheleve() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_detail_factures_famille(idAdherent) -{ - $('#div_export_b').html(""); - $("#idAdherent").val(idAdherent); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_adherent_facture_pdf() -{ - - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureadhpdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_adherent_garantie_pdf() -{ - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantieadhpdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_adherent_facture() -{ - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureadh/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_adherent_garantie() -{ - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantieadh/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function etat_rapport_sp_adheleve_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function users_prestataire() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire>" ") - { - window.location.assign($("#racineWeb" ).val()+"Usersprestaire/"); - } -} - -function reinitpaswd_prestataire(codeUtilisateur) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/reinitpaswd/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function ajouter_facture_dec() -{ - codePrestataire = $("#codePrestataire").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxajoutactesdec/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ajout_actes").html(data); - }, - complete: function() { - } - }); -} - -function ajax_actes_possibles_selection_dec() -{ - codeFamilleActe=$("#codeFamilleActe").val(); - - donnees = 'codeFamilleActe='+codeFamilleActe; - - $("#listeacte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactespossiblesselectiondec/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#listeacte").html(data); - }, - complete: function() { - } - }); -} - -function recap_ajout_acte_dec() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/", - type: 'POST', - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajouter_un_acte_selection_dec(codeActe, prixActe, montantTm, aRembourser, ententePrealable) -{ - donnee_a_affciher = ""; - - codeFamilleActe=$("#codeFamilleActe").val(); - - donnees="" - donnees_sav=""; - - if (codeActe<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(ententePrealable==1) - { - ententePrealable = "2"; - } - - donnees = 'codeFamilleActe='+codeFamilleActe+'&codeActe='+codeActe+'&ententePrealable='+ententePrealable; - donnees += '&prixActe='+prixActe+'&montantTm='+montantTm+'&aRembourser='+aRembourser; - - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C").val(); - - donnees_sav = 'codeActe='+codeActe+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&typeMail=mailententeprealable'; - - $("#div_prestations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherajoutactesdec/ajouteractedecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnee_a_affciher = data; - }, - complete: function() { - $("#div_prestations").html(donnee_a_affciher); - } - }); -} - -function retirer_un_acte_selection_dec(idActe) -{ - - donnee_a_affciher = ""; - - donnees = 'idActe='+idActe; - - $("#div_prestations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherajoutactesdec/retireractedecompte/", - type: 'post', - data: donnees, - success: function(data) { - donnee_a_affciher = data; - }, - error: function(data) { - }, - complete: function() { - $("#div_prestations").html(donnee_a_affciher); - } - }); -} - -function mail_detail_stat_police() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - emailRapport = $("#emailRapport").val(); - - emailRapport = emailRapport.trim(); - - if (emailRapport<=" ") - { - v_msg="Veuillez indiques les destinataires!"; - v_msgEng="Please indicate the recipients!"; - alert_ebene(v_msg, v_msgEng); - - $("#emailRapport").focus(); - return; - } - - mauvais_mail=false; - - email_err = ""; - - var addr = emailRapport.split(";"); - - addr.forEach(function(element) - { - if (test_adresse_email(element)==false) - { - email_err = element; - mauvais_mail = true; - // break; - return; - } - }); - - if(mauvais_mail==true) - { - v_msg="Veuillez revoir cette adresse : "+email_err; - v_msgEng="Please review this address : "+email_err ; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cet envoi?"; - v_msgEng="Do you confirm this sending?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idPolice="+idPolice+"&emailRapport="+emailRapport; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportmail/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - div_export.html(" "); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); - } -} - -function mail_detail_stat_police_facture() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - emailRapport = $("#emailRapport").val(); - - emailRapport = emailRapport.trim(); - - if (emailRapport<=" ") - { - v_msg="Veuillez indiques les destinataires!"; - v_msgEng="Please indicate the recipients!"; - alert_ebene(v_msg, v_msgEng); - - $("#emailRapport").focus(); - return; - } - - mauvais_mail=false; - - email_err = ""; - - var addr = emailRapport.split(";"); - - addr.forEach(function(element) - { - if (test_adresse_email(element)==false) - { - email_err = element; - mauvais_mail = true; - // break; - return; - } - }); - - if(mauvais_mail==true) - { - v_msg="Veuillez revoir cette adresse : "+email_err; - v_msgEng="Please review this address : "+email_err ; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet envoi?"; - v_msgEng="Do you confirm this sending?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idPolice="+idPolice+"&emailRapport="+emailRapport; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfacturemail/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - div_export.html(" "); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); - } -} - -function mail_detail_stat_police_garantie() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - emailRapport = $("#emailRapport").val(); - - emailRapport = emailRapport.trim(); - - if (emailRapport<=" ") - { - v_msg="Veuillez indiques les destinataires!"; - v_msgEng="Please indicate the recipients!"; - alert_ebene(v_msg, v_msgEng); - - $("#emailRapport").focus(); - return; - } - - mauvais_mail=false; - - email_err = ""; - - var addr = emailRapport.split(";"); - - addr.forEach(function(element) - { - if (test_adresse_email(element)==false) - { - email_err = element; - mauvais_mail = true; - // break; - return; - } - }); - - if(mauvais_mail==true) - { - v_msg="Veuillez revoir cette adresse : "+email_err; - v_msgEng="Please review this address : "+email_err ; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet envoi?"; - v_msgEng="Do you confirm this sending?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idPolice="+idPolice+"&emailRapport="+emailRapport; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantiemail/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - div_export.html(" "); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); - } - -} - -function test_adresse_email(email) -{ - var reg = new RegExp('^[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*@[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*[\.]{1}[a-z]{2,6}$', 'i'); - - if(reg.test(email)==false) - { - return(false); - } -} - -function reinitialiser_email_rapport() -{ - emailRapport = $("#emailRapport_0").val(); - $("#emailRapport").val(emailRapport); -} - -function consulter_derogation_2(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterderogations/"+idDemandederogation+"/"); -} - -function consulter_derogation(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterderogation/"+idDemandederogation+"/"); -} - -function consulter_ententeprealable_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealables/"+idDemandeententeprealable+"/"); -} - -function consulter_ententeprealable(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealable/"+idDemandeententeprealable+"/"); -} - - -function consulter_ententeprealable_pha_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealablespha/"+idDemandeententeprealable+"/"); -} - - -function pop_messagerie() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerieliste/", - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie").html(data); - }, - complete: function() { - $("#btn_pop_messagerie").click(); - } - }); -} - -function marquer_message_comme_lu(idMessagerie, controle) -{ - donnees = 'idMessagerie='+idMessagerie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerieliste/marquercommelu/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - controle.parentElement.removeChild(controle); - } - }); -} - -function envoyer_messagerie(textMessage, idParent) -{ - codePrestataire=$("#codePrestataire").val(); - - donnees = 'textMessage='+textMessage+"&idParent="+idParent+"&codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/creermessage/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - } - }); -} - -// gestion messagerie -function repondre_message(idMessagerie, idParent, codePrestataire, controle) -{ - donnees = 'idMessagerie='+idMessagerie+'&idParent='+idParent+'&codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessageriereponse/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie_reponse").html(data); - }, - complete: function() { - repondu = $("#repondu").val(); - if(repondu=="1") - { - v_msg="Déjà répondu!"; - v_msgEng="Already answered!"; - alert_ebene(v_msg, v_msgEng); - - controle.parentElement.removeChild(controle); - return; - } - else - { - $("#btn_pop_messagerie_reponse").click(); - } - } - }); -} - -function gerer_messagerie() -{ - window.location.assign($("#racineWeb").val()+"Messagerie/"); -} - -function afficher_lite_messagerie() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - messageLu = $("#messageLu").val(); - textMessage = $("#textMessage").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - donnees += '&messageLu=' + messageLu; - donnees += '&textMessage=' + textMessage; - donnees += '&codePrestataire=' + codePrestataire; - - $("#div_messagerie_gestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemessagerie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_messagerie_gestion").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function enregistrer_repondre_message() -{ - idMessagerie = $("#idMessagerie").val(); - idParent = $("#idParentReponse").val(); - - textMessage = $("#textMessageReponse").val(); - textMessage = textMessage.trim(); - - if (textMessage<=" ") - { - v_msg="Veuillez saisir la réponse!"; - v_msgEng="Please enter the answer!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageReponse").focus(); - return; - } - - donnees = 'idMessagerie='+idMessagerie+"&idParent="+idParent+"&textMessage="+textMessage; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/repondremessage/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#btn_pop_messagerie_reponse_quit").click(); - } - }); -} - -function historique_message(idParent) -{ - donnees = 'idParent='+idParent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessageriehistorique/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie_historique").html(data); - }, - complete: function() { - $("#btn_pop_messagerie_historique").click(); - } - }); -} - -// btn_pop_messagerie_new -function initiermessage() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#btn_search_prestataire").click(); - return; - } - - donnees = "codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerienew/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie_new").html(data); - }, - complete: function() { - $("#btn_pop_messagerie_new").click(); - } - }); -} - -function enregistrer_new_message() -{ - codePrestataire = $("#codePrestataire").val(); - - textMessage = $("#textMessageNew").val(); - textMessage = textMessage.trim(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#btn_pop_messagerie_new_quit").click(); - return; - } - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageNew").focus(); - return; - } - - donnees = "textMessage="+textMessage+"&idParent=0&codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/creermessage/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#btn_pop_messagerie_new_quit").click(); - } - }); -} - - -function imprimer_liste_assures_date() -{ - dateAnalyse = $("#dateAnalyse").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlisteassure/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_assures_date() -{ - dateAnalyse = $("#dateAnalyse_export").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_exporter_liste_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlisteassure/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_assures_sans_format_date() -{ - dateAnalyse = $("#dateAnalyse_sans_format").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_assures_sans_format'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlisteassure/exportersansformat", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function liste_assures_actifs() -{ - dateAnalyse = $("#dateAnalyse").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_assures_actifs'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxassuresactifs/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function liste_assures_actifs_export() -{ - dateAnalyse = $("#dateAnalyse").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_assures_actifs'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxassuresactifsexport/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -// RENOUVELLEMENT COURTE DUREE => 06/07/2018 -/* -function CalculerEcheanceRen() -{ - $("#dateEcheanceRen").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateAvenant").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "L": - $("#dateEcheanceRen").enable(); - typdate = $("#dateEcheanceRen").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - - $( "#dateEcheanceRen").datepicker( "setDate", typdate ); -} -*/ - -function CalculerEcheanceRen() -{ - $("#dateEcheanceRen").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateAvenant").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - case "L": - $("#dateEcheanceRen").enable(); - typdate = $("#dateEcheanceRen").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - $( "#dateEcheanceRen" ).datepicker( "setDate", typdate ); -} - -function CalculerFinRen() -{ - $("#dateFinRen").disable(); - - codeFractionnement=$("#codeFractionnement").val(); - - var typdate = $("#dateAvenant").datepicker("getDate"); - var dtech = $("#dateEcheanceRen").datepicker("getDate"); - - switch (codeFractionnement) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - default: - typdate.addMonths(12); - } - if (typdate>dtech) - { - typdate=dtech; - } - $( "#dateFinRen" ).datepicker( "setDate", typdate ); -} - -function ControlerEcheanceRen() -{ - codePeriodicite=$("#codePeriodicite").val(); - if (codePeriodicite!="L") return true; - else { - var eff = $("#dateAvenant").datepicker("getDate"); - var ech = $("#dateEcheanceRen").datepicker("getDate"); - - if (echeff.addMonths(12)) { - v_msg="Période supérieur à un an!"; - v_msgEng="Period greater than one year!"; - alert_ebene(v_msg, v_msgEng); - } - } -} - -function verifier_Echeance_ren() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - - if(codeTypeAvenant!="REN") - { - return; - } - - CalculerEcheanceRen(); - CalculerFinRen(); -} - -function factures_famille() -{ - window.location.assign($("#racineWeb" ).val()+"Facturesfamille/"); -} - - -function factures_famille_2() -{ - window.location.assign($("#racineWeb" ).val()+"Facturesfamilleadh/"); -} - -function listerfacturefamille() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesfamille/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - - -function ctrlkeypress_lite_prestataire(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_lite_prestataire(); - } -} - -function desactiver_user_prestataire(codeUtilisateur) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_prestataire(codeUtilisateur) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function consulter_une_factures() -{ - window.location.assign($("#racineWeb" ).val()+"Facturecons/"); -} - -function ctrlkeypressfacture(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#idFacture").blur(); - } -} - -function maj_date_reception_facture_decompte() -{ - dateReception = $("#dateReception_pop").val(); - - if(dateReception<=" ") - { - v_msg="Veuillez indicquer la date de réception!"; - v_msgEng="Please enter the date of receipt!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'dateReception='+dateReception; - - v_msg="Confirmez-vous cette date?"; - v_msgEng="Do you confirm this date?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majdatereception/", - type: 'POST', - data: donnees, - success: function(data) { - $("#btn_close_pop_reception").click(); - }, - error: function(data) { - }, - complete: function() { - - dateReception = $("#dateReception_pop").val(); - - $("#dateReception").val(dateReception); - $("#btn_dateReception").val(dateReception); - - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function etatsproduction() -{ - window.location.assign($("#racineWeb" ).val()+"Etatsproduction/"); -} - - - -function etat_prod_par_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_prod_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_mois_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_prod_par_emission() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_emission_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function initiermessagecommun() -{ - window.location.assign($("#racineWeb" ).val()+"Messageriecommun/"); -} - -function enregistrer_message_commun() -{ - - objet = $("#objet").val(); - textMessage = $("#textMessageCommun").val(); - textMessage = textMessage.trim(); - - if (objet<=" ") - { - v_msg="Veuillez saisir l\'objet!"; - v_msgEng="Please enter the object!"; - alert_ebene(v_msg, v_msgEng); - - $("#objet").focus(); - return; - } - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageCommun").focus(); - return; - } - - donnees = "objet="+objet+"&textMessage="+textMessage; - - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessageriecommun/creermessagecommun/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_wait.html(data); - }, - complete: function() { - div_wait.html(''); - - v_msg="Message envoyé avec succès!"; - v_msgEng="Message sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - gerer_messagerie(); - } - }); -} - -// - -function requetes_factures_mois() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_mois_export() -{ - - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function desactiver_medicament(idDetail) -{ - v_msg="Confirmez-vous cette désactivation?"; - v_msgEng="Do you confirm this deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/desactivermedicament/", - type : 'post', - data: "idDetail="+idDetail, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_tarifpharmacie(); - } - }); - } -} - -function activer_medicament(idDetail) -{ - v_msg="Confirmez-vous cette activation?"; - v_msgEng="Do you confirm this activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/activermedicament/", - type : 'post', - data: "idDetail="+idDetail, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_tarifpharmacie(); - } - }); - } -} - -function init_supprimer_empreinte_digitale() -{ - window.location.assign($("#racineWeb" ).val()+"Supprimerempreinte/"); -} - - -function requetes_factures_jour() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_jour_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ajax_liste_prestataires_messagerie() -{ - codeTypePrestataire=$("#codeTypePrestataire").val(); - - donnees = 'codeTypePrestataire='+codeTypePrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prestataires").html(data); - }, - complete: function() { - } - }); -} - - -function ajouter_un_prestataire_mess(idPrestataire) -{ - donnees = 'idPrestataire='+idPrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/ajouterprestaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - -function retirer_un_prestataire_mess(idPrestataire) -{ - donnees = 'idPrestataire='+idPrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/retirerprestaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - - -function ajouter_tous_prestataire_mess() -{ - codeTypePrestataire=$("#codeTypePrestataire").val(); - - donnees = 'codeTypePrestataire='+codeTypePrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/ajouterprestairetous/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - -function retirer_tous_prestataire_mess() -{ - codeTypePrestataire=$("#codeTypePrestataire").val(); - - donnees = 'codeTypePrestataire='+codeTypePrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/retirerprestairetous/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - - -// - -function requetes_ententeprealable_pha() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_ententeprealable_pha_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function check_ged(idGed, cheminFichier, controle) -{ - donnees = "idGed="+idGed+"&cheminFichier="+cheminFichier; - - var ctrl_btn_ged = $("#btn_ged"+idGed); - var ctrl_mess_not_found= $("#mess_not_found"+idGed); - var ctrl_check = $("#ctrl_check"+idGed); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxged/verifierexistancefichier/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - - donnees_retour = data; - - if(donnees_retour=="1") - { - ctrl_btn_ged.show(); - } - else - { - ctrl_mess_not_found.html("Not found"); - } - }, - complete: function() - { - controle.style.display = 'none'; - ctrl_check.show(); - } - }); -} - -function lister_ged_feuille_maladie() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedfeuillemaladie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function afficher_lite_messagerie_commun() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - textMessage = $("#textMessage").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - donnees += '&textMessage=' + textMessage; - - $("#div_messagerie_gestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemessageriecommun/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_messagerie_gestion").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_lite_messagerie_form_me() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - messageLu = $("#messageLu").val(); - textMessage = $("#textMessage").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - donnees += '&messageLu=' + messageLu; - donnees += '&textMessage=' + textMessage; - donnees += '&codePrestataire=' + codePrestataire; - - $("#div_messagerie_gestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemessagerieforme/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_messagerie_gestion").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function lister_ged_beneficiaire_prest() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedbeneficiaireprest/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged_beneficiaire_prod() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedbeneficiaireprod/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged_adherent() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged_police() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteged/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_lister_ged(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - lister_ged(); - } -} - -function ajaxenteteetatsynthese() -{ - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - donnees = 'codeEtat='+codeEtat; - - v_url = $("#racineWeb").val()+"Ajaxentete"+codeEtat+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function etat_synthese_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_synthese_par_mois_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function pop_ged_pharmacie() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedpharmacie/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_ged").html(data); - }, - complete: function() { - $("#btn_pop_ged_pharmacie").click(); - } - }); -} - -function etat_synthese_par_mois_acqu() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_synthese_par_mois_acqu_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function demandesdecomptes() -{ - codePrestataire = $("#codePrestataire").val(); - codeExercice = $("#codeExercice").val(); - codeMois = $("#codeMois").val(); - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdemandesdecomptes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function detail_demande_decompte(idDemandeDecompte, numeroDemandeDecompte) -{ - donnees = 'numeroDemandeDecompte='+numeroDemandeDecompte+'&idDemandeDecompte='+idDemandeDecompte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextdemandedecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Detaildemandedecompte/"); - } - }); -} - - -function imprimerbordereaudemandedecompte() -{ -} - - -function initierdecompte_demande_decompte() -{ - codePrestataire=$("#codePrestataire").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#inforegle").html(data); - }, - complete: function() { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0 || regle==2 || regle==3) - { - afficherdecompte(); - } - else - { - // 9 => Décompte validé mais en attente de règlemen - // 1 => Décompte réglé - consulterdecompte(); - } - } - }); -} - -function requetes_factures_police() -{ -} - - -function requetes_factures_police_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - numeroPolice = $("#numeroPolice").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroPolice=' + numeroPolice; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function requetes_factures_adherent_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - numeroAdherent = $("#numeroAdherent").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroAdherent=' + numeroAdherent; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function requetes_factures_beneficiaire_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_factures_police_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"gar/"; - - numeroPolice = $("#numeroPolice").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroPolice=' + numeroPolice; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function requetes_factures_adherent_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"gar/"; - - numeroAdherent = $("#numeroAdherent").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroAdherent=' + numeroAdherent; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_factures_beneficiaire_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"gar/"; - - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function appliquer_taux_ristourne() -{ - tauxRistourne = $("#tauxRistourne").val(); - - donnees = 'tauxRistourne=' + tauxRistourne; - - var div_assure_a_retirer = $('#div_assure_a_retirer'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailretrait/appliquertauxristourne/", - type : 'post', - data : donnees, - success: function(data) { - div_assure_a_retirer.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function afficher_gc_assureur(idGc) -{ - if (idGc <=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Fichegcassureur/"+idGc+"/"); -} - -function modifier_gc_assureur() -{ - idGc = $("#idGc" ).val() - if (idGc>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiergcassureur/"+idGc+"/"); - } -} - -function retour_gc_assureur() -{ - idGc = $("#idGc" ).val() - if (idGc>"0") - { - window.location.assign($("#racineWeb" ).val()+"Fichegcassureur/"+idGc+"/"); - } -} - -function enregistrer_modif_gc_assureur() -{ - idGc = $("#idGc").val(); - codeGcAssureur = $("#codeGcAssureur").val(); - libelle = $("#libelle").val(); - email = $("#emailGcAssureur").val(); - gcTauxFraisReel = $("#gcTauxFraisReel").val(); - gcTauxRedressement = $("#gcTauxRedressement").val(); - gcTauxTva = $("#gcTauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - fraisGestion = $("#fraisGestion").val(); - codeGestionCarte = $("#codeGestionCarte").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(gcTauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").focus(); - return; - } - - gcTauxFraisReel=gcTauxFraisReel.replace(",","."); - if(isNaN(gcTauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").val("0"); - $("#gcTauxFraisReel").focus(); - return; - } - - if(gcTauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").focus(); - return; - } - - gcTauxRedressement=gcTauxRedressement.replace(",","."); - if(isNaN(gcTauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").val("0"); - $("#gcTauxRedressement").focus(); - return; - } - - if(gcTauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").focus(); - return; - } - - gcTauxTva=gcTauxTva.replace(",","."); - $("#gcTauxTva").val(gcTauxTva); - if(isNaN(gcTauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").val("0"); - $("#gcTauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'idGc='+idGc+'&libelle='+libelle+'&codeGcAssureur='+codeGcAssureur; - donnees += '&email='+email+'&gcTauxFraisReel='+gcTauxFraisReel+'&gcTauxRedressement='+gcTauxRedressement +'&gcTauxTva='+gcTauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - donnees += '&fraisGestion='+fraisGestion+'&codeGestionCarte='+codeGestionCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_gc_assureur(); - } - }); -} - -function creer_gc_assureur() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - libelle = $("#libelle").val(); - email = $("#emailGcAssureur").val(); - gcTauxFraisReel = $("#gcTauxFraisReel").val(); - gcTauxRedressement = $("#gcTauxRedressement").val(); - gcTauxTva = $("#gcTauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - fraisGestion = $("#fraisGestion").val(); - codeGestionCarte = $("#codeGestionCarte").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(gcTauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").focus(); - return; - } - - gcTauxFraisReel=gcTauxFraisReel.replace(",","."); - if(isNaN(gcTauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").val("0"); - $("#gcTauxFraisReel").focus(); - return; - } - - if(gcTauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").focus(); - return; - } - - gcTauxRedressement=gcTauxRedressement.replace(",","."); - // $("#gcTauxRedressement").val(gcTauxRedressement); - if(isNaN(gcTauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").val("0"); - $("#gcTauxRedressement").focus(); - return; - } - - if(gcTauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").focus(); - return; - } - - gcTauxTva=gcTauxTva.replace(",","."); - if(isNaN(gcTauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").val("0"); - $("#gcTauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'libelle='+libelle+'&codeGcAssureur='+codeGcAssureur; - donnees += '&email='+email+'&gcTauxFraisReel='+gcTauxFraisReel+'&gcTauxRedressement='+gcTauxRedressement +'&gcTauxTva='+gcTauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - donnees += '&fraisGestion='+fraisGestion+'&codeGestionCarte='+codeGestionCarte; - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/ajouter/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_gc_assureur(); - } - }); -} - -function retour_liste_gc_assureur() -{ - window.location.assign($("#racineWeb" ).val()+"Gcassureur/"); -} - -function activer_gestion_confiee() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - gestionConfiee=$("#gestionConfiee").val(); - if (gestionConfiee=="1") - { - v_msg="Gestion confiée déjà activée!"; - v_msgEng="Management entrusted already activated!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la gestion confiée pour cette police?"; - v_msgEng="Do you confirm the management entrusted for this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/activergc/"+$("#idPolice_C").val()+"/"); - } -} - -function afficher_gc_police(idPolice, idGcpolice) -{ - if (idPolice <=" ") - { - v_msg="Veuillez sélectionner une police!"; - v_msgEng="Please select a policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idGcpolice=="0") - { - window.location.assign($("#racineWeb" ).val()+"Creergcpolice/"+idPolice+"/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Fichegcpolice/"+idPolice+"/"); - } -} - - - -function retour_liste_gc_police() -{ - window.location.assign($("#racineWeb" ).val()+"Gcpolices/"); -} - -function creer_gc_police() -{ - idPolice = $("#idPolice").val(); - - codeGcAssureur = $("#codeGcAssureur").val(); - tauxFraisReel = $("#tauxFraisReel").val(); - tauxRedressement = $("#tauxRedressement").val(); - tauxTva = $("#tauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if(tauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").focus(); - return; - } - - tauxFraisReel=tauxFraisReel.replace(",","."); - if(isNaN(tauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").val("0"); - $("#tauxFraisReel").focus(); - return; - } - - if(tauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").focus(); - return; - } - - tauxRedressement=tauxRedressement.replace(",","."); - if(isNaN(tauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").val("0"); - $("#tauxRedressement").focus(); - return; - } - - - if(tauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").focus(); - return; - } - - tauxTva=tauxTva.replace(",","."); - if(isNaN(tauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").val("0"); - $("#tauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'idPolice='+idPolice+'&codeGcAssureur='+codeGcAssureur; - donnees += '&tauxFraisReel='+tauxFraisReel+'&tauxRedressement='+tauxRedressement +'&tauxTva='+tauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcreergcpolice/creerpolicegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_gc_police(); - } - }); -} - -function choisir_gc_assureur() -{ - - idPolice=$("#idPolice").val(); - codeGcAssureur=$("#codeGcAssureur").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idPolice='+idPolice+'&codeGcAssureur='+codeGcAssureur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcreergcpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_gc").html(data); - }, - complete: function() { - } - }); -} - - -function modifier_gc_police(idPolice) -{ - idPolice = $("#idPolice").val(); - - if (idPolice <=" ") - { - v_msg="Veuillez sélectionner une police!"; - v_msgEng="Please select a policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Modifiergcpolice/"+idPolice+"/"); -} - -function enregistrer_modif_gc_police() -{ - idPolice = $("#idPolice").val(); - - tauxFraisReel = $("#tauxFraisReel").val(); - tauxRedressement = $("#tauxRedressement").val(); - tauxTva = $("#tauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - if(tauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").focus(); - return; - } - - tauxFraisReel=tauxFraisReel.replace(",","."); - $("#tauxFraisReel").val(tauxFraisReel); - if(isNaN(tauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").val("0"); - $("#tauxFraisReel").focus(); - return; - } - - if(tauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").focus(); - return; - } - - tauxRedressement=tauxRedressement.replace(",","."); - $("#tauxRedressement").val(tauxRedressement); - if(isNaN(tauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").val("0"); - $("#tauxRedressement").focus(); - return; - } - - if(tauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").focus(); - return; - } - - tauxTva=tauxTva.replace(",","."); - $("#tauxTva").val(tauxTva); - if(isNaN(tauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").val("0"); - $("#tauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'idPolice='+idPolice; - donnees += '&tauxFraisReel='+tauxFraisReel+'&tauxRedressement='+tauxRedressement +'&tauxTva='+tauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcreergcpolice/modifierpolicegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_fiche_gc_police(); - } - }); -} - -function retour_fiche_gc_police() -{ - idPolice = $("#idPolice").val(); - window.location.assign($("#racineWeb" ).val()+"Fichegcpolice/"+idPolice+"/"); -} - -function desactiver_gestion_confiee() -{ - idPolice = $("#idPolice").val(); - - nbFactureGc = $("#nbFactureGc").val(); - - if (nbFactureGc!=0) - { - v_msg="Cette police possède des factures dejà traitées en gestion confiée!"; - v_msgEng="This policy has invoices already processed in entrusted management!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous le retrait de cette police de la gestion confiée?"; - v_msgEng="Do you confirm the withdrawal of this policy from the entrusted management?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/desactivergc/"+idPolice+"/"); - } -} - - -function requetes_factures_gc() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegc/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_gc_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegcexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function afficher_facture_gc(idFacture) -{ -} - -// - -function affciher_factures_gc_payable() -{ -} - -function initier_gc_reglement() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/gcinitreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_new_gc_reglement(); - } - }); -} - -function afficher_new_gc_reglement() -{ - window.location.assign($("#racineWeb" ).val()+"Gcnewfacturation/"); -} - - -function confirmer_new_facturation_gc() -{ - observations = $("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir quelque chose!"; - v_msgEng="Please enter something!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - donnees = 'observations='+observations; - - v_msg="Confirmez-vous la nouvelle facturation?"; - v_msgEng="Do you confirm the new billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/confirminitreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_gc_reglement(); - } - }); - } -} - - -function lister_reglements_gc() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistereglementsgc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function aller_a_gcfacturation() -{ - window.location.assign($("#racineWeb" ).val()+"Gcfacturation/"); -} - -// - -function recalculer_solde_famille() -{ - var div_test = $('#div_test'); - div_test.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxadherent/recalculersoldefamille/", - type: 'POST', - success: function(data) - { - div_test.html(""); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - window.location.assign($("#racineWeb" ).val()+"Plafondadherent/"); - } - }); -} - -function ajax_context_gc_reglement_id(idGcReglement) -{ - donnees = 'idGcReglement='+idGcReglement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfeuillemaladie/getcontextbayid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - } - }); -} - -function afficher_gc_reglement_id(idGcReglement, valide) -{ - donnees = 'idGcReglement='+idGcReglement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextgcreglement/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - - if (valide!="1") - { - window.location.assign($("#racineWeb" ).val()+"Gcreglement/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Gcreglementcons/"); - } - } - }); -} - -function afficher_gc_reglement() -{ - window.location.assign($("#racineWeb" ).val()+"Gcreglement/"); -} - - -function ajaxchangercompsantegcreglement() -{ - $("#detail_facture").html(''); - $("#div_entete_sel").html(''); - - codeComposante=$("#codeComposante").val(); - - if(codeComposante<=" ") - { - v_msg="Veuillez sélectionner une compsante!"; - v_msgEng="Please select a compsante!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeComposante").focus(); - return; - } - - donnees = 'codeComposante='+codeComposante; - - if(codeComposante=="SFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - } - else - if(codeComposante=="SNFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonselentete/"; - - $("#div_entete_sel").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_entete_sel").html(data); - $(".datepicker" ).datepicker(); - } - }); - } - else - if(codeComposante=="CFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - - } - else - if(codeComposante=="CNFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonselentete/"; - - $("#div_entete_sel").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_entete_sel").html(data); - $(".datepicker" ).datepicker(); - } - }); - } - -} - -function recharger_factures_gc_non_sel() -{ - $("#detail_facture").html(''); - // $("#div_entete_sel").html(''); - - codeGcAssureur = $("#codeGcAssureur").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/"; - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - - -function valider_selection_factures_gc() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_factures_gc_non_sel(); - } - }); -} - -function selectionner_facture_gc(idFactureTemp, choix) -{ - donnees = 'idFactureTemp='+idFactureTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reafficher_factures_gc_non_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -// -function selectionner_facture_sel_gc(idFactureTemp, choix) -{ - donnees = 'idFactureTemp='+idFactureTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recharger_factures_gc_sel() -{ - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); -} - -function reafficher_factures_gc_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_factures_gc_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_factures_gc_sel(); - } - }); -} - -// - -function requetes_cartes_gc() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetecartegc/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_cartes_gc_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetecartegcexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ged_carte_gc(idGcCarte) -{ - if (idGcCarte>"0") - { - } -} - -// -function recharger_cartes_gc_non_sel() -{ - $("#detail_facture").html(''); - - codeGcAssureur = $("#codeGcAssureur").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/"; - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_cartes_gc() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_cartes_gc_non_sel(); - } - }); -} - -function reafficher_cartes_gc_non_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function selectionner_carte_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function selectionner_carte_sel_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recharger_cartes_gc_sel() -{ - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); -} - -function reafficher_cartes_gc_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_cartes_gc_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_cartes_gc_sel(); - } - }); -} - -function selectionner_carte_sel_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_cartes_gc_sel(); - } - }); -} - -function selectionner_carte_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_cartes_gc_non_sel(); - } - }); -} - -// factures - -function selectionner_facture_sel_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_factures_gc_sel(); - } - }); -} - -function selectionner_facture_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_factures_gc_non_sel(); - } - }); -} - -function modifier_facturation_gc() -{ - observations = $("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir quelque chose!"; - v_msgEng="Please enter something!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - donnees = 'observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/enregistrermodificationgcreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_gc_reglement(); - } - }); -} - - -function valider_gc_rglement_premier() -{ - valide0=$("#valide0").val(); - valide0 = parseInt(valide0); - - if (valide0==1) - { - v_msg="1ère validation déjà effectuée!"; - v_msgEng="1st validation already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montantDu=$("#montantDu").val(); - montantDu = parseInt(montantDu); - - if (montantDu<=0) - { - v_msg="Rien à valider, revoir le total de la facture!"; - v_msgEng="Nothing to validate, review the total bill!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (valide0==0) - { - v_msg="quesConfirmez-vous la 1ère validation de cette facturation?tion"; - v_msgEng="Do you confirm the 1st validation of this billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/validerdecomptepremier/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - v_msg="1ère validation effectuée avec succès!"; - v_msgEng="1st validation done successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_gc_reglement(); - } - }); - } - } -} - -// - -function valider_gc_rglement() -{ - valide0=$("#valide0").val(); - valide0 = parseInt(valide0); - - if (valide0!=1) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - valideAs=$("#valideAs").val(); - valideAs = parseInt(valideAs); - - if (valideAs!=1) - { - v_msg="En attente de la validation de l\'assureur!"; - v_msgEng="Waiting for the validation of the insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montantDu=$("#montantDu").val(); - montantDu = parseInt(montantDu); - - if (montantDu<=0) - { - v_msg="Rien à valider, revoir le total de la facture!"; - v_msgEng="Nothing to validate, review the total bill!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - valide=$("#valide").val(); - valide = parseInt(valide); - - if (valide==0) - { - v_msg="Confirmez-vous la 2ème validation de cette facturation?"; - v_msgEng="Do you confirm the 2nd validation of this billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/validerdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - v_msg="2ème validation effectuée avec succès!"; - v_msgEng="2nd validation done successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - consulter_gc_reglement(); - } - }); - } - } -} - -function consulter_gc_reglement() -{ - window.location.assign($("#racineWeb" ).val()+"Gcreglementcons/"); -} - -function consulter_gc_reglement_id(idGcReglement) -{ - donnees = 'idGcReglement='+idGcReglement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextgcreglement/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Gcreglementcons/"); - } - }); -} - -function encaisser_gc() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà encaissé!"; - v_msgEng="Already cashed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Encaissergc/"); -} - -function imprimer_detail_cartes_gc() -{ -} - - -function imprimer_detail_factures_gc() -{ -} - -function ajaxchangercompsantegcreglementcons() -{ - $("#detail_facture").html(''); - - codeComposante=$("#codeComposante").val(); - - if(codeComposante<=" ") - { - v_msg="Veuillez sélectionner une compsante!"; - v_msgEng="Please select a compsante!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeComposante").focus(); - return; - } - - donnees = 'codeComposante='+codeComposante; - - if(codeComposante=="SFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfacturegccons/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - } - else - if(codeComposante=="CFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongccons/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - - } -} - -function enregistrer_encaissement_gc() -{ - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - nomTireur = $("#nomTireur").val(); - banquePayeur = $("#banquePayeur").val(); - - montantDu = $("#montantDu").val(); - dateComptable = $("#dateComptable").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (nomTireur<=" ") - { - v_msg="Veuillez saisir le tireur!"; - v_msgEng="Please enter the issuer of the check! "; - alert_ebene(v_msg, v_msgEng); - - $("#nomTireur").focus(); - return; - } - - if (banquePayeur<=" ") - { - v_msg="Veuillez saisir la banque payeur!"; - v_msgEng="Please enter the paying bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#banquePayeur").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantDu<=" ") - { - montantDu = "0"; - } - - if(montantDu==0) - { - v_msg="Rien à régler!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cet encaissement?"; - v_msgEng="Do you confirm this receipt?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'codeModePaiement='+codeModePaiement+'&referencePaiement='+referencePaiement; - donnees += '&nomTireur='+nomTireur+'&banquePayeur='+banquePayeur; - donnees += '&montantDu='+montantDu+'&dateComptable='+dateComptable; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/enregistrerencaissementgc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - consulter_gc_reglement(); - }, - complete: function() { - } - }); - } -} - -function imprimer_detail_facture_gc() -{ - $('#div_export_b').html(""); - $("#btn_pop_imprimer_detail_gc").click(); -} - -/* -function reinitialiser_emailgcassureur) -{ - emailgcassureur = $("#emailgcassureur_0").val(); - $("#emailgcassureur").val(emailgcassureur); -} -*/ - -function charger_detail_facture_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfacturegcpdf/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function ctrlkeypress_liste_carte_gc(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_carte_gc(); - } -} - -function afficher_liste_carte_gc() -{ - donnees = ""; - donnees_retour = ""; - - - numeroBeneficiaire = $("#numeroBeneficiaire_gc").val(); - numeroBeneficiaire = numeroBeneficiaire.trim(); - - donnees = 'numeroBeneficiaire=' + numeroBeneficiaire; - - $("#div_liste_carte_gc").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_carte_gc").html(donnees_retour); - } - }); -} - -function init_creer_carte_gc(idBeneficiaire) -{ - $("#idBeneficiaire_gc").val(idBeneficiaire); - - $("#btn_new_carte").click(); -} - -function creer_carte_gc() -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - idBeneficiaire = $("#idBeneficiaire_gc").val(); - dateCarte = $("#dateCarte").val(); - - donnees = 'idBeneficiaire=' + idBeneficiaire+"&dateCarte="+dateCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/creercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_carte").click(); - }, - complete: function() { - afficher_liste_carte_gc(); - } - }); - } -} - -function supprimer_carte_gc(idGcCarte, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idGcCarte=' + idGcCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/supprimercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_liste_carte_gc(); - } - }); - } -} - -function init_modif_carte_gc(idGcCarte, dateCarte, montantCarte, montantCarte_f, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#idGcCarte_gc").val(idGcCarte); - $("#dateCarte_gc").val(dateCarte); - $("#montantCarte_gc").val(montantCarte); - $("#montantCarte_f").val(montantCarte_f); - - $("#btn_modif_carte").click(); -} - -function modifier_carte_gc() -{ - v_msg="Confirmez-vous cette modification?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - idGcCarte = $("#idGcCarte_gc").val(); - dateCarte = $("#dateCarte_gc").val(); - montantCarte = $("#montantCarte_gc").val(); - - donnees = 'idGcCarte='+idGcCarte+"&dateCarte="+dateCarte+"&montantCarte="+montantCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/modifiercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_modif_carte").click(); - }, - complete: function() { - afficher_liste_carte_gc(); - } - }); - } -} - -function charger_detail_carte_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailcartegcpdf/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_detail_tous_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailtousgcpdf/", - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -// - -function selectionner_tous_compte() -{ - v_msg="Validation des factures non traitées. Confirmez-vous cette opération?"; - v_msgEng="Validation of unprocessed invoices. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/validertouteslesfacturesdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - afficherdecompte(); - }, - complete: function() { - } - }); - } -} - -function charger_detail_facture_gc_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfacturegcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_detail_carte_gc_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailcartegcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function charger_detail_tous_gc_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailtousgcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function imprimer_recu_gc() -{ - regle=$("#regle").val(); - - if (regle!=1) - { - v_msg="Pas encore encaissé!"; - v_msgEng="Not yet cashed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecugc/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function cartes_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Cartesbenficiaire/"); -} - -function afficher_liste_carte_beneficiaire() -{ - donnees_retour = ""; - - $("#div_liste_carte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_carte").html(donnees_retour); - } - }); -} - -function init_modif_carte_beneficiaire(idBeneficiaireCarte, dateCarte, montantCarte, montantCarte_f, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#idBeneficiaireCarte").val(idBeneficiaireCarte); - $("#dateCarteModif").val(dateCarte); - $("#montantCarteModif").val(montantCarte); - $("#montantCarte_f").val(montantCarte_f); - - $("#btn_modif_carte").click(); -} - -// maintenant - -function init_creer_carte() -{ - $("#btn_new_carte").click(); -} - -function creer_carte() -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - montantCarte = $("#montantCarteNew").val(); - dateCarte = $("#dateCarteNew").val(); - - donnees = 'dateCarte='+dateCarte+"&montantCarte="+montantCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/creercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_carte").click(); - }, - complete: function() { - afficher_liste_carte_beneficiaire(); - } - }); - } -} - -function supprimer_carte(idBeneficiaireCarte, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idBeneficiaireCarte=' + idBeneficiaireCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/supprimercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_liste_carte_beneficiaire(); - } - }); - } -} - -function modifier_carte_beneficiaire() -{ - v_msg="Confirmez-vous cette modification?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - idBeneficiaireCarte = $("#idBeneficiaireCarte").val(); - dateCarte = $("#dateCarteModif").val(); - montantCarte = $("#montantCarteModif").val(); - - donnees = 'idBeneficiaireCarte='+idBeneficiaireCarte+"&dateCarte="+dateCarte+"&montantCarte="+montantCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/modifiercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_modif_carte").click(); - }, - complete: function() { - afficher_liste_carte_beneficiaire(); - } - }); - } -} - -function maj_champ_application_plafond(idGarantie, choix) -{ - donnees = 'idGarantie='+idGarantie+'&choix='+choix; - - v_msg = "Vous venez de conformer que cette limite est par tête!"; - v_msgEng="You just complied that this limit is per head!"; - - if(choix=="0") - { - v_msg = "Vous venez de conformer que cette limite est par famille!"; - v_msgEng="You have just complied that this limit is per family!"; - } - - v_url = $("#racineWeb").val()+"Ajaxgarantiescollege/majchampapplicationplafond/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(errordata) { - }, - complete: function() { - alert_ebene(v_msg, v_msgEng); - } - }); -} - -function requetes_factures_accident() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_accident_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function init_imprimer_demande_decompte() -{ - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==0) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - if (regle==2) - { - v_msg="En attente de la validation du prestataire!"; - v_msgEng="Waiting for the validation of the provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à payer!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_export_demande_reglement').html(''); - - $("#btn_demande_reglement").click(); -} - - -function imprimer_demande_reglement() -{ - - codePrestataire = $("#codePrestataire").val(); - a_enreg = $("#a_enreg").val(); - - codeBanque = $("#codeBanque").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - - if (codeBanque<=" ") - { - v_msg="Veuillez sélectionner une banque!"; - v_msgEng="Please select a bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanque").focus(); - - return; - } - - if (numeroCompteBancaire<=" ") - { - v_msg="Veuillez indiquer le No de compte bancaire!";; - v_msgEng="Please enter the bank account No"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBancaire").focus(); - return; - } - - if (intituleCompteBancaire<=" ") - { - v_msg="Veuillez indiquer intitulé du compte!"; - v_msgEng="Please enter the owner of the account!"; - alert_ebene(v_msg, v_msgEng); - - $("#intituleCompteBancaire").focus(); - return; - } - - idReglement = $("#idReglement").val(); - if (idReglement>"0") - { - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - if (a_enreg=="1") - { - codePrestataire = $("#codePrestataire").val(); - codeBanque = $("#codeBanque").val(); - codeBanqueInterne = $("#codeBanqueInterne").val(); - codeGuichet = $("#codeGuichet").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - cleRib = $("#cleRib").val(); - iban = $("#iban").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - - donnees = 'codePrestataire='+codePrestataire; - donnees += '&codeBanque='+codeBanque+'&codeBanqueInterne='+codeBanqueInterne+'&codeGuichet='+codeGuichet; - donnees += '&numeroCompteBancaire='+numeroCompteBancaire+'&cleRib='+cleRib+'&iban='+iban+'&intituleCompteBancaire='+intituleCompteBancaire ; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/majcomptebancaire/", - type : 'post', - data: donnees, - success: function(data) - { - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - }); - - } - else - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - } -} - -function novalidprestataire() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==0) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==3) - { - v_msg="Déjà validé par le prestataire!"; - v_msgEng="Already validated by the provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==8) - { - v_msg="Déjà effectué!"; - v_msgEng="Already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==2) - { - v_msg="Confirmez-vous que la validation du prestataire n\'est pas nécessaire?"; - v_msgEng="Do you confirm that provider validation is not necessary?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/novalidprestataire/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficherdecompte(); - } - }); - } - } -} - -function listerdecomptes() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - codeEtatDecompte = $("#codeEtatDecompte").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2+'&codeEtatDecompte='+codeEtatDecompte; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistedecomptes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function listerdecomptes_export() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - codeEtatDecompte = $("#codeEtatDecompte").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2+'&codeEtatDecompte='+codeEtatDecompte; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxlistedecomptesexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function maj_reception_facture_decompte() -{ - dateReception = $("#dateReception_pop").val(); - montantPrestataire = $("#montantPrestataire_pop").val(); - - - if(dateReception<=" ") - { - v_msg="Veuillez indicquer la date de réception!"; - v_msgEng="Please enter the date of receipt!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateReception_pop").focus(); - return; - } - - if (montantPrestataire<=" ") - { - montantPrestataire = "0"; - } - - montantPrestataire = montantPrestataire.replace(" ", ""); - montantPrestataire = parseInt(montantPrestataire); - - if (montantPrestataire=="0") - { - v_msg="Veuillez indicquer le montant de la facture du prestataire!"; - v_msgEng="Please enter the invoice amount of the service provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire_pop").focus(); - return; - } - - donnees = 'dateReception='+dateReception+'&montantPrestataire='+montantPrestataire; - - v_msg="Confirmez-vous ces informations?"; - v_msgEng="Do you confirm this information?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majreceptionfactureprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $("#btn_close_pop_reception").click(); - }, - error: function(erreur) { - }, - complete: function() { - - dateReception = $("#dateReception_pop").val(); - - $("#dateReception").val(dateReception+" / "+montantPrestataire); - $("#btn_dateReception").val(dateReception+" / "+montantPrestataire); - - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - re_afficherdecompte(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -// - - -function imprimer_lite_prestataire() -{ - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdlisteprestataireparametrage/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_prestataire").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function exporter_lite_prestataire() -{ - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdlisteprestataireparametrageexport/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_prestataire").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_lite_prestataire_actif() -{ - /* - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; -*/ - - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - donnees += '&codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdlisteprestataireparametrageexport/actif/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_prestataire").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function creer_prestataire() -{ - idPrestataire = $("#idPrestataire").val(); - libelle = $("#libelle").val(); - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTarifMedicament = $("#codeTarifMedicament").val(); - codeTarifOptique = $("#codeTarifOptique").val(); - codePays = $("#codePays").val(); - villeSignature = $("#villeSignature").val(); - codeTypeDecompte = $("#codeTypeDecompte").val(); - adresseGeo = $("#adresseGeo").val(); - numeroCompte = $("#numeroCompte").val(); - adressePost = $("#adressePost").val(); - conventionne = $("#conventionne").val(); - gestionreseau = $("#gestionreseau").val(); - emailGestionPrestataire = $("#emailGestionPrestataire").val(); - - // Prise en compte des comptes bancaires prestataire - codeBanque = $("#codeBanque").val(); - codeBanqueInterne = $("#codeBanqueInterne").val(); - codeGuichet = $("#codeGuichet").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - cleRib = $("#cleRib").val(); - iban = $("#iban").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - // - - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - smsGestionPrestataire = $("#smsGestionPrestataire").val(); - registreCommerce = $("#registreCommerce").val(); - - codeLanguePrestataire = $("#codeLangueUser").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom du prestataire!"; - v_msgEng="Please enter the name of the provider"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(codeTypePrestataire<=" ") - { - v_msg="Veuillez indiquer le type de prestataire!"; - v_msgEng="Please indicate the type of provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestataire").focus(); - return; - } - - if(codeReseau<=" ") - { - v_msg="Veuillez indiquer le réseau!"; - v_msgEng="Please indicate the care network!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeReseau").focus(); - return; - } - - if (codeTypePrestataire=="CSO" || codeTypePrestataire=="DEN" || codeTypePrestataire=="HRW" || codeTypePrestataire=="LAB"|| codeTypePrestataire=="SEA") - { - if (codeTarifActe<" ") - { - v_msg="Veuillez fournir le tarif des actes!"; - v_msgEng="Please provide the rates of the acts!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - } - - - // if (codeTypePrestataire=="PHA") - if (codeTypePrestataire=="CSO" || codeTypePrestataire=="PHA") - { - if (codeTarifMedicament<" ") - { - v_msg="Veuillez fournir le tarif des médicaments!"; - v_msgEng="Please provide the price of the drugs!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - } - - if (codeTypePrestataire=="OPT") - { - if (codeTarifOptique<" ") - { - v_msg="Veuillez fournir le tarif optique!"; - v_msgEng="Please provide the optical rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - } - - if(codePays<=" ") - { - v_msg="Veuillez indiquer le pays!"; - v_msgEng="Please indicate the country!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePays").focus(); - return; - } - - if (codeVille<=" ") - { - v_msg="Veuillez préciser la localisation!"; - v_msgEng="Please specify the location!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeVille").focus(); - return; - } - - if (codeLocalite<=" ") - { - v_msg="Veuillez préciser la localisation!"; - v_msgEng="Please specify the location!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLocalite").focus(); - return; - } - - if(villeSignature<=" ") - { - v_msg="Veuillez indiquer la ville de signature!"; - v_msgEng="Please indicate the city of signature!"; - alert_ebene(v_msg, v_msgEng); - - $("#villeSignature").focus(); - return; - } - - if(codeTypeDecompte<=" ") - { - v_msg="Veuillez indiquer la type de décompte!"; - v_msgEng="Please indicate the type of count!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDecompte").focus(); - return; - } - - if(conventionne<=" ") - { - v_msg="Le prestataire est-il conventionné ou pas?"; - v_msgEng="Do the provider have an convetion or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#conventionne").focus(); - return; - } - - if(gestionreseau<=" ") - { - v_msg="Tenir compte des réseaux de soins ou pas?"; - v_msgEng="Consider care networks or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#gestionreseau").focus(); - return; - } - - if(codeLanguePrestataire<=" ") - { - v_msg="Veuillez sélectionner une langue"; - v_msgEng="Please select a language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if(registreCommerce.length<9) - { - v_msg="Veuillez revoir le TIN"; - v_msgEng="Please review the TIN"; - alert_ebene(v_msg, v_msgEng); - - $("#registreCommerce").focus(); - return; - } - - donnees = 'libelle='+libelle+'&codeTypePrestataire='+codeTypePrestataire; - donnees += '&codeReseau='+codeReseau+'&codeTarifActe='+codeTarifActe+'&codeTarifMedicament='+codeTarifMedicament; - donnees += '&codeTarifOptique='+codeTarifOptique+'&codePays='+codePays+'&villeSignature='+villeSignature; - donnees += '&codeTypeDecompte='+codeTypeDecompte+'&adresseGeo='+adresseGeo+'&numeroCompte='+numeroCompte; - donnees += '&adressePost='+adressePost+'&conventionne='+conventionne+'&gestionreseau='+gestionreseau+'&emailGestionPrestataire='+emailGestionPrestataire; - - donnees += '&codeBanque='+codeBanque+'&codeBanqueInterne='+codeBanqueInterne+'&codeGuichet='+codeGuichet; - donnees += '&numeroCompteBancaire='+numeroCompteBancaire+'&cleRib='+cleRib+'&iban='+iban+'&intituleCompteBancaire='+intituleCompteBancaire; - - donnees += '&codeVille='+codeVille+'&codeLocalite='+codeLocalite+'&smsGestionPrestataire='+smsGestionPrestataire+'®istreCommerce='+registreCommerce; - - donnees += '&codeLanguePrestataire='+codeLanguePrestataire; - - v_msg="Confirmez-vous ce nouveau prestataire?"; - v_msgEng="Do you confirm this new provider?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/creerprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_idPrestataire').html(data); - }, - complete: function() - { - idPrestataire = $("#idPrestataire").val(); - - afficher_prestataire_id(idPrestataire); - } - }); - } -} - -function param_prestataire() -{ - window.location.assign($("#racineWeb" ).val()+"Prestataires/"); -} - -function creer_user_prestataire() -{ - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - AffectionVisible = $("#AffectionVisible").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible+'&AffectionVisible='+AffectionVisible; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/creeruserprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - users_prestataire(); - } - }); - } -} - -function controle_new_pass() -{ - if ($("#nvmdp" ).val()<=' ') - { - v_msg="Veuillez saisir un mot de passe!"; - v_msgEng="Please enter a password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - longueur = $("#nvmdp").val().length; - - if(longueur>0 && longueur<6) - { - v_msg="6 caractères minimum exigé!"; - v_msgEng="6 characters minmum required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - if ($("#cfnvmdp" ).val()!=$("#nvmdp" ).val()) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } -} - -// - -function desactiver_prestataire(codePrestataire) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/desactiverprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_prestataire(codePrestataire) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/activerprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function demander_reglement() -{ - regle=$("#regle").val(); - regle = parseInt(regle); - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande déjà effectuée!"; - v_msgEng="Request already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la demande de règlement?"; - v_msgEng="Do you confirm the request of payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/demanderreglement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - consulterdecompte(); - }, - complete: function() { - } - }); - } -} - -function demandesreglement() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function demandesreglement_export() -{ - $('#div_detail').html(""); - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxldemandesteglementexport/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -// - -function initierdecompte_liste(codePrestataire, codeExercice, codeMois) -{ - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#inforegle").html(data); - }, - complete: function() { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0 || regle==2 || regle==3 || regle==8) - { - afficherdecompte(); - } - else - { - // 9 => Décompte validé mais en attente de règlemen - // 1 => Décompte réglé - consulterdecompte(); - } - } - }); -} - -function releve_compte_prestataire() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire>" ") - { - window.location.assign($("#racineWeb" ).val()+"Relevecompteprestaire/"); - } -} - -function detail_releve_compte_prestataire() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrelevecompteprestaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function detail_releve_compte_prestataire_export() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrelevecompteprestaireexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function detail_releve_compte_prestataire_global() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - detail_releve_compte_prestataire(); -} - -function detail_releve_compte_prestataire_export_global() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - detail_releve_compte_prestataire_export(); -} - -function imprimer_demande_reglement_ff() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementff/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_releve_ff() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementff/imprimerreleve/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrer_dossier_classique() -{ - enVigueur=$("#enVigueur_C").val(); - codeEtatBeneficiaire=$("#codeEtatBeneficiaire_C").val(); - etatbeneficiaire=$("#etatbeneficiaire_C").val(); - - if (enVigueur!="1") - { - v_msg="Attention! cette personne n'est pas en vigueur"; - v_msgEng="Warning! This person is not in force"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBeneficiaire!="V") - { - v_msg="Attention! "+etatbeneficiaire; - v_msgEng="Warning! "+etatbeneficiaire; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - prestataireConsultation = $("#prestataireConsultation").val(); - - if (prestataireConsultation<=" ") - { - v_msg="Veuillez indiquer le prestataire qui a consulté!"; - v_msgEng="Please indicate the provider who consulted!"; - alert_ebene(v_msg, v_msgEng); - - $("#prestataireConsultation").focus(); - return; - } - - dateConsultation=$("#dateConsultation").val(); - - if (dateConsultation<=" ") - { - v_msg="Veuillez saisir la date de la facture!"; - v_msgEng="Please enter the date of the invoice!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - codeRaisonConsultation = $("#codeRaisonConsultation").val(); - - if (codeRaisonConsultation<=" ") - { - v_msg="Veuillez sélectionner une raison pour la consultation!"; - v_msgEng="Please select a reason for the consultation!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRaisonConsultation").focus(); - return; - } - - hospitalisation = $("#hospitalisation").val(); - if (hospitalisation<=" ") - { - v_msg="Veuillez indiquer si hospitalisation ou pas!"; - v_msgEng="Please indicate whether hospitalization or not!"; - alert_ebene(v_msg, v_msgEng); - - $("#hospitalisation").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = $("#dateConsultation").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date de consultation!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce dossier hors tiers payant?"; - v_msgEng="Do you confirm this claim?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - donnees += '&prestataireConsultation=' +prestataireConsultation; - donnees += '&dateConsultation=' +dateConsultation; - donnees += '&codeRaisonConsultation=' +codeRaisonConsultation; - donnees += '&hospitalisation=' +hospitalisation; - donnees += '&observations=' +observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/enregistrerdossierclassique/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - -function lister_dossiers_classiques() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesclassiques/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function afficher_dossier_classique() -{ - window.location.assign($("#racineWeb" ).val()+"Dossierclassique/"); -} - -function consulter_dossier_classique(idDossierClassique) -{ - donnees = 'idDossierClassique='+idDossierClassique; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - afficher_dossier_classique(); - } - }); -} - -function payerdossierclassique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - fraisRetenu=$("#fraisRetenu").val(); - if (fraisRetenu<=0) - { - v_msg="Rien à payer!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==0) - { - v_msg="Aucune Demande de Règlement!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Payerdossierclassique/"); -} - -function modifierdossierclassique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Modifierdossierclassique/"); -} - -function imprimer_releve_dc() -{ - fraisRetenu=$("#fraisRetenu").val(); - - if (fraisRetenu<=0) - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementdc/imprimerreleve/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_demande_reglement_dc() -{ - regle=$("#regle").val(); - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - fraisRetenu=$("#fraisRetenu").val(); - - if (fraisRetenu<=0) - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementdc/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrermodificationsdossierclassique() -{ - enVigueur=$("#enVigueur_C").val(); - codeEtatBeneficiaire=$("#codeEtatBeneficiaire_C").val(); - etatbeneficiaire=$("#etatbeneficiaire_C").val(); - - if (enVigueur!="1") - { - v_msg="Attention! cette personne n'est pas en vigueur"; - v_msgEng="Warning! This person is not in force"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBeneficiaire!="V") - { - v_msg="Attention! "+etatbeneficiaire; - v_msgEng="Warning! "+etatbeneficiaire; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - prestataireConsultation = $("#prestataireConsultation").val(); - - if (prestataireConsultation<=" ") - { - v_msg="Veuillez indiquer le prestataire qui a consulté!"; - v_msgEng="Please indicate the provider who consulted!"; - alert_ebene(v_msg, v_msgEng); - - $("#prestataireConsultation").focus(); - return; - } - - dateConsultation=$("#dateConsultation").val(); - - if (dateConsultation<=" ") - { - v_msg="Veuillez saisir la date de la facture!"; - v_msgEng="Please enter the date of the invoice!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - codeRaisonConsultation = $("#codeRaisonConsultation").val(); - - if (codeRaisonConsultation<=" ") - { - v_msg="Veuillez sélectionner une raison pour la consultation!"; - v_msgEng="Please select a reason for the consultation!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRaisonConsultation").focus(); - return; - } - - hospitalisation = $("#hospitalisation").val(); - if (hospitalisation<=" ") - { - v_msg="Veuillez indiquer si hospitalisation ou pas!"; - v_msgEng="Please indicate whether hospitalization or not!"; - alert_ebene(v_msg, v_msgEng); - - $("#hospitalisation").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - - var td1 = $("#dateConsultation").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date de consultation!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ces modificatons?"; - v_msgEng="Do you confirm these changes?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - donnees += '&prestataireConsultation=' +prestataireConsultation; - donnees += '&dateConsultation=' +dateConsultation; - donnees += '&codeRaisonConsultation=' +codeRaisonConsultation; - donnees += '&hospitalisation=' +hospitalisation; - donnees += '&observations=' +observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/enregistrermodificationsdossierclassique/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Modifications effectuées avec succès!"; - v_msgEng="Changes made successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - -function enregistrerpaiementfraisfuneraire() -{ - idFraisfuneraire = $("#idFraisfuneraire").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPaye").focus(); - - return; - } - - v_msg="Confirmez-vous ce paiement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idFraisfuneraire='+idFraisfuneraire+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/enregistrerpaiementfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire(); - } - }); - } -} - -function enregistrer_paiement_dossier_classique() -{ - idDossierClassique = $("#idDossierClassique").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPaye").focus(); - - return; - } - - v_msg="Confirmez-vous ce paiement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDossierClassique='+idDossierClassique+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/enregistrerpaiementdossierclassique/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - -function rechercher_dossier_classique(numeroDecompte, idBeneficiaire) -{ - donnees = "numeroDecompte="+numeroDecompte+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/getcontextbyidreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_dossier_classique(); - } - }); -} - -function rechercher_frais_funeraire(idReglement, idBeneficiaire) -{ - donnees = "idReglement="+idReglement+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - fraisfuneraire(); - } - }); -} - -function demander_reglement_ff() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la demande de règlement?"; - v_msgEng="Do you confirm the request of payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - idFraisfuneraire = $("#idFraisfuneraire").val(); - donnees = 'idFraisfuneraire='+idFraisfuneraire; - - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/demanderreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Demande de Règlement effectuée avec succès!"; - v_msgEng="Request of payment successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire(); - } - }); - } -} - -function demander_reglement_dc() -{ - fraisRetenu=$("#fraisRetenu").val(); - if (fraisRetenu<=0) - { - v_msg="Rien à régler!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la demande de règlement?"; - v_msgEng="Do you confirm the request of payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - idDossierClassique = $("#idDossierClassique").val(); - donnees = 'idDossierClassique='+idDossierClassique; - - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/demanderreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Demande de Règlement effectuée avec succès!"; - v_msgEng="Request of payment successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - - -function initierdecompte_liste_cpt(codePrestataire, codeExercice, codeMois) -{ - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - consulterdecompte_cpt(); - } - }); -} - -// -function consulterdecompte_cpt() -{ - var div_wait = $('#detail_reglement'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - window.location.assign($("#racineWeb" ).val()+"Decomptecpt/"); -} - -function initierpaimentdecompte() -{ - v_msg="Confirmez-vous l\'initiaition d\'un nouveau paiement?"; - v_msgEng="Do you confirm the initiation of a new payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/initierpaimentdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - paiement_decompte(); - } - }); - } -} - -function paiement_decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Paiementdecompte/"); -} - -function consulterpaiements() -{ - window.location.assign($("#racineWeb" ).val()+"Consulterpaiementdecompte/"); -} - -function modifierpaiement() -{ -} - -function imprimer_detail_paiement_decompte() -{ - $('#div_export_b').html(""); - $("#btn_pop_imprimer_detail_pdc").click(); -} - -function ajaxchangercompsantepaiement_decompte() -{ - $("#div_detail_paiement_decompte").html(''); - - codeComposante=$("#codeComposante").val(); - - if(codeComposante<=" ") - { - v_msg="Veuillez sélectionner une compsante!"; - v_msgEng="Please select a compsante!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeComposante").focus(); - return; - } - - donnees = 'codeComposante='+codeComposante; - - if(codeComposante=="DP") - { - // DP => Décomptes à payer - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/"; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); - } - else - { - // DNP => Décomptes non payés - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/"; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); - } -} - -function lister_paiement_decompte() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - valide=$("#valide").val(); - - donnees = 'debut='+debut+'&fin='+fin+'&valide='+valide; - - // alert(donnees); - // return; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/listerpaiementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - }, - complete: function() { - } - }); -} - -function get_contexte_paiement_decompte(idPaiementDecompte) -{ - donnees = 'idPaiementDecompte='+idPaiementDecompte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - } - }); -} - -function conulter_paiement_decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Paiementdecomptecons/"); -} - -function get_contexte_paiement_decompte_et_afficher(idPaiementDecompte, valide) -{ - donnees = 'idPaiementDecompte='+idPaiementDecompte+'&valide='+valide; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - if(valide=="1") - { - conulter_paiement_decompte(); - } - else - { - paiement_decompte(); - } - } - }); -} - -function recharger_paiement_decompte_non_sel() -{ - $("#div_detail_paiement_decompte").html(''); - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/"; - - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - - -function selectionner_paiement_decompte_non_sel_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_paiement_decompte_non_sel(); - - } - }); -} - -function reafficher_paiement_decompte_non_sel() -{ - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function selectionner_paiement_decompte_non_sel(idDecompteTemp, choix) -{ - donnees = 'idDecompteTemp='+idDecompteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(ErrorData) { - }, - complete: function() { - } - }); -} - -// - -function anomaliesdecomptes() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxanomaliesdecomptes/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function anomaliesdecomptes_export() -{ - $('#div_detail').html(""); - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxanomaliesdecomptesexport/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function valider_selection_paiement_decompte_non_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/validerselection/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_paiementdecompte").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_paiement_decompte_non_sel(); - } - }); -} - -function recharger_paiement_decompte_sel() -{ - $("#div_detail_paiement_decompte").html(''); - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/"; - - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function reafficher_paiement_decompte_sel() -{ - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function selectionner_paiement_decompte_sel_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_paiement_decompte_sel(); - - } - }); -} - -function selectionner_paiement_decompte_sel(idDecompteTemp, choix) -{ - donnees = 'idDecompteTemp='+idDecompteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_selection_paiement_decompte_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/validerselection/"; - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_paiementdecompte").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_paiement_decompte_sel(); - } - }); -} - -function paiement_decompte_courant() -{ - idPaiementDecompte_courant=$("#idPaiementDecompte_C").val(); - - if(idPaiementDecompte_courant==0) - { - v_msg="Veuillez sélectionner un paiement!"; - v_msgEng="Please select a payment!"; - alert_ebene(v_msg, v_msgEng); - - consulterpaiements(); - - return; - } - - paiement_decompte(); - -} - -// - -function valider_paiement_decompte() -{ - valide=$("#valide").val(); - montantApayer=$("#montantApayer").val(); - - if (valide==1) - { - v_msg="Déjà Validé!"; - v_msgEng="Already validated!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(montantApayer<=" ") - { - montantApayer = "0"; - } - - if(montantApayer==0) - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Validerpaiementdecompte/"); -} - -function demandesreglement_cpt() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementcpt/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function rechercher_frais_funeraire_cpt(idReglement, idBeneficiaire) -{ - donnees = "idReglement="+idReglement+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - fraisfuneraire_cpt(); - } - }); -} - -function fraisfuneraire_cpt() -{ - window.location.assign($("#racineWeb" ).val()+"Fraisfunerairecpt/"); -} - -function rechercher_dossier_classique_cpt(numeroDecompte, idBeneficiaire) -{ - donnees = "numeroDecompte="+numeroDecompte+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/getcontextbyidreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_dossier_classique_cpt(); - } - }); -} - -function afficher_dossier_classique_cpt() -{ - window.location.assign($("#racineWeb" ).val()+"Dossierclassiquecpt/"); -} - -function enregistrer_valider_paiement_decompte() -{ - valide=$("#valide").val(); - montantApayer=$("#montantApayer").val(); - - if (valide==1) - { - v_msg="Déjà Validé!"; - v_msgEng="Already validated!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idPaiementDecompte = $("#idPaiementDecompte").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Rien à régler!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce règelement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idPaiementDecompte='+idPaiementDecompte+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/enregistrervaliderpaiementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - conulter_paiement_decompte(); - } - }); - } -} - -function imprimer_detail_paiement_decompte_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailpaiementdecomptepdf/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function imprimer_detail_paiement_decompte_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailpaiementdecomptexls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function en_attente_demandesreglement() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxattentedemandesteglement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function en_attente_demandesreglement_export() -{ - $('#div_detail').html(""); - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxattentedemandesteglementexport/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function rattrapage_reception_facture_decompte() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initrattrapagereceptionfactureprestataire/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_rattrapage_reception").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() { - $('#btn_pop_rattrapage_reception').click(); - } - }); - - -} - -function maj_rattrapage_reception_facture_decompte() -{ - dateReception = $("#dateReception_pop_rattrapage").val(); - montantPrestataire = $("#montantPrestataire_pop_rattrapage").val(); - - - if(dateReception<=" ") - { - v_msg="Veuillez indicquer la date de réception!"; - v_msgEng="Please enter the date of receipt!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateReception_pop_rattrapage").focus(); - return; - } - - if (montantPrestataire<=" ") - { - montantPrestataire = "0"; - } - - montantPrestataire = montantPrestataire.replace(" ", ""); - montantPrestataire = parseInt(montantPrestataire); - - if (montantPrestataire=="0") - { - v_msg="Veuillez indicquer le montant de la facture du prestataire!"; - v_msgEng="Please enter the invoice amount of the service provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire_pop_rattrapage").focus(); - return; - } - - motif=$("#motif_rattrapage").val(); - - if (motif<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#motif_rattrapage").focus(); - return; - } - - donnees = 'dateReception='+dateReception+'&montantPrestataire='+montantPrestataire+'&motif='+motif; - - v_msg="Confirmez-vous ces informations?"; - v_msgEng="Do you confirm this information?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/rattrapagereceptionfactureprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $("#close_pop_rattrapage_reception").click(); - $('#reglement').html(data); - - }, - error: function(erreur) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -// Etats MUGABO - -function propositions_paiement_prestataire() -{ - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxemandesreglementsglobal/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function propositions_paiement_prestataire_export() -{ - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxemandesreglementsglobalexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function imprimerdecompteprestataireaccord() -{ - idReglement = $("#idReglement").val(); - - if (idReglement>"0") - { - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/imprimerdecompteprestataireaccord", - type: 'POST', - success: function(data) - { - div_wait.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } -} - -function chercher_facture(idFacture) -{ - - $("#div_facture_detail").html(''); - - $("#div_consulter_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfacturefeuillemaladie() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/feuillemaladie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfactureprestationactes() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/prestationactes/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfacturemedicaments() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/medicaments/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulter_facture_pop(idFacture) -{ - - $("#div_facture_detail").html(''); - - $("#div_consulter_facture_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_facture_pop").html(data); - }, - error: function(data) { - }, - complete: function() { - $('#btn_pop_consulter_facture').click(); - } - }); -} - -function consulterfacturefeuillemaladie_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/feuillemaladie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfactureprestationactes_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/prestationactes/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfacturemedicaments_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/medicaments/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ged_decompte_gc(idFacture) -{ - numeroDecompte = $("#numeroDecompte").val(); - - if (idFacture>"0") - { - donnees = 'numeroDecompte='+numeroDecompte+'&idFacture='+idFacture; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgedfacturegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - $("#btn_pop_ged").click(); - } - }); - } -} - -function valider_ged_decompte_gc() -{ - idFacture = $("#idFactureGed").val(); - v_url = $("#racineWeb").val()+"Ajaxgedfacturegc/chargerged"; - - donnees = ""; - - donnees = new FormData($("#ajax_form_upload")[0]); - - $.ajax({ - type: "POST", - url: v_url, - data: donnees, - contentType: false, - cache: false, - processData :false, - - success: function(message){ - alert(message); - $("#btn_close_pop_ged_facture").click(); - }, - error: function(errorData){ - }, - complete: function() { - } - }); -} - -function consulterfactureged_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/geds/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reafficher_ged_facture(idFacture) -{ - if (idFacture>"0") - { - donnees = 'idFacture='+idFacture; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgedfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); - } -} - -function valider_ged_facture() -{ - idFacture = $("#idFactureGed").val(); - v_url = $("#racineWeb").val()+"Ajaxgedfacture/chargerged"; - - donnees = ""; - - donnees = new FormData($("#ajax_form_upload")[0]); - - $.ajax({ - type: "POST", - url: v_url, - data: donnees, - contentType: false, - cache: false, - processData :false, - - success: function(message){ - alert(message); - }, - error: function(errorData){ - }, - complete: function() { - // reafficher_ged_facture(idFacture); - } - }); -} - -function consulterfactureged() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/geds/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -// factures GC cumulées -function requetes_factures_gc_cumul() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegccumul/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_gc_cumul_export() -{ - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegccumulexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function liste_ententeprealables_opt() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablesopt/"); -} - -function listeententeprealablesopt() -{ - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function consulter_ententeprealable_opt_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealablesopt/"+idDemandeententeprealable+"/"); -} - -function demandesreglement_filtre() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementfiltre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function demandesreglement_filtre_export() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxldemandesteglementfiltreexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function demandesreglement_filtre_cpt() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementcpt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function accepter_ententeprealable_opt(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealablesopt/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable_opt(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealablesopt/"+idDemandeententeprealable+"/"); -} - -// -function enregistreraccordententepreslable_opt() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - prixAccorde = $("#prixAccorde").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - prixAccorde=prixAccorde.replace(",","."); - $("#prixAccorde").val(prixAccorde); - - if(isNaN(prixAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#prixAccorde").val("0"); - $("#prixAccorde").focus(); - return; - } - - if(prixAccorde==0) - { - $("#prixAccorde").focus(); - v_msg="Veuillez saisir le prix!"; - v_msgEng="Please enter the price!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&prixAccorde='+prixAccorde; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealableopt'; - typeSms = "accordententeprealableopt"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealableopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_opt(); - } - }); - } -} - -// -function enregistrerrefusententepreslable_opt() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealableopt'; - typeSms="refusententeprealableopt"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealableopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_opt(); - } - }); - } -} - -function liste_ententeprealables_mont() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablesmont/"); -} - -function listeententeprealablesmont() -{ - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesmont/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function consulter_ententeprealable_mont_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealablesmont/"+idDemandeententeprealable+"/"); -} - -function accepter_ententeprealable_mont(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealablesmont/"+idDemandeententeprealable+"/"); -} - - -function enregistreraccordententepreslable_mont() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - prixAccorde = $("#prixAccorde").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - prixAccorde=prixAccorde.replace(",","."); - $("#prixAccorde").val(prixAccorde); - - if(isNaN(prixAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#prixAccorde").val("0"); - $("#prixAccorde").focus(); - return; - } - - if(prixAccorde==0) - { - $("#prixAccorde").focus(); - v_msg="Veuillez saisir le prix!"; - v_msgEng="Please enter the price!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&prixAccorde='+prixAccorde; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealablemont'; - typeSms = "accordententeprealablemont"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealablemont/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_mont(); - } - }); - } -} - -function refuser_ententeprealable_mont(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealablesmont/"+idDemandeententeprealable+"/"); -} - - -function enregistrerrefusententepreslable_mont() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealablemont'; - typeSms="refusententeprealablemont"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealablemont/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_mont(); - } - }); - } -} - -function histsupprempreinte() -{ - $("#div_detail_suppr_empreinte").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail_suppr_empreinte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprempreinte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_suppr_empreinte").html(data); - }, - complete: function() { - } - }); -} - -function histsupprempreinte_export() -{ - $("#div_detail_suppr_empreinte").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - donnees_retour = ""; - - $("#div_detail_suppr_empreinte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprempreinteexport/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_suppr_empreinte").html(donnees_retour); - } - }); -} - -function liste_ententeprealables_pha() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablespha/"); -} - -function exporter_modele_assure() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function init_importer_modele_assure() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/initimportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function importer_modele_assure(idAvenant) -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - cheminFichier=$("#cheminFichier").val(); - - donnees = 'idAvenant='+idAvenant+'&cheminFichier='+cheminFichier; - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - div_export.html(''); - - succes_impot_execl=$("#succes_impot_execl").val(); - - if (succes_impot_execl == "1") - { - maj_etape_3_import_assures(); - } - } - }); -} - - -function traiter_lignes_importees() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etape3=$("#etape3").val(); - - if (etape3 != "1") - { - v_msg="Etape 3 incomplète!"; - v_msgEng="Incomplete step 3!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - afficher_liste_assures_a_importer(); -} - - -function afficher_une_ligne_importee(idBeneficiairemodel) -{ -} - - -function exclure_ligne_assure_importee(idBeneficiairemodel, exclure) -{ - donnees = 'idBeneficiairemodel='+idBeneficiairemodel+'&exclure='+exclure; - - v_url = $("#racineWeb").val()+"Ajaximporterlisteassure/exclureligneimportee/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function calculer_prime_inmportation() -{ - nb_adh=$("#nb_adh").val(); - - if (nb_adh>"0") - { - v_msg="Veuillez lier toutes les famille à leur collège!"; - v_msgEng="Please link all the family to their college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous le calcul de primes?"; - v_msgEng="Do you confirm the premium calculation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - var div_attente = $('#div_liste_assure_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/", - type: 'POST', - // data: donnees, - success: function(data) { - v_msg="Calcul de primes terminée avec succès!"; - v_msgEng="Premium calculation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() - { - // window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - afficher_liste_assures_a_importer(); - } - }); - } -} - -function charger_fichier_modele_assure() -{ - $('#div_exporter_liste_assures').html(""); - - $('#div_form_upload').show(); - - // return; -} - - -function afficher_adherent_importee() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - var div_attente = $('#div_adherents_importes'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/afficheradherentimportee/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function retirer_un_adherent_importe_college(idBeneficiairemodel) -{ - donnees = 'idBeneficiairemodel='+idBeneficiairemodel; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/retirerunadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); -} - -function ajouter_un_adherent_importe_college(idBeneficiairemodel) -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idBeneficiairemodel='+idBeneficiairemodel+'&idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajouterunadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); -} - -function incorporer_assures_inmportes() -{ - nb_adh=$("#nb_adh").val(); - - if (nb_adh>"0") - { - v_msg="Veuillez revoir les collèges et relancer le calcul des primes!"; - v_msgEng="Please review the colleges and restart the premium calculation!!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - nb_ligne_ass=$("#nb_ligne_ass").val(); - - if (nb_ligne_ass=="0") - { - v_msg="Rien à importer!"; - v_msgEng="Nothing to import!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Avez-vous fait l\'étape 2 => calcul des primes?"; - v_msgEng="Did you do step 2 => premium calculation?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - - primeTtcTotal=$("#primeTtcTotal").val(); - - if (primeTtcTotal=="0") - { - v_msg="Pas de primes! souhaitez-vous recalculer les primes?"; - v_msgEng="No premiums! do you want to recalculate the premiums?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - return; - } - - v_msg="Notez que vous avez accepté l\'incorporation sans primes!"; - v_msgEng="Note that you accepted the incorporation without premium!"; - alert_ebene(v_msg, v_msgEng); - } - - v_msg="Confirmez-vous l\'incorporation de cette liste?"; - v_msgEng="Do you confirm the incorporation of this list?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste_assure_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/incorpoerassuresimportes/", - type: 'POST', - // data: donnees, - success: function(data) { - v_msg="Incorporation terminée avec succès!"; - v_msgEng="Incorporation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - afficher_police_id(); - } - }); - } -} - -function ajouter_tous_adherent_importe_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - v_msg="Attention, cela va vider tous les autres collèges! Confirmez-vous?"; - v_msgEng="Be careful, this will empty all other colleges! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutertousadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); - } -} - -function ajouter_sans_college_adherent_importe_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - v_msg="Attention! Confirmez-vous cette opération?"; - v_msgEng="Warning! Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutersanscollegeadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); - } -} - - -function retirer_tous_adherent_importe_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - v_msg="Attention, cela va vider ce collège! Confirmez-vous?"; - v_msgEng="Attention, this will empty this college! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/retirertousadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); - } -} - -function maj_etape_3_import_assures() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/majetape/", - type: 'POST', - success: function(data) - { - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - // window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - afficher_liste_assures_a_importer(); - } - }); -} - -function retour_tarifs_medicaments() -{ - window.location.assign($("#racineWeb" ).val()+"Tarifsmedicaments/"); -} - -function creer_tarif_medicaments() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifmedicament/creertarifmedicaments/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - //$('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_tarifs_medicaments(); - } - }); - } -} - -function modifier_tarif_medicaments(idTarif) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiertarifmedicament/"+idTarif+"/"); -} - -function enregistrer_modif_tarif_medicaments() -{ - idTarif = $("#idTarif").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idTarif='+idTarif+'&libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifmedicament/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_medicaments(); - } - }); - } -} - - -function lister_tarif_medicaments() -{ - window.location.assign($("#racineWeb" ).val()+"Listetarifmedicament/"); -} - -function supprimer_tarif_medicaments(idTarif) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifmedicament/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_medicaments(); - } - }); - } -} - -function importer_tarif_medicaments(idTarif) -{ - v_msg="En cours!"; - v_msgEng="In progress!"; - alert_ebene(v_msg, v_msgEng); - - // return; - - // window.location.assign($("#racineWeb" ).val()+"Importertarifmedicament/"+idTarif+"/"); -} - -function exporter_modele_tarif_medicament() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_tarif'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function charger_fichier_modele_tarif_medicament() -{ - $('#div_exporter_tarif').html(""); - - $('#div_form_upload').show(); - - // return; -} - -function importer_modele_tarif_medicament() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idTarif=$("#idTarif").val(); - codeTarifMedicament=$("#codeTarifMedicament").val(); - cheminFichier=$("#cheminFichier").val(); - - donnees = 'idTarif='+idTarif+'&codeTarifMedicament='+codeTarifMedicament+'&cheminFichier='+cheminFichier; - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_tarif'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - div_export.html(''); - - succes_impot_execl=$("#succes_impot_execl").val(); - - if (succes_impot_execl == "1") - { - maj_etape_3_import_medicaments(); - } - } - }); -} - -function change_categorie_college_temp() -{ - codeProduit = $('#codeProduit').val(); - - if($('#codeProduit').val()<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - $('#codeProduit').focus(); - return; - } - - donnees = 'codeProduit='+codeProduit; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchangecategorie/changecategorie/", - type: 'POST', - data: donnees, - success: function(data) - { - // $("#div_test_gabarit").html(data); - $("#div_prime_categorie").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - $plafondAdherent = $('#plafondAdherentInfo').val(); - $plafondBeneficiaire = $('#plafondBeneficiaireInfo').val(); - $('#plafondAdherent').val($plafondAdherent); - $('#plafondBeneficiaire').val($plafondBeneficiaire); - - maj_college(); - } - }); -} - - -function traiter_medicaments_importes() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etape3=$("#etape3").val(); - - if (etape3 != "1") - { - v_msg="Etape 3 incomplète!"; - v_msgEng="Incomplete step 3!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Listeimporttarifmedicament/"); -} - - -function maj_etape_3_import_medicaments() -{ - idTarif=$("#idTarif").val(); - - donnees = 'idTarif='+idTarif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/majetape/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - window.location.assign($("#racineWeb" ).val()+"Listeimporttarifmedicament/"); - } - }); -} - -function retour_importer_tarif_medicaments() -{ - idTarif=$("#idTarif").val(); - - importer_tarif_medicaments(idTarif); -} - -function incorporer_medicaments_inmportes() -{ - nb_ligne_med=$("#nb_ligne_med").val(); - - if (nb_ligne_med==0) - { - v_msg="Rien à importer!"; - v_msgEng="Nothing to import!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous l\'incorporation de cette liste?"; - v_msgEng="Do you confirm the incorporation of this list?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste_medicament_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/incorporermedicamentsimportes/", - type: 'POST', - // data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - lister_tarif_medicaments(); - } - }); - } -} - -function controle_bornes_primes() -{ - primeFamille = $("#primeFamille").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - - primeFamille = parseInt(primeFamille); - primeMin = parseInt(primeMin); - primeMax = parseInt(primeMax); - - if((primeMin>0) && (primeFamille0) && (primeFamille>primeMax)) - { - v_msg="Attention, prime maximum catégorie => " + primeMax.toLocaleString(); - v_msgEng="Warning, premium maximum category => " + primeMax.toLocaleString(); - alert_ebene(v_msg, v_msgEng); - - return; - } - -} - -function modifier_produit(idProduit) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierproduit/"+idProduit+"/"); -} - -function supprimer_produit(idProduit) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveauproduit/supprimer/", - type : 'post', - data: "idProduit="+idProduit, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_produits(); - } - }); - } -} - -function creer_produit() -{ - codeProduit = $("#codeProduit").val(); - - if(codeProduit<=" ") - { - v_msg="Veuillez indiquer un code!"; - v_msgEng="Please enter a code!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProduit").focus(); - return; - } - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'codeProduit='+codeProduit+'&libelle='+libelle; - - primeFamille = $("#primeFamille").val(); - primeIndividu = $("#primeIndividu").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - donnees += '&primeFamille='+primeFamille; - donnees += '&primeIndividu='+primeIndividu; - donnees += '&primeMin='+primeMin; - donnees += '&primeMax='+primeMax; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveauproduit/creerproduit/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - retour_liste_produits(); - } - }); - } -} - -function retour_liste_produits() -{ - window.location.assign($("#racineWeb" ).val()+"Produits/"); -} - -function enregistrer_modif_produit() -{ - idProduit = $("#idProduit").val(); - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idProduit='+idProduit+'&libelle='+libelle; - - primeFamille = $("#primeFamille").val(); - primeIndividu = $("#primeIndividu").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - donnees += '&primeFamille='+primeFamille; - donnees += '&primeIndividu='+primeIndividu; - donnees += '&primeMin='+primeMin; - donnees += '&primeMax='+primeMax; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveauproduit/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_produits(); - } - }); - } -} - -function modifier_reseau(idReseau) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierreseausoins/"+idReseau+"/"); -} - -function supprimer_reseau(idReseau) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveaureseau/supprimer/", - type : 'post', - data: "idReseau="+idReseau, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_reseaus(); - } - }); - } -} - -function creer_reseau() -{ - codeReseau = $("#codeReseau").val(); - - if(codeReseau<=" ") - { - v_msg="Veuillez indiquer un code!"; - v_msgEng="Please enter a code!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeReseau").focus(); - return; - } - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'codeReseau='+codeReseau+'&libelle='+libelle; - - tm = $("#tm").val(); - - donnees += '&tm='+tm; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveaureseau/creerreseau/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - retour_liste_reseaus(); - } - }); - } -} - -function retour_liste_reseaus() -{ - window.location.assign($("#racineWeb" ).val()+"Reseausoins/"); -} - -function enregistrer_modif_reseaus() -{ - idReseau = $("#idReseau").val(); - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idReseau='+idReseau+'&libelle='+libelle; - - tm = $("#tm").val(); - - donnees += '&tm='+tm; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveaureseau/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_reseaus(); - } - }); - } -} - -function afficher_reseau_categorie() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - var div_attente = $('#div_produitreseau'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/afficherreseaucategorie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_reseaus_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Attention, cela va rendre tous les réseaux accessibles pour cette catégorie! Confirmez-vous?"; - v_msgEng="Be careful, this will make all networks accessible for this category! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/ajoutertousreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); - } -} - -function ajouter_un_reseau_produit(codeReseau) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeReseau='+codeReseau; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/ajouterunreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); -} - -function retirer_tous_reseau_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Attention, cela va vider cette catégorie! Confirmez-vous?"; - v_msgEng="Be careful, this will empty this category! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/retirertousreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); - } -} - -function maj_tm_produit_reseau(codeReseau, tm) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeReseau='+codeReseau+"&tm="+tm; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function retirer_un_reseau_produit(codeReseau) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeReseau='+codeReseau; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/retirerunreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); -} - -function afficher_facturation_police() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_page_complet").html(data); - }, - complete: function() { - } - }); -} - -function select_tous_beneficiaire_a_facturer(p_choix) -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'choix='+p_choix+'&debut='+debut+'&fin='+fin; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/selectionnertoutlignesafacturer/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); -} - -function select_beneficiaire_a_facturer(p_choix, idBeneficiairePrimeTemp) -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'idBeneficiairePrimeTemp='+idBeneficiairePrimeTemp; - donnees += '&choix='+p_choix+'&debut='+debut+'&fin='+fin; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_entete_prime_a_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function lancer_facturation_police() -{ - nblignes_a_facturer=$("#nblignes_a_facturer").val(); - - if (nblignes_a_facturer=="0") - { - v_msg="Rien à facturer!"; - v_msgEng="Nothing to charge!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette sélection?"; - v_msgEng="Do you confirm this selection?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_bouton_selection").html(""); - $("#div_detail_prime_a_facture").html(""); - - $("#div_echeancier").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/initecheancierfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error: function(data) - { - }, - complete: function() { - afficherecheancierfacturation_temp(); - } - }); - } -} - -// -function ajax_init_echancier_temp() -{ - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/getnbecheancier/", - type : 'post', - data: "codeTypeEcheancier="+$("#codeTypeEcheancier").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infonbEcheance").html(data); - }, - complete: function() { - $("#nbEcheance").val( $("#nbEcheance_info").val()); - ajax_maj_echancier_temp(); - } - }); -} - -function ajax_maj_echancier_temp() -{ - codeTypeEcheancier = $("#codeTypeEcheancier").val(); - nbEcheance = $("#nbEcheance").val(); - tauxInteret = $("#tauxInteret").val(); - - donnees = "codeTypeEcheancier="+codeTypeEcheancier+"&nbEcheance="+nbEcheance+"&tauxInteret="+tauxInteret; - - // alert(donnees); - // return; - - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majecheancier/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() { - afficherecheancierfacturation_temp(); - } - }); -} - -function ajax_maj_date_echancier_temp(idEcheancier, datePaiement) -{ - donnees = "idEcheancier="+idEcheancier+"&datePaiement="+datePaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majdatepaiement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() - { - } - }); -} - -function ajax_maj_taux_echancier_temp(idEcheancier, tauxEcheance) -{ - nbEcheance = $("#nbEcheance").val(); - - donnees = "idEcheancier="+idEcheancier+"&tauxEcheance="+tauxEcheance+"&nbEcheance="+nbEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majtauxecheance/", - type : 'post', - data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - }, - complete: function() - { - afficherecheancierfacturation_temp(); - } - }); -} - -function ajax_maj_lib_echancier_temp(idEcheancier, libelleEcheance) -{ - donnees = "idEcheancier="+idEcheancier+"&libelleEcheance="+libelleEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majlibelle/", - type : 'post', - data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - }, - complete: function() - { - } - }); -} - -function valider_facturation_police() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - v_msg="Confirmez-vous cet échéancier?"; - v_msgEng="Do you confirm this payment schedule?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/enregistrer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Facturation terminée avec succès!"; - v_msgEng="Billing successfully completed!"; - alert_ebene(v_msg, v_msgEng); - - afficher_police_id(); - } - }); - } -} - -function afficherecheancierfacturation_temp() -{ - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/afficherecheancierfacturation/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_echeancier").html(data); - }, - complete: function() - { - $(".datepicker" ).datepicker(); - } - }); -} - -// 29/03/2019 -function requetes_factures_verif_gc() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefactureverifgc/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_gc_verif_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefactureverifgcexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// 31/03/2019 => Rapport SP par police dans un meme exercice - -function etat_rapport_sp_exercice() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_exercice_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function afficher_detail_stat_police_exercice(idPolice, debutSinistre, finSinistre) -{ - $('#div_export_b').html(""); - $("#idPolice").val(idPolice); - $("#debutSinistre").val(debutSinistre); - $("#finSinistre").val(finSinistre); - /* - $("#emailRapport").val(emailRapport); - $("#emailRapport_0").val(emailRapport); - */ - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_police_facture_exercice_pdf() -{ - $('#div_export_b').html(""); - - idPolice = $("#idPolice").val(); - debutSinistre = $("#debutSinistre").val(); - finSinistre = $("#finSinistre").val(); - - donnees = "idPolice="+idPolice+"&debutSinistre="+debutSinistre+"&finSinistre="+finSinistre; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureexercicepdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_police_facture_exercice() -{ - $('#div_export_b').html(""); - - idPolice = $("#idPolice").val(); - debutSinistre = $("#debutSinistre").val(); - finSinistre = $("#finSinistre").val(); - - donnees = "idPolice="+idPolice+"&debutSinistre="+debutSinistre+"&finSinistre="+finSinistre; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureexercice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function sinistres_a_prime_police() -{ - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsppolice/police/", - type: 'POST', - success: function(data) { - $("#div_detail_sp").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function sinistres_a_prime_categorie() -{ - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsppolice/categorie/", - type: 'POST', - success: function(data) { - $("#div_detail_sp").html(data); - }, - error: function(data) { - }, - complete: function() { - return; - } - }); -} - -function sinistres_a_prime_college() -{ - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsppolice/college/", - type: 'POST', - success: function(data) { - $("#div_detail_sp").html(data); - }, - error: function(data) { - }, - complete: function() { - return; - } - }); -} - -function maj_libelle_college() -{ - libelleCollege = $("#libelleCollege").val(); - - $("#btn_pop_lib_college").click(); -} - -function enregistrer_maj_libelle_college() -{ - libelleCollege = $("#libelleCollege").val(); - - nouvLibelleCollege = $("#nouvLibelleCollege").val(); - - libelleCollege = libelleCollege.trim(); - nouvLibelleCollege = nouvLibelleCollege.trim(); - - if(libelleCollege==nouvLibelleCollege) - { - v_msg="Aucune modification!!"; - v_msgEng="No modification!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(nouvLibelleCollege<=" ") - { - v_msg="Veuillez saisir le nouveau libellé!"; - v_msgEng="Please enter the new label!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette modification?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "nouvLibelleCollege="+nouvLibelleCollege; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajlibellecollege/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#libelleCollege").val(nouvLibelleCollege); - $("#ancLibelleCollege").val(nouvLibelleCollege); - }, - complete: function() - { - $("#btn_close_pop_maj_libelle").click(); - } - }); - } -} - -// 06/04/2019 -function changer_langue() -{ - codeLangue = $("#codeLangue").val(); - - v_msg="Confirmez-vous le changement de langue?"; - v_msgEng="Do you confirm the language change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchangerlangue/changerlangue/", - type : 'post', - // data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - // $("#div_test_gabarit").html(data); - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Connexion/deconnecter/"); - } - }); - } -} - -function envoyersms(p_destinataires, p_message, creation_message) -{ - if(creation_message=="1") - { - envoyer_messagerie(p_message, "0"); - } - - envoismsactif = $("#envoismsactif").val(); - if(envoismsactif=="0") - { - return; - } - - if(p_destinataires.length<5) - { - /* - v_msg="SMS => Pas de destintaire!"; - v_msgEng="SMS => No recipient!"; - - alert_ebene(v_msg, v_msgEng); - */ - - return; - } - - fournisseurSms = $("#fournisseurSms").val(); - - if (fournisseurSms<=" ") - { - v_msg="Fournisseur de SMS non défini!"; - v_msgEng="SMS provider not defined!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - if(fournisseurSms=="esicia") - { - ajouter_sms_attente(p_destinataires, p_message); - return; - } - else - if(fournisseurSms=="blive") - { - ajouter_sms_attente(p_destinataires, p_message); - return; - } - else - if(fournisseurSms=="hooza") - { - ajouter_sms_attente(p_destinataires, p_message); - return; - } - else - { - v_msg=fournisseurSms+" => Fournisseur de SMS inconnu!"; - v_msgEng=fournisseurSms+" => Unknown SMS Provider!"; - alert_ebene(v_msg, v_msgEng); - return; - } -} - -function ajouter_sms_attente(p_destinataires, p_message) -{ - donnees = "destinataires="+p_destinataires+"&message="+p_message; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsmsattente/ajouter/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error: function(errdata) - { - }, - complete: function() - { - } - }); -} - -function ajouter_sms_attente_singleton(p_destinataires, p_message) -{ - donnees = "destinataires="+p_destinataires+"&message="+p_message; - - var addr = p_destinataires.split(","); - - addr.forEach(function(element) - { - p_dest = element; - - if(p_dest.length>4) - { - donnees = "destinataires="+p_dest+"&message="+p_message; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsmsattente/ajouter/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } - else - { - v_msg=p_dest+" => Mauvais format!"; - v_msgEng=p_dest+" => wrong phone format!"; - alert_ebene(v_msg, v_msgEng); - } - }); -} - -function tester_disponibiliter_sms() -{ - p_destinataires = $("#destinataires").val(); - if (p_destinataires<=" ") - { - v_msg="Veuillez saisir un destinataire!"; - v_msgEng="Please enter a recipient!"; - alert_ebene(v_msg, v_msgEng); - - $("#destinataires").focus(); - return; - } - - p_message = ""; - - fournisseurSms = $("#fournisseurSms").val(); - - if (fournisseurSms<=" ") - { - v_msg="Fournisseur de SMS non défini!"; - v_msgEng="SMS provider not defined!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - if(fournisseurSms=="esicia") - { - p_message = "Fournisseur : esicia "; - } - else - if(fournisseurSms=="blive") - { - p_message = "Fournisseur : blive "; - } - else - if(fournisseurSms=="hooza") - { - p_message = "Fournisseur : hooza "; - } - else - if(fournisseurSms=="skysms") - { - p_message = "Fournisseur : skysms "; - } - else - { - v_msg=fournisseurSms+" => Fournisseur de SMS inconnu!"; - v_msgEng=fournisseurSms+" => Unknown SMS Provider!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - // p_destinataires = "25761198584"; - // p_destinataires = "25761198584,25761198584"; - // p_destinataires = "25761198584,25769499899,25779969130,25779841895"; - // p_destinataires = "25769499899,25779969130,25779841895"; - // p_destinataires = "25761198584"; - - - donnees = "destinataires="+p_destinataires+"&message="+p_message+"&fournisseurSms="+fournisseurSms; - - alert(donnees); - // return; - - $("#div_test_gabarit").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtesterdisponiblitesms/envoyerlesms/", - type: 'POST', - data: donnees, - success: function(data) - { - alert("success "+data); - $('#div_test_gabarit').html(data); - }, - error: function(errdata) - { - alert("Error : "+errdata); - $('#div_test_gabarit').html(errdata); - }, - complete: function() - { - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); -} - -function ajouter_destinataire_sms_adherent(p_destinataires) -{ - envoismsactif = $("#envoismsactif").val(); - if(envoismsactif=="0") - { - return p_destinataires; - } - - smsAssure = $("#smsAssure").val(); - if(smsAssure=="0") - { - return p_destinataires; - } - - tel_adh = $("#telephonePortableAdherent").val(); - - if(tel_adh.length>4) - { - return p_destinataires+","+tel_adh; - } - - return p_destinataires; -} - -function ajouter_mail_attente(emailAdherent, p_objet_email_adh, p_messageemail_adh) -{ - donnees = "email="+emailAdherent+"&objet="+p_objet_email_adh+"&message="+p_messageemail_adh; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsmailadhattente/ajouter/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error: function(errdata) - { - }, - complete: function() - { - } - }); -} - -function maj_acess_facturation() -{ - alert("maj_acess_facturation"); - return; - /* - nv_access=$("#nv_access").val(); - if(isNaN(nv_access)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access==0) - { - v_msg="Attention! Confirmez-vous les accessoires à zéro?"; - v_msgEng="Warning! Do you confirm the accessories at zero?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#nv_access").focus(); - return; - } - } - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'fraisCarte='+nv_access+'&debut='+debut+'&fin='+fin; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majaccessoiresfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#btn_close_pmaj_access").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); - */ -} - -function maj_cartes_facturation() -{ - nv_access=$("#nv_access").val(); - if(isNaN(nv_access)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access==0) - { - v_msg="Attention! Confirmez-vous les accessoires à zéro?"; - v_msgEng="Warning! Do you confirm the accessories at zero?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#nv_access").focus(); - return; - } - } - - debut=$("#debut").val(); - fin=$("#fin").val(); - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Reset the counts. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'fraisCarte='+nv_access+'&debut='+debut+'&fin='+fin; - - // alert(donnees); - // return; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majaccessoiresfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#btn_close_pmaj_access").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); - } - -} - - -function maj_prime_base_facturation() -{ - idCollege=$("#idCollege").val(); - if(idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - $("#idCollege").focus(); - - return; - } - - old_primeNette=$("#old_primeNette").val(); - if(isNaN(old_primeNette)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#old_primeNette").val("0"); - $("#old_primeNette").focus(); - return; - } - - if(old_primeNette<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#old_primeNette").val("0"); - $("#old_primeNette").focus(); - return; - } - - - if(old_primeNette==0) - { - v_msg="Attention! Confirmez-vous la mise à jour des anciennes primes nulles?"; - v_msgEng="Warning! Do you confirm the update of old zero premium?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#old_primeNette").focus(); - return; - } - } - - // - - nv_primeNette=$("#nv_primeNette").val(); - if(isNaN(nv_primeNette)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_primeNette").val("0"); - $("#nv_primeNette").focus(); - return; - } - - if(nv_primeNette<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_primeNette").val("0"); - $("#nv_primeNette").focus(); - return; - } - - if(nv_primeNette==0) - { - v_msg="Attention! Confirmez-vous les primes à zéro?"; - v_msgEng="Warning! Do you confirm the premium at zero?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#nv_primeNette").focus(); - return; - } - } - - if(nv_primeNette==old_primeNette) - { - v_msg="Veuillez revoir vos primes!"; - v_msgEng="Please review your premiums!"; - - alert_ebene(v_msg, v_msgEng); - - return; - } - - debut=$("#debut").val(); - fin=$("#fin").val(); - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Reset the counts. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idCollege='+idCollege+'&old_primeNette='+old_primeNette+'&nv_primeNette='+nv_primeNette+'&debut='+debut+'&fin='+fin; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majprimesfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#btn_close_pmaj_prime").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); - } -} - -function desactiver_click_droit() -{ - if (document.addEventListener) { - document.addEventListener('contextmenu', function (e) { - e.preventDefault(); - }, false); - } else { - document.attachEvent('oncontextmenu', function () { - window.event.returnValue = false; - }); - } -} - -function requetes_factures(p_chrono) -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - donnees += '&chrono=' + p_chrono; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_factures_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ajouter_tous_medecins_prestataire() -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire; - - v_msg="Attention, cela va ajouter tous les médecins disponibles pour ce prestataire! Confirmez-vous?"; - v_msgEng="Be careful, this will add all the doctors available for this provider! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/ajoutertousmedecinsprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - - -function retirer_tous_medecins_prestataire() -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire; - - v_msg="Attention, cela va vider ce prestataire de tous ces médecins! Confirmez-vous?"; - v_msgEng="Be careful, this will empty this provider of all these doctors! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/retirertousmedecinsprestataire/", - type: 'POST', - data: donnees, - success: function(data) - { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) - { - }, - complete: function() - { - } - }); - } -} - -function ajouter_un_medecin_prestataire(codeMedecin) -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeMedecin='+codeMedecin; - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/ajouterunmedecinprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() - { - } - }); -} - -function retirer_un_medecin_prestataire(codeMedecin) -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeMedecin='+codeMedecin; - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/retirerunmedecinprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() - { - } - }); -} - - -function enregistrer_new_notes() -{ - notesNew = $("#notesNew").val(); - notesNew = notesNew.trim(); - - if (notesNew<=" ") - { - v_msg="Veuillez saisir la note!"; - v_msgEng="Please enter the note!"; - alert_ebene(v_msg, v_msgEng); - - $("#notesNew").focus(); - return; - } - - donnees = 'notesNew='+notesNew; - - v_msg="Confirmez-vous cette note?"; - v_msgEng="Do you confirm this note?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesfeuillemaladie/creernote/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#btn_pop_note_new_quit").click(); - }, - complete: function() { - afficher_notes_feuille(); - } - }); - } -} - -function afficher_notes_feuille() -{ - $("#div_notes").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesfeuillemaladie/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_notes").html(donnees_retour); - } - }); -} - -function initiernotesfeuille() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesfeuillemaladie/nouvellenote/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_note_new").html(data); - }, - complete: function() { - $("#btn_pop_note_new").click(); - } - }); -} - - -function afficher_medecins_prestataire() -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire; - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/ajouterunmedecinprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() - { - } - }); -} - - -function initier_gc_frais_gestion() -{ - codeGcAssureur=$("#codeGcAssureur").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_liste_entete_gc_frais_gestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/initiergcfraisgestion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#inforegle").html(data); - }, - complete: function() - { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0) - { - affichergcfraisgestion(); - } - else - { - consultergcfraisgestion(); - } - } - }); -} - -function affichergcfraisgestion() -{ - window.location.assign($("#racineWeb" ).val()+"Gcfraisgestion/"); -} - -function re_affichergcfraisgestion() -{ - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - affichergcfraisgestion(); -} - -function rechargergcfraisgestion() -{ - $("#div_detail_fraisgestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/rechargergcfraisgestion/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - $("#div_detail_fraisgestion").html(''); - - v_msg="Rechargement terminé avec succès!"; - v_msgEng="Reloading completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_detail_gcfraisgestion(); - } - }); -} - -function consultergcfraisgestion() -{ -} - -function afficher_detail_gcfraisgestion() -{ - var div_wait = $('#div_detail_fraisgestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/affichergcfraisgestion/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - $("#div_fraisgestion").html(data); - }, - complete: function() - { - } - }); -} - -function cumul_gc_frais_gestion_par_client() -{ - var div_wait = $('#div_detail_fraisgestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/affichergcfraisgestioncumul/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - $("#div_fraisgestion").html(data); - }, - complete: function() - { - } - }); -} - -function lister_entete_gc_frais_gestion() -{ - codeGcAssureur=$("#codeGcAssureur").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeExercice='+codeExercice; - - var div_wait = $('#div_liste_entete_gc_frais_gestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/listeentetegcfraisgestion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - div_wait.html(data); - }, - complete: function() - { - } - }); -} - -function initier_gc_frais_gestion_sel(codeMois, regle) -{ - codeGcAssureur=$("#codeGcAssureur").val(); - codeExercice=$("#codeExercice").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_liste_entete_gc_frais_gestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/initiergcfraisgestion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() - { - if(regle==0) - { - affichergcfraisgestion(); - } - else - { - consultergcfraisgestion(); - } - } - }); -} - -function recharger_frais_gestion_gc_non_sel() -{ - $("#detail_facture").html(''); - - codeGcAssureur = $("#codeGcAssureur").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function reafficher_frais_gestion_gc_non_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_frais_gestion_gc() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_frais_gestion_gc_non_sel(); - } - }); -} - -function selectionner_frais_gestion_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_frais_gestion_gc_non_sel(); - } - }); -} - - -function selectionner_frais_gestion_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recharger_frais_gestion_gc_sel() -{ - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); -} - -function reafficher_frais_gestion_gc_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_frais_gestion_gc_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_frais_gestion_gc_sel(); - } - }); -} - -function selectionner_frais_gestion_sel_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function selectionner_frais_gestion_sel_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_frais_gestion_gc_sel(); - } - }); -} - -function charger_frais_gestion_mois_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfraisgestiongcpdf/", - - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_mois_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfraisgestiongcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_souscripteur_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcsouscripteurpdf/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_souscripteur_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcsouscripteurxls/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function charger_frais_gestion_detail_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcdetailpdf/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_detail_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcdetailxls/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_synthese_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - // url: $("#racineWeb").val()+"Ajaxdetailfraisgestiongcpdf/", - url: $("#racineWeb").val()+"Ajaxsynthsegcpdf/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_synthese_gc_xls() -{ -} - -function remplacer_adherent() -{ - nbAdh = $("#nbAdh_C").val(); - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if ( (codeTypeContrat!="G") && (nbAdh>0) ) - { - v_msg="Ce n\'est pas une police GROUPE!"; - v_msgEng="This is not a GROUP policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#idAdherent_C" ).val()<= " ") - { - v_msg="Veuillez sélectionner une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - remplacementAdherent=$("#remplacementAdherent").val(); - if (remplacementAdherent!="1") - { - v_msg="Remplacement de famille non actif pour cette police!"; - v_msgEng="Family replacement inactive for this policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - remplace=$("#remplace").val(); - remplacant=$("#remplacant").val(); - - if (remplacant=="1") - { - if (remplace=="1") - { - v_msg="Famille déjà remplacée!"; - v_msgEng="Family already replaced!"; - alert_ebene(v_msg, v_msgEng); - - consulter_remplacement_adherent(); - } - else - { - v_msg="Cette famille en a déjà remplacé une autre, confirmez-vous son remplacement à son tour?"; - v_msgEng="This family has already replaced another, do you confirm its replacement in turn?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - fiche_remplacer_adherent(); - } - else - { - consulter_remplacant_adherent(); - } - } - } - else - if (remplace=="1") - { - v_msg="Famille déjà remplacée!"; - v_msgEng="Family already replaced!"; - alert_ebene(v_msg, v_msgEng); - - consulter_remplacement_adherent(); - } - else - { - fiche_remplacer_adherent(); - // window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/"); - } -} - -function init_remplacement_adherent() -{ - dateSortieAdh = $("#dateSortieAdh").datepicker("getDate"); - dateRemplacement = $("#dateRemplacement").datepicker("getDate"); - - dateEffetPolice = $("#dateEffetPolice_C").val(); - - dateEffetAdherent = $("#dateEffetAdherent").val(); - - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - var td0 = new Date(dateEffetAdherent); - var td1 = new Date(dateSortieAdh); - var td11 = new Date(dateRemplacement); - var td2 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt11=Math.round(Date.parse(td11)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if (td11<=td1) - { - v_msg="Attention! Veuiilez revoir vos dates!"; - v_msgEng="Warning! Please review your dates!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - - if (dt1>dt2 || dt1"2000-01-01") - { - var tdd = new Date(dateSortieAdherent); - dtd=Math.round(Date.parse(tdd)/(1000*3600*24)); - - if (dt1>dtd) - { - v_msg="Attention! cette personne n'est pas couverte à cette date!"; - v_msgEng="Warning! This person is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - } - */ - - etatRetrait = $("#etatRetrait").val(); - dateRetrait = $("#dateRetrait").val(); - ristourneRetrait = $("#ristourneRetrait").val(); - ristourneRetrait = parseInt(ristourneRetrait); - - if(etatRetrait=="R" && ristourneRetrait<0) - { - v_msg="Attention! cette personne a été retirée avec une ristourne!"; - v_msgEng=" Warning! this person was withdrawn with premium!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - - motifavenant=$("#motifavenant").val(); - - if ($("#motifavenant").val()<" ") - { - v_msg="Veuillez fournir le motif!"; - v_msgEng="Please provide the reason"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - dateS = $("#dateSortieAdh").val(); - dateR = $("#dateRemplacement").val(); - - fraisCarte = $("#fraisCarte").val(); - - donnees = 'dateSortie='+dateS+'&dateRemplacement='+dateR+'&motifavenant='+motifavenant+'&fraisCarte='+fraisCarte; - - $("#div_remplacement_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxremplaceradherent/init/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#div_remplacement_adherent").html(data); - }, - complete: function() { - $(".datepicker" ).datepicker(); - } - }); -} - -function enregistrer_remplacement_adherent() -{ - nom = $("#nom").val(); - if ($("#nom").val()<" ") - { - v_msg="Veuillez saisir le nom de famille!"; - v_msgEng="Please enter the last name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - prenoms = $("#prenoms").val(); - if ($("#prenoms").val()<" ") - { - v_msg="Veuillez saisir le prénom!"; - v_msgEng="Please enter the first name!"; - alert_ebene(v_msg, v_msgEng); - - $("#prenoms").focus(); - return; - } - - codeNaturePiece = $("#codeNaturePiece").val(); - if ($("#codeNaturePiece").val()<" ") - { - v_msg="Veuillez saisir la nature de pièce d\'identité!"; - v_msgEng="Please enter the nature of ID!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeNaturePiece").focus(); - return; - } - - numeroPiece = $("#numeroPiece").val(); - if ($("#numeroPiece").val()<" ") - { - v_msg="Veuillez saisir le No de la pièce d\'identité!"; - v_msgEng="Please enter the ID number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroPiece").focus(); - return; - } - - sexe = $("#sexe").val(); - if ($("#sexe").val()<" ") - { - v_msg="Veuillez saisir le sexe!"; - v_msgEng="Please enter the sex!"; - alert_ebene(v_msg, v_msgEng); - - $("#sexe").focus(); - return; - } - - dateNaissance = $("#dateNaissance").val(); - if ($("#dateNaissance").val()<" ") - { - v_msg="Veuillez saisir la date de naissance!"; - v_msgEng="Please enter the date of birth!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateNaissance").focus(); - return; - } - - codeGroupeSanguin = $("#codeGroupeSanguin").val(); - if ($("#codeGroupeSanguin").val()<" ") - { - v_msg="Veuillez saisir le groupe sanguin!"; - v_msgEng="Please enter the blood type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGroupeSanguin").focus(); - return; - } - - codeSituationFamille = $("#codeSituationFamille").val(); - if ($("#codeSituationFamille").val()<" ") - { - v_msg="Veuillez saisir la situation familiale!"; - v_msgEng="Please enter the family situation!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSituationFamille").focus(); - return; - } - - nombreEnfants = $("#nombreEnfants").val(); - adresseGeo = $("#adresseGeo").val(); - adressePostale = $("#adressePostale").val(); - - codePays = $("#codePays").val(); - if ($("#codePays").val()<" ") - { - v_msg="Veuillez indiquer le pays!"; - v_msgEng="Please indicate the country!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePays").focus(); - return; - } - - telephonFixe = $("#telephonFixe").val(); - telephonePortable = $("#telephonePortable").val(); - email = $("#email").val(); - - fraisCarte = $("#fraisCarte").val(); - - donnees = 'nom='+nom+'&prenoms='+prenoms+'&codeNaturePiece='+codeNaturePiece; - - donnees += '&numeroPiece='+numeroPiece+'&sexe='+sexe+'&dateNaissance='+dateNaissance; - - donnees += '&codeGroupeSanguin='+codeGroupeSanguin+'&codeSituationFamille='+codeSituationFamille+'&nombreEnfants='+nombreEnfants; - - donnees += '&adresseGeo='+adresseGeo+'&adressePostale='+adressePostale+'&codePays='+codePays; - - donnees += '&telephonFixe='+telephonFixe+'&telephonePortable='+telephonePortable+'&email='+email+'&fraisCarte='+fraisCarte; - - v_msg="Confirmez-vous le remplacement de famille?"; - v_msgEng="Do you confirm family replacement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#div_remplacement_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxremplaceradherent/enregistrerremplacementadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - consulter_remplacement_adherent(); - } - }); - } -} - -function consulter_remplacement_adherent() -{ - idAdherent = $("#idAdherent_C" ).val(); - - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Remplaceradherentcons/"); - } -} - -function consulter_remplacant_adherent() -{ - idAdherent = $("#idAdherent_C" ).val(); - - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Remplaceradherentcons/remplacant/"); - } -} - - -function fiche_remplacer_adherent() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/"); -} - -function ajaxListerVilleConsultation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxville/consultation/", - type : 'post', - data: "codePays="+$("#codePays").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeville").html(data); - }, - complete: function() { - } - }); -} - -function ajaxListerLocaliteConsultation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocalite/consultation/", - type : 'post', - data: "codePays="+$("#codePays").val()+"&codeVille="+$("#codeVille").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listelocalite").html(data); - } - }); -} - -function imprimer_feuille_maladie() -{ - /* - - facture=$("#facture").val(); - - if (facture!=1) - { - v_msg="Pas encore facturée!"; - v_msgEng="Not yet charged!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - */ - - donnees_retour = ""; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerfeuillemaladie/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_export_a").html(donnees_retour); - $("#btn_imprimer_feuille_maladie").click(); - } - }); -} - -function enregistrer_modif_parametres_prod() -{ - idSocieteuser = $("#idSocieteuser").val(); - donnees = 'idSocieteuser='+idSocieteuser; - - spMax = $("#spMax").val(); - fraisCarteAN = $("#fraisCarteAN").val(); - donnees += '&spMax='+spMax+'&fraisCarteAN='+fraisCarteAN; - - fraisCarteREN = $("#fraisCarteREN").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - spAlertAdherent = $("#spAlertAdherent").val(); - donnees += '&fraisCarteREN='+fraisCarteREN+'&fraisCarteImp='+fraisCarteImp+'&spAlertAdherent='+spAlertAdherent; - - tauxRistourne = $("#tauxRistourne").val(); - seuilRistourne = $("#seuilRistourne").val(); - donnees += '&tauxRistourne='+tauxRistourne+'&seuilRistourne='+seuilRistourne; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifprod/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_autres_parametresgeneraux(); - } - }); -} - -function afficher_autres_parametresgeneraux() -{ - window.location.assign($("#racineWeb" ).val()+"Autresparametresgeneraux/"); -} - -function controle_numerique_new(idControle, oldValue) -{ - controle = document.getElementById(idControle); - - valeur = controle.value; - - if(isNaN(valeur)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.value=oldValue; - controle.focus(); - return false; - } - return true; -} - -function enregistrer_modif_parametres_sin() -{ - idSocieteuser = $("#idSocieteuser").val(); - donnees = 'idSocieteuser='+idSocieteuser; - - accesAjoutPh = $("#s_accesAjoutPh").val(); - ajoutPrescription = $("#s_ajoutPrescription").val(); - donnees += '&accesAjoutPh='+accesAjoutPh+'&ajoutPrescription='+ajoutPrescription; - - ajoutPrescriptionExam = $("#s_ajoutPrescriptionExam").val(); - envoismsactif = $("#s_envoismsactif").val(); - donnees += '&ajoutPrescriptionExam='+ajoutPrescriptionExam+'&envoismsactif='+envoismsactif; - - smsAssure = $("#s_smsAssure").val(); - smsmParFacture = $("#s_smsmParFacture").val(); - donnees += '&smsAssure='+smsAssure+'&smsmParFacture='+smsmParFacture; - - emailParFacture = $("#s_emailParFacture").val(); - copieSmsAssure = $("#s_copieSmsAssure").val(); - donnees += '&emailParFacture='+emailParFacture+'&copieSmsAssure='+copieSmsAssure; - - filtreMedecin = $("#s_filtreMedecin").val(); - nbMedicamentMax = $("#s_nbMedicamentMax").val(); - donnees += '&filtreMedecin='+filtreMedecin+'&nbMedicamentMax='+nbMedicamentMax; - - seuilAlerteActif = $("#s_seuilAlerteActif").val(); - donnees += '&seuilAlerteActif='+seuilAlerteActif; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifsin/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Mise à jour effectuée avec succès!"; - v_msgEng="Update done successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_autres_parametresgeneraux(); - } - }); - } -} - -function maj_duree_vie_bon(idTypebon, dureeVie) -{ - donnees = 'idTypebon='+idTypebon+'&dureeVie='+dureeVie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamdureeviebon/majdureevie/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function afficher_garantie_produit_cons() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - var div_attente = $('#div_garantieproduit'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/affichergarantieproduitcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function afficher_garantie_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - var div_attente = $('#div_garantieproduit'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/affichergarantieproduit/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_garantie_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/ajoutertousgarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); - } -} - -function retirer_tous_garantie_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/retirertousgarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); - } -} - -function retirer_un_garantie_produit(id_garantie_produit) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&idGarantieProduit='+id_garantie_produit; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/retirerungarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); -} - -function ajouter_un_garantie_produit(codeGarantie) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeGarantie='+codeGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/ajouterungarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); -} - -function maj_taux_seuil_alerte_garantie(id_garantie_produit, tauxSeuilAlerte) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&idGarantieProduit='+id_garantie_produit+"&tauxSeuilAlerte="+tauxSeuilAlerte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/majtauxseuilalertegarantie/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function maj_seuil_alerte_garantie(id_garantie_produit, seuilAlerte) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - donnees = 'codeProduit='+codeProduit+'&idGarantieProduit='+id_garantie_produit+"&seuilAlerte="+seuilAlerte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/majseuilalertegarantie/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -// - -function requetes_synthese_consommation_police() -{ - v_url = $("#racineWeb").val()+"Ajaxsyntheseconsopolice/"; - - $("#div_detail_exp").html(''); - - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) - { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $("#div_detail_sp").html(donnees_retour); - } - }); -} - - -function requetes_synthese_consommation_police_export() -{ - v_url = $("#racineWeb").val()+"Ajaxsyntheseconsopolice/exportxls/"; - - $("#div_detail_exp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) - { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_exp').html(donnees_retour); - } - }); -} - -function modifier_type_bon(idTypebon) -{ - donnees = 'idTypebon='+idTypebon; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparambons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_maj_type_bon').html(donnees_retour); - } - }); -} - -function enregistrer_modif_type_bon() -{ - - idTypebon = $("#idTypebon").val(); - dureeVie = $("#dureeVie").val(); - codeGestionBon = $("#codeGestionBon").val(); - - if (dureeVie<="0") - { - v_msg="Veuillez donner une durée de vie au bon!"; - v_msgEng="Please give a lifetime to the form!"; - alert_ebene(v_msg, v_msgEng); - - $("#dureeVie").focus(); - return; - } - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un type de gestion!"; - v_msgEng="Please select a management type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - return; - } - - donnees = 'idTypebon='+idTypebon+'&dureeVie='+dureeVie+'&codeGestionBon='+codeGestionBon; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparambons/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Mis à jour avec succès!"; - v_msgEng="Updated successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Parambons/"); - } - }); -} - -function gerer_acces_actes_prestataire(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function afficher_utilsateur_actesvisibles() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_liste'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function gerer_acces_actes_assureur(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_utilsateur_actesvisibles(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function lister_provisions() -{ - debutAnalyse = $("#debutAnalyse").val(); - dateAnalyse = $("#dateAnalyse").val(); - - donnees = 'debutAnalyse='+debutAnalyse+'&dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxprovisonssin/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function lister_provisions_cpt() -{ - debutAnalyse = $("#debutAnalyse").val(); - dateAnalyse = $("#dateAnalyse").val(); - - donnees = 'debutAnalyse='+debutAnalyse+'&dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxprovisonssincpt/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function lister_provisions_sys() -{ - debutAnalyse = $("#debutAnalyse").val(); - dateAnalyse = $("#dateAnalyse").val(); - - donnees = 'debutAnalyse='+debutAnalyse+'&dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxprovisonssinsys/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function afficher_user_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_liste'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function gerer_acces_actes_assureur_hab(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function reinitpaswd_assureur(codeUtilisateur) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/reinitpaswd/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function desactiver_user_assureur(codeUtilisateur) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_assureur(codeUtilisateur) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function afficher_attribution_profil_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_utilisateur_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/afficherattributionprofilassureur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_un_utilisateur_profil_ass(codeUtilisateur) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil+'&codeUtilisateur='+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajouterunutilisateurprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_profil_assureur(); - } - }); -} - -function ajouter_tous_utilisateur_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajoutertousutilisateurprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_profil_assureur(); - } - }); - } -} - -function afficher_menu_principal_profil_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_menu_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/afficheraccesmenuprincipalass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_un_meunu_principal_profil_ass(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajouterunmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function retirer_un_meunu_principal_profil_ass(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirerunmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function ajouter_tous_menus_principal_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajoutertousmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function retirer_tous_menus_principal_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirerousmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function ajaxListerVueModule() -{ - codeModule=$("#codeModule").val(); - donnees = 'codeModule='+codeModule; - - var div_attente = $('#listevue'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/listervuemodule/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() - { - vider_menu_vue_module_assureur(); - } - }); -} - -function afficher_menu_vue_module_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - var div_attente = $('#div_menu_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/afficheraccessousmenusass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function vider_menu_vue_module_assureur() -{ - var div_attente = $('#div_menu_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - div_attente.html(""); -} - -function ajouter_tous_menu_vue_module_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajoutertoussousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function retirer_tous_menu_vue_module_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirertoussousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function ajouter_un_menu_vue_module_assureur(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - donnees += '&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajouterunsousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function retirer_un_menu_vue_module_assureur(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - donnees += '&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirerunsousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function users_gc() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - - if (codeGcAssureur>" ") - { - window.location.assign($("#racineWeb" ).val()+"Usersgcassureur/"); - } -} - -function reinitpaswd_gc(codeUtilisateur) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/reinitpaswd/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function desactiver_user_gc(codeUtilisateur) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_gc(codeUtilisateur) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function gerer_acces_actes_gc(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function retour_au_profil_ass() -{ - window.location.assign($("#racineWeb" ).val()+"Listeprofilass/"); -} - -function creer_profil_ass() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name of the profil in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en anglais!"; - v_msgEng="Please enter the name of the profil in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ce nouveau profil?"; - v_msgEng="Do you confirm this new profile?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/creerprofilass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_au_profil_ass(); - } - }); - } -} - -// tranferer_droits_profil_ass -function tranferer_droits_profil_ass() -{ - codeProfilSource=$("#codeProfilSource").val(); - - if (codeProfilSource<=" ") - { - v_msg="Veuillez sélectionner le profil source!"; - v_msgEng="Please select the source profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfilSource").focus(); - return; - } - - codeProfilDest=$("#codeProfilDest").val(); - - if (codeProfilDest<=" ") - { - v_msg="Veuillez sélectionner le profil de destination!"; - v_msgEng="Please select the destination profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfilDest").focus(); - return; - } - - if (codeProfilDest==codeProfilSource) - { - v_msg="Veuillez changer le profil de destination!"; - v_msgEng="Please change the destination profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfilDest").focus(); - return; - } - - donnees = 'codeProfilSource='+codeProfilSource; - donnees += '&codeProfilDest='+codeProfilDest; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/transfererdroitsprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_au_profil_ass(); - } - }); - } -} - -function batch_vider_droits_profil_assureur(codeProfil) -{ - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProfil='+codeProfil; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste'); - sav_div_liste_htm = div_attente.html(); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/batchviderprofilass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - div_attente.html(sav_div_liste_htm); - } - }); - } -} - -function batch_atrtribuer_droits_reference_profil_assureur(codeProfil) -{ - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProfil='+codeProfil; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste'); - sav_div_liste_htm = div_attente.html(); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/batchattribuerdroitsreferenceass/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - div_attente.html(sav_div_liste_htm); - } - }); - } -} - -function reinitpaswd_assure(idAdherent) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idAdherent="+idAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhabilitationadherent/reinitpaswd/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_a_extranet_adh(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function retour_a_extranet_adh() -{ - window.location.assign($("#racineWeb" ).val()+"Extranetadherent/"); -} - -function desactiver_user_assure(idAdherent) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idAdherent="+idAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhabilitationadherent/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_a_extranet_adh(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_assure(idAdherent) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idAdherent="+idAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhabilitationadherent/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_a_extranet_adh(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function ctrlkeypress_liste_users_ass(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_users_ass(); - } -} - -function afficher_liste_users_ass() -{ - donnees = ""; - donnees_retour = ""; - - codeProfil = $("#codeProfil").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - - if (codeProfil+nom+prenoms<=" ") - { - v_msg="Veuillez indiquer au moins un critère de recherche!"; - v_msgEng="Please enter at least one search criteria!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees += 'codeProfil=' + codeProfil; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - - - $("#div_liste_users").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/Ajaxlisteusersass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_users").html(donnees_retour); - } - }); -} - -function afficher_users_ass_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheusersass/"+idUtilisateur+"/"); -} - -function retour_a_usersassureur() -{ - window.location.assign($("#racineWeb" ).val()+"Usersassureur/"); -} - -function enregistrer_modif_usersassureur() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codeProfil = $("#codeProfil").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisible").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&codeProfil=' + codeProfil; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/enregistrermodifusersass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_a_usersassureur(); - } - }); - } -} - -function creer_user_assureur() -{ - codeProfil = $("#codeProfil").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - codeUtilisateur = codeUtilisateur.trim(); - codeUtilisateur = supprimer_espace_string(codeUtilisateur); - codeUtilisateur = codeUtilisateur.toLowerCase(); - - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codeProfil<=" ") - { - v_msg="Veuillez sélectionner le profil source!"; - v_msgEng="Please select the source profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - if(codeUtilisateur<=" ") - { - v_msg="Veuillez indiquer le login!"; - v_msgEng="Please enter the login!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - return; - } - - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisibleUser").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'codeProfil='+codeProfil+'&codeUtilisateur='+codeUtilisateur; - donnees += '&nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible+'&AffectionVisible='+AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/creeruserassureur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_login').html(data); - }, - complete: function() - { - uniciteLogin = $("#uniciteLogin").val(); - if(uniciteLogin==1) - { - v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!"; - v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_usersassureur(); - } - else - { - v_msg="Login " + codeUtilisateur +" déjà utilisé!"; - v_msgEng="Login " + codeUtilisateur +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - } - } - }); - } -} - -function supprimer_espace_string(p_mot) -{ - p_mot = p_mot.trim(); - p_mot = p_mot.replace(/ /g, ""); - return p_mot; -} - -function enregistrer_modif_user_prestataire() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/enregistrermodifuserprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - users_prestataire(); - } - }); - } -} - -function afficher_users_prestataire_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheuserprestataire/"+idUtilisateur+"/"); -} - -function afficher_users_gc_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheusergc/"+idUtilisateur+"/"); -} - -function retour_a_users_gc() -{ - window.location.assign($("#racineWeb" ).val()+"Usersgcassureur/"); -} - -function enregistrer_modif_user_gc() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/enregistrermodifusergc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - retour_a_users_gc(); - } - }); - } -} - -function creer_user_gc() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - codeUtilisateur = codeUtilisateur.trim(); - codeUtilisateur = supprimer_espace_string(codeUtilisateur); - codeUtilisateur = codeUtilisateur.toLowerCase(); - - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(codeUtilisateur<=" ") - { - v_msg="Veuillez indiquer le login!"; - v_msgEng="Please enter the login!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - return; - } - - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeUtilisateur='+codeUtilisateur; - donnees += '&nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/creerusergc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_login').html(data); - }, - complete: function() - { - uniciteLogin = $("#uniciteLogin").val(); - if(uniciteLogin==1) - { - v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!"; - v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_users_gc(); - } - else - { - v_msg="Login " + codeUtilisateur +" déjà utilisé!"; - v_msgEng="Login " + codeUtilisateur +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - } - } - }); - } -} -function notesfeuillemaladie() -{ - actVisible=$("#actVisible").val(); - - if (actVisible!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Notesfeuillemaladie/"); -} - -function changer_avenant_incorporation() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - donnees = 'idAvenant='+idAvenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxavenant/getdateavenant/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_date_avenant").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() - { - prorater_prime_adherent(); - } - }); -} - - -function changer_avenant_incorporation_beneficiaire() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - donnees = 'idAvenant='+idAvenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxavenant/getdateavenantbeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_date_avenant").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() - { - prorater_prime_beneficiaire(); - } - }); -} - -function param_requeteperso() -{ - window.location.assign($("#racineWeb" ).val()+"Paramerequeteperso/"); -} - -function creer_requeteperso() -{ - nomRequete = $("#nomRequete").val(); - nomRequeteEng = $("#nomRequeteEng").val(); - descriptionRequete = $("#descriptionRequete").val(); - sourceDonnees = $("#sourceDonnees").val(); - ordre = $("#ordreRequete").val(); - - if(nomRequete<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Français!"; - v_msgEng="Please enter the name of the request in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequete").focus(); - return; - } - - if(nomRequeteEng<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Anglais!"; - v_msgEng="Please enter the name of the request in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequeteEng").focus(); - return; - } - - if(descriptionRequete<=" ") - { - v_msg="Veuillez entrer une description!"; - v_msgEng="Please enter a description!"; - alert_ebene(v_msg, v_msgEng); - - $("#descriptionRequete").focus(); - return; - } - - if(sourceDonnees<=" ") - { - v_msg="Veuillez sélectionner une source de données!"; - v_msgEng="Please select a data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if(ordre<1) - { - v_msg="Veuillez donner un ordre à la requête!"; - v_msgEng="Please give an order to the query!"; - alert_ebene(v_msg, v_msgEng); - - $("#ordreRequete").focus(); - return; - } - - donnees = 'nomRequete='+nomRequete; - donnees += '&nomRequeteEng='+nomRequeteEng; - donnees += '&descriptionRequete='+descriptionRequete; - donnees += '&sourceDonnees='+sourceDonnees; - donnees += '&ordre='+ordre; - - v_msg="Confirmez-vous cette nouvelle requête?"; - v_msgEng="Do you confirm this new qurey?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/creerrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - param_requeteperso_liste(); - } - }); - } -} - -function param_requeteperso_liste() -{ - window.location.assign($("#racineWeb" ).val()+"Listerequeteperso/"); -} - -function afficher_requeteperso_id(idrequete) -{ - window.location.assign($("#racineWeb" ).val()+"Ficherequetesperso/"+idrequete+"/"); -} - -function desactiver_requeteperso(codeRequete) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeRequete="+codeRequete; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_requeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_requeteperso(codeRequete) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeRequete="+codeRequete; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_requeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function afficher_sourcedonneesrequeteperso_id(idsourcerequete) -{ - window.location.assign($("#racineWeb" ).val()+"Fichesourcedonneesrequetesperso/"+idsourcerequete+"/"); -} - - -function param_sourcedonneesrequeteperso_liste() -{ - window.location.assign($("#racineWeb" ).val()+"Sourcerequetesperso/"); -} - - -function enregistrer_modif_sourcedonneesrequeteperso() -{ - idsourcerequete = $("#idsourcerequete").val(); - sourceDonnees = $("#sourceDonnees").val(); - sourceDonnees = supprimer_espace_string(sourceDonnees); - - if (sourceDonnees<=" ") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees.substring(0, 9)!="sp_perso_") - { - v_msg="Doit commencer par (sp_perso_)!"; - v_msgEng="Must start by (sp_perso_)!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees=="sp_perso_") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - donnees = 'idsourcerequete=' + idsourcerequete; - donnees += '&sourceDonnees=' + sourceDonnees; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/enregistrermodifsourcedonneesrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - param_sourcedonneesrequeteperso_liste(); - } - }); - } -} - -function desactiver_sourcedonneesrequeteperso(sourceDonnees) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "sourceDonnees="+sourceDonnees; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/desactiversourcedonnees/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_sourcedonneesrequeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_sourcedonneesrequeteperso(sourceDonnees) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "sourceDonnees="+sourceDonnees; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/activersourcedonnees/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_sourcedonneesrequeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function creer_sourcedonneesrequeteperso() -{ - sourceDonnees = $("#sourceDonnees").val(); - sourceDonnees = supprimer_espace_string(sourceDonnees); - - if (sourceDonnees<=" ") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees.substring(0, 9)!="sp_perso_") - { - v_msg="Doit commencer par (sp_perso_)!"; - v_msgEng="Must start by (sp_perso_)!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees=="sp_perso_") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - donnees = 'sourceDonnees=' + sourceDonnees; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/creersourcedonneesrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - param_sourcedonneesrequeteperso_liste(); - } - }); - } -} - -function enregistrer_modif_requeteperso() -{ - idrequete = $("#idrequete").val(); - codeRequete = $("#codeRequete").val(); - - nomRequete = $("#nomRequete").val(); - nomRequeteEng = $("#nomRequeteEng").val(); - descriptionRequete = $("#descriptionRequete").val(); - sourceDonnees = $("#sourceDonnees").val(); - ordre = $("#ordreRequete").val(); - - if(nomRequete<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Français!"; - v_msgEng="Please enter the name of the request in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequete").focus(); - return; - } - - if(nomRequeteEng<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Anglais!"; - v_msgEng="Please enter the name of the request in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequeteEng").focus(); - return; - } - - if(descriptionRequete<=" ") - { - v_msg="Veuillez entrer une description!"; - v_msgEng="Please enter a description!"; - alert_ebene(v_msg, v_msgEng); - - $("#descriptionRequete").focus(); - return; - } - - if(sourceDonnees<=" ") - { - v_msg="Veuillez sélectionner une source de données!"; - v_msgEng="Please select a data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if(ordre<1) - { - v_msg="Veuillez donner un ordre à la requête!"; - v_msgEng="Please give an order to the query!"; - alert_ebene(v_msg, v_msgEng); - - $("#ordreRequete").focus(); - return; - } - - donnees = 'idrequete='+idrequete; - donnees += '&codeRequete='+codeRequete; - - donnees += '&nomRequete='+nomRequete; - donnees += '&nomRequeteEng='+nomRequeteEng; - donnees += '&descriptionRequete='+descriptionRequete; - donnees += '&sourceDonnees='+sourceDonnees; - donnees += '&ordre='+ordre; - - v_msg="Confirmez-vous cette nouvelle requête?"; - v_msgEng="Do you confirm this new qurey?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/enregistrermodifrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - param_requeteperso_liste(); - } - }); - } -} - -function parametres_sourcedonneesrequeteperso(idsourcerequete) -{ - window.location.assign($("#racineWeb" ).val()+"Paramsourcedonneesrequetesperso/"+idsourcerequete+"/"); -} - -function reconstruire_param_requeteperso(idsourcerequete) -{ - donnees = 'idsourcerequete=' + idsourcerequete; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/reconstruireparamrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - parametres_sourcedonneesrequeteperso(idsourcerequete); - } - }); - } -} - -function ajaxenteteetatperso() -{ - $("#div_ente_requete").html(""); - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - donnees = 'codeRequete='+codeRequete; - - v_url = $("#racineWeb").val()+"Ajaxenteteetatperso/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - - $(".datepicker").datepicker({dateFormat: 'yy-mm-dd'}); - } - }); -} - -function executer_etat_perso() -{ - donnees_retour = ""; - - donnees = $("#frm_requete_perso").serialize(); - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetatperso/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ctrlkeypress_familleacte(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_caracteristiques_acte(); - } -} - -function afficher_caracteristiques_acte() -{ - effacer_caracteristiques_un_acte(); - - codeFamilleActe=$("#codeFamilleActe").val(); - libelleActe=$("#libelleActe").val(); - - if(libelleActe<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleActe").focus(); - return; - } - - donnees = 'codeFamilleActe='+codeFamilleActe+'&libelleActe='+libelleActe; - - var div_detail_actes = $('#div_detail_actes'); - div_detail_actes.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacracteristiquesacte/", - type: 'POST', - data: donnees, - success: function(data) { - div_detail_actes.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function afficher_caracteristiques_un_acte(idActe) -{ - donnees = 'idActe='+idActe; - donnees_retour = ""; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacracteristiquesacte/fichecracteristiquesacte/", - type: 'POST', - data: donnees, - success: function(data) - { - donnees_retour = data; - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - $('#div_fiche_acte').html(donnees_retour); - } - }); -} - -function init_import_assures() -{ - nbCollege = $("#nbCollege_C").val(); - - if (nbCollege<="0") - { - v_msg="Aucun collège!"; - v_msgEng="No college!"; - alert_ebene(v_msg, v_msgEng); - - college_police(); - - return; - } - - nbAdh = $("#nbAdh_C").val(); - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if (codeTypeContrat=="P") - { - v_msg="Ce n\'est pas une police GROUPE!"; - v_msgEng="This is not a GROUP policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeTypeContrat=="F") - { - window.location.assign($("#racineWeb" ).val()+"Importassurefamiliale/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Importassure/"); - } -} - -function desactiver_derogation_permanente(idBeneficiaire) -{ - observations=$("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idBeneficiaire="+idBeneficiaire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/desactiverderogationpermanente/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_permanente(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_derogation_permanente(idBeneficiaire) -{ - observations=$("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idBeneficiaire="+idBeneficiaire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/activerderogationpermanente/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_permanente(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function liste_derogation_permanente() -{ - window.location.assign($("#racineWeb" ).val()+"Derogationpermanente/"); -} - -function raffraichier_gabarit() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgabarit/", - success: function(data) - { - $("#div_ajaxgabarit").html(data); - }, - error: function(errorData) - { - }, - complete: function() - { - $(".datepicker" ).datepicker(); - - raffraichier_messagerie(); - } - }); -} - -function connexion_cookie() -{ - msgErreur=$("#msgErreur").val(); - - donnees = 'msgErreur='+msgErreur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxconnexioncookie/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_ajaxconnexion").html(data); - }, - error: function(errorData) - { - }, - complete: function() - { - var login = document.getElementById("login").value; - if (login>" ") - { - $("#mdp").focus(); - } - else - { - $("#login").focus(); - } - } - }); -} - -function afficher_quittances_police_periode() -{ - idPolice = $("#idPolice_C" ).val(); - debut = $("#debut" ).val(); - fin = $("#fin" ).val(); - - donnees = 'idPolice='+idPolice; - donnees += '&debut='+debut; - donnees += '&fin='+fin; - - // alert("donnees => "+donnees); - // return; - - $("#div_quittancepolice").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - if (numeroPolice>" ") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfichepolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_quittancepolice").html(data); - } - }); - } -} - -function afficher_adherents_police() -{ - $("#div_liste_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteadherent/", - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_adherent").html(data); - } - }); -} - -function diagnosticsfeuillemaladie() -{ - /* - actVisible=$("#actVisible").val(); - - if (actVisible!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - */ - - window.location.assign($("#racineWeb" ).val()+"Diagnosticscons/"); -} - -function afficher_diagnostics_feuille() -{ - $("#div_dianostics").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdiagnosticscons/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_dianostics").html(donnees_retour); - } - }); -} - -function afficher_ecarts_facture() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/ecartfacture/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function ecarts_facture_non_saisies() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/ecartnonsaisi/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function maj_observations_ecart_facture(idEcart, observations) -{ - v_msg="Veuillez saisir ou modifier les observations!"; - v_msgEng="Please enter or edit comments!"; - - observations = prompt_ebene(v_msg, v_msgEng, observations); - - if(observations==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idEcart='+idEcart+"&observations="+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/majobservations/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function recapituler_ecarts_décompte() -{ - // alert("recapituler_ecarts_décompte"); - - $("#div_entete_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/recapecratdecompte/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_entete_ecart_decompte").html(donnees_retour); - } - }); -} - -function init_new_ecart_decompte_non_saisi() -{ - $('#div_saisie_ecart').html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/initnewecart/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_saisie_ecart').html(donnees_retour); - // $this->executerAction("index"); - } - }); -} - -function maj_ecart_facture(idEcart) -{ - donnees = 'idEcart='+idEcart; - - $('#div_saisie_ecart').html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/initmajecartnonsaisi/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_saisie_ecart').html(donnees_retour); - $(".datepicker" ).datepicker(); - } - }); - -} - -function ctrlkeypressbeneficiaireecart(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroBeneficiaire").blur(); - } -} - -function chercher_beneficiaireecart(numeroBeneficiaire) -{ - $("#div_saisie_ecart").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'numeroBeneficiaire='+numeroBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/rechercherbeneficiaireecart/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_saisie_ecart").html(data); - }, - error: function(data) { - }, - complete: function() { - $(".datepicker" ).datepicker(); - } - }); -} - - -function ajouter_ecartdecompte_non_saisi() -{ - idBeneficiaire = $("#idBeneficiaireEcart" ).val(); - dateFacture = $("#dateFacture" ).val(); - montantPrestataire = $("#montantPrestataire" ).val(); - observations = $("#observations" ).val(); - - if(idBeneficiaire<="0") - { - v_msg="Bénéficiaire manquant!"; - v_msgEng="Missing beneficiary!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBeneficiaire").focus(); - return; - } - - if(dateFacture<=" ") - { - v_msg="Date manquant!"; - v_msgEng="Missing date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateFacture").focus(); - return; - } - - if(isNaN(montantPrestataire)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(Math.abs(montantPrestataire)=="0") - { - v_msg="Montant manquant!"; - v_msgEng="Missing amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(observations<=" ") - { - v_msg="observations manquant!"; - v_msgEng="Missing observations!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - $("#dateFactureReelle").val(dateFacture); - - if (date_inclus_mois_decompte()) - { - donnees = 'idBeneficiaire='+idBeneficiaire; - donnees += '&dateFacture='+dateFacture; - donnees += '&montantPrestataire='+montantPrestataire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/ajouterecartdecomptenonsaisi/", - type: 'POST', - data: donnees, - success: function(data) { - // $("#div_saisie_ecart").html(data); - }, - error: function(data) { - }, - complete: function() { - ecarts_facture_non_saisies(); - recapituler_ecarts_décompte(); - } - }); - } -} - -function supprimer_ecart_facture(idEcart) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idEcart='+idEcart; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/supprimerecart/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - ecarts_facture_non_saisies(); - recapituler_ecarts_décompte(); - } - }); - } -} - -function maj_ecartdecompte_non_saisi() -{ - idEcart = $("#idEcart" ).val(); - idBeneficiaire = $("#idBeneficiaireEcart" ).val(); - dateFacture = $("#dateFacture" ).val(); - montantPrestataire = $("#montantPrestataire" ).val(); - observations = $("#observations" ).val(); - - if(idBeneficiaire<="0") - { - v_msg="Bénéficiaire manquant!"; - v_msgEng="Missing beneficiary!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(idEcart<="0") - { - v_msg="Veuillez sélectionner la ligne à modifier!"; - v_msgEng="Please select the line to edit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(dateFacture<=" ") - { - v_msg="Date manquant!"; - v_msgEng="Missing date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateFacture").focus(); - return; - } - - if(isNaN(montantPrestataire)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(Math.abs(montantPrestataire)=="0") - { - v_msg="Montant manquant!"; - v_msgEng="Missing amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(observations<=" ") - { - v_msg="observations manquant!"; - v_msgEng="Missing observations!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - $("#dateFactureReelle").val(dateFacture); - if (date_inclus_mois_decompte()) - { - donnees = 'idEcart='+idEcart; - donnees += '&idBeneficiaire='+idBeneficiaire; - donnees += '&dateFacture='+dateFacture; - donnees += '&montantPrestataire='+montantPrestataire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/majecartnonsaisi/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ecarts_facture_non_saisies(); - recapituler_ecarts_décompte(); - } - }); - } -} - -function imprimer_ecarts_decompte() -{ - var div_export = $('#div_export_ecart_decompte'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_imprimer_ecart_decompte").click(); - - // alert("Ajaximprimerecartdecompte"); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerecartdecompte/", - type: 'POST', - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - // $("#btn_imprimer_ecart_decompte").click(); - } - }); - -} - -function afficher_ecarts_facture_cons() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecomptecons/ecartfacture/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function ecarts_facture_non_saisies_cons() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecomptecons/ecartnonsaisi/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function etat_prod_situation_clients() -{ - dateAnalyse = $("#dateAnalyse").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'dateAnalyse='+dateAnalyse; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_situation_clients_export() -{ - dateAnalyse = $("#dateAnalyse").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'dateAnalyse='+dateAnalyse; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_sin_paiementprestationcumul() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); - -} - -function etat_sin_paiementprestationcumul_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function etat_sin_paiementprestationdet() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); - -} - -function etat_sin_paiementprestationdet_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function gerer_acces_affection_prestataire(codeUtilisateur, AffectionVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&AffectionVisible="+AffectionVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/gereraccesaffection/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function gerer_acces_affection_assureur_hab(codeUtilisateur, AffectionVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&AffectionVisible="+AffectionVisible; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/gereraccesaffection/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function gerer_acces_affection_gc(codeUtilisateur, AffectionVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&AffectionVisible="+AffectionVisible; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/gereraccesaffection/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function desactiver_derogation_finger_prestataire(codePrestataire) -{ - v_msg="Veuillez saisir le motif de l\'activation!"; - v_msgEng="Please enter the reason for activation!"; - - motif_activation = prompt_ebene(v_msg, v_msgEng); - - if(motif_activation<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - donnees += "&motif="+motif_activation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/desactiverderogationfinger/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_derogation_finger_prestataire(codePrestataire) -{ - v_msg="Veuillez saisir le motif de l\'activation!"; - v_msgEng="Please enter the reason for activation!"; - - motif_activation = prompt_ebene(v_msg, v_msgEng); - - if(motif_activation<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - donnees += "&motif="+motif_activation; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/activerderogationfinger/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - - -function exporter_liste_clients() -{ - var div_export = $('#div_export_clients'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_liste_clients").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlisteclients/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - // $("#btn_liste_clients").click(); - } - }); -} - - -function etat_fact_par_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_fact_par_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_fact_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_fact_par_mois_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_fact_par_emission() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_fact_par_emission_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function imprimer_emission_prime() -{ - idEmission=$("#idEmission").val(); - idPolice=$("#idPolice").val(); - - donnees = "idEmission="+idEmission+"&idPolice="+idPolice; - - var div_export = $('#div_export_emissions'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_export_emissions").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterquittancesemission/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_quittance(idQuittance) -{ - if (idQuittance>"0") - { - donnees = "idQuittance="+idQuittance; - - - var div_export = $('#div_export_quittance'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_export_quittance").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterunequittance/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - else - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -// etatprod_encaissement -function etat_enc_par_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_enc_par_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_enc_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_enc_par_mois_export() -{ - - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_borderau_encissements() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_borderau_encissements_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ctrlkeypressemission(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroEmission").blur(); - } -} - -function requete_chercher_emission(numeroEmission) -{ - $("#div_consulter_resultat").html(''); - - $("#div_consulter_resultat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'numeroEmission='+numeroEmission; - - - if(isNaN(numeroEmission)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroEmission").val("0"); - $("#numeroEmission").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrechercheemission/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_resultat").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ctrlkeypressquittance(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#idQuittance").blur(); - } -} - -function requete_chercher_quittance(idQuittance) -{ - $("#div_consulter_resultat").html(''); - - $("#div_consulter_resultat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idQuittance='+idQuittance; - - if(isNaN(idQuittance)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idQuittance").val("0"); - $("#idQuittance").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecherchequittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_resultat").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ctrlkeypressencaissement(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroEncaissement").blur(); - } -} - -function requete_chercher_encaissement(numeroEncaissement) -{ - $("#div_consulter_resultat").html(''); - - $("#div_consulter_resultat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'numeroEncaissement='+numeroEncaissement; - - if(isNaN(numeroEncaissement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroEncaissement").val("0"); - $("#numeroEncaissement").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrechercheencaissement/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_resultat").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function afficher_emission_retour() -{ - idEmission = $("#idEmission").val(); - - if (idEmission>"0") - { - window.location.assign($("#racineWeb" ).val()+"Emission/"+idEmission+"/"); - } -} - -function etat_enc_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_beneficiare_prime_adherent() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaireprimeadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - } - }); -} - -function afficher_beneficiare_prime_beneficiaire() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaireprimebeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - } - }); -} - -function maj_motif_non_paiement(idReglement, motifNonPaiement) -{ - v_msg="Veuillez saisir ou modifier le commentaire!"; - v_msgEng="Please enter or edit comments!"; - - motifNonPaiement = prompt_ebene(v_msg, v_msgEng, motifNonPaiement); - - if(motifNonPaiement==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idReglement='+idReglement+"&motifNonPaiement="+motifNonPaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementcpt/majmotifnonpaiement/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function afficher_garantieadherent_exo() -{ - var div_attente = $('#div_gar_exo'); - - exercieReference=$("#exercieReference").val(); - - if (exercieReference<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#exercieReference").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'exercieReference='+exercieReference; - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxplafondadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function afficher_garantieadherent_entete_contrat() -{ - var div_attente = $('#div_gar_exo'); - - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - // donnees = 'exercieReference='+exercieReference; - donnees = 'idEntetecontrat='+idEntetecontrat; - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxplafondadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajaxdelaicarencetypecontrat() -{ - codeTypeContrat=$("#codeTypeContrat").val(); - - donnees = 'codeTypeContrat='+codeTypeContrat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdelaicarencetypecontrat/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infodelaicarence").html(data); - }, - complete: function() { - $("#delaiCarencePolice").val( $("#delaiCarencePolice_info").val()); - } - }); -} - -function afficher_liste_medecins() -{ - donnees = ""; - donnees_retour = ""; - - - codeSpecialite = $("#codeSpecialite").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - - if(codeSpecialite<=" " && nom<=" " && prenoms<=" " && noOrdreMedecin<=" ") - { - v_msg="Veuillez saisir le filtre!"; - v_msgEng="Please enter the filter!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - donnees += 'codeSpecialite=' + codeSpecialite; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&noOrdreMedecin=' + noOrdreMedecin; - - $("#div_liste_medeins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemedecinsparametrage/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_medeins").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function ctrlkeypress_liste_medecins(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_medecins(); - } -} - -function imprimer_liste_medecins() -{ - donnees = ""; - donnees_retour = ""; - - - codeSpecialite = $("#codeSpecialite").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - - if(codeSpecialite<=" " && nom<=" " && prenoms<=" " && noOrdreMedecin<=" ") - { - v_msg="Veuillez saisir le filtre!"; - v_msgEng="Please enter the filter!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - donnees += 'codeSpecialite=' + codeSpecialite; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&noOrdreMedecin=' + noOrdreMedecin; - - $("#div_liste_medeins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlistemedecins/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_medeins").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_medecins() -{ - donnees = ""; - donnees_retour = ""; - - - codeSpecialite = $("#codeSpecialite").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - - if(codeSpecialite<=" " && nom<=" " && prenoms<=" " && noOrdreMedecin<=" ") - { - v_msg="Veuillez saisir le filtre!"; - v_msgEng="Please enter the filter!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - donnees += 'codeSpecialite=' + codeSpecialite; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&noOrdreMedecin=' + noOrdreMedecin; - - $("#div_liste_medeins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlistemedecinsexport/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_medeins").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function afficher_medecin_id(idMedecin) -{ - window.location.assign($("#racineWeb" ).val()+"Fichemedecin/"+idMedecin+"/"); -} - -function modifier_medecin() -{ - idMedecin = $("#idMedecin" ).val(); - - if (idMedecin>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiermedecin/"+idMedecin+"/"); - } -} - -function creer_medecin() -{ - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codeSpecialite = $("#codeSpecialite").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - sexe = $("#sexe").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(prenoms<=" ") - { - v_msg="Veuillez indiquer le prénoms!"; - v_msgEng="Please give the first names"; - alert_ebene(v_msg, v_msgEng); - - $("#prenoms").focus(); - return; - } - - if(codeSpecialite<=" ") - { - v_msg="Veuillez sélectionner la spécialité!"; - v_msgEng="Please select the specialty"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - if(sexe<=" ") - { - v_msg="Veuillez indiquer le sexe!"; - v_msgEng="Please indicate sex"; - alert_ebene(v_msg, v_msgEng); - - $("#sexe").focus(); - return; - } - - donnees = 'nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email; - donnees += '&codeSpecialite='+codeSpecialite+'&noOrdreMedecin='+noOrdreMedecin+'&sexe='+sexe; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouveau médecin?"; - v_msgEng="Confirm this new doctor?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinparam/creermedecin/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_medecin').html(data); - }, - complete: function() - { - unicitemedecin = $("#unicitemedecin").val(); - if(unicitemedecin==1) - { - v_msg="Médecin créé avec succès!"; - v_msgEng="Doctor created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_medecins(); - } - else - { - v_msg="No Ordre " + noOrdreMedecin +" déjà utilisé!"; - v_msgEng="Doctor Order No " + noOrdreMedecin +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#noOrdreMedecin").focus(); - } - } - }); - } -} - -function retour_a_medecins() -{ - window.location.assign($("#racineWeb" ).val()+"Medecins/"); -} - -function retour_medecin_id() -{ - idMedecin = $("#idMedecin").val(); - afficher_medecin_id(idMedecin); -} - -function enregistrer_modif_medecin() -{ - idMedecin = $("#idMedecin").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codeSpecialite = $("#codeSpecialite").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - sexe = $("#sexe").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(prenoms<=" ") - { - v_msg="Veuillez indiquer le prénoms!"; - v_msgEng="Please give the first names"; - alert_ebene(v_msg, v_msgEng); - - $("#prenoms").focus(); - return; - } - - if(codeSpecialite<=" ") - { - v_msg="Veuillez sélectionner la spécialité!"; - v_msgEng="Please select the specialty"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - if(sexe<=" ") - { - v_msg="Veuillez indiquer le sexe!"; - v_msgEng="Please indicate sex"; - alert_ebene(v_msg, v_msgEng); - - $("#sexe").focus(); - return; - } - - donnees = 'idMedecin='+idMedecin+'&nom='+nom; - donnees += '&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email; - donnees += '&codeSpecialite='+codeSpecialite+'&noOrdreMedecin='+noOrdreMedecin+'&sexe='+sexe; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinparam/enregistrermodifmedecin/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_medecin_id(); - } - }); - } -} - -function reposmedical() -{ - actVisible=$("#actVisible").val(); - - if (actVisible!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Reposmedical/"); -} - -function afficher_repos_medical() -{ - $("#div_notes").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxreposmedical/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_notes").html(donnees_retour); - } - }); -} - -function initier_repos_medical() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxreposmedical/nouveaureposmedical/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_note_new").html(data); - }, - complete: function() { - $("#btn_pop_note_new").click(); - } - }); -} - -function enregistrer_new_repos_medical() -{ - notesNew = $("#notesNew").val(); - notesNew = notesNew.trim(); - - if (notesNew<=" ") - { - v_msg="Veuillez saisir la note!"; - v_msgEng="Please enter the note!"; - alert_ebene(v_msg, v_msgEng); - - $("#notesNew").focus(); - return; - } - - nbJour = $("#nbJour").val(); - - if(isNaN(nbJour)) - { - v_msg="Veuillez revoir la duréee!"; - v_msgEng="Please review the duration!"; - alert_ebene(v_msg, v_msgEng); - - $("#nbJour").focus(); - return; - } - - if (nbJour<="0") - { - v_msg="Veuillez revoir la duréee!"; - v_msgEng="Please review the duration!"; - alert_ebene(v_msg, v_msgEng); - - $("#nbJour").focus(); - return; - } - - donnees = 'notesNew='+notesNew+"&nbJour="+nbJour; - - v_msg="Confirmez-vous ce repos médical?"; - v_msgEng="Do you confirm this medical rest?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxreposmedical/creerreposmedical/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#btn_pop_note_new_quit").click(); - }, - complete: function() { - afficher_repos_medical(); - } - }); - } -} - -function charger_detail_stat_police_anomalies() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspanomalie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function imprimer_quittance_client(idQuittance) -{ - if (idQuittance>"0") - { - donnees = "idQuittance="+idQuittance; - - - var div_export = $('#div_export_quittance'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_export_quittance").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterunequittanceclient/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - else - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function imprimer_livraison_bon_differe(idgenerartionbon) -{ - donnees = "idgenerartionbon="+idgenerartionbon; - - $('#btn_accuse_reception').click(); - - var div_accuse_reception = $('#div_accuse_reception'); - div_accuse_reception.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlivraisonbonsdiffere/", - type: 'POST', - data: donnees, - success: function(data) - { - div_accuse_reception.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_livraison_bon_menu() -{ - idGenerationbon = $("#idGenerationbon").val(); - imprimer_livraison_bon_differe(idGenerationbon); -} - -function anteceentsmedicaux() -{ - estMedecin=$("#estMedecin").val(); - - if (estMedecin!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Anteceentsmedicaux/"); -} - -function diagnosticsbeneficiaire() -{ - estMedecin=$("#estMedecin").val(); - - if (estMedecin!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Diagnosticsconsbeneficiaire/"); -} - -function notesbeneficiaire() -{ - estMedecin=$("#estMedecin").val(); - - if (estMedecin!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Notesbeneficiaire/"); -} - -function afficher_diagnostics_beneficiaire() -{ - $("#div_dianostics").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdiagnosticsbeneficiaire/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_dianostics").html(donnees_retour); - } - }); -} - -function afficher_notes_beneficiaire() -{ - $("#div_notes").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesbeneficiaire/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_notes").html(donnees_retour); - } - }); -} - -function etat_sin_paiementprestationcumul_graph() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"graph/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - // alert("error =>"+errorData); - }, - success: function(data) { - donnees_retour = data; - // alert("success =>"+data); - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// 27/11/2019 - -function etat_prod_par_mois_eclate() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_mois_eclate_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function effacer_caracteristiques_un_acte() -{ - $('#div_fiche_acte').html(""); -} - -function enregistrer_modif_caracteristiques_un_acte() -{ - idActe = $("#idActe").val(); - codeActe = $("#codeActe").val(); - - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - // codeFamilleActe = $("#codeFamilleActe").val(); - codeFamilleActe = $("#codeFamilleActeMaj").val(); - codeGarantie = $("#codeGarantie").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - alerte = $("#alerte").val(); - delaiCarenceActe = $("#delaiCarenceActe").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le libellé en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir le libellé en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - if(codeFamilleActe<=" ") - { - v_msg="Veuillez sélectionner la famille!"; - v_msgEng="Please select the family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - if(codeGarantie<=" ") - { - v_msg="Veuillez sélectionner une garantie!"; - v_msgEng="Please select a benefit!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGarantie").focus(); - return; - } - - if(codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeTypePrestation<=" ") - { - v_msg="Veuillez sélectionner un type!"; - v_msgEng="Please select a type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestation").focus(); - return; - } - - donnees = 'idActe='+idActe; - donnees += '&codeActe='+codeActe; - - donnees += '&libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - donnees += '&codeFamilleActe='+codeFamilleActe; - donnees += '&codeGarantie='+codeGarantie; - donnees += '&codeTarifActe='+codeTarifActe; - donnees += '&codeTypePrestation='+codeTypePrestation; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&alerte='+alerte; - donnees += '&delaiCarenceActe='+delaiCarenceActe; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacracteristiquesacte/enregistrermodifcaracteristiquesacte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $('#div_fiche_acte').html(""); - }, - complete: function() - { - afficher_caracteristiques_acte(); - } - }); - } -} - -function retour_tarifs_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Tarifsactes/"); -} - -function retour_tarifs_optiques() -{ - window.location.assign($("#racineWeb" ).val()+"Tarifsoptiques/"); -} - -function creer_tarif_actes() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/creertarifactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_tarifs_actes(); - } - }); - } -} - -function modifier_tarif_actes(idTarif) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiertarifacte/"+idTarif+"/"); -} - -function enregistrer_modif_tarif_actes() -{ - idTarif = $("#idTarif").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idTarif='+idTarif+'&libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_actes(); - } - }); - } -} - -function lister_tarif_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Listetarifacte/"); -} - -function importer_tarif_actes(idTarif) -{ - v_msg="En cours!"; - v_msgEng="In progress!"; - alert_ebene(v_msg, v_msgEng); - - // return; - - // window.location.assign($("#racineWeb" ).val()+"Importertarifacte/"+idTarif+"/"); -} - -function supprimer_tarif_actes(idTarif) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_actes(); - } - }); - } -} - -function creer_tarif_optiques() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifoptique/creertarifoptiques/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_tarifs_optiques(); - } - }); - } -} - -function modifier_tarif_optiques(idTarif) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiertarifoptique/"+idTarif+"/"); -} - -function importer_tarif_optiques(idTarif) -{ - v_msg="En cours!"; - v_msgEng="In progress!"; - alert_ebene(v_msg, v_msgEng); - - // return; - - // window.location.assign($("#racineWeb" ).val()+"Importertarifoptique/"+idTarif+"/"); -} - -function supprimer_tarif_optiques(idTarif) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifoptique/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_optiques(); - } - }); - } -} - -function lister_tarif_optiques() -{ - window.location.assign($("#racineWeb" ).val()+"Listetarifoptique/"); -} - -function enregistrer_modif_tarif_optiques() -{ - idTarif = $("#idTarif").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idTarif='+idTarif+'&libelle='+libelle+'&libelleEng='+libelleEng; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifoptique/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - lister_tarif_optiques(); - } - }); - } -} - -function modifier_familles_actes(idFamilleacte) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierfamilleacte/"+idFamilleacte+"/"); -} - -function supprimer_familles_actes(idFamilleacte) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/supprimer/", - type : 'post', - data: "idFamilleacte="+idFamilleacte, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_famille_actes_tarif() - } - }); - } -} - -function afficher_famille_actes_tarif() -{ - codeTarifActe=$("#codeTarifActe").val(); - - if (codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe; - - var div_attente = $('#div_liste_famille_acte'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function lister_famille_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Listefamilleacte/"); -} - -function creer_famille_actes() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - codeGarantie = $("#codeGarantie").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - codeTarifActe = $("#codeTarifActe").val(); - hospitalisation = $("#hospitalisation").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - donnees += '&codeGarantie='+codeGarantie+'&codeTypePrestation='+codeTypePrestation; - donnees += '&codeTarifActe='+codeTarifActe+'&hospitalisation='+hospitalisation; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouvelle famille?"; - v_msgEng="Do you confirm this new family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/creerfamillectes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - lister_famille_actes(); - } - }); - } -} - -function afficher_factures_feuille() -{ - $("#div_detail_factures").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesfeuille/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_factures").html(donnees_retour); - } - }); -} - -function consulter_un_dossier() -{ - window.location.assign($("#racineWeb" ).val()+"Dossiercons/"); -} - -function afficher_factures_consultation(numeroBonConsultation) -{ - if (numeroBonConsultation<="0") - { - v_msg="Revoir le numéro!"; - v_msgEng="Review the number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBonConsultation").focus(); - - return; - } - - donnees = "numeroBonConsultation="+numeroBonConsultation; - - $("#div_detail_factures").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossiercons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_factures").html(donnees_retour); - } - }); -} - -function ctrlkeypressconsultation(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroBonConsultation").blur(); - } -} - -function enregistrer_modif_famille_actes() -{ - idFamilleacte = $("#idFamilleacte").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - codeGarantie = $("#codeGarantie").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - codeTarifActe = $("#codeTarifActe").val(); - hospitalisation = $("#hospitalisation").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idFamilleacte='+idFamilleacte+'&libelle='+libelle+'&libelleEng='+libelleEng; - donnees += '&codeGarantie='+codeGarantie+'&codeTypePrestation='+codeTypePrestation; - donnees += '&codeTarifActe='+codeTarifActe+'&hospitalisation='+hospitalisation; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/enregistrermodiffamilleactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - lister_famille_actes(); - } - }); - } -} - -function exporter_tarif_medicament() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifMedicament="+codeTarifMedicament; - - // alert(donnees); - // return; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifmedicament/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function rechercher_actes_famille_param() -{ - var div_detail = $('#div_detail_actes'); - - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - libelleActe=$("#libelleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez sélectionne une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe+'&libelleActe='+libelleActe; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactefamilleparam/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function ajaxfiltrefamilleactetarif() -{ - donnees = "codeTarifActe="+$("#codeTarifActe").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfiltrefamilletarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - $("#listefamille").html(data); - } - }); -} - -function rechercher_actes_famille_param_tous() -{ - var div_detail = $('#div_detail_actes'); - - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - libelleActe=$("#libelleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(libelleActe<=' ') - { - v_msg="Veuillez saisir une désignation!"; - v_msgEng="Please enter a designation!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&libelleActe='+libelleActe; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactefamilleparam/tous/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function enregistrer_nouvel_acte() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - codeFamilleActe = $("#codeFamilleActe").val(); - codeGarantie = $("#codeGarantie").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - alerte = $("#alerte").val(); - delaiCarenceActe = $("#delaiCarenceActe").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le libellé en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir le libellé en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - if(codeFamilleActe<=" ") - { - v_msg="Veuillez sélectionner la famille!"; - v_msgEng="Please select the family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - if(codeGarantie<=" ") - { - v_msg="Veuillez sélectionner une garantie!"; - v_msgEng="Please select a benefit!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGarantie").focus(); - return; - } - - if(codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeTypePrestation<=" ") - { - v_msg="Veuillez sélectionner un type!"; - v_msgEng="Please select a type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestation").focus(); - return; - } - - donnees = 'libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - donnees += '&codeFamilleActe='+codeFamilleActe; - donnees += '&codeGarantie='+codeGarantie; - donnees += '&codeTarifActe='+codeTarifActe; - donnees += '&codeTypePrestation='+codeTypePrestation; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&alerte='+alerte; - donnees += '&delaiCarenceActe='+delaiCarenceActe; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouvelacte/enregistrernouvelacte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_actes(); - } - }); - } -} - -function retour_liste_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Listeactes/"); -} - - -function modifier_un_acte(idActe) -{ - window.location.assign($("#racineWeb" ).val()+"Modifieracte/"+idActe+"/"); -} - -function enregistrer_modif_un_acte() -{ - idActe = $("#idActe").val(); - codeActe = $("#codeActe").val(); - - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - codeFamilleActe = $("#codeFamilleActe").val(); - codeGarantie = $("#codeGarantie").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - alerte = $("#alerte").val(); - delaiCarenceActe = $("#delaiCarenceActe").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le libellé en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir le libellé en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - if(codeFamilleActe<=" ") - { - v_msg="Veuillez sélectionner la famille!"; - v_msgEng="Please select the family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - if(codeGarantie<=" ") - { - v_msg="Veuillez sélectionner une garantie!"; - v_msgEng="Please select a benefit!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGarantie").focus(); - return; - } - - if(codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeTypePrestation<=" ") - { - v_msg="Veuillez sélectionner un type!"; - v_msgEng="Please select a type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestation").focus(); - return; - } - - donnees = 'idActe='+idActe; - donnees += '&codeActe='+codeActe; - - donnees += '&libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - donnees += '&codeFamilleActe='+codeFamilleActe; - donnees += '&codeGarantie='+codeGarantie; - donnees += '&codeTarifActe='+codeTarifActe; - donnees += '&codeTypePrestation='+codeTypePrestation; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&alerte='+alerte; - donnees += '&delaiCarenceActe='+delaiCarenceActe; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouvelacte/enregistrermodifacte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_actes(); - } - }); - } -} - -function ctrlkeypress_rechercher_actes_famille_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_actes_famille_param(); - } -} - -function ajax_composante_tarif() -{ - adminSin=$("#adminSin").val(); - - if (adminSin!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/affichercomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_actes_fam_au_tarif() -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/ajoutertousactsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); - } -} - -function ajouter_un_acte_au_tarif(idActe) -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'idActe='+idActe+'&codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/ajouterunacteautarif/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); -} - -function retirer_un_acte_du_tarif(idDetailtarifacte) -{ - donnees = 'idDetailtarifacte='+idDetailtarifacte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/retirerunactedutarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); -} - -function retirer_tous_actes_fam_du_tarif() -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/retirertousactsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); - } -} - -function maj_composante_tarif_acte(idActe, prix) -{ - donnees = 'idActe='+idActe+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/majprix/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function(data) - { - } - }); -} - -function ajaxfiltrefamilleactecomposantetarif() -{ - $("#div_compsante_tarif").html(""); - - donnees = "codeTarifActe="+$("#codeTarifActe").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfiltrefamillecomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#listefamille").html(data); - } - }); -} - -function test_online() -{ - if(navigator.onLine) - { - $("#test_connexion").css('background-color', 'green'); - v_msg="Connexion OK!"; - v_msgEng="Connection OK"; - alert_ebene(v_msg, v_msgEng); - - } - else - { - $("#test_connexion").css('background-color', 'red'); - v_msg="Problème de Connexion!"; - v_msgEng="Connection Problem!"; - alert_ebene(v_msg, v_msgEng); - } - return; -} - -function raffraichier_messagerie() -{ - deconnexion='0'; - if(navigator.onLine) - { - $("#test_connexion").css('background-color', 'green'); - c_html = ""; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/", - success: function(data) { - c_html = data; - }, - error: function(errorData) { - }, - complete: function() { - $("#nbMessagesNonLus").html(c_html); - deconnexion=$("#deconnexion").val(); - // alert("deconnexion => "+deconnexion); - if(deconnexion=='1') - { - window.location.assign($("#racineWeb" ).val()+"Connexion/deconnecter/"); - } - } - }); - } - else - { - $("#test_connexion").css('background-color', 'red'); - return; - } -} - -function ajax_composante_tarif_cons() -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/affichercomposantetarifcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function archiver_tarif_actes(idTarif) -{ - // alert("archiver_tarif_actes"); - // return; - - // v_msg="Confirmez-vous cette suppression?"; - // v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_actes(); - } - }); - } -} - -function exporter_composante_tarif_actes() -{ - codeTarifActe=$("#codeTarifActe").val(); - - if(codeTarifActe<=' ' || codeTarifActe=='ST') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifActe="+codeTarifActe; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarif/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function ajax_init_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - donnees = 'codeTypeDestinataire='+codeTypeDestinataire; - - if(codeTypeDestinataire=='LB') // Libre - { - ajax_init_destinataires_sms_libre(); - return; - } - else - if(codeTypeDestinataire=='AD') // adhérents - { - ajax_init_destinataires_sms_adherent(); - return; - } - else - { - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/init/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire").html(data); - }, - complete: function() - { - } - }); - } -} - -function ajax_init_destinataires_sms_libre() -{ - // $("#div_adherent_destinataire").html(''); - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/libre/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - // $("#div_destinataire_final").html(data); - $("#div_destinataire").html(data); - }, - complete: function() - { - $("#noDestination").focus(); - } - }); -} - -function ajax_init_destinataires_sms_adherent() -{ - $("#div_destinataire_final").html(''); - // $("#div_adherent_destinataire").html(''); - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherent/", - error: function(errorData) { - }, - success: function(data) - { - // $("#div_adherent_destinataire").html(data); - $("#div_destinataire").html(data); - }, - complete: function() - { - } - }); -} - -function ajax_afficher_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - donnees = 'codeTypeDestinataire='+codeTypeDestinataire; - - - // $("#div_adherent_destinataire").html(''); - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $("#div_destinataire_final").html(data); - }, - complete: function() { - } - }); -} - -function mettre_sms_commun_attente() -{ - nbDestinataires = $("#nbDestinataires").val(); - if (nbDestinataires=="0") - { - v_msg="Aucun destinataire!"; - v_msgEng="No recipient!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - textMessage = $("#textMessageCommun").val(); - textMessage = textMessage.trim(); - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageCommun").focus(); - return; - } - - donnees = "textMessage="+textMessage; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/mettresmscommeunattente/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // div_wait.html(data); - }, - complete: function() { - v_msg="Messages mis dans la queue des envois!"; - v_msgEng="Messages in the queue!"; - alert_ebene(v_msg, v_msgEng); - ajax_afficher_destinataires_sms(); - } - }); -} - -function annuler_envoi_sms() -{ - v_msg="Confirmez-vous cette annulation?"; - v_msgEng="Do you confirm this cancellation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - gerer_messagerie(); - } -} - -function ajouter_tous_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/ajouterdestinatairesmstous/", - // type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function retirer_tous_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/retirerdestinatairesmstous/", - // type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function ajouter_un_destinataire_sms(idDestinataire) -{ - donnees = 'idDestinataire='+idDestinataire; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/ajouterundestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function retirer_un_destinataire_sms(idDestinataire) -{ - donnees = 'idDestinataire='+idDestinataire; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/retirerundestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function mettre_sms_commun_attente_libre() -{ - noDestination = $("#noDestination").val(); - if(noDestination.length<5) - { - v_msg="Aucun destinataire!"; - v_msgEng="No recipient!"; - alert_ebene(v_msg, v_msgEng); - - $("#noDestination").focus(); - return; - } - - textMessage = $("#textMessageCommun").val(); - textMessage = textMessage.trim(); - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageCommun").focus(); - return; - } - - donnees = "noDestination="+noDestination+"&textMessage="+textMessage; - - // alert(donnees); - // return; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/mettresmscommeunattentelibre/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // div_wait.html(data); - }, - complete: function() { - v_msg="Messages mis dans la queue des envois!"; - v_msgEng="Messages in the queue!"; - alert_ebene(v_msg, v_msgEng); - - ajax_init_destinataires_sms_libre(); - } - }); -} - -function consulter_envois_sms() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - - $("#div_sms").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/consulter/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_sms").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite() -{ - codeTypeDestinataireAdherent=$("#codeTypeDestinataireAdherent").val(); - if(codeTypeDestinataireAdherent<=' ') - { - v_msg="Veuillez sélectionner un type de recherche!"; - v_msgEng="Please select a search type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataireAdherent").focus(); - return; - } - - donnees = 'codeTypeDestinataireAdherent='+codeTypeDestinataireAdherent; - - $("#div_destinataire_adherent_final").html(''); - $("#div_destinataire_adherent_client_liste").html(''); - $("#div_destinataire_adherent_client").html(''); - - if(codeTypeDestinataireAdherent=='CL') // Client - { - ajax_init_destinataires_sms_adherent_suite_client(); - return; - } - else - if(codeTypeDestinataireAdherent=='CLOC') // Client et Localité - { - ajax_init_destinataires_sms_adherent_suite_client_localite(); - return; - } - else - if(codeTypeDestinataireAdherent=='LOC') // Localité - { - ajax_init_destinataires_sms_adherent_suite_localite(); - return; - } -} - -function sms_recherche_adherent_client() -{ - nomClientAdherent=$("#nomClientAdherent").val(); - if(nomClientAdherent<=' ') - { - v_msg="Veuillez entrer un nom!"; - v_msgEng="Please enter a name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomClientAdherent").focus(); - return; - } - - donnees = 'nomClientAdherent='+nomClientAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclienliste/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $('#div_destinataire_adherent_client_liste').html(data); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite_client() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclient/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_adherent_client").html(data); - }, - complete: function() - { - $("#nomClientAdherent").focus(); - } - }); -} - -function ajax_afficher_destinataires_sms_adherent() -{ - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_final").html(data); - }, - complete: function() { - } - }); -} - -function ajax_init_destinataires_sms_adherent_client() -{ - numeroClientAdherent=$("#numeroClientAdherent").val(); - if(numeroClientAdherent<=' ') - { - v_msg="Veuillez sélectionner un client!"; - v_msgEng="Please select a customer type!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroClientAdherent").focus(); - return; - } - - donnees = 'numeroClientAdherent='+numeroClientAdherent; - - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/initenvoismsadherentclient/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - ajax_afficher_destinataires_sms_adherent(); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite_localite() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentlocalite/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_adherent_client").html(data); - }, - complete: function() - { - $("#codeVille").focus(); - } - }); -} - -function ajax_init_destinataires_sms_adherent_localite() -{ - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees = 'codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/initenvoismsadherentlocalite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - ajax_afficher_destinataires_sms_adherent(); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite_client_localite() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclientlocalite/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_adherent_client").html(data); - }, - complete: function() - { - $("#nomClientAdherent").focus(); - } - }); -} - -function sms_recherche_adherent_client_localite() -{ - nomClientAdherent=$("#nomClientAdherent").val(); - if(nomClientAdherent<=' ') - { - v_msg="Veuillez entrer un nom!"; - v_msgEng="Please enter a name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomClientAdherent").focus(); - return; - } - - donnees = 'nomClientAdherent='+nomClientAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclientlocaliteliste/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $('#div_destinataire_adherent_client_liste').html(data); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_client_localite() -{ - numeroClientAdherent=$("#numeroClientAdherent").val(); - if(numeroClientAdherent<=' ') - { - v_msg="Veuillez sélectionner un client!"; - v_msgEng="Please select a customer type!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroClientAdherent").focus(); - return; - } - - donnees = 'numeroClientAdherent='+numeroClientAdherent; - - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees += '&codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/initenvoismsadherentclientlocalite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - ajax_afficher_destinataires_sms_adherent(); - }, - complete: function() - { - } - }); -} - -function re_init_envoi_sms() -{ - window.location.assign($("#racineWeb" ).val()+"Envoisms/"); -} - -function afficher_adherents_localite() -{ - donnees_retour = ""; - donnees = ""; - - codeLocalite = $("#codeLocalite").val(); - - if(codeLocalite<=' ') - { - v_msg="Veuillez revoir la sélection!"; - v_msgEng="Please review the selection!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeVille").focus(); - return; - } - - donnees = 'codeLocalite=' + codeLocalite; - - $("#div_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocaliseradherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_adherent").html(donnees_retour); - } - }); -} - -function ajaxListerLocaliteAdherent() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocalite/filtreadherentlocalite/", - type : 'post', - data: "codePays="+$("#codePays").val()+"&codeVille="+$("#codeVille").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listelocalite").html(data); - } - }); -} - -function ajouter_tous_adherents_localte() -{ - codeLocalite=$("#codeLocalite").val(); - if(codeLocalite<=' ') - { - v_msg="Veuillez sélectionner une localité!"; - v_msgEng="Please select a location!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLocalite").focus(); - return; - } - - donnees = 'codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocaliseradherent/ajouteradherentlocalitetous/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - afficher_adherents_localite(); - } - }); -} - -function ajouter_un_adherent_localte(idAherent) -{ - donnees = 'codeLocalite=' + codeLocalite; - donnees += '&idAherent='+idAherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocaliseradherent/ajouterunadherentlocalite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - afficher_adherents_localite(); - } - }); -} - -function exporter_adherents_localite() -{ - var div_export = $('#div_exporter'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlocaliseradherent/", - // type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function ajax_init_composante_tarif_medicamant_cons() -{ - $('#div_compsante_tarif').html(""); - $("#libelleActe").focus(); -} - -function ajax_composante_tarif_medicaments_cons() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/affichercomposantetarifcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function rechercher_medicaments_param() -{ - libelleMedicament=$("#libelleMedicament").val(); - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - var div_attente = $('#div_detail_medicaments'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/listemedicaments/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_composante_tarif_medicaments_cons(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_medicaments_cons(); - } -} - -function ctrlkeypress_rechercher_medicaments_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_medicaments_param(); - } -} - -function modifier_un_medicament(idMedicament) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiermedicament/"+idMedicament+"/"); -} - -function retour_liste_medicaments() -{ - window.location.assign($("#racineWeb" ).val()+"Listemedicaments/"); -} - -function enregistrer_modif_un_medicament() -{ - idMedicament = $("#idMedicament").val(); - codeMedicament = $("#codeMedicament").val(); - - libelle = $("#libelle").val(); - unite = $("#unite").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - instructions = $("#instructions").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation!"; - v_msgEng="Please enter the designation!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(unite<=" ") - { - v_msg="Veuillez saisir l\'unité!"; - v_msgEng="Please enter the unit!"; - alert_ebene(v_msg, v_msgEng); - - $("#unite").focus(); - return; - } - - donnees = 'idMedicament='+idMedicament; - donnees += '&codeMedicament='+codeMedicament; - - donnees += '&libelle='+libelle; - donnees += '&unite='+unite; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&instructions='+instructions; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/enregistrermodifmedicament/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_medicaments(); - } - }); - } -} - -function exporter_liste_actes() -{ - codeTarifActe=$("#codeTarifActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifActe="+codeTarifActe; - - // alert(donnees); - // return; - - var div_export = $('#div_export_acte'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarif/listeacte/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_medicaments() -{ - var div_export = $('#div_export_medicament'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifmedicament/listemedicament/", - // type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrer_nouvel_medicament() -{ - libelle = $("#libelle").val(); - unite = $("#unite").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - instructions = $("#instructions").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation!"; - v_msgEng="Please enter the designation!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(unite<=" ") - { - v_msg="Veuillez saisir l\'unité!"; - v_msgEng="Please enter the unit!"; - alert_ebene(v_msg, v_msgEng); - - $("#unite").focus(); - return; - } - - donnees = 'libelle='+libelle; - donnees += '&unite='+unite; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&instructions='+instructions; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/enregistrernouveaumedicament/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_medicaments(); - } - }); - } -} - -function ctrlkeypress_composante_tarif_medicaments(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_medicaments(); - } -} - -function ajax_composante_tarif_medicaments() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/affichercomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_medicaments_libelle_au_tarif() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/ajoutertousmedicamentsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); - } -} - -function retirer_tous_medicaments_libelle_au_tarif() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/retirertousmedicamentsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); - } -} - -function ajouter_un_medicament_au_tarif(idMedicament) -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - donnees = 'idMedicament='+idMedicament+'&codeTarifMedicament='+codeTarifMedicament; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/ajouterunamedicamentautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); -} - -function retirer_un_medicament_du_tarif(idDetailtarifMedicament) -{ - donnees = 'idDetailtarifMedicament='+idDetailtarifMedicament; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/retirerunamedicamentutarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); -} - -function maj_composante_tarif_medicament(idDetailtarifMedicament, prix) -{ - donnees = 'idDetailtarifMedicament='+idDetailtarifMedicament+"&prix="+prix; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/majprix/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function(data) - { - } - }); -} - -function exporter_tarif_verre() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifOptique="+codeTarifOptique; - - alert(donnees); - return; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifmedicament/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function consulterfactureverres() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/verres/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfactureverres_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/verres/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function exporter_tarif_verre() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifOptique="+codeTarifOptique; - - // alert(donnees); - // return; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifverres/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - // $('#div_test_gabarit').html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function ctrlkeypress_rechercher_verres_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_verres_param(); - } -} - -function rechercher_verres_param() -{ - libelleVerre=$("#libelleVerre").val(); - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer la désigantion!"; - v_msgEng="Please enter the designation!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - var div_attente = $('#div_detail_verres'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/listeverres/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function modifier_un_verre(idVerre) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierverre/"+idVerre+"/"); -} - -function retour_liste_verres() -{ - window.location.assign($("#racineWeb" ).val()+"Listeverres/"); -} - -function enregistrer_modif_un_verre() -{ - idVerre = $("#idVerre").val(); - codeOptique = $("#codeOptique").val(); - - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - actif = $("#actif").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation en français!"; - v_msgEng="Please enter the designation in french!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir la désignation en Anglais!"; - v_msgEng="Please enter the designation in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idVerre='+idVerre; - donnees += '&codeOptique='+codeOptique; - - donnees += '&libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - - donnees += '&actif='+actif; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/enregistrermodifverre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_verres(); - } - }); - } -} - -function exporter_liste_verres() -{ - var div_export = $('#div_export_verres'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifverres/listeverres/", - // type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrer_nouveau_verre() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - actif = $("#actif").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation!"; - v_msgEng="Please enter the designation!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir la désignation en Anglais!"; - v_msgEng="Please enter the designation in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - - donnees = 'libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - - donnees += '&actif='+actif; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/enregistrernouveauverre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_verres(); - } - }); - } -} - -function ajax_init_composante_tarif_verre_cons() -{ - $('#div_compsante_tarif').html(""); - $("#libelleVerre").focus(); -} - -function ctrlkeypress_composante_tarif_verre_cons(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_verre_cons(); - } -} - -function ajax_composante_tarif_verre_cons() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - /* - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - */ - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/affichercomposantetarifcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_composante_tarif_verres(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_verres(); - } -} - -function ajax_composante_tarif_verres() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/affichercomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - - -function afficher_dernieres_factures_optique(idBeneficiaire) -{ - idFacture = $("#idFacture").val(); - - $("#div_dernieres_factures_optique").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idBeneficiaire='+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdernieresfacturesoptique/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_dernieres_factures_optique").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajouter_tous_verres_libelle_au_tarif() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/ajoutertousverressautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); - } -} - -function retirer_tous_verres_libelle_du_tarif() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/retirertousverressautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); - } -} - -function ajouter_un_verre_au_tarif(idVerre) -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - donnees = 'idVerre='+idVerre+'&codeTarifOptique='+codeTarifOptique; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/ajouterunverreautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); -} - -function retirer_un_verre_au_tarif(idDetailtarifOptique) -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - donnees = 'idDetailtarifOptique='+idDetailtarifOptique+'&codeTarifOptique='+codeTarifOptique; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/retirerunverredutarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); -} - -function maj_composante_tarif_verres(idDetailtarifOptique, prix) -{ - donnees = 'idDetailtarifOptique='+idDetailtarifOptique+"&prix="+prix; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/majprix/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function(data) - { - } - }); -} - -function exporterbons() -{ - codePrestataire=$("#codePrestataire").val(); - - codeTypeBon=$("#codeTypeBon").val(); - codeEtatBon=$("#codeEtatBon").val(); - - noDepart=$("#noDepart").val(); - noFin=$("#noFin").val(); - - if (noDepart=="") - { - noDepart="0"; - } - - if (noFin=="") - { - noFin="0"; - } - - noDepart = parseInt(noDepart); - noFin = parseInt(noFin); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - if (noFin  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterbons/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function consulter_remplacer_medicament() -{ - $("#div_liste_medicaments_remplaces").html('
  ' + 'Veuillez patienter...' + '
'); - - $('#btn_medicaments_remplaces').click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailprescription/consulterremplacement/", - type: 'POST', - success: function(data) { - $("#div_liste_medicaments_remplaces").html(data); - }, - error: function(data) { - }, - complete: function() - { - // $('#btn_medicaments_remplaces').click(); - } - }); -} - -function etat_prod_par_mois_eclate_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_prod_par_mois_eclate_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function exporter_modele_destinataire_sms() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_destinataires_sms'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterdestinatairesms/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function charger_fichier_modele_destinataire_sms() -{ - $('#div_exporter_destinataires_sms').html(""); - - $('#div_form_upload').show(); - - // return; -} - -function importer_destinataire_sms() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_destinataires_sms'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - cheminFichier=$("#cheminFichier").val(); - - donnees = 'cheminFichier='+cheminFichier; - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterdestinatairesms/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - alert("Actualisation..."); - reinitiliser_envois_sms_hors_systeme(); - } - }); -} - -function ajax_init_destinataires_sms_hos_systeme() -{ - etape3=$("#etape3").val(); - - if (etape3 != "1") - { - v_msg="Etape 3 incomplète!"; - v_msgEng="Incomplete step 3!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#div_envois_sms").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterdestinatairesms/init/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_envois_sms").html(data); - }, - complete: function() - { - } - }); -} - -function reinitiliser_envois_sms_hors_systeme() -{ - window.location.assign($("#racineWeb" ).val()+"Importdestinatairesms/"); -} - -function histo_enrollement_empreinte() -{ - $("#div_detail_suppr_empreinte").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - donnees_retour = ""; - - $("#div_detail_suppr_empreinte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprempreinteexport/historiqueenrollement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_suppr_empreinte").html(donnees_retour); - } - }); -} - -function imprimer_limites_adherent_entete_contrat() -{ - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'idEntetecontrat='+idEntetecontrat; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlimite/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function afficher_garantiebeneficiaire_entete_contrat() -{ - var div_attente = $('#div_gar_exo'); - - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'idEntetecontrat='+idEntetecontrat; - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxplafondbeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajaxchanger_type_bon() -{ - $("#msgErreur").html(""); -} - -function changer_type_bon() -{ - $("#nbligne_info").val("0"); - afficherbon_vide(); -} - -function afficherbon_vide() -{ - $("#div_bonpecs").html(""); - - codeLangue = $("#codeLangue").val(); - if(codeLangue=="en_US") - { - $("#nbligne").val("Number of lines displayed : 0"); - } - else - { - $("#nbligne").val("Nombre de bons affichés : 0"); - } - - /* - codeTypeBon=$("#codeTypeBon").val(); - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - $("#codeTypeBon").focus(); - return; - } - */ - - $("#div_bonpecs").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/vide/", - error: function(errorData) - { - }, - success: function(data) - { - $("#div_bonpecs").html(data); - }, - complete: function() - { - } - }); -} - -function date_inclus_mois_decompte() -{ - datejour = $("#datejour_C").val(); - dateFacture = $("#dateFacture").val(); - dateFactureReelle = dateFacture; - - libelledebutMoisDecompte = $("#debutMoisDecompte").val(); - debutMoisDecompte = $("#debutMoisDecompte").datepicker("getDate"); - var tddebut = new Date(debutMoisDecompte); - dddebut = Math.round(Date.parse(tddebut)/(1000*3600*24)); - - CalculerFinMoisDecompte(); - - libellefinMoisDecompte = $("#finMoisDecompte").val(); - finMoisDecompte = $("#finMoisDecompte").datepicker("getDate"); - var tfin = new Date(finMoisDecompte); - ddfin = Math.round(Date.parse(tfin)/(1000*3600*24)); - - var td1 = $("#dateFacture").datepicker("getDate"); - var tdj = new Date(datejour); - - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dtj=Math.round(Date.parse(tdj)/(1000*3600*24)); - - if ( (dt1ddfin) ) - { - v_msg="Attention! date hors du mois! => "+libelledebutMoisDecompte+" - "+libellefinMoisDecompte; - v_msgEng="Warning! date out of the month!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - if (dt1>dtj) - { - v_msg="Attention! Revoir la date!"; - v_msgEng="Warning! Review the date!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - return true; -} - -function CalculerFinMoisDecompte() -{ - var typdate = $("#debutMoisDecompte").datepicker("getDate"); - typdate.addMonths(1); - $("#finMoisDecompte").datepicker( "setDate", typdate ); -} - -function supprimer_lien_parent_client(idClient) -{ - v_msg="Confirmez-vous la suppression de cette liaison?"; - v_msgEng="Do you confirm the deletion of this link?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxclientliaison/supprimerliaisonclient/", - type : 'post', - data: "idClient="+idClient, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Suppression terminée avec succès terminé!"; - v_msgEng="Deletion completed successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_client_liaison(); - } - }); - } -} - -function afficher_client_liaison() -{ - window.location.assign($("#racineWeb" ).val()+"Liaisonclients/"); -} - -function client_lier_a_un_parent(idClientP) -{ - idClient = $("#idClient").val(); - - // alert("idClient => "+idClient+" ; idClientP => "+idClientP); - // return; - - if (idClient<=" " || idClientP<=" ") - { - v_msg="Veuillez sélectionner le parent!"; - v_msgEng="Please select the parent!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch").focus(); - return; - } - - v_msg="Confirmez-vous cette liaison?"; - v_msgEng="Do you confirm this link?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idClient="+idClient+"&idClientP="+idClientP; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxclientliaison/clientlieraunparent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Liaison effectuée avec succès!"; - v_msgEng="Link successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_client_liaison(); - } - }); - } -} - -function client_ajouter_un_enfant(idClientE) -{ - idClient = $("#idClient").val(); - - if (idClient<=" " || idClientE<=" ") - { - v_msg="Veuillez sélectionner le parent!"; - v_msgEng="Please select the parent!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch_e").focus(); - return; - } - - v_msg="Confirmez-vous cette liaison?"; - v_msgEng="Do you confirm this link?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idClient="+idClientE+"&idClientP="+idClient; - - // alert(donnees) - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxclientliaison/clientlieraunparent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Liaison effectuée avec succès!"; - v_msgEng="Link successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_client_liaison(); - } - }); - } -} - -function ctrlkeypress_parent_client(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_parent_client(); - } -} - -function afficher_pop_recherche_parent_client() -{ - idClient = $("#idClient").val(); - numeroclientsearch = $("#numeroclientsearch").val(); - nomsearch = $("#nomsearch").val(); - - numeroclientsearch = convertir_en_entier(numeroclientsearch); - - if(numeroclientsearch+nomsearch<="0") - { - v_msg="Critères de recherche manquant!"; - v_msgEng="Missing search criteria!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch").focus(); - return; - } - - donnees = "numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&idClient="+idClient; - - // alert(donnees); - // return; - - $("#div_liste_clients_parents").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclientsparents/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_clients_parents").html(data); - } - }); -} - -function afficher_pop_recherche_enfants_client() -{ - idClient = $("#idClient").val(); - numeroclientsearch = $("#numeroclientsearch_e").val(); - nomsearch = $("#nomsearch_e").val(); - - numeroclientsearch = convertir_en_entier(numeroclientsearch); - - if(numeroclientsearch+nomsearch<="0") - { - v_msg="Critères de recherche manquant!"; - v_msgEng="Missing search criteria!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch_e").focus(); - return; - } - - donnees = "numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&idClient="+idClient; - - // alert(donnees); - // return; - - $("#div_liste_clients_enfants").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclientsenfants/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_clients_enfants").html(data); - } - }); -} - -function ctrlkeypress_enfant_client(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_enfants_client(); - } -} - -function afficherbon_vide_sans_wait() -{ - $("#div_bonpecs").html(""); - - codeLangue = $("#codeLangue").val(); - if(codeLangue=="en_US") - { - $("#nbligne").val("Number of lines displayed : 0"); - } - else - { - $("#nbligne").val("Nombre de bons affichés : 0"); - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/vide/", - error: function(errorData) - { - }, - success: function(data) - { - $("#div_bonpecs").html(data); - }, - complete: function() - { - } - }); -} - -function listerderogations_vide() -{ - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogations/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function listerderogationbeneficiaire_vide() -{ - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealables_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealables/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listerententeprealablebeneficiaire_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealablespha_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablespha/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealablesopt_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesopt/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealablesmont_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesmont/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function maj_plafond_adherent_additionnelle(idCollegeTemp, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&plafond="+plafond; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majplafondadherentadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function maj_prime_adherent_additionnelle(idCollegeTemp, prime, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&prime="+prime; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majprimeadherentadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college(); - controle.focus(); - } - }); - } -} - -function maj_plafond_beneficiaire_additionnelle(idCollegeTemp, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majplafondbeneficiaireadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function maj_prime_beneficiaire_additionnelle(idCollegeTemp, prime, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&prime="+prime; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majprimebeneficiaireadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college(); - controle.focus(); - } - }); - } -} - -function afficher_attribution_gestion_bon() -{ - codeGestionBon=$("#codeGestionBon").val(); - - var div_attente = $('#div_gestion_bon'); - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un mode de gestion!"; - v_msgEng="Please select a management mode!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - div_attente.html(""); - return; - } - - donnees = 'codeGestionBon='+codeGestionBon; - - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairegestionbon/afficherattributiongestionbon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_prestataires_gestion_bon() -{ - codeGestionBon=$("#codeGestionBon").val(); - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un mode de gestion!"; - v_msgEng="Please select a management mode!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - return; - } - - donnees = 'codeGestionBon='+codeGestionBon; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairegestionbon/ajoutertousprestatairesgestionbon/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_gestion_bon(); - } - }); - } -} - -function ajouter_un_prestataire_gestion_bon(codePrestataire) -{ - codeGestionBon=$("#codeGestionBon").val(); - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un mode de gestion!"; - v_msgEng="Please select a management mode!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - return; - } - - donnees = 'codeGestionBon='+codeGestionBon+'&codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairegestionbon/ajouterunprestatairegestionbon/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_gestion_bon(); - } - }); -} - - -function requetes_factures_gc_export_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegcexport/avecgaranties/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function charger_detail_facture_gc_xls_gar() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfacturegcxls/avecgaranties/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - - -function exporter_paiement_decompte() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterpaiementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - }, - complete: function() { - } - }); -} - - -function exporter_decompte_non_payes() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterpaiementdecompte/impayes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - }, - complete: function() { - } - }); -} - - -function etat_moy_categ_med_prestataire() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_moy_categ_med_prestataire_export() -{ - // alert("etat_moy_moy_categ_med_prestataire_export"); - // return; - - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// assurance maladie individuelle => 01/11/2020 -function rechercher_commercail_type_param() -{ - var div_detail = $('#div_detail_apporteur'); - - codeTypeApporteur=$("#codeTypeApporteur").val(); - libelleApporteur=$("#libelleApporteur").val(); - - /* - if(codeTypeApporteur<=' ') - { - v_msg="Veuillez sélectionner un type apporteur!"; - v_msgEng="Please select a type of trader!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeApporteur").focus(); - return; - } - */ - - donnees = 'codeTypeApporteur='+codeTypeApporteur+'&libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - - -function rechercher_commercail_type_param_tous() -{ - var div_detail = $('#div_detail_apporteur'); - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/tous/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function ctrlkeypress_rechercher_commercail_type_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_commercail_type_param(); - } -} - -function modifier_un_commercial(idApporteur) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiercommercial/"+idApporteur+"/"); -} - -function retour_liste_commerciaux() -{ - window.location.assign($("#racineWeb" ).val()+"Commercial/"); -} - -function enregistrer_nouveau_commercial() -{ - codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(codeTypeApporteur<=" ") - { - v_msg="Veuillez sélectionner le type!"; - v_msgEng="Please select the type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeApporteur").focus(); - return; - } - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'codeTypeApporteur='+codeTypeApporteur; - donnees += '&libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/enregistrernouveaucommercial/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_commerciaux(); - } - }); - } -} - -function enregistrer_modif_un_commercial() -{ - idApporteur = $("#idApporteur").val(); - codeApporteur = $("#codeApporteur").val(); - - codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(codeTypeApporteur<=" ") - { - v_msg="Veuillez sélectionner le type!"; - v_msgEng="Please select the type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeApporteur").focus(); - return; - } - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idApporteur='+idApporteur; - donnees += '&codeApporteur='+codeApporteur; - donnees += '&codeTypeApporteur='+codeTypeApporteur; - donnees += '&libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/enregistrermodifcommercial/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_commerciaux(); - } - }); - } -} - -function exporter_liste_commercial() -{ - var div_export = $('#div_export_apporteur'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/exporterlistecommercail/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -// Apporteurs / Courtiers -function rechercher_apporteur_param() -{ - var div_detail = $('#div_detail_apporteur'); - - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function ctrlkeypress_rechercher_apporteur_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_apporteur_param(); - } -} - -function enregistrer_nouvel_apporteur() -{ - // codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - // donnees = 'codeTypeApporteur='+codeTypeApporteur; - donnees = 'libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - // alert("enregistrer_nouvel_apporteur => "+donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/enregistrernouvelapporteur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_apporteurs(); - } - }); - } -} - - -function modifier_un_apporteur(idApporteur) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierapporteur/"+idApporteur+"/"); -} - -function enregistrer_modif_un_apporteur() -{ - - idApporteur = $("#idApporteur").val(); - codeApporteur = $("#codeApporteur").val(); - - // codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idApporteur='+idApporteur; - donnees += '&codeApporteur='+codeApporteur; - // donnees += '&codeTypeApporteur='+codeTypeApporteur; - donnees += '&libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/enregistrermodifapporteur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_apporteurs(); - } - }); - } -} - -function retour_liste_apporteurs() -{ - window.location.assign($("#racineWeb" ).val()+"Courtier/"); -} - -function exporter_liste_courtier() -{ - var div_export = $('#div_export_apporteur'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/exporterlisteapporteur/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function assurance_familiale() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if (codeTypeContrat!="F") - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); -} - -function ajax_init_parametres_echancier_temp() -{ - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/getparametrestypeecheancier/", - type : 'post', - data: "codeTypeEcheancier="+$("#codeTypeEcheancier").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infonbEcheance").html(data); - $('#div_test_gabarit').html(data); - }, - complete: function() { - $("#nbEcheance").val( $("#nbEcheance_info").val()); - $("#tauxInteret").val( $("#tauxInteretEcheancier_info").val()); - - ajax_maj_echancier_temp(); - } - }); -} - -function facturer_police_familiale() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Facturerpolicefamiliale/"); - } -} - -function creer_adherents_familiale() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creeradherentfamiliale/"); -} - -function ctrlkeypress_rechercher_commercail_type_familiale(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_commercail_type_familiale(); - } -} - -function rechercher_commercail_type_familiale() -{ - var div_detail = $('#div_detail_apporteur'); - - codeTypeApporteur=$("#codeTypeApporteur").val(); - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'codeTypeApporteur='+codeTypeApporteur+'&libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialfamiliale/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function rechercher_commercail_type_familiale_tous() -{ - var div_detail = $('#div_detail_apporteur'); - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialfamiliale/tous/", - type: 'POST', - data: donnees, - success: function(data) - { - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function agent_commercial(idApporteur) -{ - if (idApporteur>" ") - { - window.location.assign($("#racineWeb" ).val()+"Agentcommercial/"+idApporteur+"/"); - } - else - { - v_msg="Aucun commercial!"; - v_msgEng="commercial!"; - alert_ebene(v_msg, v_msgEng); - } -} - -function retour_agent_commercial() -{ - idApporteur=$("#idApporteur").val(); - - // alert("idApporteur "+idApporteur); - - if (idApporteur>" ") - { - window.location.assign($("#racineWeb" ).val()+"Agentcommercial/"+idApporteur+"/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); - } -} - -function facturer_famille() -{ - if(est_ce_police_famille()) - { - if (codeTypeContrat!="F") - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idAdherent = $("#idAdherent_C" ).val(); - // if ($("#idPolice_C" ).val()>"") - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Facturerfamille/"); - } - } - else - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function aller_a_gestion_famille() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - if (codeTypeContrat=="F") - { - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); - return; - } -} - -function est_ce_police_famille() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - return (codeTypeContrat=="F"); -} - -function recap_prime_adherent_temp() -{ - idCollege = $("#idCollege").val(); - dateEntree = $("#dateEntree").val(); - primeBase = $("#primeBase").val(); - codeTypeEcheancier = $("#codeTypeEcheancier").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - $("#idCollege").focus(); - return; - } - - if (codeTypeEcheancier<=" ") - { - v_msg="Veuillez sélectionner un type échéancier!"; - v_msgEng="Please select a Sshedule type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeEcheancier").focus(); - return; - } - - donnees = 'idCollege='+idCollege; - donnees += '&dateEntree='+dateEntree; - donnees += '&primeBase='+primeBase; - donnees += '&codeTypeEcheancier='+codeTypeEcheancier; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecapprimeadherentfamiliale/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function controle_bornes_primes_familiale() -{ - primeBase = $("#primeBase").val(); - primeMin = $("#primeMin").val(); - - - primeBase = parseInt(primeBase); - primeMin = parseInt(primeMin); - - if((primeMin>0) && (primeBase  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteadherentfamiliale/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_adherent").html(data); - } - }); -} - -function afficher_adherents_police_familiale_export() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_pop").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteadherentfamiliale/exporter/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_deatil_pop").html(data); - } - }); -} - -function afficher_adherent_familiale_id() -{ - idAdherent = $("#idAdherent_C" ).val(); - - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Ficheadherentfamiliale/"+idAdherent+"/"); - } -} - -function afficher_beneficiaire_familiale_() -{ - idBeneficiaire = $("#idBeneficiaire_C" ).val(); - if (idBeneficiaire>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichebeneficiairefamiliale/"+idBeneficiaire+"/"); - } -} - -function facturer_beneficiaire() -{ - if(est_ce_police_famille()) - { - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idAdherent = $("#idAdherent_C" ).val(); - // if ($("#idPolice_C" ).val()>"") - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Facturerbeneficiaire/"); - } - } - else - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function creer_beneficiaires_familiale() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etatadh=$("#codeEtatAdherent_C").val(); - - if (etatadh != "V") - { - v_msg="Attention! cette famille n\'est pas en vigueur!"; - v_msgEng="Warning! this family is not in force!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creerbeneficiairefamiliale/"); -} - - -function recap_prime_beneficiaire_temp() -{ - $("#btn_submit").disable(); - - $("#primeTtc").val("0"); - - primeTtc2 = $("#primeTtc").val(); - - $("#div_prime").empty(); - - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - codeLienParente=$("#codeLienParente").val(); - if (codeLienParente=="A" || codeLienParente<=" ") - { - v_msg="Veuillez revoir le lien de parenté!"; - v_msgEng="Please review the relationship"; - alert_ebene(v_msg, v_msgEng); - $("#codeLienParente").focus(); - return; - } - - dateEntree=$("#dateEntree").val(); - - codeProduit=$("#codeProduit").val(); - - donnees = 'idAvenant='+idAvenant; - donnees += '&codeLienParente='+codeLienParente; - donnees += '&dateEntree='+dateEntree; - donnees += '&codeProduit='+codeProduit; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecapprimebeneficiairefamiliale/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - primeTtc_info = $("#primeTtc_info").val(); - $("#primeTtc").val(primeTtc_info); - - if(primeTtc_info>"0") - { - $("#btn_submit").enable(); - } - } - }); -} - -function changer_avenant_incorporation_beneficiaire_familiale() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - donnees = 'idAvenant='+idAvenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxavenant/getdateavenantbeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_date_avenant").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() - { - // prorater_prime_beneficiaire(); - } - }); -} - - -// Début Entrée Familiale -function stat_familiale_entree_detail() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_detail =>"+donnees); - // return; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_detail_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_detail_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function afficher_pop_recherche_commercial() -{ - codesearch = $("#codesearch").val(); - nomsearch = $("#nomsearch").val(); - - if(codesearch+nomsearch<=" ") - return; - - donnees = "valid=1&codeApporteur="+codesearch+"&nomsearch="+nomsearch; - - $("#div_liste_commerciaux").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecommercial/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_commerciaux").html(data); - } - }); -} - -function reinitialiser_commercial() -{ - $("#codeApporteur").val(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecommercial/reinitialiser/", - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#close_pop").click(); - - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - $("#libelleApporteur").html("All / Search Trader..."); - - } - else - { - $("#libelleApporteur").html("Tous / Rechercher Commercial..."); - } - } - }); -} - -function ctrlkeypress_commercial(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_commercial(); - } -} - -function selectionner_commercial(codeApporteur, libelleApporteur) -{ - $("#codeApporteur").val(codeApporteur); - $("#libelleApporteur").html(libelleApporteur); - - donnees = 'codeApporteur=' + codeApporteur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecommercial/mettreensession/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - $("#close_pop").click(); - } - }); - -} - -function stat_familiale_entree_grp_fam() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_grp_fam =>"+donnees); - // return; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_fam_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_grp_fam_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_com_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_com_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_com() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_com_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_per_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_per_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_per() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_per_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function stat_familiale_entree_grp_exe_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_exe_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_entree_grp_exe() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_exe_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_entree_grp_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} -// Fin Entree Familiale - -// - - -// Début Sortie Familiale -function stat_familiale_sortie_detail() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_sortie_detail =>"+donnees); - // return; - - alert(v_url); - return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_detail_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_detail_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_fam() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - alert("stat_familiale_entree_grp_fam =>"+donnees); - return; - - alert(v_url); - return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_fam_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_grp_fam_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_com_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_com_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_com() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_com_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_per_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_per_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_per() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_per_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function stat_familiale_sortie_grp_exe_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_exe_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_sortie_grp_exe() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_exe_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_sortie_grp_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} -// Fin Sortie Familiale - -// 22/11/2020 -function ajaxenteteetatprod() -{ - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - donnees = 'codeEtat='+codeEtat; - - v_url = $("#racineWeb").val()+"Ajaxentete"+codeEtat+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function ajaxenteteetatassurancefamiliale() -{ - $("#div_ente_requete").html(""); - - codeEnteteEtat=$("#codeEnteteEtat").val(); - - if (codeEnteteEtat<=" ") - { - v_msg="Veuillez sélectionner un entête!"; - v_msgEng="Please select a header!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEnteteEtat").focus(); - return; - } - - donnees = 'codeEnteteEtat='+codeEnteteEtat; - - v_url = $("#racineWeb").val()+"Etatsassuranceindividuelle/enteteetatsassuranceindividuelle/"; - - $("#div_sous_etat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_sous_etat").html(data); - } - }); -} - -function afficher_liste_assures_a_importer() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if (codeTypeContrat=="F") - { - window.location.assign($("#racineWeb" ).val()+"Listeimportassurefamiliale/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - } -} - -function exporter_modele_assure_familiale() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -// - -function importer_modele_assure_familiale(idAvenant, dateEffet) -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - cheminFichier=$("#cheminFichier").val(); - - donnees = 'idAvenant='+idAvenant+'&cheminFichier='+cheminFichier; - donnees += '&dateEffet='+dateEffet; - - // alert(donnees); - // return; - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - div_export.html(''); - - succes_impot_execl=$("#succes_impot_execl").val(); - - if (succes_impot_execl == "1") - { - maj_etape_3_import_assures(); - } - } - }); -} - -function init_importer_modele_assure_familiale() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/initimportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function incorporer_assures_inmportes_familiale() -{ - nb_adh=$("#nb_adh").val(); - - if (nb_adh>"0") - { - v_msg="Veuillez revoir les collèges et relancer le calcul des primes!"; - v_msgEng="Please review the colleges and restart the premium calculation!!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - nb_ligne_ass=$("#nb_ligne_ass").val(); - - if (nb_ligne_ass=="0") - { - v_msg="Rien à importer!"; - v_msgEng="Nothing to import!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - /* - v_msg="Avez-vous fait l\'étape 2 => calcul des primes?"; - v_msgEng="Did you do step 2 => premium calculation?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - */ - - primeTtcTotal=$("#primeTtcTotal").val(); - - if (primeTtcTotal=="0") - { - v_msg="Pas de primes! souhaitez-vous recalculer les primes?"; - v_msgEng="No premiums! do you want to recalculate the premiums?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - return; - } - - v_msg="Notez que vous avez accepté l\'incorporation sans primes!"; - v_msgEng="Note that you accepted the incorporation without premium!"; - alert_ebene(v_msg, v_msgEng); - } - - v_msg="Confirmez-vous l\'incorporation de cette liste?"; - v_msgEng="Do you confirm the incorporation of this list?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste_assure_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/incorpoerassuresimportesfamiliale/", - type: 'POST', - // data: donnees, - success: function(data) { - v_msg="Incorporation terminée avec succès!"; - v_msgEng="Incorporation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - afficher_police_id(); - } - }); - } -} - - -function liberer_medicament(idDetailprescription) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDetailprescription='+idDetailprescription; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailprescription/liberermedicament/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Prescriptioncons/"); - } - }); - } -} - -// ajout du 07/01/2024 -function etat_rapport_sp_exercice_cat() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_exercice_cat_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function imprimer_cp_fc(lienEtat) -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'lienEtat='+lienEtat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercp/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function supprimer_ged(idGed) -{ - v_msg="Confirmez-vous la suppression de ce document?"; - v_msgEng="Do you confirm the deletion of this document?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - motifSuppression = ""; - - v_msg="Supprimé pour quel motif?"; - v_msgEng="Deleted for what reason?"; - - motifSuppression = prompt_ebene(v_msg, v_msgEng, motifSuppression); - if (motifSuppression<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idGed='+idGed+'&motifSuppression='+motifSuppression; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxged/supprimerged/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Document supprimé avec succès!"; - v_msgEng="Document successfully removed!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); - } - }); - } -} - - -function init_supprimer_data_face() -{ - window.location.assign($("#racineWeb" ).val()+"Supprimerface/"); -} - -function supprimer_data_face() -{ - faceRegistered_C=$("#faceRegistered_C" ).val(); - - if(faceRegistered_C<1) - { - v_msg="Pas de face enregistrée!"; - v_msgEng="No face registered!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - motif=$("#motif").val(); - - if (motif<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#motif").focus(); - return; - } - - v_msg="Confirmez-vous la suppression de la face?"; - v_msgEng="Do you confirm the deletion of the face?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'motif='+motif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsupprimerface/supprimerface/", - type : 'post', - data: donnees, - success: function(data) { - v_msg="Face ré-initialisée avec succès!"; - v_msgEng="Face re-initialized successfully!"; - alert_ebene(v_msg, v_msgEng); - - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Supprimerface/"); - } - }); - } -} - - -function re_init_photo_face() -{ - var photo = document.getElementById('photo_face'); - photo.setAttribute('src', ""); - $('#message_face').html(""); - $('#image_face').val(""); - $("#div_wait_face_ebene").html(''); -} - -function ebene_init_photo_face() // OK -{ - faceRegistered = $("#faceRegistered").val(); - if(faceRegistered=="1") - { - v_msg="Cettte personne a déjà une face dans le système!"; - v_msgEng="This person already has a face in the system!"; - alert_ebene(v_msg, v_msgEng); - $('#message_face').html(""); - return; - } - re_init_photo_face(); - $("#btn_pop_save_face").click(); -} - - -function ebene_init_confirm_photo_face() // OK -{ - faceRegistered = $("#faceRegistered").val(); - if(faceRegistered!="1") - { - v_msg="Cettte personne n'a pas encore de face dans le système!"; - v_msgEng="This person doesn't have a face in the system yet!"; - alert_ebene(v_msg, v_msgEng); - $('#message_face').html(""); - return; - } - - re_init_photo_face(); - $("#btn_pop_save_face").click(); - -} - -function ebene_enregistrer_photo_face() // OK -{ - $("#ebene_confirmer_photo_face").disable(); - $("#ebene_supprimer_photo_face").disable(); - $("#ebene_take_photo_face").disable(); - $("#motif").disable(); - - $("ebene_confirmer_photo_face").prop('disabled', true); - $("ebene_supprimer_photo_face").prop('disabled', true); - $("ebene_take_photo_face").prop('disabled', true); - $("motif").prop('disabled', true); - - $('#message_face').html(""); - $("#div_wait_face_ebene").html(''); - - $("#okId").val("-1"); - $("#okId_face").val("-1"); - - $("#del_face").val("0"); - image_face = $("#image_face").val(); - if(image_face<=" ") - { - v_msg="Veuillez prendre une photo!"; - v_msgEng="Please take a photo!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - $("#div_wait_face_ebene").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - compare_face = $("#compare_face").val(); - - var dataURL = canvas.toDataURL("image/jpeg"); - - $.ajax({ - url: $("#racineWeb").val()+"Prestations/ebeneenregistrerface/", - type: 'POST', - data: {'image_face' : dataURL, 'compare_face' : compare_face , 'del_face' : "0"}, - success: function(data) { - $("#ebene_take_photo_face").enable(); - $("#div_wait_face_ebene").html(''); - $("#message_face").html(data); - photo_succes = $("#photo_succes").val(); - if(photo_succes=="1") - { - v_msg="Enrôlement effectué avec succès!"; - v_msgEng="Enrollment completed successfully!!"; - // alert_ebene(v_msg, v_msgEng); - setTimeout(() => { - prestations(); - }, 2000) - } - }, - error: function(data) { - }, - complete: function(data) { - $("#div_wait_face_ebene").html(''); - } - }); -} - -function ebene_confirmer_photo_face() // OK -{ - $("#ebene_confirmer_photo_face").disable(); - $("#ebene_supprimer_photo_face").disable(); - $("#ebene_take_photo_face").disable(); - $("#motif").disable(); - - $("ebene_confirmer_photo_face").prop('disabled', true); - $("ebene_supprimer_photo_face").prop('disabled', true); - $("ebene_take_photo_face").prop('disabled', true); - $("motif").prop('disabled', true); - - $('#message_face').html(""); - $("#div_wait_face_ebene").html(''); - - $("#del_face").val("0"); - faceRegistered = $("#faceRegistered").val(); - if(faceRegistered!="1") - { - v_msg="Cette personne n'a pas encore de photo dans le système!"; - v_msgEng="This person does not have a photo in the system yet!"; - alert_ebene(v_msg, v_msgEng); - $('#message_face').html(""); - return; - } - - image_face = $("#image_face").val(); - if(image_face<=" ") - { - v_msg="Veuillez prendre une photo!"; - v_msgEng="Please take a photo!"; - alert_ebene(v_msg, v_msgEng); - $('#message_face').html(""); - return; - } - - $("#div_wait_face_ebene").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - compare_face = $("#compare_face").val(); - - var dataURL = canvas.toDataURL("image/jpeg"); - - $.ajax({ - url: $("#racineWeb").val()+"Prestations/ebeneenregistrerface/", - type: 'POST', - data: {'image_face' : dataURL, 'compare_face' : compare_face , 'del_face' : "0"}, - success: function(data) { - $("#ebene_take_photo_face").enable(); - $("#div_wait_face_ebene").html(''); - $("#message_face").html(data); - photo_succes = $("#photo_succes").val(); - if(photo_succes=="1") - { - $("#okId_face").val("1"); - v_msg="Face confirmée!"; - v_msgEng="Face confirmed!"; - // alert_ebene(v_msg, v_msgEng); - setTimeout(() => { - prestations(); - }, 2000) - } - else - { - $("#okId").val("-1"); - $("#okId_face").val("-1"); - } - }, - error: function(data) { - }, - complete: function(data) { - $("#div_wait_face_ebene").html(''); - } - }); -} - -function ebene_supprimer_photo_face() // OK -{ - $('#message_face').html(""); - $("#div_wait_face_ebene").html(''); - - motif=$("#motif").val(); - motif= motif.trim(); - $("#motif").val(motif); - - if (motif<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#motif").focus(); - return; - } - - $("#del_face").val("1"); - - faceRegistered = $("#faceRegistered").val(); - if(faceRegistered!="1") - { - v_msg="Cette personne n'a pas encore de photo dans le système!"; - v_msgEng="This person does not have a photo in the system yet!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - image_face = $("#image_face").val(); - if(image_face<=" ") - { - v_msg="Veuillez prendre une photo!"; - v_msgEng="Please take a photo!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#ebene_confirmer_photo_face").disable(); - $("#ebene_supprimer_photo_face").disable(); - $("#ebene_take_photo_face").disable(); - $("#motif").disable(); - - $("ebene_confirmer_photo_face").prop('disabled', true); - $("ebene_supprimer_photo_face").prop('disabled', true); - $("ebene_take_photo_face").prop('disabled', true); - $("motif").prop('disabled', true); - - $("#div_wait_face_ebene").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - compare_face = $("#compare_face").val(); - - var dataURL = canvas.toDataURL("image/jpeg"); - - $.ajax({ - url: $("#racineWeb").val()+"Prestations/ebeneenregistrerface/", - type: 'POST', - data: {'image_face' : dataURL, 'compare_face' : compare_face, 'del_face' : "1", 'motif' : motif}, - success: function(data) { - $("#ebene_take_photo_face").enable(); - $("#div_wait_face_ebene").html(''); - $("#message_face").html(data); - photo_succes = $("#photo_succes").val(); - if(photo_succes=="1") - { - $("#okId").val("-1"); - $("#okId_face").val("-1"); - - document.getElementById('photo_face').setAttribute('src', ""); - - $("#faceRegistered").val("0"); - - $("#ebene_confirmer_photo_face").disable(); - $("#ebene_supprimer_photo_face").disable(); - $("#motif").disable(); - - $("ebene_confirmer_photo_face").prop('disabled', true); - $("ebene_supprimer_photo_face").prop('disabled', true); - $("motif").prop('disabled', true); - - v_msg="Face supprimée avec succès!"; - v_msgEng="Face removed successfully!"; - // alert_ebene(v_msg, v_msgEng); - setTimeout(() => { - prestations(); - }, 2000) - } - }, - error: function(data) { - }, - complete: function(data) { - $("#div_wait_face_ebene").html(''); - } - }); - } -} - - -function histsupprface() -{ - $("#div_detail_suppr_face").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail_suppr_face").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprface/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_suppr_face").html(data); - }, - complete: function() { - } - }); -} - -function histsupprface_export() -{ - $("#div_detail_suppr_face").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - donnees_retour = ""; - - $("#div_detail_suppr_face").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprfaceexport/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_suppr_face").html(donnees_retour); - } - }); -} - -function histo_enrollement_face() -{ - $("#div_detail_suppr_face").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - donnees_retour = ""; - - $("#div_detail_suppr_face").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprfaceexport/historiqueenrollement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_suppr_face").html(donnees_retour); - } - }); -} - -function afficher_liste_log_reconnaissance_faciale() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogreconnaissancefaciale/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function exporter_log_reconnaissance_faciale() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_pop").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogreconnaissancefaciale/exporterlogreconnaissancefaciale/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_deatil_pop").html(data); - }, - complete: function() { - } - }); -} - -function afficher_liste_log_register_face() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogregisterface/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function exporter_log_register_face() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_pop").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogregisterface/getlogreregisterfaceexport/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_deatil_pop").html(data); - }, - complete: function() { - } - }); -} - -function afficher_liste_log_remove_face() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogremoveface/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function exporter_log_remove_face() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_pop").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogremoveface/getlogreremovefaceexport/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_deatil_pop").html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_liste_logconnexion(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_logconnexion(); - } -} - -function afficher_liste_logconnexion() -{ - login = $("#login").val(); - ipConnexion = $("#ipConnexion").val(); - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'login='+login+'&ipConnexion='+ipConnexion+'&debut='+debut+'&fin='+fin; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogconnexion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $("#div_test_gabarit").html(data); - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function exporter_liste_logconnexion() -{ - login = $("#login").val(); - ipConnexion = $("#ipConnexion").val(); - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'login='+login+'&ipConnexion='+ipConnexion+'&debut='+debut+'&fin='+fin; - - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_pop").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlogconnexion/exporterlogconnexion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_deatil_pop").html(data); - }, - complete: function() { - } - }); -} - -// Récupère les coordonnées géographiques à partir de l'adresse IP entrée en paramètre -// et l'affiche sur une carte google Map -function trouve_coordonnees_geo_ip(ip) -{ - donnees='ipConnexion='+ip; - - $.ajax({ - url: "Ajaxlogconnexion/getcoordonneesgeoip/", - type : 'post', - data: donnees, - error: function(errorData){ - }, - - success: function(data) { - if(data !='false') - { - var str = data.split('/'), - lat = str[0], // Latitude de l'adresse IP retourné - lon = str[1], // Longitude de l'adresse IP retourné - out = "&output=embed" - src="https://maps.google.com/maps?q="+lat+","+lon+out; // Source de l'iframe - - $('#map').attr("src", src); - $('#div_contenu_map').modal("show"); // Affiche en modal = carte google - - $('#div_contenu_map').on('hidden.bs.modal', function(){ - $('#map').html("").attr("src", ""); // Réinitialise la source de l'iframe à la fermeture du modal - }); - } - else - { - v_msg="Impossible de trouver les coordonnées géographiques de l'adresse IP: "+ip; - v_msgEng="Unable to find the geographic coordinates of the IP address: "+ip; - alert_ebene(v_msg, v_msgEng); - - } - }, - complete: function() { - - } - }); -} - -function ctrlkeypress_liste_users_agence(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_users_agence(); - } -} - -function afficher_liste_users_agence() -{ - donnees = ""; - donnees_retour = ""; - - codePointVente = $("#codePointVente").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - - if (codePointVente+nom+prenoms<=" ") - { - v_msg="Veuillez indiquer au moins un critère de recherche!"; - v_msgEng="Please enter at least one search criteria!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePointVente").focus(); - return; - } - - donnees += 'codePointVente=' + codePointVente; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - - $("#div_liste_users").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/Ajaxlisteusersagence/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_users").html(donnees_retour); - } - }); -} - -function afficher_users_agence_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheusersagence/"+idUtilisateur+"/"); -} - -function enregistrer_modif_usersagence() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codePointVente = $("#codePointVente").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisible").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (codePointVente<=" ") - { - v_msg="Veuillez sélectionner une agance!"; - v_msgEng="Please select an agency!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePointVente").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&codePointVente=' + codePointVente; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/enregistrermodifusersagence/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_test_gabarit").html(data); - }, - complete: function() { - retour_a_usersagence(); - } - }); - } -} - -function retour_a_usersagence() -{ - window.location.assign($("#racineWeb" ).val()+"Usersagence/"); -} - -function creer_user_agence() -{ - codePointVente = $("#codePointVente").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - codeUtilisateur = codeUtilisateur.trim(); - codeUtilisateur = supprimer_espace_string(codeUtilisateur); - codeUtilisateur = codeUtilisateur.toLowerCase(); - - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codePointVente<=" ") - { - v_msg="Veuillez sélectionner une agance!"; - v_msgEng="Please select an agency!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePointVente").focus(); - return; - } - - if(codeUtilisateur<=" ") - { - v_msg="Veuillez indiquer le login!"; - v_msgEng="Please enter the login!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - return; - } - - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisibleUser").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'codePointVente='+codePointVente+'&codeUtilisateur='+codeUtilisateur; - donnees += '&nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible+'&AffectionVisible='+AffectionVisible; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/creeruseragence/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_login').html(data); - }, - complete: function() - { - uniciteLogin = $("#uniciteLogin").val(); - if(uniciteLogin==1) - { - v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!"; - v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_usersagence(); - } - else - { - v_msg="Login " + codeUtilisateur +" déjà utilisé!"; - v_msgEng="Login " + codeUtilisateur +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - } - } - }); - } -} - -function etat_prod_agences() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_agences_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function controler_piece_beneficiaire() -{ - v_codeNaturePiece = $("#codeNaturePiece").val(); - - if(v_codeNaturePiece<=' ') - { - v_msg="Veuillez sélection la nature de la pièce!"; - v_msgEng="Please select the type of document!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeNaturePiece").focus(); - return; - } - - $('#numeroPiece').removeAttr('minlength'); - - if(v_codeNaturePiece=="CNI") - { - $('#div_controle_piece').html(""); - - v_numeroPiece = $("#numeroPiece").val(); - - $('#numeroPiece').attr('minlength', 13); - - donnees = "numeroPiece="+v_numeroPiece; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontrolepiece/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_controle_piece').html(data); - - var resultatPiece = $("#resultatPiece").val(); - - if(resultatPiece!="0") - { - $("#numeroPiece").focus(); - return; - } - }, - error: function(data) { - }, - complete: function() - { - } - }); - } -} - -function enregistrer_adherent_familiale() -{ - primeBase = $("#primeBase").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - - primeBase = parseInt(primeBase); - primeMin = parseInt(primeMin); - primeMax = parseInt(primeMax); - - if((primeMin>0) && (primeBase' + ''); - - donnees = 'idPolice='+idPolice+'&idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecarteassure/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_carte").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function select_tous_carte_a_editer(p_choix) -{ - donnees = 'choix='+p_choix; - - $("#div_liste_carte").html('
' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecarteassure/toutchoisir/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_liste_carte').html(data); - appliquerDataTable(); - }, - error: function(data) { - }, - complete: function() { - - } - }); -} - -function select_un_assure_a_editer(p_choix, id) -{ - donnees = 'id='+id; - donnees += '&choix='+p_choix; - - //$("#div_liste_carte").html('
' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecarteassure/selectionunassure/", - type: 'POST', - data: donnees, - success: function(data) { - //$('#div_liste_carte').html(data); - //appliquerDataTable(); - }, - error: function(data) { - }, - complete: function() { - - } - }); -} - -function confirmer_edition_carte(){ - - idPolice =$("#idPolice").val(); - - $("#div_liste_carte").html('
' + '
'); - - donnees = 'idPolice='+idPolice; - - v_msg="Confirmez-vous l'édition de carte assuré ?"; - v_msgEng="Do you confirm the insured card edition?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecarteassure/confirmedition/", - type : 'post', - data: donnees, - error: function(errorData) { - $("#div_test_gabarit").html(data); - }, - success: function(data) { - $("#div_test_gabarit").html(data); - }, - complete: function() { - afficher_liste_carteassure_police(); - } - }); - } else { - afficher_liste_carteassure_police(); - } -} - -function tester_edition_carteassure() -{ - idPolice =$("#idPolice").val(); - donnees = 'idPolice='+idPolice; - - $('#div_export_a').html(""); - $('#div_liste_carte').html(""); - - $("#div_liste_carte").html('
' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecarteassure/afficherliste/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_carte").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - - nbChoix = $("#nbChoix").val(); - if (nbChoix<="0") - { - v_msg="Liste vide!"; - v_msgEng="Empty list!"; - alert_ebene(v_msg, v_msgEng); - appliquerDataTable(); - return false; - } - else - { - editer_carteassure(); - } - } - }); -} - -function editer_carteassure() -{ - nbChoix = $("#nbChoix").val(); - if (nbChoix<="0") - { - v_msg="Liste vide!"; - v_msgEng="Empty list!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - - idPolice =$("#idPolice").val(); - idCollege=$("#idCollege").val(); - - $('#div_export_a').html(""); - $('#div_liste_carte').html(""); - - donnees = 'idPolice='+idPolice+'&idCollege='+idCollege; - - v_url = $("#racineWeb").val()+"Ajaxeditioncarteassure/"; - - $("#div_export_a").html('
' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_export_a").html(data); - } - }); -} diff --git a/radiantproduction/Js/fonctions_2025_07_08.js b/radiantproduction/Js/fonctions_2025_07_08.js deleted file mode 100644 index 67fa3a2..0000000 --- a/radiantproduction/Js/fonctions_2025_07_08.js +++ /dev/null @@ -1,43644 +0,0 @@ -function alert_ebene(p_msg, p_msg_eng) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - alert(p_msg_eng); - } - else - { - alert(p_msg); - } -} - -function alert_ebene_ajax(p_msg, p_msg_eng) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - alert(p_msg_eng); - } - else - { - alert(p_msg); - } -} - -function confirm_ebene(p_msg, p_msg_eng) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - return confirm(p_msg_eng); - } - else - { - return confirm(p_msg); - } -} - -function prompt_ebene(p_msg, p_msg_eng, p_retour) -{ - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - return prompt(p_msg_eng, p_retour); - } - else - { - return prompt(p_msg, p_retour); - } -} - -function addslashes(ch) -{ - ch = ch.replace(/\\/g,"\\\\"); - ch = ch.replace(/\'/g,"\\'"); - ch = ch.replace(/\"/g,"\\\""); - return ch; -} - -function adherents_police() -{ - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Listeadherent/"); - } -} - -function college_police() -{ - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Collegepolice/"); - } -} - -function facturer_police() -{ - /* - // 06/11/2020 - if(est_ce_police_famille()) - { - facturer_police_familiale(); - return; - } - */ - - // 08/12/2020 - if(est_ce_police_famille()) - { - v_msg="Oprétaion non autorisée!"; - v_msgEng="Unauthorized operation!"; - alert_ebene(v_msg, v_msgEng); - - // afficher_police_id(); - return; - } - - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Facturerpolice/"); - } -} - -$.prototype.enable = function () { - $.each(this, function (index, el) { - $(el).removeAttr('disabled'); - }); -} - -$.prototype.disable = function () { - $.each(this, function (index, el) { - $(el).attr('disabled', 'disabled'); - }); -} - -$.prototype.unreadable = function () { - $.each(this, function (index, el) { - $(el).attr('READONLY', 'READONLY'); - }); -} - -$.prototype.readable = function () { - $.each(this, function (index, el) { - $(el).removeAttr('READONLY'); - }); -} - -Date.estAnneeBissextile = function (annee) { - return (((annee % 4 === 0) && (annee % 100 !== 0)) || (annee % 400 === 0)); -}; - -Date.getDaysInMonth = function (annee, month) { - return [31, (Date.estAnneeBissextile(annee) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]; -}; - -Date.prototype.estAnneeBissextile = function () { - return Date.estAnneeBissextile(this.getFullYear()); -}; - -Date.prototype.getDaysInMonth = function () { - return Date.getDaysInMonth(this.getFullYear(), this.getMonth()); -}; - -Date.prototype.addMonths = function (value) { - var n = this.getDate(); - this.setDate(1); - this.setMonth(this.getMonth() + value); - this.setDate(Math.min(n, this.getDaysInMonth())); - this.setDate(this.getDate()-1); - return this; -}; - -$( ".datepicker" ).datepicker({ - inline: true, - changeMonth: true, - changeYear: true, - yearRange: "c-60:c+20" - -}); - -/*les fonctions courantes et globales */ - -function get_age(dater) -{ - var td2 = $("#datejourfr_C").datepicker("getDate"); - return age = td2.getFullYear()-dater.getFullYear(); -} - -function controle_age(dater, codeLienParente) -{ - age = get_age(dater); - $("#agepersonne").val("Âge : "+age); - - if (age>65) - { - v_msg="Âge "+age+" supérieur à 65 ans!"; - v_msgEng="Age "+age+" over 65!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - if ( (codeLienParente=="E")&& (age>21) ) - { - v_msg="Âge "+age+" => Enfant âgé de plus de 21 ans!"; - v_msgEng="Âge "+age+" => Child over 21 years old!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - if ( (codeLienParente=="O")&& (age>21) ) - { - v_msg="Âge "+age+" => Enfant âgé de plus de 21 ans!"; - v_msgEng="Âge "+age+" => Child over 21 years old!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - return true; -} - -/* Début JS client */ -function selectionner_client(id,no) -{ - $("#idClient_C").val(id); - $("#numeroClient_C").val(no); - $("#nomClient_C").val(""); -} - -function selectionner_client_d(id,no) -{ - $("#idClient_d_C").val(id); - $("#numeroClient_d_C").val(no); - $("#nomClient_d_C").val(""); -} - -function afficher_client_id() -{ - idClient=$("#idClient_C" ).val(); - - if (idClient>"") - { - ajax_context_client_afficher(idClient); - } -} - -function afficher_client_d_id() -{ - idClient=$("#idClient_d_C" ).val(); - - if (idClient>"") - { - ajax_context_client_d_afficher(idClient); - } -} - - -/* Fin JS client */ - -/* Début JS police */ -function selectionner_police(id,no) -{ - $("#idPolice_C" ).val(id); - $("#numeroPolice_C" ).val(no); -} - -function selectionner_police_d(id,no) -{ - $("#idPolice_d_C" ).val(id); - $("#numeroPolice_d_C" ).val(no); -} - -function afficher_police_id() -{ - idPolice=$("#idPolice_C" ).val(); - - if (idPolice>"") - { - ajax_context_police_afficher(idPolice); - } -} - -function afficher_police_d_id() -{ - idPolice=$("#idPolice_d_C" ).val(); - - if (idPolice>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/"); - } -} - -function afficher_police_d_id_init() -{ - idPolice=$("#idPolice_d_C" ).val(); - - if (idPolice>"") - { - ajax_context_police_d_afficher(idPolice); - } -} - -function detail_quittance(idQuittance) -{ - if (idQuittance>"0") - { - window.location.assign($("#racineWeb" ).val()+"Beneficiairequittance/"+idQuittance+"/"); - } -} - - -/* Fin JS client */ - -/* Début JS adherent */ -function selectionner_adherent(id,no) -{ - $("#idAdherent_C" ).val(id); - $("#numeroAdherent_C" ).val(no); -} - -function afficher_adherent() -{ - if ($("#numeroAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+$("#numeroAdherent_C" ).val()+"/"); - } -} - -function afficher_adherent_id() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - if (codeTypeContrat=="F") - { - afficher_adherent_familiale_id(); - return; - } - - idAdherent = $("#idAdherent_C" ).val(); - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+$("#idAdherent_C" ).val()+"/"); - } -} -/* Fin JS adherent */ - -/* Début JS bénéficiare */ -function selectionner_beneficiaire(id,no) -{ - $("#idBeneficiaire_C" ).val(id); - $("#numeroBeneficiaire_C" ).val(no); -} - -function afficher_beneficiaire() -{ - if ($("#numeroBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichebeneficiaire/"+$("#numeroBeneficiaire_C" ).val()+"/"); - } -} - -function afficher_beneficiaire_id() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - if (codeTypeContrat=="F") - { - afficher_beneficiaire_familiale_(); - return; - } - - idBeneficiaire = $("#idBeneficiaire_C" ).val(); - if ($("#idBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichebeneficiaire/"+idBeneficiaire+"/"); - } -} - -function modifier_prime_beneficiaire(idBeneficiaire) -{ - // alert("Attention!"); - // return; - - if (idBeneficiaire>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierprimebeneficiaire/"+$("#idBeneficiaire_C" ).val()+"/"); - } -} - -function afficher_adherent_assure() -{ - if ($("#idAdherent_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"ficheadherentassure/"); -} - - -function afficher_echeance_assure() -{ - if ($("#idAdherent_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"Echeanceassure/"); -} - -function afficher_echeance_adherent() -{ - if ($("#idAdherent_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"Echeanceadherent/"); -} - -function afficher_assure() -{ - if ($("#idAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"ficheadherentassure/"+$("#idAdherent_C" ).val()+"/"); - } -} - -function afficher_beneficiaire_assure() -{ - if ($("#idBeneficiaire_C" ).val()<=" ") - { - return; - } - window.location.assign($("#racineWeb" ).val()+"fichebeneficiaireassure/"+$("#idBeneficiaire_C" ).val()+"/"); -} - -function changer_photo_beneficiaire_id() -{ -} - -function fermerFenetre() -{ - v_msg="Etes-vous sur de vouloir quitter?"; - v_msgEng="Are you sure you want to exit?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - ajax_deconnexion(); - } -} - -function supprimer_ligne_Tb(id,libelle) -{ - v_msg="Confirmez-vous la suppression de la ligne : "+libelle+"?"; - v_msgEng="Do you confirm the deletion of the line : "+libelle+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Tbliste"+$("#nomtable").val()+"/supprimer/"+id+"/"); - } -} - -function modifier_ligne_Tb() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Tbmodifier"+$("#nomtable").val()+"/"+$("#idLigne" ).val()+"/"); -} - -function selectionner_ligne_Tb(id) -{ - $("#idLigne" ).val(id); -} - -/* */ - -function selectionner_Tb(lientable) -{ - $("#lientable" ).val(lientable); -} - -function modifier_Tb() -{ - if ($("#lientable" ).val()<="") - { - v_msg="Veuillez sélectionner une table!"; - v_msgEng="Please select a table!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb" ).val()+$("#lientable" ).val()); -} - -function afficher_Tb() -{ - if ($("#lientable" ).val()<="") - { - v_msg="Veuillez sélectionner une table!"; - v_msgEng="Please select a table!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb" ).val()+$("#lientable" ).val()); -} - -function ajaxListerVille() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxville/", - type : 'post', - data: "codePays="+$("#codePays").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeville").html(data); - }, - complete: function() { - } - }); -} - -function ajaxListerLocalite() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocalite/", - type : 'post', - data: "codePays="+$("#codePays").val()+"&codeVille="+$("#codeVille").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listelocalite").html(data); - } - }); -} - -function controletytpeclient() -{ - if ($("#typeClient").val()=="E") - { - $("#zonemandat").show(); - $("#zoneparticulier").hide(); - } else - { - $("#zoneparticulier").show(); - $("#zonemandat").hide(); - } -} - -function enregistrer_client() -{ - $("#formficheclient").submit(); -} - -function modifier_client() -{ - if ($("#idClient_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifierclient/"); - } -} - -function modifier_client_d() -{ - if ($("#idClient_d_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifierprospect/"); - } -} - -function modifier_police() -{ - idPolice = $("#idPolice_C").val(); - if (idPolice>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierpolice/"); - } -} - -function modifier_devis() -{ - idPolice = $("#idPolice_d_C").val(); - - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idPolice>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierdevis/"); - } -} - - -function transformer_devis() -{ - idDevis = $("#idPolice_d_C").val(); - - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - primeTtc_total = $("#primeTtc_total").val(); - - if (primeTtc_total=="0") - { - v_msg="Rien à transformer!"; - v_msgEng="Nothing to transform!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la transformation en contrat?"; - v_msgEng="Do you confirm the transformation into a contract?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - numeroOptionTarif = $("#numeroOptionTarif").val(); - donnees = 'idDevis='+idDevis+"&numeroOptionTarif="+numeroOptionTarif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtransformerdevis/", - type: 'POST', - data: donnees, - success: function() { - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); - } - }); - } -} - - -function supprimer_client() -{ - v_msg="Confirmez-vous la suppression de ce client?"; - v_msgEng="Do you confirm the deletion of this customer?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheclient/supprimer/"+$("#idClient_C").val()+"/"); - } -} - -function supprimer_prospect() -{ - v_msg="Confirmez-vous la suppression de ce prospect?"; - v_msgEng="Do you confirm the deletion of this prospect?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheprospect/supprimer/"+$("#idClient_d_C").val()+"/"); - } -} - -/* avant 02/01/2020 -function CalculerEcheance() -{ - $("#dateEcheance").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateEffet").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "L": - $("#dateEcheance").enable(); - typdate = $("#dateEcheance").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - - $( "#dateEcheance" ).datepicker( "setDate", typdate ); -} -*/ - -function CalculerEcheance() -{ - $("#dateEcheance").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateEffet").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - case "L": - $("#dateEcheance").enable(); - typdate = $("#dateEcheance").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - $( "#dateEcheance" ).datepicker( "setDate", typdate ); -} - -function CalculerFin() -{ - $("#dateFin").disable(); - - codeFractionnement=$("#codeFractionnement").val(); - - var typdate = $("#dateEffet").datepicker("getDate"); - var dtech = $("#dateEcheance").datepicker("getDate"); - - switch (codeFractionnement) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - default: - typdate.addMonths(12); - } - if (typdate>dtech) - { - typdate=dtech; - } - $( "#dateFin" ).datepicker( "setDate", typdate ); -} - -function ControlerEcheance() -{ - codePeriodicite=$("#codePeriodicite").val(); - if (codePeriodicite!="L") return true; - else { - var eff = $("#dateEffet").datepicker("getDate"); - var ech = $("#dateEcheance").datepicker("getDate"); - - if (echeff.addMonths(12)) { - v_msg="Période supérieur à un an!"; - v_msgEng="Period greater than one year!"; - alert_ebene(v_msg, v_msgEng); - } - } -} - -function ChangerPass() -{ - if ($("#ancmdp" ).val()<=' ') - { - alert_ebene("Veuillez saisir l\'ancien mot de passe!", "Please enter the old password!"); - $("#ancmdp").focus(); - return false; - } - - if ($("#nvmdp" ).val()<=' ') - { - v_msg="Veuillez saisir un mot de passe!"; - v_msgEng="Please enter a password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - if ($("#nvmdp").val()=='0000' || $("#nvmdp").val()=='radiant') - { - alert_ebene("Veuillez changer de mot de passe!", "Please change password!"); - $("#nvmdp").focus(); - return false; - } - - longueur = $("#nvmdp").val().length; - - if(longueur>0 && longueur<6) - { - v_msg="6 caractères minimum exigé!"; - v_msgEng="6 characters minmum required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - if ($("#cfnvmdp" ).val()!=$("#nvmdp" ).val()) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } -} - -function modifier_profil() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb").val()+"Modifierprofil/"+$("#idLigne" ).val()+"/"); -} - - -function parametrer_profil() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb").val()+"Parametrerprofil/"+$("#idLigne" ).val()+"/"); -} - -function supprimer_profil(id, libelle) -{ - v_msg="Confirmez-vous la suppression de la ligne : "+libelle+"?"; - v_msgEng="Do you confirm the deletion of the line : "+libelle+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Listeprofil/supprimer/"+id+"/"); - } -} - -function modifier_utilisateur() -{ - if ($("#idLigne" ).val()<="") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } else - window.location.assign($("#racineWeb").val()+"Modifierutilisateur/"+$("#idLigne" ).val()+"/"); -} - -function supprimer_utilisateur(id,libelle) -{ - v_msg="Confirmez-vous la suppression de la ligne : "+libelle+"?"; - v_msgEng="Do you confirm the deletion of the line : "+libelle+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Listeutilisateur/supprimer/"+id+"/"); - } -} - -function supprimer_police() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de cette police?"; - v_msgEng="Do you confirm the deletion of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/supprimer/"+$("#idPolice_C").val()+"/"); - } -} - -function supprimer_devis() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de ce devis?"; - v_msgEng="Do you confirm the deletion of this quote?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/supprimer/"+$("#idPolice_d_C").val()+"/"); - } -} - -function archiver_garantie_police() -{ - v_msg="Confirmez-vous l\'archivage des garanties de cette police?"; - v_msgEng="Do you confirm the archiving of the guarantees of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/archivergarantie/"+$("#idPolice_C").val()+"/"); - } -} - -function archiver_colleege_police() -{ -} - -function ajaxListerUtilisateursProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeutilisateur").html(data); - } - }); -} - -function ajaxListerUtilisateursPrestataire() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprestataire/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeutilisateur").html(data); - } - }); -} - -function attribuer_profil_utilisateur(p_choix,p_id_utilisateur) -{ - donnees = 'id_utilisateur='+p_id_utilisateur; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprofil/attribuerProfil/"+p_id_utilisateur+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function attribuer_prestataire_utilisateur(p_choix,p_id_utilisateur) -{ - donnees = 'id_utilisateur='+p_id_utilisateur; - donnees += '&codePrestataire='+$("#codePrestataire").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxutilisateursprestataire/attribuerPrestataire/"+p_id_utilisateur+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function beneficiaire_a_facturer(p_choix,p_id_beneficiaire) -{ - donnees = 'idBeneficiairePrime='+p_id_beneficiaire; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaireafacturer/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - $("#actualsiser" ).val("0"); - } - }); -} - -function ajaxListerMenusProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmenusprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listemenu").html(data); - } - }); -} - -function ajouter_menu_profil(p_choix,p_code_menu,p_id_menuprofil) -{ - donnees = 'id_menuprofil='+p_id_menuprofil; - donnees += '&codeMenu='+p_code_menu; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmenusprofil/ajouterMenu/"+p_id_menuprofil+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajaxListerVuesProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxvuesprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val()+"&vue="+$("#vue").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listemenu").html(data); - } - }); -} - -function ajouter_vue_profil(p_choix,p_code_menu,p_id_menuvueprofil) -{ - donnees = 'id_menuvueprofil='+p_id_menuvueprofil; - donnees += '&codeMenu='+p_code_menu; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&vue='+$("#vue").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxvuesprofil/ajouterMenu/"+p_id_menuvueprofil+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function lancer_facturation() -{ - if ($("#actualsiser").val()=="0" && $("#primeTtc").val()>"0") - { - v_msg="Veuillez réactualiser!"; - v_msgEng="Please refresh!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#primeTtc").val()<="0") - { - v_msg="Rien à facturer!"; - v_msgEng="Nothing to charge!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Lancer la facturation?"; - v_msgEng="Start billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Facturerpolice/facturer/"); - } -} - -function afficher_image(fichier) -{ - window.open(fichier); -} - -function modifier_adherent() -{ - if ($("#idAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifieradherent/"+$("#idAdherent_C").val()+"/"); - } -} - -function modifier_beneficiaire() -{ - if ($("#idBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Modifierbeneficiaire/"+$("#idBeneficiaire_C").val()+"/"); - } -} - -function supprimer_bon() -{ - if ($("#codePrestataire").val()<" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#noDepart").val()<="0") - { - v_msg="Veuillez revoir vos bornes!"; - v_msgEng="Please check your limits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#noFin").val()<$("#noDepart").val()) - { - v_msg="Veuillez revoir vos bornes!"; - v_msgEng="Please check your limits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de la plage de "+$("#noDepart").val()+" à "+$("#noFin").val()+" pour "+$("#codePrestataire").val()+"?"; - v_msgEng="Do you confirm the deletion of the range from "+$("#noDepart").val()+" to "+$("#noFin").val()+" for "+$("#codePrestataire").val()+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $('#frmsupprimerbons').submit(); - } -} - -function selectionner_bon(id,no, codeEtatBon, motifAnnulation) -{ - $("#idBon_C").val(id); - $("#numeroBon_C").val(no); - $("#motifAnnulation_C").val(motifAnnulation); - $("#codeEtatBon_C").val(codeEtatBon); -} - -function annuler_bon() -{ - var codeEtatBon = $("#codeEtatBon_C").val(); - var motifAnnulation = $("#motifAnnulation_C").val(); - var numeroBon = $("#numeroBon_C").val(); - var idBon = $("#idBon_C").val(); - - if (numeroBon<=" ") - { - v_msg="Veuillez sélectionner une ligne!"; - v_msgEng="Please select a line!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBon=="3") - { - v_msg="Anullé pour motif : "+motifAnnulation; - v_msgEng="Canceled for reason : "+motifAnnulation; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBon=="4") - { - v_msg="Remplacé pour motif : "+motifAnnulation; - v_msgEng="Replaced for reason : "+motifAnnulation; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous l\'annulation du bon No "+numeroBon+"?"; - v_msgEng="Do you confirm the cancellation of the form No "+numeroBon+"?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - v_msg="Raison de l\'annulation?"; - v_msgEng="Reason for cancellation?"; - - motifAnnulation = prompt_ebene(v_msg, v_msgEng, motifAnnulation); - if (motifAnnulation<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#motifAnnulation_C").val(motifAnnulation); - - donnees = 'idBon='+idBon+'&motifAnnulation='+motifAnnulation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/annulerBon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficherbon(); - } - }); - } -} - -function ajaxbondisponible() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#codeMedecin").val()<=" ") - { - v_msg="Veuillez sélectionner un prescripteur!"; - v_msgEng="Please select a prescriber!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMedecin").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBon").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbondisponible/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&numeroBon="+$("#numeroBon").val(), - error: function(errorData) { - }, - success: function(data) { - $("#msgErreur").html(data); - }, - complete: function() { - imprimerbon(); - } - }); -} - -function imprimerbon() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var codeEtatBon = $("input[name='codeEtatBon']").val(); - - if (codeEtatBon!="1") - { - return; - } - - $("#frmconsultation").submit(); -} - -function imprimerbonVierge() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - $("#codeTypeBon").val('2'); - $("#frmconsultation").submit(); - $("#codeTypeBon").val('1'); -} - - -function ajaxcommission() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcommission/", - type : 'post', - data: "codeApporteur="+$("#codeApporteur").val()+"&codeEtape="+$("#codeEtape").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infocomm").html(data); - }, - complete: function() { - $("#tauxCommission").val( $("#tauxCommission_info").val()); - } - }); -} - -function ajaxinfosacte() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinfosacte/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&codeActe="+$("#codeActe").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infosacte").html(data); - }, - complete: function() { - $("#montantacte").val( $("#montantacte_info").val()); - $("#tauxCouverture").val( $("#tauxCouverture_info").val()); - calculer_Tm(); - } - }); -} - -function recapitulerprimeimposee() -{ - primeNette = $("#primeNette").val(); - fraisCarte = $("#fraisCarte").val(); - - donnees = "primeNette="+primeNette+"&fraisCarte="+fraisCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecapitulerprimeimposee/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#primeimposee").html(data); - }, - complete: function() { - $("#primeHt").val( $("#primeHt_info").val()); - $("#accessoire").val( $("#accessoire_info").val()); - $("#commission").val( $("#commission_info").val()); - $("#commissionAutre").val( $("#commissionAutre_info").val()); - $("#taxe").val( $("#taxe_info").val()); - $("#primeTtc").val( $("#primeTtc_info").val()); - $("#primeNetteStat").val( $("#primeNetteStat_info").val()); - } - }); -} - -function imposerprime() -{ - v_msg="Confirmez-vous cette nouvelle prime?"; - v_msgEng="Do you confirm this new premium?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#frmModifierprimebeneficiaire").submit(); - } -} - -function calculer_Tm() -{ - $("#montantTm").val( ($("#montantacte").val() * (100-$("#tauxCouverture").val() )) / 100 ); - if ($("#codeMedecin").val()>" ") - $("#numeroBon").focus(); - else - $("#codeMedecin").focus(); - return true; -} - -function controlefocusconsultationMd() -{ - if ($("#codeActe").val()>" ") - $("#numeroBon").focus(); - else - $("#codeActe").focus(); - return true; -} - -function ajaxinfosacteexamen() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinfosacte/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&codeActe="+$("#codeActe").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infosacte").html(data); - }, - complete: function() { - $("#tauxCouverture").val( $("#tauxCouverture_info").val()); - } - }); -} - -function ajaxbonexamendisponible() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBon").focus(); - return; - } - - $("#codeTypeBon").val('1'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbondisponible/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&numeroBon="+$("#numeroBon").val(), - error: function(errorData) { - }, - success: function(data) { - $("#msgErreur").html(data); - }, - complete: function() { - imprimerbon(); - } - }); -} - -function ajaxbonhospitdisponible() -{ - if ($("#codeActe").val()<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeActe").focus(); - return; - } - - if ($("#numeroBon").val()<=" ") - { - v_msg="Veuillez saisir un No de bon!"; - v_msgEng="Please enter a prescription number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBon").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbondisponible/", - type : 'post', - data: "codePrestataire="+$("#codePrestataire").val()+"&numeroBon="+$("#numeroBon").val(), - error: function(errorData) { - }, - success: function(data) { - $("#msgErreur").html(data); - }, - complete: function() { - imprimerbon(); - } - }); -} - -function repondreDemandePec(numeroDemande, codeFamille) -{ - if(codeFamille=="EE") - { - window.location.assign($("#racineWeb").val()+"Repondrepecexamen/"+numeroDemande+"/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Repondrepechospit/"+numeroDemande+"/"); - } -} - -function accueil() -{ - if($("#codeProfil_C" ).val()=="MEC") - { - window.location.assign($("#racineWeb").val()+"Accueilmedecin/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Accueil/"); - } -} - -function tache() -{ - if($("#codeProfil_C" ).val()=="ASS") - { - window.location.assign($("#racineWeb").val()+"Tacheassure/"); - } - else - { - window.location.assign($("#racineWeb").val()+"Tache/"); - } -} - -function actualiserdemandeexam() -{ - window.location.assign($("#racineWeb").val()+"Examenententeprealable/"); -} - -function actualiserdemandehospit() -{ - window.location.assign($("#racineWeb").val()+"Avishospitalisation/"); -} - -function actualiserprolongationhospit() -{ - window.location.assign($("#racineWeb").val()+"Prologerhospitalisation/"); -} - -function Imprimerbonpecexam(numeroDemande) -{ - window.location.assign($("#racineWeb").val()+"Imprimerbonpecexam/"+ numeroDemande +"/"); -} - -function Imprimerbonpechosp(numeroDemande) -{ - window.location.assign($("#racineWeb").val()+"Imprimerbonpechosp/"+ numeroDemande +"/"); -} - -function Imprimerprolongationhosp(numeroDemande) -{ - window.location.assign($("#racineWeb").val()+"Imprimprolonghosp/"+ numeroDemande +"/"); -} - -function forceDownload(fileURL, fileName) -{ -} - - -function ged() -{ - if ($("#numeroBeneficiaire_C" ).val()<=" ") - { - v_msg="Veuillez sélectionner un assuré!"; - v_msgEng="Please select an insured person!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Ged/"); -} - -function gedassure() -{ - if ($("#numeroAdherent_C" ).val()<=" ") - { - v_msg="Veuillez sélectionner un assuré!"; - v_msgEng="Please select an insured person!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Gedassure/"); -} - - -function tachesadherent() -{ - if ($("#numeroAdherent_C" ).val()<=" ") - { - v_msg="Veuillez sélectionner un assuré!"; - v_msgEng="Please select an insured person!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Tacheadherent/"); -} - -function afficherged(cheminFichier) -{ - if (cheminFichier<=" ") - { - v_msg="Veuillez sélectionner un fichier!"; - v_msgEng="Please select a file"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.open(cheminFichier, '_blank'); -} - -function archiverged() -{ - if ($("#nomFichier").val()<=" ") - { - v_msg="Veuillez sélectionner un document!"; - v_msgEng="Please select a document"; - alert_ebene(v_msg, v_msgEng); - - return; - } - if( $("#accesAssure").val()=="0" && $("#accesPrestataire").val()=="0" - && $("#accesMedecin").val()=="0" && $("#accesGestionnaire").val()=="0") - { - v_msg="Le document doit être visible par au moins un des acteurs!"; - v_msgEng="The document must be seen by at least one of the persons in charge!"; - alert_ebene(v_msg, v_msgEng); - return; - } - $("#frmarchiherged").submit(); -} - -function archiverfacture() -{ - if ($("#nomFichier").val()<=" ") - { - v_msg="Veuillez sélectionner un fichier!"; - v_msgEng="Please select a file"; - alert_ebene(v_msg, v_msgEng); - - return; - } - $("#frmarchiherged").submit(); -} - -function ajaxinfosdestinatairetache() -{ - if ($("#codeDestinataire").val()<=" ") - { - v_msg="Veuillez sélectionner un destinataire!"; - v_msgEng="Please select a recipient!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeDestinataire").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinfosdestinatairetache/", - type : 'post', - data: "codeDestinataire="+$("#codeDestinataire").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infosdestinatairetache").html(data); - }, - complete: function() { - $("#emailtache").val( $("#emailActeurtache_info").val()); - } - }); -} - -function afficherPrestataireAssure(id) -{ - if (id <=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Prestataireassure/"+id+"/"); -} - - -function selectionner_Rq(lienrequete) -{ - $("#lienrequete" ).val(lienrequete); -} - - -function parametre_Rq() -{ - if ($("#lienrequete" ).val()<="") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query (request)!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - { - window.location.assign($("#racineWeb" ).val()+$("#lienrequete" ).val()); - } -} - -function imprimer_pdf() -{ - $("#sortie").val('1'); - $("#frmrequete").submit(); -} - -function export_xls() -{ - $("#sortie").val('2'); - $("#frmrequete").submit(); - $("#sortie").val('1'); -} - -function affichermanuel() -{ - codeProfil = $("#codeProfil_C").val(); - - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_CENTRES_DE_SOINS.pdf"; - - switch(codeProfil) - { - case "AAA": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_AGENT_AFRIK_ASSUR.pdf"; - break; - case "ADM": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_ADMINISTRATEUR_SYSTEME.pdf"; - break; - case "ASS": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_ASSURE.pdf"; - break; - case "CSO": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_CENTRES_DE_SOINS.pdf"; - break; - case "DIR": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_DIRECTION_AFRIK_ASSUR.pdf"; - break; - case "LAB": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_LABORATOIRES.pdf"; - break; - case "MEC": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_MEDECINS_CONSEIL.pdf"; - break; - case "PHA": - cheminFichier="MANUEL_AFRIK_ASSUR_SANTE_PHARMACIES.pdf"; - break; - } - window.open('Docs/'+cheminFichier, '_blank'); -} - -function ajaxListerequetesProfil() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetesprofil/", - type : 'post', - data: "codeProfil="+$("#codeProfil").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listerequete").html(data); - } - }); -} - -function ajouter_requete_profil(p_choix,p_nomRequete,p_id_requeteprofil) -{ - donnees = 'id_requeteprofil='+p_id_requeteprofil; - donnees += '&nomRequete='+p_nomRequete; - donnees += '&codeProfil='+$("#codeProfil").val(); - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetesprofil/ajouterRequete/"+p_id_requeteprofil+"/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function supprimer_beneficiaire() -{ - idBeneficiaire = $("#idBeneficiaire_C").val(); - - primeArchive=$("#primeArchive").val(); - if (primeArchive=="1") - { - v_msg="Prime archivée!"; - v_msgEng="Primium archived!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (primeArchive=="0") - { - supprimer_beneficiaire_id(idBeneficiaire); - return; - } - - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - if (codeTypeAvenant!="REN" && codeTypeAvenant!="AFN") - { - v_msg="Veuillez procéder à un retrait!"; - v_msgEng="Please make a withdrawal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - supprimer_beneficiaire_id(idBeneficiaire); -} - -function supprimer_beneficiaire_id(idBeneficiaire) -{ - v_msg="Confirmez-vous la suppression de ce bénéficiaire?"; - v_msgEng="Do you confirm the removal of this beneficiary?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaire/supprimer/", - type : 'post', - data: "idBeneficiaire="+idBeneficiaire, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_adherent_id(); - } - }); - } -} - -function actualiserbeneficiaireafacturer() -{ - window.location.assign($("#racineWeb").val()+"Facturerpolice/"); -} - -function selectionner_tout_beneficiaireafacturer(choix) -{ - window.location.assign($("#racineWeb").val()+"Facturerpolice/selectionnertout/"+choix+"/"); -} - -function compta() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - window.location.assign($("#racineWeb").val()+"Compta/"+idClient+"/"); -} - -function selection_quittanes_enc() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - window.location.assign($("#racineWeb").val()+"Encselectionquittances/"+idClient+"/"); -} - -function selection_quittances_cli_enc() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - window.location.assign($("#racineWeb").val()+"Encselectquitclient/"+idClient+"/"); -} - -function compta_changer_client(numeroClient) -{ - if (numeroClient>"0") - { - $("#forminfoclient").submit(); - } -} - - -function encaissement_changer_client(numeroClient) -{ - if (numeroClient>"0") - { - $("#forminfoclient").submit(); - } -} - -function afficher_quittances_police() -{ - numeroPolice = $("#numeroPolice_C" ).val(); - idPolice = $("#idPolice_C" ).val(); - - $("#div_quittancepolice").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - if (numeroPolice>" ") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxquittancepolice/", - type : 'post', - data: "idPolice="+idPolice+"&numeroPolice="+numeroPolice, - error: function(errorData) { - }, - success: function(data) { - $("#div_quittancepolice").html(data); - } - }); - } -} - -function afficher_quittances_impayees_client() -{ - idClient = $("#idClient_C").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/", - type : 'post', - data: "idClient="+idClient, - error: function(errorData) { - }, - success: function(data) { - $("#div_quittancesclient").html(data); - } - }); -} - -function afficher_encaissements_quittance(idQuittance, numeroQuittance) -{ - if (idQuittance>"0") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxencaissementquittance/", - type : 'post', - data: "idQuittance="+idQuittance+"&numeroQuittance="+numeroQuittance, - error: function(errorData) { - }, - success: function(data) { - $("#div_encaissementsquittance").html(data); - } - }); - } -} - - -function afficher_encaissement(idEncaissement) -{ - if (idEncaissement>"0") - { - window.location.assign($("#racineWeb" ).val()+"Ficheencaissement/"+idEncaissement+"/"); - } -} - - -function encaisser_client() -{ - numeroClient = $("#numeroClient_C" ).val(); - idClient = $("#idClient_C").val(); - - if (idClient>"0") - { - window.location.assign($("#racineWeb").val()+"Encaisserclient/"+idClient+"/"); - } -} - -function encaisser_depot_bord() -{ - $("#btn_depot").click(); -} - -function enregistrer_college() -{ - $("#btn_enreg").click(); -} - -function enregistrer_college_d() -{ - $("#btn_enreg").click(); -} - -function encaisser_quittance(idQuittance) -{ - if (idQuittance>"0") - { - window.location.assign($("#racineWeb" ).val()+"Encaisserquittance/"+idQuittance+"/"); - } -} - -function selectionner_quittance_impayee(numeroQuittance, idQuittance, primeTtc, encaisse, solde) -{ - $("#numeroQuittanceAcpte").val(numeroQuittance); - $("#idQuittanceAcpte").val(idQuittance); - $("#primeTtcAcpte").val(primeTtc); - $("#encaisseAcpte").val(encaisse); - $("#montantAcpte").val(solde); - $("#anc_soldeAcpte").val(solde); -} - -function ajouter_quittance_acompte() -{ - idQuittance = $("#idQuittanceAcpte" ).val(); - montantAcpte = $("#montantAcpte" ).val(); - primeTtcAcpte = $("#primeTtcAcpte" ).val(); - - if(idQuittance<="0") - { - v_msg="Veuillez sélectionner une quittance!"; - v_msgEng="PLease select a premium issue!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - if(montantAcpte<="0") - { - v_msg="Veuillez saisir l\'acompte!"; - v_msgEng="Please enter the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - anc_soldeAcpte = $("#anc_soldeAcpte" ).val(); - - if(Number(montantAcpte)>Number(anc_soldeAcpte)) - { - v_msg="Veuillez vérifier le montant de l\'acompte!"; - v_msgEng="Please check the amount of the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - donnees = 'idQuittance='+idQuittance+'&montantAcpte='+montantAcpte+'&primeTtcAcpte='+primeTtcAcpte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/ajouteracomptequittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function ajouter_quittance_acompte_client() -{ - idQuittance = $("#idQuittanceAcpte" ).val(); - montantAcpte = $("#montantAcpte" ).val(); - primeTtcAcpte = $("#primeTtcAcpte" ).val(); - - if(idQuittance<="0") - { - v_msg="Veuillez sélectionner une quittance!"; - v_msgEng="PLease select a premium issue!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - if(montantAcpte<="0") - { - v_msg="Veuillez saisir l\'acompte!"; - v_msgEng="Please enter the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - anc_soldeAcpte = $("#anc_soldeAcpte" ).val(); - - if(Number(montantAcpte)>Number(anc_soldeAcpte)) - { - v_msg="Veuillez vérifier le montant de l\'acompte!"; - v_msgEng="Please check the amount of the deposit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - donnees = 'idQuittance='+idQuittance+'&montantAcpte='+montantAcpte+'&primeTtcAcpte='+primeTtcAcpte; - $.ajax({ - url: $("#racineWeb").val()+"Ajaximpayeclient/ajouteracomptequittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function solder_quittance_temp(idQuittance) -{ - donnees = 'idQuittance='+idQuittance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/solderquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function solder_quittance_client_temp(idQuittance) -{ - donnees = 'idQuittance='+idQuittance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximpayeclient/solderquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function supprimer_detail_encaissement(idDetailencaissement) -{ - donnees = 'idDetailencaissement='+idDetailencaissement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsituationclient/supprimerquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - - -function retirer_garantie_police(idGarantie) -{ - donnees = 'idGarantie='+idGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiespolice/supprimergarantie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function ajouter_une_garantie_college(codeGarantie) -{ - donnees = 'codeGarantie='+codeGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/ajoutergarantie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function supprimer_detail_encaissement_client(idDetailencaissement) -{ - donnees = 'idDetailencaissement='+idDetailencaissement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximpayeclient/supprimerquittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_situation_client").html(data); - }, - error: function(data) { - }, - complete: function() { - recap_bordereau_encaissement(); - } - }); -} - -function encaissement_changer_client(numeroClient) -{ - if (numeroClient>"0") - { - $("#forminfoclient").submit(); - } -} - -function encaisser_bordereau() -{ - window.location.assign($("#racineWeb").val()+"Encaisserbordereau/"); -} - -function encaisser_bordereau_detail() -{ -} - - -function imprimer_recu(idEncaissement) -{ - donnees = 'idEncaissement='+idEncaissement; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerrecucaisse/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function afficher_pop_recherche_client() -{ - numeroclientsearch = $("#numeroclientsearch").val(); - nomsearch = $("#nomsearch").val(); - prenomsearch = $("#prenomsearch").val(); - telsearch = $("#telsearch").val(); - - if (numeroclientsearch+nomsearch+prenomsearch+telsearch > " ") - { - donnees = "valid=1&numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&prenomsearch="+prenomsearch+"&telsearch="+telsearch; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclients/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeclient").html(data); - } - }); - } -} - -function afficher_pop_recherche_client_enc() -{ - numeroclientsearch = $("#numeroclientsearch").val(); - nomsearch = $("#nomsearch").val(); - prenomsearch = $("#prenomsearch").val(); - telsearch = $("#telsearch").val(); - - if (numeroclientsearch+nomsearch+prenomsearch+telsearch > " ") - { - donnees = "valid=1&numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&prenomsearch="+prenomsearch+"&telsearch="+telsearch; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclientsenc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeclient").html(data); - } - }); - } -} - -function selectionner_client_pop(id,no,nom) -{ - $("#nocli").val(no); - $("#nomcli").val(nom); - selectionner_client(id,no); -} - -function ctrlkeypress(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_client(); - } -} - -function ctrlkeypress_enc(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_client_enc(); - } -} - -function ajaxListerMoyenPaiement() -{ - codeModePaiement = $("#codeModePaiement").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmoyenpaiement/", - type : 'post', - data: "codeModePaiement="+codeModePaiement, - error: function(errorData) { - }, - success: function(data) { - $("#listemoyenpaiement").html(data); - }, - complete: function() { - } - }); -} - -function ajax_no_cpt_paiement() -{ - codeModePaiement = $("#codeModePaiement").val(); - codeMoyenPaiement = $("#codeMoyenPaiement").val(); - - donnees = "codeModePaiement="+codeModePaiement+"&codeMoyenPaiement="+codeMoyenPaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnocptmoyenpaiement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infonocpt").html(data); - }, - complete: function() { - $("#numeroCompte").val( $("#numeroCompte_info").val()); - } - }); -} - -function modifier_detail_encaissement(idDetailencaissement) -{ -} - -function recap_bordereau_encaissement() -{ - montant_ecart = $("#montant_ecart_info").val(); - $("#montant_selection").val( $("#montant_selection_info").val()); - $("#montant_ecart").val(montant_ecart); -} - -function enregistrer_encaissement_bordereau() -{ - montant_ecart = $("#montant_ecart").val(); - montant_ecart = montant_ecart.replace(" ", ""); - montant_ecart = parseInt(montant_ecart); - montant_ecart = Math.abs(montant_ecart); - - if(montant_ecart>"100") - { - v_msg="Veuillez vérifier votre écart!"; - v_msgEng="Please check your gap!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#formente_encaissement").submit(); -} - -function enregistrer_encaissement_client() -{ - montant_ecart = $("#montant_ecart").val(); - montant_ecart = montant_ecart.replace(" ", ""); - montant_ecart = parseInt(montant_ecart); - montant_ecart = Math.abs(montant_ecart); - - if(montant_ecart>"100") - { - v_msg="Veuillez vérifier votre écart!"; - v_msgEng="Please check your gap!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montant = $("#montant").val(); - montant = montant.replace(" ", ""); - montant = parseInt(montant); - montant = Math.abs(montant); - - codeModePaiement = $("#codeModePaiement").val(); - codeMoyenPaiement = $("#codeMoyenPaiement").val(); - referencePaiement = $("#referencePaiement").val(); - libelleOperation = $("#libelleOperation").val(); - - - if(montant=="100") - { - v_msg="Veuillez saisir un montant!"; - v_msgEng="Please enter an amount"; - alert_ebene(v_msg, v_msgEng); - - $("#montant").focus(); - return; - } - - if(codeModePaiement<=" ") - { - v_msg="Veuillez indiquer le mode de paiement!"; - v_msgEng="Please enter the method of payment"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if(codeMoyenPaiement<=" ") - { - v_msg="Veuillez indiquer le moyen de paiement!"; - v_msgEng="Please enter the method of payment!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMoyenPaiement").focus(); - return; - } - - if(referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if(libelleOperation<=" ") - { - v_msg="Veuillez saisir le libellé de l\'opération!"; - v_msgEng="Please enter the text of the transaction!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleOperation").focus(); - return; - } - - $("#formente_encaissement").submit(); -} - -function enregistrer_encaissement_quittance() -{ - anc_solde = $("#anc_solde").val(); - montant = $("#montant").val(); - montant_ecart = (montant-anc_solde); - montant_ecart = Math.abs(montant_ecart); - - - if(montant_ecart>"100") - { - v_msg="Veuillez vérifier votre écart!"; - v_msgEng="Please check your gap!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montant = $("#montant").val(); - montant = montant.replace(" ", ""); - montant = parseInt(montant); - montant = Math.abs(montant); - - codeModePaiement = $("#codeModePaiement").val(); - codeMoyenPaiement = $("#codeMoyenPaiement").val(); - referencePaiement = $("#referencePaiement").val(); - libelleOperation = $("#libelleOperation").val(); - - - if(montant=="100") - { - v_msg="Veuillez saisir un montant!"; - v_msgEng="Please enter an amount"; - alert_ebene(v_msg, v_msgEng); - - $("#montant").focus(); - return; - } - - if(codeModePaiement<=" ") - { - v_msg="Veuillez indiquer le mode de paiement!"; - v_msgEng="Please enter the method of payment"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if(codeMoyenPaiement<=" ") - { - v_msg="Veuillez indiquer le moyen de paiement!"; - v_msgEng="Please enter the method of payment!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMoyenPaiement").focus(); - return; - } - - if(referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if(libelleOperation<=" ") - { - v_msg="Veuillez saisir le libellé de l\'opération!"; - v_msgEng="Please enter the text of the transaction!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleOperation").focus(); - return; - } - - $("#formente_encaissement").submit(); -} - -function controle_numerique(controle) -{ - if(isNaN(controle.value)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.value=""; - controle.focus(); - return false; - } - return true; -} - -function ajax_context_client(idClient) -{ - donnees = 'idClient='+idClient; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextclient/", - type : 'post', - data: donnees, - error: function(errorData) { - } - }); -} - -function ajax_context_client_afficher(idClient) -{ - donnees = 'idClient='+idClient; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextclient/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Ficheclient/"); - } - }); -} - - -function ajax_context_client_d_afficher(idClient) -{ - donnees = 'idClient='+idClient; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextclientd/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Ficheprospect/"); - } - }); -} - -function ajax_context_police(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - } - }); -} - -function ajax_context_police_d(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpoliced/", - type : 'post', - data: donnees, - error: function(errorData) { - } - }); -} - -function ajax_context_police_afficher(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); - } - }); -} - -function ajax_context_police_d_afficher(idPolice) -{ - donnees = 'idPolice='+idPolice; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpoliced/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/"); - } - }); -} - -function ajax_deconnexion() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdeconnexion/", - complete: function() - { - window.open('about:blank','_parent',''); - close(); - window.close(); - } - }); - -/* 24/03/2019 - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdeconnexion/" - }); -*/ -} - -function selectionner_college(idCollege) -{ - $("#idCollege" ).val(idCollege); -} - -function supprimer_college(idCollege) -{ - v_msg="Confirmez-vous la suppression de ce collège?"; - v_msgEng="Do you confirm the removal of this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Collegepolice/supprimerCollege/"+idCollege+"/"); - } -} - -function supprimer_college_d(idCollege) -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de ce collège?"; - v_msgEng="Do you confirm the removal of this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichedevis/supprimerCollege/"+idCollege+"/"); - } -} - -function modifier_college(idCollege) -{ - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiercollege/"+idCollege+"/"); - } -} - -function modifier_college_d(idCollege) -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiercolleged/"+idCollege+"/"); - } -} - -function consulter_college(idCollege) -{ - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Consultercollege/"+idCollege+"/"); - } -} - -function retour_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege>"0") - { - window.location.assign($("#racineWeb" ).val()+"Consultercollege/"+idCollege+"/"); - } -} - -function ajax_flexcode() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxflexcode/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#content").html(data); - }, - complete: function() { - } - }); -} - -function ajaxttcfammille() -{ - idCollege=$("#idCollege").val(); - dateEntree=$("#dateEntree").val(); - - donnees = 'idCollege='+idCollege; - donnees += '&dateEntree='+dateEntree; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxttcfammille/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infottc").html(data); - }, - complete: function() { - } - }); -} - -function supprimer_adherent() -{ - idAherent=$("#idAdherent_C").val(); - - primeArchive=$("#primeArchive").val(); - if (primeArchive=="1") - { - v_msg="Prime archivée!"; - v_msgEng="Primium archived!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - // alert('codeTypeAvenant => '+codeTypeAvenant); - // return; - - if (codeTypeAvenant!="REN" && codeTypeAvenant!="AFN" && codeTypeAvenant!="CHE") - { - v_msg="Veuillez procéder à un retrait!"; - v_msgEng="Please make a withdrawal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (primeArchive=="0") - { - supprimer_adherent_id(idAherent); - return; - } -} - - -function supprimer_adherent_id(idAherent) -{ - v_msg="Confirmez-vous la suppression de cet adhérent?"; - v_msgEng="Do you confirm the deletion of this member?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxadherent/supprimer/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Suppression terminée avec succès terminé!"; - v_msgEng="Deletion completed successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - adherents_police(); - } - }); - } -} - -function supprimer_adherent_id_list(idAherent) -{ - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - if (codeTypeAvenant!="REN" && codeTypeAvenant!="AFN" && codeTypeAvenant!="CHE") - { - v_msg="Veuillez procéder à un retrait!"; - v_msgEng="Please make a withdrawal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la suppression de cet adhérent?"; - v_msgEng="Do you confirm the deletion of this member?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"ajaxadherent/supprimer/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - v_msg="Suppression terminée avec succès terminé!"; - v_msgEng="Deletion completed successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - adherents_police(); - } - }); - } -} - - -function ajax_init_echancier() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinitnbecheance/", - type : 'post', - data: "codeTypeEcheancier="+$("#codeTypeEcheancier").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infonbEcheance").html(data); - }, - complete: function() { - $("#nbEcheance").val( $("#nbEcheance_info").val()); - ajax_maj_echancier(); - } - }); -} - -function ajax_maj_echancier() -{ - codeTypeEcheancier = $("#codeTypeEcheancier").val(); - nbEcheance = $("#nbEcheance").val(); - tauxInteret = $("#tauxInteret").val(); - - donnees = "codeTypeEcheancier="+codeTypeEcheancier+"&nbEcheance="+nbEcheance+"&tauxInteret="+tauxInteret; - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - -function enregistrer_echeancier() -{ - if ($("#nbEcheance").val()=="1") - { - v_msg="Confirmez-vous l\'émission sans échéancier?"; - v_msgEng="Do you confirm the issue of primium without payment schedule?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - afficher_police_id(); - return; - } - - v_msg="Confirmez-vous cet échéancier?"; - v_msgEng="Do you confirm this payment schedule?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/enregistrer/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_police_id(); - } - }); - } -} - -function ajax_maj_lib_echancier(idEcheancier, libelleEcheance) -{ - donnees = "idEcheancier="+idEcheancier+"&libelleEcheance="+libelleEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/majlibelle/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - -function ajax_maj_date_echancier(idEcheancier, datePaiement) -{ - donnees = "idEcheancier="+idEcheancier+"&datePaiement="+datePaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/majdatepaiement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - - - -function ajax_maj_taux_echancier(idEcheancier, tauxEcheance) -{ - nbEcheance = $("#nbEcheance").val(); - - donnees = "idEcheancier="+idEcheancier+"&tauxEcheance="+tauxEcheance+"&nbEcheance="+nbEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajcheancier/majtauxecheance/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Echeancier/"); - } - }); -} - -function retirer_garantie_college(idGarantie) -{ - donnees = 'idGarantie='+idGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/supprimergarantie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajax_maj_taux_plafond(idGarantie, tauxPlafond, controle) -{ - tauxPlafond=tauxPlafond.replace(",","."); - controle.value=tauxPlafond; - - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&tauxPlafond="+tauxPlafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majtauxplafond/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function ajax_imposer_plafond(idGarantie, plafond, controle) -{ - plafond=plafond.replace(",","."); - controle.value=plafond; - - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/imposerplafond/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function ajax_maj_lib_gar_opt(idGarantie, libellegarantie, controle) -{ - if (libellegarantie<=" ") - { - return; - } - - donnees = 'idGarantie='+idGarantie+"&libellegarantie="+libellegarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majlibgar/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); -} - -function maj_prime_gar_opt(idGarantie, primeOption, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&primeOption="+primeOption; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majprimeopt/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function archiver_garantie_college(idCollege) -{ - v_msg="Confirmez-vous l\'archivage des garanties ce collège?"; - v_msgEng="Do you confirm the archiving of guarantees this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archivergarntie/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - college_police(); - } - }); - } -} - -function controle_champ_obligatoire(controle) -{ - if (controle.value<=" ") - { - v_msg="Valeur exigée!"; - v_msgEng="Value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.focus(); - return false; - } - return true; -} - -function controle_champ_obligatoire_new(controle) -{ - if (controle.value<=" ") - { - v_msg="Valeur exigée!"; - v_msgEng="Value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.focus(); - return false; - } - return true; -} - -function controle_champ_obligatoire_old(controle) -{ - if (controle.value<=" ") - { - v_msg="Valeur exigée!"; - v_msgEng="Value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.focus(); - return false; - } - return true; -} - - -function plafond_adherent() -{ - if ($("#idAdherent_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Plafondadherent/"); - } -} - -function creer_adherents() -{ - // 06/11/2020 - if(est_ce_police_famille()) - { - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); - return; - } - - nbAdh = $("#nbAdh_C").val(); - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if ( (codeTypeContrat!="G") && (nbAdh>0) ) - { - v_msg="Ce n\'est pas une police GROUPE!"; - v_msgEng="This is not a GROUP policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creeradherent/"); -} - -function creer_colleges() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creercollege/initcollege/"); -} - - -function creer_colleges_d() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creercolleged/initcollege/"); -} - -function creer_beneficiaires() -{ - if(est_ce_police_famille()) - { - creer_beneficiaires_familiale(); - return; - } - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etatadh=$("#codeEtatAdherent_C").val(); - - if (etatadh != "V") - { - v_msg="Attention! cette famille n\'est pas en vigueur!"; - v_msgEng="Warning! this family is not in force!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creerbeneficiaire/"); -} - -function changer_etat_adherent() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Changeretatadherent/"); -} - -function creer_avenant() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creeravenant/"); -} - -function liste_avenant() -{ - window.location.assign($("#racineWeb" ).val()+"Listeavenant/"); -} - -function prorater_prime_adherent() -{ - idCollege=$("#idCollege").val(); - dateEntree=$("#dateEntree").val(); - prorata=$("#prorata").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - donnees += '&dateEntree='+dateEntree; - donnees += '&prorata='+prorata; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproraterprime/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function prorater_prime_beneficiaire() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - codeLienParente=$("#codeLienParente").val(); - - if (codeLienParente=="A") - { - v_msg="Veuillez revoir le lien de parenté!"; - v_msgEng="Please review the relationship"; - alert_ebene(v_msg, v_msgEng); - $("#codeLienParente").focus(); - return; - } - - dateEntree=$("#dateEntree").val(); - fraisCarte=$("#fraisCarte").val(); - prorata=$("#prorata").val(); - - donnees = '&dateEntree='+dateEntree; - donnees += '&fraisCarte='+fraisCarte; - donnees += '&prorata='+prorata; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproraterprimebeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function histo_etats() -{ - window.location.assign($("#racineWeb" ).val()+"Histoetat/"); -} - -function afficher_emission(idEmission) -{ - if (idEmission>"0") - { - window.location.assign($("#racineWeb" ).val()+"Emission/"+idEmission+"/"); - } -} - -function exporter_liste_assures() -{ - $('#div_exporter_liste_assures').html(''); - - $("#btn_exporter_liste_assures").click(); -} - - -function imprimer_liste_assures() -{ - $('#div_export_assures').html(''); - - $("#btn_liste_assures").click(); -} - -function imprimer_limites() -{ - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'idEntetecontrat='+idEntetecontrat; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlimite/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp(lienEtat) -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'lienEtat='+lienEtat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercp/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp_d(lienEtat) -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'lienEtat='+lienEtat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercpd/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp_eng() -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercpeng/", - type: 'POST', - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_cp_eng_d() -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercpengd/", - type: 'POST', - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function rachat_tm_police() -{ - if($('#rachatTm').val()=="1") - { - $("#tauxRachatTm").readable(); - } - else - { - $("#tauxRachatTm").val("0"); - $("#tauxRachatTm").unreadable(); - } -} - -function pop_tableau_prestation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtableauprestation/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_tableau_prestation").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - - -function pop_consulter_tableau_prestation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxconsultertableauprestation/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_tableau_prestation").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function pop_afficher_detail_resiliation() -{ - var div_tableau_assure = $('#div_tableau_assure'); - - div_tableau_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailresiliation/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - div_tableau_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function maj_college() -{ - if($('#codeProduit').val()<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - $('#codeProduit').focus(); - return; - } - $("#btn_recap").click(); -} - -function ajax_maj_tm(idPrestation, tm, controle) -{ - tm=tm.replace(",","."); - controle.value=tm; - - if(controle_numerique(controle)) - { - donnees = 'idPrestation='+idPrestation+"&tm="+tm; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtableauprestation/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function texte_cp() -{ - window.location.assign($("#racineWeb" ).val()+"Textecp/"); -} - -function imprimer_contrat() -{ - window.location.assign($("#racineWeb" ).val()+"Contrat/"); -} - -function imprimer_devis() -{ - window.location.assign($("#racineWeb" ).val()+"Imprimerdevis/"); -} - -function rapport_sp_police() -{ - window.location.assign($("#racineWeb" ).val()+"Sppolice/"); -} - -function rapport_sp_adherent() -{ - window.location.assign($("#racineWeb" ).val()+"Spadherent/"); -} - - -function rapport_sp_college() -{ - window.location.assign($("#racineWeb" ).val()+"Spcollege/"); -} - -function rapport_sp_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Spbeneficiaire/"); -} - -function enregistrer_avenant() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - oldCodeTypeAvenant=$("#oldCodeTypeAvenant").val(); - - if ($("#codeTypeAvenant").val()<" ") - { - v_msg="Veuillez sélectionner le type d\'avenant!"; - v_msgEng="Please select the type of amendment!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(codeTypeAvenant!="CHE" && codeTypeAvenant!="REN") - { - var d_effet = new Date($("#dateEffetSql").val()); - var d_fin = new Date($("#dateFinSql").val()); - var d_avenant = $("#dateAvenant").datepicker("getDate"); - - dt_effet = Math.round(Date.parse(d_effet)/(1000*3600*24)); - dt_fin = Math.round(Date.parse(d_fin)/(1000*3600*24)); - dt_avenant = Math.round(Date.parse(d_avenant)/(1000*3600*24)); - - /* - alert("dt_effet => "+dt_effet); - alert("dt_fin => "+dt_fin); - alert("dt_avenant => "+dt_avenant); - return; - */ - - if (dt_avenant>dt_fin || dt_avenantdt2) - { - v_msg="Veuillez revoir la date de renouvellement!"; - v_msgEng="Please review the renewal date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var eff = $("#dateAvenant").datepicker("getDate"); - var ech = $("#dateEcheanceRen").datepicker("getDate"); - - if (ech>eff.addMonths(12)) { - v_msg="Période supérieur à un an!"; - v_msgEng="Period greater than one year!"; - alert_ebene(v_msg, v_msgEng); - } - } - - if(codeTypeAvenant=="CHE" && oldCodeTypeAvenant=="REN") - { - var td1 = new Date($("#dateEffet").val()); - var td2 = $("#dateAvenant").datepicker("getDate"); - - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - } - - if ( - codeTypeAvenant=="RET" || - codeTypeAvenant=="RES" || - codeTypeAvenant=="SUS" || - codeTypeAvenant=="ANL"|| - codeTypeAvenant=="RVP"|| - codeTypeAvenant=="ADL"|| - codeTypeAvenant=="CHE") - { - motifavenant=$("#motifavenant").val(); - - if ($("#motifavenant").val()<" ") - { - v_msg="Veuillez fournir le motif!"; - v_msgEng="Please provide the reason"; - alert_ebene(v_msg, v_msgEng); - - return; - } - } - - v_msg="Confirmez-vous cet avenant?"; - v_msgEng="Do you confirm this amendment to the contract?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_attente'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - codeTypeAvenant=$("#codeTypeAvenant").val(); - - donnees = ""; - - if (codeTypeAvenant=="ANL") - { - donnees = "controle=existequittance"; - } - - if(donnees>" ") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontroleavenantpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - alert(data); - $("#div_controler_avenant").html(data); - }, - complete: function() { - $("#controler_avenant").val($("#controler_avenant_info").val()); - - resultat_controler_avenant = $("#controler_avenant").val(); - - if (resultat_controler_avenant=="Q") - { - v_msg="Attention, cette police possède des quittances!"; - v_msgEng="Warning, this policy has premium issues!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (resultat_controler_avenant=="C") - { - v_msg="Attention, cette police possède des sinistres!"; - v_msgEng="Warning, this policy has claims!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - return; - } - }); - } - else - if (codeTypeAvenant=="ADL") - { - donnees = "dateAvenant="+$("#dateAvenant").val()+"&motifavenant="+motifavenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlimiteadditionnelle/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#btn_enreg").click(); - } - }); - } - else - { - $("#btn_enreg").click(); - } - } -} - - -function enregistrer_resiliation() -{ - v_msg="Confirmez-vous la résiliation de cette police?"; - v_msgEng="Do you confirm the cancellation of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheresiliation/enregistrerresiliation/"); - } -} - - -function enregistrer_retrait() -{ - var div_assure_a_retirer = $('#div_assure_a_retirer'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailretrait/recapituler/", - type: 'POST', - success: function(data) { - div_assure_a_retirer.html(data); - }, - error: function(data) { - }, - complete: function() { - nbAliment=$("#nbAliment").val(); - - if (nbAliment<"1") - { - v_msg="Veuillez sélectionner les personnes à retirer!"; - v_msgEng="Please select the people to remove!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous le retrait des personnes sélectionnées de cette police?"; - v_msgEng="Do you confirm the withdrawal of the selected people from this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficheretrait/enregistrerretrait/"); - } - } - }); - - -} - -function controle_date_avenant() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - - if(est_ce_police_famille() && codeTypeAvenant=="RET") - { - v_msg="Oprétaion non autorisée!"; - v_msgEng="Unauthorized operation!"; - alert_ebene(v_msg, v_msgEng); - - afficher_police_id(); - return; - } - - $("#div_periodidite").html(""); - - if(codeTypeAvenant=="REN") - { - $("#dateAvenant").val($("#DateRenouvellement_fr").val()); - $("#motifavenant").val(""); - - $("#motifavenant").unreadable(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrenouvellement/", - type: 'POST', - // data: donnees, - success: function(data) - { - $("#div_periodidite").html(data); - $(".datepicker" ).datepicker(); - CalculerEcheanceRen(); - CalculerFinRen(); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - $("#dateAvenant").readable(); - } - else - if(codeTypeAvenant=="ADL") - { - $("#dateAvenant").val($("#datejourfr_C").val()); - $("#dateAvenant").unreadable(); - $("#motifavenant").readable(); - } - else - { - $("#dateAvenant").val($("#datejourfr_C").val()); - - $("#dateAvenant").readable(); - $("#motifavenant").readable(); - } -} - -function pop_afficher_detail_renouvellement() -{ - var div_tableau_assure = $('#div_tableau_assure'); - - div_tableau_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrenouvellement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - div_tableau_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function enregistrer_renouvellemnt() -{ - v_msg="Confirmez-vous le renouvellement de cette police?"; - v_msgEng="Do you confirm the renewal of this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Ficherenouvellement/enregistrerrenouvellement/"); - } -} - -function fiche_limite_additionnelle() -{ - window.location.assign($("#racineWeb" ).val()+"Fichelimiteadditionnelle/"); -} - -function enregistrer_changement_etat_famille() -{ - codeEtatAdherent=$("#codeEtatAdherent").val(); - - if (codeEtatAdherent<" ") - { - v_msg="Veuillez sélectionner le nouvel état!"; - v_msgEng="Please select the new state!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - motifEtat=$("#motifEtat").val(); - - if (motifEtat<" ") - { - v_msg="Veuillez indiquer le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce changement d\'état?"; - v_msgEng="Do you confirm this change of state?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function changer_etat_beneficiaire() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Changeretatbeneficiaire/"); -} - -function enregistrer_changement_etat_beneficiaire() -{ - codeEtatBeneficiaire=$("#codeEtatBeneficiaire").val(); - - if (codeEtatBeneficiaire<" ") - { - v_msg="Veuillez sélectionner le nouvel état!"; - v_msgEng="Please select the new state!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - motifEtat=$("#motifEtat").val(); - - if (motifEtat<" ") - { - v_msg="Veuillez indiquer le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce changement d\'état?"; - v_msgEng="Do you confirm this change of state?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function pop_afficher_selection_retrait() -{ - var div_selection_assure = $('#div_selection_assure'); - - div_selection_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionretrait/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - div_selection_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function beneficiaire_a_retirer(p_choix, p_id_beneficiaire) -{ - donnees = 'idBeneficiaire='+p_id_beneficiaire; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionretrait/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recapituler_retrait() -{ - var div_assure_a_retirer = $('#div_assure_a_retirer'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailretrait/recapituler/", - type: 'POST', - success: function(data) { - div_assure_a_retirer.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function changer_college() -{ - codeTypeAvenant=$("#codeTypeAvenant_C").val(); - - // /* autorisé le 11/07/2018 en attendant - if (codeTypeAvenant!="REN") - { - v_msg="Opération possible uniquement lors du renouvellement!"; - v_msgEng="Operation possible only during renewal!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - codeEtatFacturation=$("#codeEtatFacturation").val(); - if (codeEtatFacturation=="1") - { - v_msg="Attention! Famille déjà facturée!"; - v_msgEng="Warning! Family already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - consommation_adherent=$("#consommation_adherent").val(); - if(consommation_adherent>"0") - { - v_msg="Attention! cette famille a déjà consommé!"; - v_msgEng="Warning! this family has already consumed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Changercollege/"); -} - -function changer_college_adherent() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchangercollege/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function enregistrer_changement_college() -{ - idCollege=$("#idCollege").val(); - idCollegeOld=$("#idCollegeOld").val(); - - if (idCollege==idCollegeOld) - { - v_msg="Veuillez sélectionner un autre collège!"; - v_msgEng="Please select a another college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function enregistrer_limite_additionnelle() -{ - nbAliment=$("#nbAliment").val(); - - if (nbAliment<"1") - { - v_msg="Veuillez sélectionner les familles concernées!"; - v_msgEng="Please select the families concerned!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - cumulPlafond=$("#cumulPlafond").val(); - - // alert("cumulPlafond => "+cumulPlafond); - // return; - - if (cumulPlafond<="1") - { - v_msg="Veuillez saisir les limites additionnelles!"; - v_msgEng="Please enter the additional limits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ces limites additionnelles?"; - v_msgEng="Do you confirm these additional limits?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichelimiteadditionnelle/enregistrerlimiteadditionnelle/"); - } -} - -function selection_college(p_choix,p_id_college_temp) -{ - donnees = 'idCollegeTemp='+p_id_college_temp; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlimiteadditionnelle/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_additionnelle(); - } - }); -} - -function modifier_college_temp(p_id_college_temp) -{ - if (p_id_college_temp>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiercollegetemp/"+p_id_college_temp+"/"); - } -} - -function maj_limite_additionnelle(idGarantie, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majplafondadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function maj_prime_additionnelle(idGarantie, primeOption, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&primeOption="+primeOption; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majprimeadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college(); - controle.focus(); - } - }); - } -} - -function enregistrer_college_temp() -{ - $("#btn_enreg").click(); -} - -function recapituler_limite_additionnelle() -{ - var div_primes = $('#div_primes'); - - $.ajax({ - url: $("#racineWeb").val()+"Recaplimiteadd/", - type: 'POST', - success: function(data) { - div_primes.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recapituler_limite_college() -{ - var div_recap = $('#div_recap'); - - $.ajax({ - url: $("#racineWeb").val()+"Recaplimitecollege/", - type: 'POST', - success: function(data) { - div_recap.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function changer_limite() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etatadh=$("#codeEtatAdherent_C").val(); - - if (etatadh != "V") - { - v_msg="Attention! cette famille n\'est pas en vigueur!"; - v_msgEng="Warning! this family is not in force!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - rapport_sp_police=$("#rapport_sp_police").val(); - if(rapport_sp_police>"0.70") - { - v_msg="Attention! S/P > 70%"; - v_msgEng="Warbing! Loss Ratio > 70%"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlimiteaddadherent/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Changerlimite/"); - } - }); -} - -function maj_limite_add_adherent(idGarantie, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadherent/majplafondadherent/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function enregistrer_changement_limite() -{ - $("#btn_enreg").click(); -} - -function pop_afficher_selection_limite(p_id_college_temp) -{ - var div_selection_assure = $('#div_selection_assure'); - donnees = 'id_college_temp='+p_id_college_temp; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionlimite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_selection_assure.html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function selection_famille_limite(p_choix,p_idBeneficiaire) -{ - donnees = 'idBeneficiaire='+p_idBeneficiaire; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionlimite/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college_simple(); - } - }); -} - - -function recapituler_limite_college_simple() -{ - $.ajax({ - url: $("#racineWeb").val()+"Recaplimitecollege/recapituler/", - type: 'POST', - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_additionnelle(); - } - }); -} - -function selectionner_tout_limite(p_idCollegeTemp, p_choix) -{ - donnees = 'idCollegeTemp='+p_idCollegeTemp; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxselectionlimite/selectionnertout/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college_simple(); - pop_afficher_selection_limite(p_idCollegeTemp); - } - }); -} - -function gestionbon() -{ - adminBon = $("#adminBon").val(); - - if (adminBon!="1") - { - v_msg="Accès refusé!"; - v_msgEng="Access denied!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb").val()+"Gestionbons/"); -} - -function getDenierNumeroBon() -{ - $("#msgErreur").html(""); - $("#div_wait").html(""); - - codeTypeBon=$("#codeTypeBon").val(); - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#msgErreur").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderniernumerobon/", - type : 'post', - data: "codeTypeBon="+codeTypeBon, - error: function(errorData) { - }, - success: function(data) { - $("#infodernierbon").html(data); - $("#msgErreur").html(""); - }, - complete: function() { - denierNumeroBon = $("#denierNumeroBon_info").val(); - denierNumeroBon = parseInt(denierNumeroBon); - $("#denierNumeroBon").val(denierNumeroBon); - $("#noDepart").val(denierNumeroBon+1); - $("#noFin").val(denierNumeroBon+50); - } - }); -} - -function genererbon() -{ - codePrestataire=$("#codePrestataire").val(); - codeTypeBon=$("#codeTypeBon").val(); - receptionnaire=$("#receptionnaire").val(); - - noDepart=$("#noDepart").val(); - noFin=$("#noFin").val(); - - if (noDepart=="") - { - noDepart="0"; - } - - if (noFin=="") - { - noFin="0"; - } - - noDepart = parseInt(noDepart); - noFin = parseInt(noFin); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - $("#btn_pop_prestataire").click(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - if (noFin  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgenererbons/genererBon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_page_entiere").html(data); - }, - complete: function() { - imprimer_livraison_bon(); - } - }); - } - }); - } -} - -function afficherbon() -{ - codePrestataire=$("#codePrestataire").val(); - - codeTypeBon=$("#codeTypeBon").val(); - codeEtatBon=$("#codeEtatBon").val(); - - noDepart=$("#noDepart").val(); - noFin=$("#noFin").val(); - - if (noDepart=="") - { - noDepart="0"; - } - - if (noFin=="") - { - noFin="0"; - } - - noDepart = parseInt(noDepart); - noFin = parseInt(noFin); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - if (noFin  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_bonpecs").html(data); - }, - complete: function() { - $("#nbligne").val("Nombre de bons affichés : "+$("#nbligne_info").val()); - } - }); -} - -function listergenerationbon() -{ - codePrestataire=$("#codePrestataire").val(); - codeTypeBon=$("#codeTypeBon").val(); - d1=$("#d1").val(); - d2=$("#d2").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeTypeBon='+codeTypeBon+'&d1='+d1+'&d2='+d2; - - $("#div_bonpecs").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxalistegenererbons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_bonpecs").html(data); - }, - complete: function() { - $("#nbligne").val("Nombre de lignes affichées : "+$("#nbligne_info").val()); - } - }); -} - -function listerdemandebon() -{ - codePrestataire=$("#codePrestataire").val(); - codeTypeBon=$("#codeTypeBon").val(); - d1=$("#d1").val(); - d2=$("#d2").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeTypeBon='+codeTypeBon+'&d1='+d1+'&d2='+d2; - - $("#div_bonpecs").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxalistedemandebon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_bonpecs").html(data); - }, - complete: function() { - } - }); -} - -function ajaxListerExclusions() -{ - $("#div_acte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexclureacte/", - type : 'post', - data: "idCollege="+$("#idCollege").val(), - error: function(errorData) { - }, - success: function(data) { - $("#div_acte").html(data); - } - }); -} - -function exclure_acte(p_choix, p_codeActe, id_exclusioncollege) -{ - donnees = 'idCollege='+$("#idCollege").val(); - donnees += '&id_exclusioncollege='+id_exclusioncollege; - donnees += '&codeActe='+p_codeActe; - donnees += '&choix='+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexclureacte/exclure/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function separateur_millier(montant) -{ - montant = parseInt(montant); - montant.toLocaleString(); - return montant.toLocaleString(); -} - -function afficher_detail_generartionbon(idgenerationbon) -{ - if (idgenerationbon>"") - { - window.location.assign($("#racineWeb" ).val()+"Detailgenerationbon/"+idgenerationbon+"/"); - } -} - -function afficher_tarifoptique() -{ - var div_detail = $('#div_detail'); - - codeTarifOptique=$("#codeTarifOptique").val(); - libelleOptique=$("#libelleOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - /* - if(libelleOptique<=' ') - { - v_msg="Veuillez saisir un nom!"; - v_msgEng="Please enter a name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleOptique").focus(); - return; - } - */ - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleOptique='+libelleOptique; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifoptique/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_detail").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function maj_tarifoptique(idDetail, prix) -{ - donnees = 'idDetail='+idDetail+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifoptique/maj/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function supprimer_espace_nombre(nombre) -{ - // nombre = nombre.replace(" ", ""); - nombre = nombre.replace(/ /g, ""); - - if(isNaN(nombre)) - { - v_msg = nombre+" n\'est pas un nombre!"; - v_msgEng = nombre+" is not a number!"; - alert_ebene(v_msg, v_msgEng); - - return '0'; - } - nombre = parseInt(nombre); - return nombre; -} - -function afficher_tarifpharmacie() -{ - var div_detail = $('#div_detail'); - - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_detail").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function maj_tarifpharmacie(idDetail, prix) -{ - donnees = 'idDetail='+idDetail+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/maj/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function afficher_tarifacte() -{ - var div_detail = $('#div_detail'); - - codeTarifActe=$("#codeTarifActe").val(); - libelleActe=$("#libelleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(libelleActe<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&libelleActe='+libelleActe; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifacte/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_detail").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function maj_tarifacte(idDetail, prix) -{ - donnees = 'idDetail='+idDetail+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifacte/maj/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function gestiondiverses() -{ - adminDiv = $("#adminDiv").val(); - - if (adminDiv!="1") - { - v_msg="Accès refusé!"; - v_msgEng="Access denied!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Gestiondiverses/"); -} - - -function liste_derogation_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Listederogationsbenficiaire/"); -} - -function listerderogationbeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function accepter_derogation(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepterderogation/"+idDemandederogation+"/"); -} - -function refuser_derogation(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Refuserderogation/"+idDemandederogation+"/"); -} - -function enregistrerrefusderogation() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusderogation'; - typeSms="refusderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistrerrefusderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_beneficiaire(); - } - }); - } -} - -function enregistreraccordderogation() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - debut =$("#debut").val(); - fin =$("#fin").val(); - - codeDerogation = $("#codeDerogation").val(); - tmDerogation = $("#tmDerogation").val(); - tmDerogation = parseInt(tmDerogation); - - codePrestataire = $("#codePrestataire").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#debut").datepicker("getDate"); - var td2 = $("#fin").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if ((dt0>dt1) || dt1>dt2) - { - v_msg="Veuillez revoir les dates!"; - v_msgEng="Please review the dates!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeDerogation=="01" && tmDerogation<=0) - { - v_msg="Veuillez saisir le ticket modérateur!"; - v_msgEng="Please enter the user fees!"; - alert_ebene(v_msg, v_msgEng); - - $("#tmDerogation").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&debut='+debut+'&fin='+fin; - donnees += '&codeDerogation='+codeDerogation+'&tmDerogation='+tmDerogation+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordderogation'; - typeSms = "accordderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistreraccordderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_beneficiaire(); - } - }); - } -} - -function listerderogations() -{ - codePrestataire=$("#codePrestataire").val(); - codeDerogation=$("#codeDerogation").val(); - codeReponseDerogation=$("#codeReponseDerogation").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codePrestataire='+codePrestataire+'&codeDerogation='+codeDerogation+'&codeReponseDerogation='+codeReponseDerogation; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogations/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function accepter_derogation_2(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepterderogations/"+idDemandederogation+"/"); -} - -function refuser_derogation_2(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Refuserderogations/"+idDemandederogation+"/"); -} - -function enregistrerrefusderogation_2() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusderogation'; - typeSms="refusderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistrerrefusderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogations(); - } - }); - } -} - -function enregistreraccordderogation_2() -{ - idDemandederogation = $("#idDemandederogation").val(); - motifReel = $("#motifReel").val(); - debut = $("#debut").val(); - fin = $("#fin").val(); - - codeDerogation = $("#codeDerogation").val(); - tmDerogation = $("#tmDerogation").val(); - tmDerogation = parseInt(tmDerogation); - - codePrestataire = $("#codePrestataire").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#debut").datepicker("getDate"); - var td2 = $("#fin").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if (dt0>dt1 || dt1>dt2) - { - v_msg="Veuillez revoir les dates!"; - v_msgEng="Please review the dates!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeDerogation=="01" && tmDerogation<=0) - { - v_msg="Veuillez saisir le ticket modérateur!"; - v_msgEng="Please enter the user fees!"; - alert_ebene(v_msg, v_msgEng); - - $("#tmDerogation").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandederogation='+idDemandederogation+'&motifReel='+motifReel+'&debut='+debut+'&fin='+fin; - donnees += '&codeDerogation='+codeDerogation+'&tmDerogation='+tmDerogation+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordderogation'; - typeSms = "accordderogation"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/enregistreraccordderogation/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_derogations(); - } - }); - } -} - -function liste_derogations() -{ - window.location.assign($("#racineWeb" ).val()+"Listederogations/"); -} - -function prestations() -{ - if ($("#idBeneficiaire_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Prestations/"+$("#idBeneficiaire_C" ).val()+"/"); - } -} - -function dossiers() -{ - window.location.assign($("#racineWeb" ).val()+"Dossiers/"); -} - -function factures() -{ - window.location.assign($("#racineWeb" ).val()+"Factures/"); -} - -function listerdossier() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossiers/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function selectionner_feuille_maladie(no) -{ - $("#numeroFeuilleMaladie_C" ).val(no); -} - -function selectionner_facture(idFacture) -{ - $("#idFacture_C" ).val(idFacture); -} - -function afficher_feuille_maladie() -{ - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C" ).val(); - - if (numeroFeuilleMaladie>"") - { - ajax_context_feuille_maladie_afficher(numeroFeuilleMaladie); - } -} - -function ajax_context_feuille_maladie_afficher(numeroFeuilleMaladie) -{ - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfeuillemaladie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Feuillemaladiecons/"); - } - }); -} - -function afficher_facture() -{ - idFacture=$("#idFacture_C" ).val(); - - if (idFacture>"") - { - ajax_context_facture_afficher(idFacture); - } -} - -function ajax_context_facture_afficher(idFacture) -{ - donnees = 'idFacture='+idFacture; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Facture/"); - } - }); -} - -function listerfacture() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactures/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function sinistres() -{ - adminDiv = $("#adminDiv").val(); - - if (adminDiv!="1") - { - v_msg="Accès refusé!"; - v_msgEng="Access denied!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb").val()+"Rechercheprestations/"); -} - - -function afficher_pharmacie(numeroBonOrdonnance, codePrestataireLivraison) -{ - donnees = 'numeroBonOrdonnance='+numeroBonOrdonnance+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpharmaciencien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Pharmaciencons/"); - } - }); -} - -function afficher_optique(numeroBonOptique, codePrestataireLivraison) -{ - donnees = 'numeroBonOptique='+numeroBonOptique+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextopticien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Opticiencons/"); - } - }); -} - -function fraisfuneraire() -{ - window.location.assign($("#racineWeb" ).val()+"Fraisfuneraire/"); -} - - -function demanderfraisfuneraire() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - - if (fraisFuneraireDemande==1) - { - v_msg="Déjà effectuée!"; - v_msgEng="Already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Demandefraisfuneraire/"); -} - - -function modifierdemanderfraisfuneraire() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Déjà effectuée!"; - v_msgEng="Already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Modifierfraisfuneraire/"); -} - - -function payerfraisfuneraire() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==0) - { - v_msg="Aucune Demande de Règlement!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Payerfraisfuneraire/"); -} - -function enregistrerdemandefraisfuneraire() -{ - enVigueur=$("#enVigueur_C").val(); - codeEtatBeneficiaire=$("#codeEtatBeneficiaire_C").val(); - etatbeneficiaire=$("#etatbeneficiaire_C").val(); - - if (enVigueur!="1") - { - v_msg="Attention! cette personne n'est pas en vigueur,"; - v_msgEng="Warning! This person is not in force,"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - /* - if (codeEtatBeneficiaire!="V") - { - v_msg="Attention! "+etatbeneficiaire; - v_msgEng="Warning! "+etatbeneficiaire; - alert_ebene(v_msg, v_msgEng); - - return; - } - */ - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - causeDeces = $("#causeDeces").val(); - dateDeces=$("#dateDeces").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - fraisReel = $("#fraisReel").val(); - montantApayer = $("#montantApayer").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - if (causeDeces<=" ") - { - v_msg="Veuillez saisir la cause du décès!"; - v_msgEng="Please enter the cause of death"; - alert_ebene(v_msg, v_msgEng); - - $("#causeDeces").focus(); - return; - } - - if (dateDeces<=" ") - { - v_msg="Veuillez saisir la date du décès!"; - v_msgEng="Please enter the date of death!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateDeces").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if(montantApayer<=" ") - { - montantApayer = "0"; - } - - if(montantApayer==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantApayer").focus(); - - return; - } - - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = $("#dateDeces").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateDeces").focus(); - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - dateSortieBeneficiaire = $("#dateSortieBeneficiaire_C").val(); - var tdd = new Date(dateSortieBeneficiaire); - dtd = Math.round(Date.parse(tdd)/(1000*3600*24)); - - if(dateSortieBeneficiaire>"2000-01-01") - { - if (dt1>dtd) - { - v_msg="Attention! cette personne n'est pas couverte à cette date!"; - v_msgEng="Warning! This person is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - } - - v_msg="Confirmez-vous cette demande de frais funéraires?"; - v_msgEng="Do you confirm this request for funeral fees?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - donnees += '&fraisReel='+fraisReel+'&montantApayer='+montantApayer; - donnees += '&causeDeces='+causeDeces+'&dateDeces='+dateDeces; - donnees += '&observations='+observations; - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - donnees_sav = donnees; - - typeMail='fraisfuneraire'; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/enregistrerdemandefraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire(); - } - }); - } -} - -function listerfraisfuneraires() -{ -} - -function enregistrermodificationsfraisfuneraire() -{ - - idFraisfuneraire = $("#idFraisfuneraire").val(); - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - causeDeces = $("#causeDeces").val(); - dateDeces=$("#dateDeces").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - fraisReel = $("#fraisReel").val(); - montantApayer = $("#montantApayer").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - if (causeDeces<=" ") - { - v_msg="Veuillez saisir la cause du décès!"; - v_msgEng="Please enter the cause of death"; - alert_ebene(v_msg, v_msgEng); - - $("#causeDeces").focus(); - return; - } - - if (dateDeces<=" ") - { - v_msg="Veuillez saisir la date du décès!"; - v_msgEng="Please enter the date of death!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateDeces").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - - if(montantApayer<=" ") - { - montantApayer = "0"; - } - - if(montantApayer==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantApayer").focus(); - - return; - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice=$("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = $("#dateDeces").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date de consultation!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - donnees += '&fraisReel='+fraisReel+'&montantApayer='+montantApayer; - donnees += '&causeDeces='+causeDeces+'&dateDeces='+dateDeces; - donnees += '&observations='+observations+'&idFraisfuneraire='+idFraisfuneraire; - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/enregistrermodificationsfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Modifications effectuées avec succès!"; - v_msgEng="Changes made successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire() - } - }); - } -} - - -function initierdecompte() -{ - codePeriodeMax = $("#codePeriodeMax").val(); - - codePrestataire=$("#codePrestataire").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - codePeriodeCourant = codeExercice+codeMois; - - if (codePeriodeCourant>codePeriodeMax) - { - v_msg="Veuillez revoir la période!"; - v_msgEng="Please review the period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#inforegle").html(data); - }, - complete: function() { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0 || regle==2 || regle==3 || regle==8) - { - afficherdecompte(); - } - else - { - // 9 => Décompte validé mais en attente de règlemen - // 1 => Décompte réglé - consulterdecompte(); - } - } - }); -} - -function liste_decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Listedecomptes/"); -} - -function decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Initdecompte/"); -} - -function afficherdecompte() -{ - window.location.assign($("#racineWeb" ).val()+"Decompte/"); -} - -function re_afficherdecompte() -{ - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - window.location.assign($("#racineWeb" ).val()+"Decompte/"); -} - -function rechargerfacture() -{ - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/rechargerfacture/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - afficherdecompte(); - }, - complete: function() { - } - }); -} - -function reinitialiserdecompte() -{ - v_msg="Remettre le décompte à zéro. Confirmez-vous cette opération?"; - v_msgEng="Reset the counts. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/reinitialiserdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - afficherdecompte(); - }, - complete: function() { - } - }); - } -} - -function afficher_feuille_maladie_dec() -{ - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C").val(); - - if (numeroFeuilleMaladie>"") - { - ajax_context_feuille_maladie_afficher_dec(numeroFeuilleMaladie); - } -} - -function ajax_context_feuille_maladie_afficher_dec(numeroFeuilleMaladie) -{ - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfeuillemaladie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Feuillemaladiedec/"); - } - }); -} - -function afficher_optique_dec(numeroBonOptique, codePrestataireLivraison) -{ - donnees = 'numeroBonOptique='+numeroBonOptique+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextopticien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Opticiendec/"); - } - }); -} - -function afficher_pharmacie_dec(numeroBonOrdonnance, codePrestataireLivraison) -{ - donnees = 'numeroBonOrdonnance='+numeroBonOrdonnance+'&codePrestataireLivraison='+codePrestataireLivraison; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextpharmaciencien/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Pharmaciendec/"); - } - }); -} - -function maj_montantForce(idFacture, montantForce) -{ - donnees = 'idFacture='+idFacture+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxentetedecompte/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#reglement").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function afficherfacturenoncharge() -{ -} - -function afficherfactureattente() -{ -} - -function valider_facture(idFacture, numeroFeuilleMaladie, p_choix, codeTypeFacture) -{ - donnees = 'idFacture='+idFacture+'&choix='+p_choix+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&codeTypeFacture='+codeTypeFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxvaliderfacture/validerfacture/", - type: 'POST', - data: donnees, - success: function(data) { - $("#reglement").html(data); - - montantForce_val = $("#montantForce_val").val(); - montantApayer_val = $("#montantApayer_val").val(); - montantRedresse_val = $("#montantRedresse_val").val(); - montantRedresse_sans_format = $("#montantRedresse_sans_format").val(); - observations_val = $("#observations_val").val(); - - ctrl_montantForce.html(montantForce_val); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - - ctrl_montantRedresse.html(montantRedresse_val); - }, - error: function(data) { - }, - complete: function() - { - // alert("p_choix2 => "+p_choix); - - if ( (montantRedresse_sans_format!=0) && (observations_val<=" ") || (p_choix=="2")) - { - maj_observations_facture(idFacture, observations_val); - } - } - }); -} - -function maj_observations_facture(idFacture, observations) -{ - v_msg="Veuillez saisir ou modifier les observations!"; - v_msgEng="Please enter or edit comments!"; - - observations = prompt_ebene(v_msg, v_msgEng, observations); - - if(observations==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idFacture='+idFacture+"&observations="+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majobservations/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function afficher_div_wait() -{ - $("#div_wait").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); -} - -function effacer_div_wait() -{ - $("#div_wait").html(""); -} - -function rechercheprestations_form() -{ - $("#frmrechercheprestation").submit(); -} - -function consulterdecompte() -{ - // detail_reglement - var div_wait = $('#detail_reglement'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - window.location.assign($("#racineWeb" ).val()+"Decomptecons/"); -} - - -function maj_bordereau_decompte(idReglement, numeroBordereau) -{ - v_msg="Veuillez saisir ou modifier le No de bordereau!"; - v_msgEng="Please enter or modify the slip number!"; - - numeroBordereau = prompt_ebene(v_msg, v_msgEng, numeroBordereau); - - if(numeroBordereau==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idReglement='+idReglement+"&numeroBordereau="+numeroBordereau; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majbordereaudecompte/", - type: 'POST', - data: donnees, - success: function(data) { - $("#numeroBordereauDecompte").val(numeroBordereau); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function validerdecompte_premier() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle>0) - { - v_msg="1ère validation déjà effectuée!"; - v_msgEng="1st validation already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - nbNonTraite = $("#nbNonTraite").val(); - if (nbNonTraite!="0") - { - v_msg="Vous avez "+nbNonTraite+" facture(s) non traitée(s)!"; - v_msgEng="You have "+nbNonTraite+" bill(s) not processed!"; - - alert_ebene(v_msg, v_msgEng); - - return; - } - - montantPrestataire = $("#montantPrestataire").val(); - if (montantPrestataire<="0") - { - v_msg="Veuillez indiquer le montant réclamé par le prestataire! => Réception facture"; - v_msgEng="Please indicate the amount claimed by the provider! => Invoice receipt"; - alert_ebene(v_msg, v_msgEng); - - $('#btn_pop_reception').click(); - - return; - } - - nbExclues = $("#nbExclues").val(); - if (nbExclues<="0") - { - v_msg="Confirmez-vous qu'il n'y a pas de factures à exclure?"; - v_msgEng="Do you confirm that there are no invoices to exclude?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - } - - v_msg="Confirmez-vous la 1ère validation?"; - v_msgEng="Do you confirm the 1st validation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/validerdecomptepremier/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - - prestataire = $("#prestataire").val(); - numeroDecompte = $("#numeroDecompte").val(); - numeroLotDecompte = $("#numeroLotDecompte").val(); - periode = $("#periode").val(); - - - p_message = prestataire+" "; - - p_message += "\n"; - p_message += "Decompte : Attente Valid. prestat. / Waiting for provider valid."; - - p_message += "\n"; - p_message += "Periode : "+periode; - - p_message += "\n"; - p_message += "No Decompte : "+numeroDecompte; - - p_message += "\n"; - p_message += "No Lot : "+numeroLotDecompte; - - envoyer_messagerie(p_message, "0"); - }, - complete: function() - { - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficherdecompte(); - } - }); - } -} - -function validerdecompte() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==0) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==2) - { - v_msg="En attente de la validation du prestataire!"; - v_msgEng="Waiting for the validation of the provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ( (regle==3) || (regle==8) ) - { - v_msg="Confirmez-vous la 2ème validation?"; - v_msgEng="Do you confirm the 2nd validation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/validerdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - consulterdecompte(); - } - }); - } - } -} - -function afficher_div_wait() -{ - $("#div_page_complet").disable(); -} - -function effacer_div_wait() -{ - $("#div_wait").html(""); -} - - -function imprimerbordereaudecompte() -{ - idReglement = $("#idReglement").val(); - - if (idReglement>"0") - { - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/imprimerbordereaudecompte", - type: 'POST', - success: function(data) - { - div_wait.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } -} - -function reglerdecompte() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==0) - { - v_msg="Aucune Demande de Règlement!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Reglerdecompte/"); -} - - -function enregistrerreglementdecompte() -{ - idReglement = $("#idReglement").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce règelement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idReglement='+idReglement+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/enregistrerreglementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - consulterdecompte(); - }, - complete: function() { - } - }); - } -} - -function preparesms(typeSms) -{ - envoismsactif = $("#envoismsactif").val(); - if(envoismsactif=="0") - { - return; - } - - codeLangueSociete = $("#codeLangueSociete").val(); - - p_destinataires = ""; - p_message = ""; - creation_message = "1"; - - if (typeSms=="accordderogation") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroDerogation = $("#numeroDerogation").val(); - libelleDerogation = $("#libelleDerogation").val(); - tmDerogation = $("#tmDerogation").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Exemption granted for : " : "Derogation accordee pour : "; - p_message += libelleDerogation; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroDerogation; - } - - if (typeSms=="refusderogation") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroDerogation = $("#numeroDerogation").val(); - libelleDerogation = $("#libelleDerogation").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Exemption refused for : " : "Derogation refusee pour : "; - p_message += libelleDerogation; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroDerogation; - } - - if (typeSms=="accordententeprealable") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleActe = $("#libelleActe").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Act granted : " : "Acte accorde : "; - p_message += libelleActe; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealable") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleActe = $("#libelleActe").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Act refused : " : "Acte refuse : "; - p_message += libelleActe; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusacteexclu") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroAutorisation = $("#numeroAutorisation").val(); - libelleActe = $("#libelleActe").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - p_message += "Acte refuse : "+libelleActe+" "; - p_message += "\n"; - p_message += "No demande : "+numeroAutorisation; - } - - if (typeSms=="accordacteexclu") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroAutorisation = $("#numeroAutorisation").val(); - libelleActe = $("#libelleActe").val(); - - prixTarif = $("#prixTarif").val(); - valeurActe = $("#valeurActe").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - p_message += "Acte accorde : "+libelleActe+" "; - p_message += "\n"; - - p_message +="Tarif convention : "+prixTarif+" FRW "; - p_message +="Tarif accorde : "+valeurActe+" FRW "; - - p_message += "No demande : "+numeroAutorisation; - } - - if (typeSms=="accordententeprealablepha") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleMedicament = $("#libelleMedicament").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Drug granted : " : "Medicament accorde : "; - p_message += libelleMedicament; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealablepha") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleMedicament = $("#libelleMedicament").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Drug refused : " : "Medicament refuse : "; - p_message += libelleMedicament; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="accordententeprealableopt") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleOptique = $("#libelleOptique").val(); - - p_message = prestataire+" "; - - p_message += "\n"; - - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Glasses granted : " : "Verres accordes : "; - p_message += libelleOptique; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealableopt") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - libelleOptique = $("#libelleOptique").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Glasses refused : " : "Verres refuses : "; - p_message += libelleOptique; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="accordententeprealablemont") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Optical frame : granted" : "Monture accordee"; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - if (typeSms=="refusententeprealablemont") - { - p_destinataires = $("#smsGestionPrestataire").val(); - - copieSmsPrestataireAssure = $("#copieSmsPrestataireAssure").val(); - if (copieSmsPrestataireAssure=="1") - { - p_destinataires = ajouter_destinataire_sms_adherent(p_destinataires); - } - - patient = $("#beneficiaire").val(); - numeroBeneficiaire = $("#numeroBeneficiaire" ).val(); - prestataire = $("#prestataire").val(); - numeroEntentePrealable = $("#numeroEntentePrealable").val(); - - p_message = prestataire+" "; - p_message += "\n"; - p_message += "Patient : "+patient+" ("+numeroBeneficiaire+") "; - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Optical frame : refused" : "Monture refuse"; - - p_message += "\n"; - - p_message += (codeLangueSociete=="en_US") ? "Request number : " : "No demande : "; - p_message += numeroEntentePrealable; - } - - envoyersms(p_destinataires, p_message, creation_message); -} - - -function liste_ententeprealables() -{ - actVisible=$("#actVisible").val(); - - // if (actVisible!="1" && modeSaisieFacture!="1") - if (actVisible!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Listeententeprealables/"); -} - -function liste_actes_exclus() -{ - window.location.assign($("#racineWeb" ).val()+"Listeexclusions/"); -} - -function listeententeprealables() -{ - codePrestataire=$("#codePrestataire").val(); - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codePrestataire='+codePrestataire+'&codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealables/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function accepter_ententeprealable_2(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealables/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable_2(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealables/"+idDemandeententeprealable+"/"); -} - -// - -function accepter_ententeprealable(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealable/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealable/"+idDemandeententeprealable+"/"); -} - -function liste_ententeprealable_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablesbenficiaire/"); -} - -function liste_actes_exclus_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Listeexclusionsbenficiaire/"); -} - -function enregistreraccordententepreslable_2() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail="accordententeprealable"; - typeSms = "accordententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables(); - } - }); - } -} - -function enregistrerrefusententepreslable_2() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealable'; - typeSms="refusententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables(); - } - }); - } -} - -function listerententeprealablebeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function enregistreraccordententepreslable() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealable'; - typeSms = "accordententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealable_beneficiaire(); - } - }); - } -} - -function enregistrerrefusententepreslable() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure+'&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealable'; - typeSms="refusententeprealable"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealable/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealable_beneficiaire(); - } - }); - } -} - -function afficher_decompte(idFacture, montantForce) -{ - donnees = 'idFacture='+idFacture+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxentetedecompte/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#reglement").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - - -function ctrlkeypress_tarifmedicament(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_tarifpharmacie(); - } -} - -function ctrlkeypress_tarifacte(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_tarifacte(); - } -} - -function ctrlkeypress_tarifoptique(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_tarifoptique(); - } -} - -function consulter_sinistres() -{ - window.location.assign($("#racineWeb" ).val()+"Consultations/"); -} - -function liste_dossiers() -{ - window.location.assign($("#racineWeb" ).val()+"Listedossiers/"); -} - -function liste_factures() -{ - window.location.assign($("#racineWeb" ).val()+"Listefactures/"); -} - -function lister_dossiers() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - donnees = 'd1='+d1+'&d2='+d2+'&codePrestataire='+codePrestataire; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistedossiers/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function lister_factures() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - donnees = 'd1='+d1+'&d2='+d2+'&codePrestataire='+codePrestataire; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefactures/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - - -function listeactesexclus() -{ - codePrestataire = $("#codePrestataire").val(); - codeReponseAutorisation = $("#codeReponseAutorisation").val(); - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'codePrestataire='+codePrestataire+'&codeReponseAutorisation='+codeReponseAutorisation; - donnees += '&debut='+debut+'&fin='+fin; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactesexclus/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function refuser_acte_exclu_2(idDemandeautorisation) -{ - window.location.assign($("#racineWeb" ).val()+"Refuseracteexclus/"+idDemandeautorisation+"/"); -} - -function refuser_acte_exclu(idDemandeautorisation) -{ - - window.location.assign($("#racineWeb" ).val()+"Refuseracteexclu/"+idDemandeautorisation+"/"); -} - -function enregistrerrefus_acte_exclu_2() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - - donnees_sav = donnees; - typeMail='refusacteexclu'; - typeSms="refusacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus(); - } - }); - } -} - -function accepter_acte_exclu_2(idDemandeautorisation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepteracteexclus/"+idDemandeautorisation+"/"); -} - -function accepter_acte_exclu(idDemandeautorisation) -{ - window.location.assign($("#racineWeb" ).val()+"Accepteracteexclu/"+idDemandeautorisation+"/"); -} - -function enregistreraccord_acte_exclu_2() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - - prixTarif = $("#prixTarif").val(); - valeurActe = $("#valeurActe").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if(valeurActe==0 || parseFloat(valeurActe)>parseFloat(prixTarif)) - { - v_msg="Veuillez revoir le tarif!"; - v_msgEng="Please review rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#valeurActe").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&valeurActe='+valeurActe; - - donnees_sav = donnees; - typeMail='accordacteexclu'; - typeSms="accordacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus(); - } - }); - } -} - -function listeracteexclubeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactesexclusbenficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function enregistrerrefus_acte_exclu() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - - donnees_sav = donnees; - typeMail='refusacteexclu'; - typeSms="refusacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus_beneficiaire(); - } - }); - } -} - -function enregistreraccord_acte_exclu() -{ - idDemandeautorisation = $("#idDemandeautorisation").val(); - motifReel = $("#motifReel").val(); - - prixTarif = $("#prixTarif").val(); - valeurActe = $("#valeurActe").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if(valeurActe==0 || parseFloat(valeurActe)>parseFloat(prixTarif)) - { - v_msg="Veuillez revoir le tarif!"; - v_msgEng="Please review rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#valeurActe").focus(); - return; - } - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDemandeautorisation='+idDemandeautorisation+'&motifReel='+motifReel+'&valeurActe='+valeurActe; - - donnees_sav = donnees; - typeMail='accordacteexclu'; - typeSms="accordacteexclu"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordacteexclu/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_actes_exclus_beneficiaire(); - } - }); - } -} - -function verifier_feuille_maladie_dec(numeroFeuilleMaladie, idFacture, codeTypeFacture) -{ - $("#numeroFeuilleMaladie_C").val(numeroFeuilleMaladie); - numeroDecompte = $("#numeroDecompte").val(); - - if (idFacture>"0") - { - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie+'&numeroDecompte='+numeroDecompte+'&idFacture='+idFacture; - - codeTypePrestataire = $("#codeTypePrestataire").val(); - - if(codeTypeFacture=="CSO" || codeTypeFacture=="LAB" || codeTypeFacture=="SEA") - { - verifier_feuille_maladie_dec_cso(donnees); - } - else - if(codeTypeFacture=="PHAR" || codeTypeFacture=="PHA") - { - verifier_feuille_maladie_dec_pha(donnees); - } - else - if(codeTypeFacture=="OPT") - { - verifier_feuille_maladie_dec_opt(donnees); - } - } -} - -function verifier_feuille_maladie_dec_cso(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function verifier_feuille_maladie_dec_pha(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacturepha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - - -function verifier_feuille_maladie_dec_pha_cons(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacturephacons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - - -function valider_facture_dec() -{ - ndPrestNonTraites=$("#ndPrestNonTraites").val(); - - if (ndPrestNonTraites>"0") - { - v_msg="Des prestations non traitées!"; - v_msgEng="Unprocessed benefits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - codeTypeFacture = $("#codeTypeFacture").val(); - - donnees = 'idFacture='+idFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - v_msg="Confirmez-vous ces montants?"; - v_msgEng="Do you confirm these amounts?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/validerfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - montantForce_dec = $("#montantForce_dec").val(); - montantApayer_dec = $("#montantApayer_dec").val(); - montantRedresse_dec = $("#montantRedresse_dec").val(); - - ctrl_montantForce.html(montantForce_dec); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - - ctrl_montantRedresse.html(montantRedresse_dec); - - $("#btn_close_pop").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_recap_decompte(); - } - }); - } -} - -function afficher_recap_decompte() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxentetedecompte/", - success: function(data) { - $("#reglement").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_prestation(idPrestationactes, p_choix) -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idPrestationactes='+idPrestationactes+"&choix="+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/validerprestation/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_prestation_pha(idPrestationactes, p_choix) -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idPrestationactes='+idPrestationactes+"&choix="+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/validerprestation/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function maj_montantForce_prestation(idPrestationactes, montantForce) -{ - donnees = 'idPrestationactes='+idPrestationactes+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reinit_facture_dec() -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idFacture='+idFacture+"&numeroFeuilleMaladie="+numeroFeuilleMaladie; - - v_msg="Confirmez-vous la ré-initialisation?"; - v_msgEng="Do you confirm the re-initialization?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/reinitfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function reinit_facture_dec_pha() -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idFacture='+idFacture+"&numeroFeuilleMaladie="+numeroFeuilleMaladie; - - v_msg="Confirmez-vous la ré-initialisation?"; - v_msgEng="Do you confirm the re-initialization?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/reinitfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - - -function maj_montantForce_prestation_pha(idPrestationactes, montantForce) -{ - donnees = 'idPrestationactes='+idPrestationactes+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_facture_dec_pha() -{ - ndPrestNonTraites=$("#ndPrestNonTraites").val(); - - if (ndPrestNonTraites>"0") - { - v_msg="Des prestations non traitées!"; - v_msgEng="Unprocessed benefits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - codeTypeFacture = $("#codeTypeFacture").val(); - - donnees = 'idFacture='+idFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - v_msg="Confirmez-vous ces montants?"; - v_msgEng="Do you confirm these amounts?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacturepha/validerfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - montantForce_dec = $("#montantForce_dec").val(); - montantApayer_dec = $("#montantApayer_dec").val(); - montantRedresse_dec = $("#montantRedresse_dec").val(); - - ctrl_montantForce.html(montantForce_dec); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - ctrl_montantRedresse.html(montantRedresse_dec); - - $("#btn_close_pop").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_recap_decompte(); - } - }); - } -} - - -function verifier_feuille_maladie_dec_cons(numeroFeuilleMaladie, idFacture, codeTypeFacture) -{ - $("#numeroFeuilleMaladie_C").val(numeroFeuilleMaladie); - numeroDecompte = $("#numeroDecompte").val(); - - if (idFacture>"0") - { - donnees = 'numeroFeuilleMaladie='+numeroFeuilleMaladie+'&numeroDecompte='+numeroDecompte+'&idFacture='+idFacture; - - codeTypePrestataire = $("#codeTypePrestataire").val(); - - if(codeTypeFacture=="CSO" || codeTypeFacture=="LAB" || codeTypeFacture=="SEA") - { - verifier_feuille_maladie_dec_cso_cons(donnees); - } - else - if(codeTypeFacture=="PHAR" || codeTypeFacture=="PHA") - { - verifier_feuille_maladie_dec_pha_cons(donnees); - } - else - if(codeTypeFacture=="OPT") - { - verifier_feuille_maladie_dec_opt_cons(donnees); - } - } -} - -function verifier_feuille_maladie_dec_cso_cons(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfacturecons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function requetes() -{ - window.location.assign($("#racineWeb" ).val()+"Requetes/"); -} - - -function ajaxenteterequete() -{ - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - donnees = 'codeRequete='+codeRequete; - - v_url = $("#racineWeb").val()+"Ajaxrequeteentete"+codeRequete+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function requetes_feuilles_maladie() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_feuilles_maladie_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function ctrlkeypress_medecin(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_medecin(); - } -} - -function afficher_pop_recherche_medecin() -{ - - noOrdreMedecin = $("#noOrdreMedecin").val(); - nomsearch = $("#nomsearch").val(); - - if(noOrdreMedecin+nomsearch<=" ") - return; - - donnees = "valid=1&noOrdreMedecin="+noOrdreMedecin+"&nomsearch="+nomsearch; - - $("#div_listemedecins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemedecins/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listemedecins").html(data); - } - }); -} - -function selectionner_medecin(codeMedecin, nomMedecin, noOrdreMedecin) -{ - $("#codeMedecin").val(codeMedecin); - $("#nomMedecin").html(nomMedecin+" ( "+noOrdreMedecin+" )"); - $("#close_pop").click(); -} - -function reinitialiser_medecin() -{ - $("#codeMedecin").val(""); - $("#nomMedecin").html("Rechercher Médecin..."); - $("#close_pop").click(); -} - - -function requetes_bonpoec() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - codeTypeBon = $("#codeTypeBon").val(); - codeEtatBon = $("#codeEtatBon").val(); - - // Ligne 2 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - numeroBon1 = $("#numeroBon1").val(); - numeroBon2 = $("#numeroBon2").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBon1 = convertir_en_entier(numeroBon1); - numeroBon2 = convertir_en_entier(numeroBon2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&codeTypeBon=' + codeTypeBon; - donnees += '&codeEtatBon=' + codeEtatBon; - - // Ligne 2 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&numeroBon1=' + numeroBon1; - donnees += '&numeroBon2=' + numeroBon2; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_bonpoec_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - codeTypeBon = $("#codeTypeBon").val(); - codeEtatBon = $("#codeEtatBon").val(); - - // Ligne 2 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - numeroBon1 = $("#numeroBon1").val(); - numeroBon2 = $("#numeroBon2").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBon1 = convertir_en_entier(numeroBon1); - numeroBon2 = convertir_en_entier(numeroBon2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&codeTypeBon=' + codeTypeBon; - donnees += '&codeEtatBon=' + codeEtatBon; - - // Ligne 2 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&numeroBon1=' + numeroBon1; - donnees += '&numeroBon2=' + numeroBon2; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function requetes_prestationactes() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - datePrestation1 = $("#datePrestation1").val(); - datePrestation2 = $("#datePrestation2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - ententePrealable = $("#ententePrealable").val(); - numeroChambre = $("#numeroChambre").val(); - facture = $("#facture").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 5 - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&datePrestation1=' + datePrestation1; - donnees += '&datePrestation2=' + datePrestation2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codeTypePrestation=' + codeTypePrestation; - donnees += '&ententePrealable=' + ententePrealable; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&facture=' + facture; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 5 - donnees += '&libelleActe=' + libelleActe; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_prestationactes_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - datePrestation1 = $("#datePrestation1").val(); - datePrestation2 = $("#datePrestation2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - ententePrealable = $("#ententePrealable").val(); - numeroChambre = $("#numeroChambre").val(); - facture = $("#facture").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 5 - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&datePrestation1=' + datePrestation1; - donnees += '&datePrestation2=' + datePrestation2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codeTypePrestation=' + codeTypePrestation; - donnees += '&ententePrealable=' + ententePrealable; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&facture=' + facture; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 5 - donnees += '&libelleActe=' + libelleActe; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_pharmacie() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleMedicament = $("#libelleMedicament").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleMedicament=' + libelleMedicament; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_pharmacie_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleMedicament = $("#libelleMedicament").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleMedicament=' + libelleMedicament; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_optique() -{ - $('#div_export').html(""); - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleOptique = $("#libelleOptique").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleOptique=' + libelleOptique; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_optique_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateLivraison1 = $("#dateLivraison1").val(); - dateLivraison2 = $("#dateLivraison2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - codeMedecin = $("#codeMedecin").val(); - - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - numeroFeuilleMaladie1 = $("#numeroFeuilleMaladie1").val(); - numeroFeuilleMaladie2 = $("#numeroFeuilleMaladie2").val(); - - codePrestatairePrescription = $("#codePrestatairePrescription").val(); - - // Ligne 3 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 4 - libelleOptique = $("#libelleOptique").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroFeuilleMaladie1 = convertir_en_entier(numeroFeuilleMaladie1); - numeroFeuilleMaladie2 = convertir_en_entier(numeroFeuilleMaladie2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateLivraison1=' + dateLivraison1; - donnees += '&dateLivraison2=' + dateLivraison2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&codeMedecin=' + codeMedecin; - - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - donnees += '&numeroFeuilleMaladie1=' + numeroFeuilleMaladie1; - donnees += '&numeroFeuilleMaladie2=' + numeroFeuilleMaladie2; - - donnees += '&codePrestatairePrescription=' + codePrestatairePrescription; - - // Ligne 3 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 4 - donnees += '&libelleOptique=' + libelleOptique; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function requetes_assure() -{ - $('#div_export').html(""); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 2 - numeroPolice = $("#numeroPolice").val(); - codeProduit = $("#codeProduit").val(); - codeEtatPolice = $("#codeEtatPolice").val(); - codeLienParente = $("#codeLienParente").val(); - codeEtatBeneficiaire = $("#codeEtatBeneficiaire").val(); - sexe = $("#sexe").val(); - - // Ligne 3 - numeroClient1 = $("#numeroClient1").val(); - numeroClient2 = $("#numeroClient2").val(); - telephonePortableAdherent = $("#telephonePortableAdherent").val(); - emailAdherent = $("#emailAdherent").val(); - decede = $("#decede").val(); - nomClient = $("#nomClient").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroClient1 = convertir_en_entier(numeroClient1); - numeroClient2 = convertir_en_entier(numeroClient2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 2 - donnees += '&numeroPolice=' + numeroPolice; - donnees += '&codeProduit=' + codeProduit; - donnees += '&codeEtatPolice=' + codeEtatPolice; - donnees += '&codeLienParente=' + codeLienParente; - donnees += '&codeEtatBeneficiaire=' + codeEtatBeneficiaire; - donnees += '&sexe=' + sexe; - - // Ligne 3 - donnees += '&numeroClient1=' + numeroClient1; - donnees += '&numeroClient2=' + numeroClient2; - donnees += '&telephonePortableAdherent=' + telephonePortableAdherent; - donnees += '&emailAdherent=' + emailAdherent; - donnees += '&decede=' + decede; - donnees += '&nomClient=' + nomClient; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function(data) { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_assure_export() -{ - $('#div_detail_requete').html(''); - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // Ligne 2 - numeroPolice = $("#numeroPolice").val(); - codeProduit = $("#codeProduit").val(); - codeEtatPolice = $("#codeEtatPolice").val(); - codeLienParente = $("#codeLienParente").val(); - codeEtatBeneficiaire = $("#codeEtatBeneficiaire").val(); - sexe = $("#sexe").val(); - - // Ligne 3 - numeroClient1 = $("#numeroClient1").val(); - numeroClient2 = $("#numeroClient2").val(); - telephonePortableAdherent = $("#telephonePortableAdherent").val(); - emailAdherent = $("#emailAdherent").val(); - decede = $("#decede").val(); - nomClient = $("#nomClient").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroClient1 = convertir_en_entier(numeroClient1); - numeroClient2 = convertir_en_entier(numeroClient2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - // Ligne 2 - donnees += '&numeroPolice=' + numeroPolice; - donnees += '&codeProduit=' + codeProduit; - donnees += '&codeEtatPolice=' + codeEtatPolice; - donnees += '&codeLienParente=' + codeLienParente; - donnees += '&codeEtatBeneficiaire=' + codeEtatBeneficiaire; - donnees += '&sexe=' + sexe; - - // Ligne 3 - donnees += '&numeroClient1=' + numeroClient1; - donnees += '&numeroClient2=' + numeroClient2; - donnees += '&telephonePortableAdherent=' + telephonePortableAdherent; - donnees += '&emailAdherent=' + emailAdherent; - donnees += '&decede=' + decede; - donnees += '&nomClient=' + nomClient; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function consulter_limite_avant_facturation() -{ - facture=$("#facture").val(); - - if (facture==0) - { - v_msg="Pas encore facturée!"; - v_msgEng="Not yet charged!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturecons/"); -} - -function consulter_limite_avant_facturation_dec() -{ - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturecdec/"); -} - -function limite_avant_facture_dec(idFacture) -{ - donnees = 'idFacture='+idFacture; - $.ajax({ - url: $("#racineWeb").val()+"AjaxPlafondavantfacturecdec/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_limites").html(data); - }, - complete: function() { - } - }); -} - -function afficher_pharmacien() -{ - window.location.assign($("#racineWeb" ).val()+"Pharmaciencons/"); -} - -function afficher_pharmacien_dec() -{ - window.location.assign($("#racineWeb" ).val()+"Pharmaciendec/"); -} - - -function consulter_limite_avant_facturation_pha() -{ - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturephacons/"); -} - -function consulter_limite_avant_facturation_pha_dec() -{ - window.location.assign($("#racineWeb" ).val()+"Plafondavantfacturephadec/"); -} - - -function imprimer_livraison_bon() -{ - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlivraisonbons/", - type: 'POST', - success: function(data) - { - div_wait.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function convertir_en_entier(valeur) -{ - if(isNaN(valeur)) - { - valeur = "0"; - } - - if (valeur=="") - { - valeur="0"; - } - - valeur = parseInt(valeur); - - return valeur; -} - -function verifier_feuille_maladie_dec_opt(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfactureopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function valider_prestation_opt(idPrestationactes, p_choix) -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idPrestationactes='+idPrestationactes+"&choix="+p_choix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/validerprestation/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function maj_montantForce_prestation_opt(idPrestationactes, montantForce) -{ - donnees = 'idPrestationactes='+idPrestationactes+"&montantForce="+montantForce; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/majmontantforce/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reinit_facture_dec_opt() -{ - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - - donnees = 'idFacture='+idFacture+"&numeroFeuilleMaladie="+numeroFeuilleMaladie; - - v_msg="Confirmez-vous la ré-initialisation?"; - v_msgEng="Do you confirm the re-initialization?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/reinitfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function valider_facture_dec_opt() -{ - ndPrestNonTraites=$("#ndPrestNonTraites").val(); - - if (ndPrestNonTraites>"0") - { - v_msg="Des prestations non traitées!"; - v_msgEng="Unprocessed benefits!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroFeuilleMaladie = $("#numeroFeuilleMaladie_C").val(); - idFacture = $("#idFacture").val(); - codeTypeFacture = $("#codeTypeFacture").val(); - - donnees = 'idFacture='+idFacture; - - var ctrl_montantForce = $("#montantForce"+idFacture); - var ctrl_montantApayer = $("#montantApayer"+idFacture); - var ctrl_montantRedresse = $("#montantRedresse"+idFacture); - - v_msg="Confirmez-vous ces montants?"; - v_msgEng="Do you confirm these amounts?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfactureopt/validerfacturedec/", - type: 'POST', - data: donnees, - success: function(data) { - montantForce_dec = $("#montantForce_dec").val(); - montantApayer_dec = $("#montantApayer_dec").val(); - montantRedresse_dec = $("#montantRedresse_dec").val(); - - ctrl_montantForce.html(montantForce_dec); - - c_html = " "; - - ctrl_montantApayer.html(c_html); - - ctrl_montantRedresse.html(montantRedresse_dec); - - $("#btn_close_pop").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_recap_decompte(); - } - }); - } -} - -function verifier_feuille_maladie_dec_opt_cons(donnees) -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxverifierfactureoptcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_verification_facture").html(data); - }, - complete: function() { - $("#btn_pop").click(); - } - }); -} - -function supprimer_empreinte_digitale() -{ - finger_id_C=$("#finger_id_C" ).val(); - - if(finger_id_C<1) - { - v_msg="Pas d\'empreinte digitale!"; - v_msgEng="No fingerprint!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - motif=$("#motif").val(); - - if (motif<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#motif").focus(); - return; - } - - v_msg="Confirmez-vous la suppression de l\'empreinte digitale?"; - v_msgEng="Do you confirm the deletion of the fingerprint?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'motif='+motif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsupprimerempreinte/supprimerempreinte/", - type : 'post', - data: donnees, - success: function(data) { - v_msg="Empreinte digitale ré-initialisée avec succès!"; - v_msgEng="Fingerprint re-initialized successfully!"; - alert_ebene(v_msg, v_msgEng); - - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Supprimerempreinte/"); - } - }); - } -} - -function remboursement_classique() -{ - window.location.assign($("#racineWeb" ).val()+"Remboursementclassique/"); -} - -function listerremboursementbeneficiaire() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesclassiques/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function nouvelle_facture_classique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Factureclassique/"); -} - - -function enregistrerfacture_classique_temp() -{ - prestataire = $("#prestataire").val(); - - if (prestataire<=" ") - { - v_msg="Veuillez indiquer le prestataire!"; - v_msgEng="Please indicate the provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#prestataire").focus(); - return; - } - - dateFacture=$("#dateFacture").val(); - - if (dateFacture<=" ") - { - v_msg="Veuillez saisir la date de la facture!"; - v_msgEng="Please enter the date of the invoice!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateFacture").focus(); - return; - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - dateConsultation = $("#dateConsultation").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = new Date(dateConsultation); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - var td4 = $("#dateFacture").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - dt4=Math.round(Date.parse(td4)/(1000*3600*24)); - - if (dt4dt2) - { - v_msg="La date des Prestations ne peut être supérieure à la date du jour!"; - v_msgEng="The date of the Services can not be greater than today"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - if (dt4>dt3 || dt40) - { - v_msg="Attention ! Dépassement de limite"; - v_msgEng="Warning ! Overflow"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function consulter_facture_classique(idFacture) -{ - window.location.assign($("#racineWeb" ).val()+"Consulteractureclassique/"+idFacture+"/"); -} - -function consulter_limite_avant_facturation_classique() -{ - idFacture=$("#idFacture_C").val(); - - if (idFacture==0) - { - v_msg="Pas encore facturée!"; - v_msgEng="Not yet charged!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Plafondavantfactureclassique/"); -} - -function retour_facture_classique() -{ - idFacture=$("#idFacture_C").val(); - window.location.assign($("#racineWeb" ).val()+"Consulteractureclassique/"+idFacture+"/"); -} - -function payerfactureclassique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Payerfactureclassique/"); -} - - -function ajaxcommissionautre() -{ - donnees = "codeApporteur="+$("#codeCommercial").val()+"&codeEtape="+$("#codeEtape").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcommissionautre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infocommautre").html(data); - }, - complete: function() { - $("#tauxCommissionAutre").val( $("#tauxCommissionautre_info").val()); - } - }); -} - -function creer_optiontarif() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la création d\'une nouvelle option?"; - v_msgEng="Do you confirm the creation of a new option?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouvelleoptiontarif/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - - }, - complete: function() { - v_msg="Nouvelle option créée avec succès!"; - v_msgEng="New option created successfully!"; - alert_ebene(v_msg, v_msgEng); - - // afficher_police_d_id(); - window.location.assign($("#racineWeb" ).val()+"Fichedevis/"); - } - }); - } -} - -function actualiser_liste_college_d() -{ - numeroOptionTarif = $("#numeroOptionTarif").val(); - - donnees = "numeroOptionTarif="+numeroOptionTarif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecolleged/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listecollege").html(data); - }, - complete: function() { - } - }); -} - -function supprimer_option() -{ - transforme = $("#transforme").val(); - if (transforme=="1") - { - v_msg="Devis déjà transformé!"; - v_msgEng="Quote already transformed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - numeroOptionTarif = $("#numeroOptionTarif").val(); - - donnees = "numeroOptionTarif="+numeroOptionTarif; - - v_msg="Confirmez-vous la suppression de cette option?"; - v_msgEng="Do you confirm the deletion of this option?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecolleged/supprimeroption/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Option supprimée avec succès!"; - v_msgEng="Option removed successfully!"; - alert_ebene(v_msg, v_msgEng); - - afficher_police_d_id(); - } - }); - } -} - -function texte_cpd() -{ - window.location.assign($("#racineWeb" ).val()+"Textecpd/"); -} - -function prestataire_en_plus() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairenplus/"); -} - -function prestataire_en_moins() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairenmoins/"); -} - - -function ajouter_un_prestataire_en_plus(codePrestataire) -{ - donnees = 'codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenplus/ajouterunprestataireenplus/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function retirer_un_prestataire_en_plus(idPrestation) -{ - donnees = 'idPrestation='+idPrestation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenplus/retirer/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajax_maj_tm_en_plus(idPrestation, tm, controle) -{ - tm=tm.replace(",","."); - controle.value=tm; - - donnees = 'idPrestation='+idPrestation+"&tm="+tm; - - if(controle_numerique(controle)) - { - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenplus/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function ajouter_un_prestataire_en_moins(codePrestataire) -{ - donnees = 'codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenmoins/ajouterunprestataireenmoins/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function retirer_un_prestataire_en_moins(idPrestation) -{ - donnees = 'idPrestation='+idPrestation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenmoins/retirer/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function prestataire_en_plus_cons() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairenpluscons/"); -} - -function afficher_prestataire_en_plus() -{ - idCollege = $("#idCollege").val(); - - donnees = 'idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairenpluscons/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function exporter_liste_assures_sans_format() -{ - $('#div_export_assures_sans_format').html(''); - - $("#btn_liste_assures_sans_format").click(); -} - -// - -function requetes_demandederogations() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroDerogation1 = $("#numeroDerogation1").val(); - numeroDerogation2 = $("#numeroDerogation2").val(); - - // Ligne 3 - codeDerogation = $("#codeDerogation").val(); - codeReponseDerogation = $("#codeReponseDerogation").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroDerogation1 = convertir_en_entier(numeroDerogation1); - numeroDerogation2 = convertir_en_entier(numeroDerogation2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroDerogation1=' + numeroDerogation1; - donnees += '&numeroDerogation2=' + numeroDerogation2; - - // Ligne 3 - donnees += '&codeDerogation=' + codeDerogation; - donnees += '&codeReponseDerogation=' + codeReponseDerogation; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_demandederogations_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroDerogation1 = $("#numeroDerogation1").val(); - numeroDerogation2 = $("#numeroDerogation2").val(); - - // Ligne 3 - codeDerogation = $("#codeDerogation").val(); - codeReponseDerogation = $("#codeReponseDerogation").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroDerogation1 = convertir_en_entier(numeroDerogation1); - numeroDerogation2 = convertir_en_entier(numeroDerogation2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroDerogation1=' + numeroDerogation1; - donnees += '&numeroDerogation2=' + numeroDerogation2; - - // Ligne 3 - donnees += '&codeDerogation=' + codeDerogation; - donnees += '&codeReponseDerogation=' + codeReponseDerogation; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function requetes_ententeprealable() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroEntentePrealable1 = $("#numeroEntentePrealable1").val(); - numeroEntentePrealable2 = $("#numeroEntentePrealable2").val(); - - // Ligne 3 - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroEntentePrealable1 = convertir_en_entier(numeroEntentePrealable1); - numeroEntentePrealable2 = convertir_en_entier(numeroEntentePrealable2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroEntentePrealable1=' + numeroEntentePrealable1; - donnees += '&numeroEntentePrealable2=' + numeroEntentePrealable2; - - // Ligne 3 - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - // Ligne 4 - donnees += '&libelleActe=' + libelleActe; - donnees += '&beneficiaire=' + beneficiaire; - - donnees += '&adherent=' + adherent; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_ententeprealable_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroEntentePrealable1 = $("#numeroEntentePrealable1").val(); - numeroEntentePrealable2 = $("#numeroEntentePrealable2").val(); - - // Ligne 3 - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - libelleActe = $("#libelleActe").val(); - libelleFamilleActe = $("#libelleFamilleActe").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroEntentePrealable1 = convertir_en_entier(numeroEntentePrealable1); - numeroEntentePrealable2 = convertir_en_entier(numeroEntentePrealable2); - - // FIN convertir_en_entier - - // Ligne 1 - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroEntentePrealable1=' + numeroEntentePrealable1; - donnees += '&numeroEntentePrealable2=' + numeroEntentePrealable2; - - // Ligne 3 - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - // Ligne 4 - donnees += '&libelleActe=' + libelleActe; - donnees += '&beneficiaire=' + beneficiaire; - - donnees += '&adherent=' + adherent; - donnees += '&libelleFamilleActe=' + libelleFamilleActe; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function statistiques() -{ - window.location.assign($("#racineWeb" ).val()+"Initstatistiques/"); -} - -function initierstatistiques() -{ - dateAnalyse = $("#dateAnalyse").val(); - debutArchivageFr = $("#debutArchivageFr").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutArchivageFr").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // datejourfr_C - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - td2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutArchivageFr - - if ((dt1==dt0)) - { - v_msg="Journée non ecore archivée!"; - v_msgEng="No archived day!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ((dt1>dt0)) - { - v_msg="Date trop grande!"; - v_msgEng="Date too big!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // /* mis en commentaire le 28/08/2018 pour les tests - if ((dt1  ' + 'Chargment en temps réel. Veuillez patienter...' + ''); - } - else - { - $("#div_attente").html('
  ' + 'Chargement archive du '+dateAnalyse+'. Veuillez patienter...' + '
'); - } - */ - - // $("#div_attente").html('
  ' + 'Chargement archive du '+dateAnalyse+'. Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinitstat/initstat/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficherstat(); - } - }); -} - -function initierstatistiques_non_archives() -{ - dateAnalyse = $("#dateAnalyse").val(); - debutArchivageFr = $("#debutArchivageFr").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var td0 = $("#datejourfr_C").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutArchivageFr").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // datejourfr_C - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - td2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutArchivageFr - - if ((dt1>dt0)) - { - v_msg="Date trop grande!"; - v_msgEng="Date too big!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinitstat/initstat/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficherstatnonarchives(); - } - }); -} - -function afficherstat() -{ - window.location.assign($("#racineWeb" ).val()+"Statistiques/"); -} - - -function afficherstatnonarchives() -{ - window.location.assign($("#racineWeb" ).val()+"Statistiquesnonarchives/"); -} - -function reinitialiser_prestataire() -{ - $("#codePrestataire").val(""); - - $("#close_pop").click(); - - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - $("#libelleApporteur").html("All / Search Provider..."); - - } - else - { - $("#nomPrestataire").html("Tous / Rechercher Prestataire ..."); - } - -} - -function ctrlkeypress_prestataire(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_prestataire(); - } -} - -function afficher_pop_recherche_prestataire() -{ - codesearch = $("#codesearch").val(); - nomsearch = $("#nomsearch").val(); - - if(codesearch+nomsearch<=" ") - return; - - donnees = "valid=1&codesearch="+codesearch+"&nomsearch="+nomsearch; - - $("#div_listeprestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestataires/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeprestataires").html(data); - } - }); -} - -function selectionner_prestataire(codePrestataire, nomPrestataire) -{ - $("#codePrestataire").val(codePrestataire); - $("#nomPrestataire").html(nomPrestataire); - $("#close_pop").click(); -} - -// 2 - -function reinitialiser_prestataire2() -{ - $("#codePrestataire").val(""); - $("#nomPrestataire").html("Tous / Rechercher Prestataire ..."); - $("#close_pop2").click(); -} - -function ctrlkeypress_prestataire2(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_prestataire2(); - } -} - -function afficher_pop_recherche_prestataire2() -{ - codesearch = $("#codesearch2").val(); - nomsearch = $("#nomsearch2").val(); - - if(codesearch+nomsearch<=" ") - return; - - donnees = "valid=1&codesearch="+codesearch+"&nomsearch="+nomsearch; - - $("#div_listeprestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairesb/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_listeprestataires").html(data); - } - }); -} - -function selectionner_prestataire2(codePrestataire, nomPrestataire) -{ - $("#codePrestataire").val(codePrestataire); - $("#nomPrestataire").html(nomPrestataire); - $("#close_pop2").click(); -} - -function prestataire_tm() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairetm/"); -} - -function ajouter_un_prestataire_tm(codePrestataire) -{ - donnees = 'codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetm/ajouterunprestatairetm/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function retirer_un_prestataire_tm(idPrestation) -{ - donnees = 'idPrestation='+idPrestation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetm/retirer/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajax_maj_tm_tm(idPrestation, tm, controle) -{ - tm=tm.replace(",","."); - controle.value=tm; - - donnees = 'idPrestation='+idPrestation+"&tm="+tm; - - if(controle_numerique(controle)) - { - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetm/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function prestataire_tm_cons() -{ - window.location.assign($("#racineWeb" ).val()+"Prestatairetmcons/"); -} - -function afficher_prestataire_tm() -{ - idCollege = $("#idCollege").val(); - - donnees = 'idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairetmcons/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_complet").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function de_archiver_garantie_college(idCollege) -{ - v_msg="Confirmez-vous le désarchivage des garanties de ce collège?"; - v_msgEng="Do you confirm the unarchivity of the guarantees of this college?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchivergarntie/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - college_police(); - } - }); - } -} - -function ajaxentetestat() -{ - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - donnees = 'codeEtat='+codeEtat; - - v_url = $("#racineWeb").val()+"Ajaxetatentete"+codeEtat+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -// - -function etat_cumul_prestataire() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_cumul_prestataire_export() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// factures cleints - -function requetes_factures_client() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroDecompte1 = $("#numeroDecompte1").val(); - numeroDecompte2 = $("#numeroDecompte2").val(); - hospitalisation = $("#hospitalisation").val(); - numeroChambre = $("#numeroChambre").val(); - chirurgie = $("#chirurgie").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroDecompte1=' + numeroDecompte1; - donnees += '&numeroDecompte2=' + numeroDecompte2; - - donnees += '&hospitalisation=' + hospitalisation; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&chirurgie=' + chirurgie; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_factures_client_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - // Ligne 1 - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - numeroAdherent = $("#numeroAdherent").val(); - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - - // Ligne 2 - numeroBonConsultation1 = $("#numeroBonConsultation1").val(); - numeroBonConsultation2 = $("#numeroBonConsultation2").val(); - - numeroBonOrdonnance1 = $("#numeroBonOrdonnance1").val(); - numeroBonOrdonnance2 = $("#numeroBonOrdonnance2").val(); - - numeroBonHospitalisation1 = $("#numeroBonHospitalisation1").val(); - numeroBonHospitalisation2 = $("#numeroBonHospitalisation2").val(); - - numeroBonOptique1 = $("#numeroBonOptique1").val(); - numeroBonOptique2 = $("#numeroBonOptique2").val(); - - // Ligne 3 - codeTypePrestataire = $("#codeTypePrestataire").val(); - numeroDecompte1 = $("#numeroDecompte1").val(); - numeroDecompte2 = $("#numeroDecompte2").val(); - hospitalisation = $("#hospitalisation").val(); - numeroChambre = $("#numeroChambre").val(); - chirurgie = $("#chirurgie").val(); - - // Ligne 4 - adherent = $("#adherent").val(); - beneficiaire = $("#beneficiaire").val(); - // FIN champs - - // DEBUT convertir_en_entier - numeroBonConsultation1 = convertir_en_entier(numeroBonConsultation1); - numeroBonConsultation2 = convertir_en_entier(numeroBonConsultation2); - - numeroBonOrdonnance1 = convertir_en_entier(numeroBonOrdonnance1); - numeroBonOrdonnance2 = convertir_en_entier(numeroBonOrdonnance2); - - numeroBonOptique1 = convertir_en_entier(numeroBonOptique1); - numeroBonOptique2 = convertir_en_entier(numeroBonOptique2); - - numeroBonHospitalisation1 = convertir_en_entier(numeroBonHospitalisation1); - numeroBonHospitalisation2 = convertir_en_entier(numeroBonHospitalisation2); - // FIN convertir_en_entier - - // Ligne 1 - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - donnees += '&numeroAdherent=' + numeroAdherent; - donnees += '&numeroBeneficiaire=' + numeroBeneficiaire; - - // Ligne 2 - donnees += '&numeroBonConsultation1=' + numeroBonConsultation1; - donnees += '&numeroBonConsultation2=' + numeroBonConsultation2; - - donnees += '&numeroBonOrdonnance1=' + numeroBonOrdonnance1; - donnees += '&numeroBonOrdonnance2=' + numeroBonOrdonnance2; - - donnees += '&numeroBonHospitalisation1=' + numeroBonHospitalisation1; - donnees += '&numeroBonHospitalisation2=' + numeroBonHospitalisation2; - - donnees += '&numeroBonOptique1=' + numeroBonOptique1; - donnees += '&numeroBonOptique2=' + numeroBonOptique2; - - // Ligne 3 - donnees += '&codeTypePrestataire=' + codeTypePrestataire; - - donnees += '&numeroDecompte1=' + numeroDecompte1; - donnees += '&numeroDecompte2=' + numeroDecompte2; - - donnees += '&hospitalisation=' + hospitalisation; - donnees += '&numeroChambre=' + numeroChambre; - donnees += '&chirurgie=' + chirurgie; - - // Ligne 4 - donnees += '&adherent=' + adherent; - donnees += '&beneficiaire=' + beneficiaire; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function etat_cumul_type_prestataire() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_cumul_type_prestataire_export() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_detail_facture_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// cumul par mois - -function etat_cumul_mois() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_cumul_mois_export() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -// raport SP - -function etat_rapport_sp_exo() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_exo_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function etat_rapport_sp() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function charger_detail_stat_prestataire() -{ - $('#div_export_b').html(""); - codePrestataire = $("#codePrestataire").val(); - donnees = "codePrestataire="+codePrestataire; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetefactureprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function afficher_detail_stat_prestataire(codePrestataire) -{ - $('#div_export_b').html(""); - $("#codePrestataire").val(codePrestataire); - $("#btn_pop_detail").click(); -} - - -function afficher_detail_stat_type_prestataire(codeReseau) -{ - $('#div_export_b').html(""); - $("#codeReseau").val(codeReseau); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_type_prestataire() -{ - $('#div_export_b').html(""); - codeReseau = $("#codeReseau").val(); - donnees = "codeReseau="+codeReseau; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetefacturetypeprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function afficher_detail_stat_prestataire_mois(codePrestataire, mois) -{ - $('#div_export_b').html(""); - $("#codePrestataire").val(codePrestataire); - $("#mois").val(mois); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_prestataire_mois() -{ - $('#div_export_b').html(""); - - codePrestataire = $("#codePrestataire").val(); - mois = $("#mois").val(); - - donnees = "codePrestataire="+codePrestataire+"&mois="+mois; - - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrequetefactureprestatairemois/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function maj_date_sortie() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Majdatesortie/"); -} - -function enregistrer_maj_date_sortie() -{ - codeEtatBeneficiaire=$("#codeEtatBeneficiaire").val(); - - motifSortie=$("#motifSortie").val(); - - if (motifSortie<" ") - { - v_msg="Veuillez indiquer le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce changement?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#btn_enreg").click(); - } -} - -function etat_rapport_sp_cat() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_rapport_sp_cat_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_rapport_sp_pol_cat() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_rapport_sp_pol_cat_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// etat DG - -function etat_rapport_sp_pol_cat_det() -{ - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - - -function etat_rapport_sp_pol_cat_det_export() -{ - - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function saisirefacdecompte() -{ - idSaisieDecompte = $("#idSaisieDecompte" ).val(); - lienPrestation_C = $("#lienPrestation_C" ).val(); - lienProduction_C = $("#lienProduction_C" ).val(); - - v_url = lienPrestation_C+"/Connexiondecompte/"+idSaisieDecompte; - - if (idSaisieDecompte>"") - { - window.location.assign(v_url); - } -} - -// etat 10 - -function etat_rapport_sp_cat_det() -{ - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_rapport_sp_cat_det_export() -{ - $('#div_export_a').html(""); - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function creer_substitut_non_assure() -{ - v_msg="Confirmez-vous la substitution?"; - v_msgEng="question"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - nomSubstitut = $("#nomSubstitut").val(); - prenomsSubstitut = $("#prenomsSubstitut").val(); - codeLienSubstitut = $("#codeLienSubstitut").val(); - codeNaturePiece = $("#codeNaturePiece").val(); - numeroPieceSubstitut = $("#numeroPieceSubstitut").val(); - sexeSubstitut = $("#sexeSubstitut").val(); - dateNaissanceSubstitut = $("#dateNaissanceSubstitut").val(); - telephonePortableSubstitut = $("#telephonePortableSubstitut").val(); - - donnees = "nomSubstitut="+nomSubstitut; - donnees += "&prenomsSubstitut="+prenomsSubstitut; - - donnees += "&codeLienSubstitut="+codeLienSubstitut; - donnees += "&codeNaturePiece="+codeNaturePiece; - donnees += "&numeroPieceSubstitut="+numeroPieceSubstitut; - donnees += "&sexeSubstitut="+sexeSubstitut; - donnees += "&dateNaissanceSubstitut="+dateNaissanceSubstitut; - donnees += "&telephonePortableSubstitut="+telephonePortableSubstitut; - - $.ajax({ - - url: $("#racineWeb").val()+"Ajaxsubstitutnonassure/creersubstitutnonassure/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Substitut créé avec succès!"; - v_msgEng="Substitute successfully created!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - prestations(); - } - }); - } -} - - -function supprimer_substitut_non_assure() -{ - idSubstitut = $("#idSubstitut_C").val(); - - v_msg="Confirmez-vous la suppression du substitut?"; - v_msgEng="Do you confirm the removal of the substitute?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - motifSortie = ""; - - v_msg="Supprimé pour quel motif?"; - v_msgEng="Deleted for what reason?"; - - motifSortie = prompt_ebene(v_msg, v_msgEng, motifSortie); - if (motifSortie<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idSubstitut='+idSubstitut+'&motifSortie='+motifSortie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsubstitutnonassure/supprimersubstitutnonassure/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Substitut supprimé avec succès!"; - v_msgEng="Substitute successfully removed!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - prestations(); - } - }); - } -} - -// Polices non renouvellées - -function etat_polices_non_renouvellees() -{ - $('#div_export_a').html(""); - - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_polices_non_renouvellees_export() -{ - $('#div_export_a').html(""); - - donnees = "codeProduit="+$("#codeProduit").val(); - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function maj_plafond_gar_opt(idGarantie, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idGarantie='+idGarantie+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollege/majplafondopt/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_garanties").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function derogation_medicament() -{ - window.location.assign($("#racineWeb" ).val()+"Derogationmedicement/"); -} - - -function refuser_derogation_medicament(idCollege) -{ - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/refuserderogationmedicament/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - derogation_medicament(); - } - }); - } -} - - -function accorder_derogation_medicament(idCollege) -{ - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/accorderderogationmedicament/", - type : 'post', - data: "idCollege="+idCollege, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - derogation_medicament(); - } - }); - } -} - - -function afficher_detail_stat_police(idPolice, emailRapport) -{ - $('#div_export_b').html(""); - $("#idPolice").val(idPolice); - $("#emailRapport").val(emailRapport); - $("#emailRapport_0").val(emailRapport); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_police() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportsp/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_police_pdf() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportsppdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_police_facture() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function charger_detail_stat_police_garantie() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function charger_detail_stat_police_facture_pdf() -{ - - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfacturepdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - - -function charger_detail_stat_police_garantie_pdf() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantiepdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function de_archiver_adherent(idAherent) -{ - v_msg="Confirmez-vous le désarchivage de cette famille?"; - v_msgEng="Do you confirm the unarchiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - adherents_police(); - } - }); - } -} - -function archiver_adherent(idAherent) -{ - v_msg="Confirmez-vous l\'archivage de cette famille?"; - v_msgEng="Do you confirm the archiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - adherents_police(); - } - }); - } -} - -function archiver_adherent_fiche(idAherent) -{ - v_msg="Confirmez-vous l\'archivage de cette famille?"; - v_msgEng="Do you confirm the archiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function de_archiver_adherent_fiche(idAherent) -{ - v_msg="Confirmez-vous le désarchivage de cette famille?"; - v_msgEng="Do you confirm the unarchiving of this family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchiveradherent/", - type : 'post', - data: "idAherent="+idAherent, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function archiver_beneficiaire(idBeneficiaire) -{ - v_msg="Confirmez-vous l\'archivage de cette personne?"; - v_msgEng="Do you confirm the archiving of this person?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/archiverbeneficiaire/", - type : 'post', - data: "idBeneficiaire="+idBeneficiaire, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function de_archiver_beneficiaire(idBeneficiaire) -{ - v_msg="Confirmez-vous le désarchivage de cette personne?"; - v_msgEng="Do you confirm the unarchiving of this person?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcollege/desarchiverbeneficiaire/", - type : 'post', - data: "idBeneficiaire="+idBeneficiaire, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_adherent_id(); - } - }); - } -} - -function afficher_lite_prestataire() -{ - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - donnees += '&codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestataireparametrage/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_prestataire").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_prestataire_id(idPrestataire) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheprestataire/"+idPrestataire+"/"); -} - -function modifier_prestataire() -{ - idPrestataire = $("#idPrestataire" ).val(); - - if (idPrestataire>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifierprestataire/"+idPrestataire+"/"); - } -} - -function enregistrer_modif_prestataire() -{ - idPrestataire = $("#idPrestataire").val(); - libelle = $("#libelle").val(); - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTarifMedicament = $("#codeTarifMedicament").val(); - codeTarifOptique = $("#codeTarifOptique").val(); - codePays = $("#codePays").val(); - villeSignature = $("#villeSignature").val(); - codeTypeDecompte = $("#codeTypeDecompte").val(); - adresseGeo = $("#adresseGeo").val(); - numeroCompte = $("#numeroCompte").val(); - adressePost = $("#adressePost").val(); - conventionne = $("#conventionne").val(); - gestionreseau = $("#gestionreseau").val(); - emailGestionPrestataire = $("#emailGestionPrestataire").val(); - - // Prise en compte des comptes bancaires prestataire - codeBanque = $("#codeBanque").val(); - codeBanqueInterne = $("#codeBanqueInterne").val(); - codeGuichet = $("#codeGuichet").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - cleRib = $("#cleRib").val(); - iban = $("#iban").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - // - - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - smsGestionPrestataire = $("#smsGestionPrestataire").val(); - registreCommerce = $("#registreCommerce").val(); - - codeLanguePrestataire = $("#codeLangueUser").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom du prestataire!"; - v_msgEng="Please enter the name of the provider"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(codeTypePrestataire<=" ") - { - v_msg="Veuillez indiquer le type de prestataire!"; - v_msgEng="Please indicate the type of provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestataire").focus(); - return; - } - - if(codeReseau<=" ") - { - v_msg="Veuillez indiquer le réseau!"; - v_msgEng="Please indicate the care network!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeReseau").focus(); - return; - } - - if (codeTypePrestataire=="CSO" || codeTypePrestataire=="DEN" || codeTypePrestataire=="HRW" || codeTypePrestataire=="LAB"|| codeTypePrestataire=="SEA") - { - if (codeTarifActe<" ") - { - v_msg="Veuillez fournir le tarif des actes!"; - v_msgEng="Please provide the rates of the acts!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - } - - if (codeTypePrestataire=="PHA") - { - if (codeTarifMedicament<" ") - { - v_msg="Veuillez fournir le tarif des médicaments!"; - v_msgEng="Please provide the price of the drugs!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - } - - if (codeTypePrestataire=="OPT") - { - if (codeTarifOptique<" ") - { - v_msg="Veuillez fournir le tarif optique!"; - v_msgEng="Please provide the optical rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - } - - if(villeSignature<=" ") - { - v_msg="Veuillez indiquer la ville de signature!"; - v_msgEng="Please indicate the city of signature!"; - alert_ebene(v_msg, v_msgEng); - - $("#villeSignature").focus(); - return; - } - - if(codeTypeDecompte<=" ") - { - v_msg="Veuillez indiquer la type de décompte!"; - v_msgEng="Please indicate the type of count!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDecompte").focus(); - return; - } - - if(conventionne<=" ") - { - v_msg="Le prestataire est-il conventionné ou pas?"; - v_msgEng="Do the provider have an convetion or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#conventionne").focus(); - return; - } - - if(gestionreseau<=" ") - { - v_msg="Tenir compte des réseaux de soins ou pas?"; - v_msgEng="Consider care networks or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#gestionreseau").focus(); - return; - } - - if(codeLanguePrestataire<=" ") - { - v_msg="Veuillez sélectionner une langue"; - v_msgEng="Please select a language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - donnees = 'idPrestataire='+idPrestataire+'&libelle='+libelle+'&codeTypePrestataire='+codeTypePrestataire; - donnees += '&codeReseau='+codeReseau+'&codeTarifActe='+codeTarifActe+'&codeTarifMedicament='+codeTarifMedicament; - donnees += '&codeTarifOptique='+codeTarifOptique+'&codePays='+codePays+'&villeSignature='+villeSignature; - donnees += '&codeTypeDecompte='+codeTypeDecompte+'&adresseGeo='+adresseGeo+'&numeroCompte='+numeroCompte; - donnees += '&adressePost='+adressePost+'&conventionne='+conventionne+'&gestionreseau='+gestionreseau+'&emailGestionPrestataire='+emailGestionPrestataire; - - donnees += '&codeBanque='+codeBanque+'&codeBanqueInterne='+codeBanqueInterne+'&codeGuichet='+codeGuichet; - donnees += '&numeroCompteBancaire='+numeroCompteBancaire+'&cleRib='+cleRib+'&iban='+iban+'&intituleCompteBancaire='+intituleCompteBancaire; - - donnees += '&codeVille='+codeVille+'&codeLocalite='+codeLocalite+'&smsGestionPrestataire='+smsGestionPrestataire+'®istreCommerce='+registreCommerce; - - donnees += '&codeLanguePrestataire='+codeLanguePrestataire; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_prestataire_id(); - } - }); - } -} - -function retour_prestataire_id() -{ - idPrestataire = $("#idPrestataire").val(); - afficher_prestataire_id(idPrestataire); -} - -function requetes_factures_leger() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - // Ligne 1 - donnees += 'dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_leger_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - // Ligne 1 - donnees += 'dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function liste_ententeprealables_pha() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablespha/"); -} - -function listeententeprealablespha() -{ - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablespha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function accepter_ententeprealable_pha(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealablespha/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable_pha(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealablespha/"+idDemandeententeprealable+"/"); -} - -function enregistreraccordententepreslable_pha() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - prixAccorde = $("#prixAccorde").val(); - quantiteAccorde = $("#quantiteAccorde").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - prixAccorde=prixAccorde.replace(",","."); - $("#prixAccorde").val(prixAccorde); - - if(isNaN(prixAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#prixAccorde").val("0"); - $("#prixAccorde").focus(); - return; - } - - if(prixAccorde==0) - { - $("#prixAccorde").focus(); - v_msg="Veuillez saisir le prix!"; - v_msgEng="Please enter the price!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // qte accordee - - quantiteAccorde=quantiteAccorde.replace(",","."); - $("#quantiteAccorde").val(quantiteAccorde); - - if(isNaN(quantiteAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#quantiteAccorde").val("0"); - $("#quantiteAccorde").focus(); - return; - } - - if(quantiteAccorde==0) - { - $("#quantiteAccorde").focus(); - v_msg="Veuillez saisir la quantité!"; - v_msgEng="Please enter the quantity!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // fin qte accordee - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&prixAccorde='+prixAccorde+'&quantiteAccorde='+quantiteAccorde; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealablepha'; - typeSms = "accordententeprealablepha"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealablepha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_pha(); - } - }); - } -} - -function enregistrerrefusententepreslable_pha() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealablepha'; - typeSms="refusententeprealablepha"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealablepha/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_pha(); - } - }); - } -} - -function controle_longeur_passe(controle) -{ - longueur = controle.value.length; - - if(longueur==0) - { - return false; - } - - if(longueur<6) - { - v_msg="6 caractères minimum exigé!"; - v_msgEng="6 characters minmum required!"; - alert_ebene(v_msg, v_msgEng); - - controle.value=""; - controle.focus(); - return false; - } -} - -// 14/05/2018 - -function modifier_parametresgeneraux() -{ - window.location.assign($("#racineWeb" ).val()+"Modifierparametresgeneraux/"); -} - -function afficher_parametresgeneraux() -{ - window.location.assign($("#racineWeb" ).val()+"Parametresgeneraux/"); -} - -function enregistrer_modif_parametresgeneraux() -{ - idSocieteuser = $("#idSocieteuser").val(); - donnees = 'idSocieteuser='+idSocieteuser; - - emailMedecinConseil = $("#emailMedecinConseil").val(); - emailGestionBon = $("#emailGestionBon").val(); - donnees += '&emailMedecinConseil='+emailMedecinConseil+'&emailGestionBon='+emailGestionBon; - - - - emailCcomptabilite = $("#emailCcomptabilite").val(); - emailDerogation = $("#emailDerogation").val(); - emailAccordPrealable = $("#emailAccordPrealable").val(); - - donnees += '&emailCcomptabilite='+emailCcomptabilite+'&emailDerogation='+emailDerogation+'&emailAccordPrealable='+emailAccordPrealable; - - emailFraudeFinger = $("#emailFraudeFinger").val(); - email_standard = $("#email_standard").val(); - email_reply = $("#email_reply").val(); - - smsMedecinConseil = $("#smsMedecinConseil").val(); - - donnees += '&emailFraudeFinger='+emailFraudeFinger+'&email_standard='+email_standard+'&smsMedecinConseil='+smsMedecinConseil+'&email_reply='+email_reply; - - smsGestionBon = $("#smsGestionBon").val(); - smsDerogation = $("#smsDerogation").val(); - smsAccordPrealable = $("#smsAccordPrealable").val(); - - donnees += '&smsGestionBon='+smsGestionBon+'&smsDerogation='+smsDerogation+'&smsAccordPrealable='+smsAccordPrealable; - - /* - sms_standard = $("#sms_standard").val(); - donnees += '&sms_standard='+sms_standard; - */ - - codeLangueSociete = $("#codeLangueUser").val(); - - if(codeLangueSociete<=" ") - { - v_msg="Veuillez sélectionner une langue"; - v_msgEng="Please select a language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - donnees += '&codeLangueSociete='+codeLangueSociete; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_parametresgeneraux(); - } - }); -} - -function changer_verificateur() -{ - userCourant = $("#userCourant").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - - if(codeUtilisateur==userCourant) - { - v_msg="Vous êtes déjà le vérificateur!"; - v_msgEng="You are already the auditor!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous être le vérificateur?"; - v_msgEng="Do you confirm to be the auditor?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/changerverificateur/", - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - - codeUtilisateur = $("#userCourant").val(); - - $("#codeUtilisateur").val(codeUtilisateur); - - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function requetes_verification() -{ - - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_verificateur() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - // lert(donnees); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_verification_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_verificateur_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - donnees += 'codeExercice=' + codeExercice; - donnees += '&codeMois=' + codeMois; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_rapport_sp_adheleve() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_detail_factures_famille(idAdherent) -{ - $('#div_export_b').html(""); - $("#idAdherent").val(idAdherent); - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_adherent_facture_pdf() -{ - - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureadhpdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_adherent_garantie_pdf() -{ - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantieadhpdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_adherent_facture() -{ - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureadh/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_adherent_garantie() -{ - $('#div_export_b').html(""); - idAdherent = $("#idAdherent").val(); - donnees = "idAdherent="+idAdherent; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantieadh/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function etat_rapport_sp_adheleve_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function users_prestataire() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire>" ") - { - window.location.assign($("#racineWeb" ).val()+"Usersprestaire/"); - } -} - -function reinitpaswd_prestataire(codeUtilisateur) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/reinitpaswd/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function ajouter_facture_dec() -{ - codePrestataire = $("#codePrestataire").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxajoutactesdec/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ajout_actes").html(data); - }, - complete: function() { - } - }); -} - -function ajax_actes_possibles_selection_dec() -{ - codeFamilleActe=$("#codeFamilleActe").val(); - - donnees = 'codeFamilleActe='+codeFamilleActe; - - $("#listeacte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactespossiblesselectiondec/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#listeacte").html(data); - }, - complete: function() { - } - }); -} - -function recap_ajout_acte_dec() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherverifierfacture/", - type: 'POST', - success: function(data) { - $("#div_verification_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajouter_un_acte_selection_dec(codeActe, prixActe, montantTm, aRembourser, ententePrealable) -{ - donnee_a_affciher = ""; - - codeFamilleActe=$("#codeFamilleActe").val(); - - donnees="" - donnees_sav=""; - - if (codeActe<=" ") - { - v_msg="Veuillez sélectionner un acte!"; - v_msgEng="Please select an act!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(ententePrealable==1) - { - ententePrealable = "2"; - } - - donnees = 'codeFamilleActe='+codeFamilleActe+'&codeActe='+codeActe+'&ententePrealable='+ententePrealable; - donnees += '&prixActe='+prixActe+'&montantTm='+montantTm+'&aRembourser='+aRembourser; - - numeroFeuilleMaladie=$("#numeroFeuilleMaladie_C").val(); - - donnees_sav = 'codeActe='+codeActe+'&numeroFeuilleMaladie='+numeroFeuilleMaladie+'&typeMail=mailententeprealable'; - - $("#div_prestations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherajoutactesdec/ajouteractedecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnee_a_affciher = data; - }, - complete: function() { - $("#div_prestations").html(donnee_a_affciher); - } - }); -} - -function retirer_un_acte_selection_dec(idActe) -{ - - donnee_a_affciher = ""; - - donnees = 'idActe='+idActe; - - $("#div_prestations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherajoutactesdec/retireractedecompte/", - type: 'post', - data: donnees, - success: function(data) { - donnee_a_affciher = data; - }, - error: function(data) { - }, - complete: function() { - $("#div_prestations").html(donnee_a_affciher); - } - }); -} - -function mail_detail_stat_police() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - emailRapport = $("#emailRapport").val(); - - emailRapport = emailRapport.trim(); - - if (emailRapport<=" ") - { - v_msg="Veuillez indiques les destinataires!"; - v_msgEng="Please indicate the recipients!"; - alert_ebene(v_msg, v_msgEng); - - $("#emailRapport").focus(); - return; - } - - mauvais_mail=false; - - email_err = ""; - - var addr = emailRapport.split(";"); - - addr.forEach(function(element) - { - if (test_adresse_email(element)==false) - { - email_err = element; - mauvais_mail = true; - // break; - return; - } - }); - - if(mauvais_mail==true) - { - v_msg="Veuillez revoir cette adresse : "+email_err; - v_msgEng="Please review this address : "+email_err ; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cet envoi?"; - v_msgEng="Do you confirm this sending?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idPolice="+idPolice+"&emailRapport="+emailRapport; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportmail/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - div_export.html(" "); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); - } -} - -function mail_detail_stat_police_facture() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - emailRapport = $("#emailRapport").val(); - - emailRapport = emailRapport.trim(); - - if (emailRapport<=" ") - { - v_msg="Veuillez indiques les destinataires!"; - v_msgEng="Please indicate the recipients!"; - alert_ebene(v_msg, v_msgEng); - - $("#emailRapport").focus(); - return; - } - - mauvais_mail=false; - - email_err = ""; - - var addr = emailRapport.split(";"); - - addr.forEach(function(element) - { - if (test_adresse_email(element)==false) - { - email_err = element; - mauvais_mail = true; - // break; - return; - } - }); - - if(mauvais_mail==true) - { - v_msg="Veuillez revoir cette adresse : "+email_err; - v_msgEng="Please review this address : "+email_err ; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet envoi?"; - v_msgEng="Do you confirm this sending?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idPolice="+idPolice+"&emailRapport="+emailRapport; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfacturemail/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - div_export.html(" "); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); - } -} - -function mail_detail_stat_police_garantie() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - emailRapport = $("#emailRapport").val(); - - emailRapport = emailRapport.trim(); - - if (emailRapport<=" ") - { - v_msg="Veuillez indiques les destinataires!"; - v_msgEng="Please indicate the recipients!"; - alert_ebene(v_msg, v_msgEng); - - $("#emailRapport").focus(); - return; - } - - mauvais_mail=false; - - email_err = ""; - - var addr = emailRapport.split(";"); - - addr.forEach(function(element) - { - if (test_adresse_email(element)==false) - { - email_err = element; - mauvais_mail = true; - // break; - return; - } - }); - - if(mauvais_mail==true) - { - v_msg="Veuillez revoir cette adresse : "+email_err; - v_msgEng="Please review this address : "+email_err ; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet envoi?"; - v_msgEng="Do you confirm this sending?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idPolice="+idPolice+"&emailRapport="+emailRapport; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspgarantiemail/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - div_export.html(" "); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); - } - -} - -function test_adresse_email(email) -{ - var reg = new RegExp('^[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*@[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*[\.]{1}[a-z]{2,6}$', 'i'); - - if(reg.test(email)==false) - { - return(false); - } -} - -function reinitialiser_email_rapport() -{ - emailRapport = $("#emailRapport_0").val(); - $("#emailRapport").val(emailRapport); -} - -function consulter_derogation_2(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterderogations/"+idDemandederogation+"/"); -} - -function consulter_derogation(idDemandederogation) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterderogation/"+idDemandederogation+"/"); -} - -function consulter_ententeprealable_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealables/"+idDemandeententeprealable+"/"); -} - -function consulter_ententeprealable(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealable/"+idDemandeententeprealable+"/"); -} - - -function consulter_ententeprealable_pha_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealablespha/"+idDemandeententeprealable+"/"); -} - - -function pop_messagerie() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerieliste/", - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie").html(data); - }, - complete: function() { - $("#btn_pop_messagerie").click(); - } - }); -} - -function marquer_message_comme_lu(idMessagerie, controle) -{ - donnees = 'idMessagerie='+idMessagerie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerieliste/marquercommelu/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - controle.parentElement.removeChild(controle); - } - }); -} - -function envoyer_messagerie(textMessage, idParent) -{ - codePrestataire=$("#codePrestataire").val(); - - donnees = 'textMessage='+textMessage+"&idParent="+idParent+"&codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/creermessage/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - } - }); -} - -// gestion messagerie -function repondre_message(idMessagerie, idParent, codePrestataire, controle) -{ - donnees = 'idMessagerie='+idMessagerie+'&idParent='+idParent+'&codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessageriereponse/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie_reponse").html(data); - }, - complete: function() { - repondu = $("#repondu").val(); - if(repondu=="1") - { - v_msg="Déjà répondu!"; - v_msgEng="Already answered!"; - alert_ebene(v_msg, v_msgEng); - - controle.parentElement.removeChild(controle); - return; - } - else - { - $("#btn_pop_messagerie_reponse").click(); - } - } - }); -} - -function gerer_messagerie() -{ - window.location.assign($("#racineWeb").val()+"Messagerie/"); -} - -function afficher_lite_messagerie() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - messageLu = $("#messageLu").val(); - textMessage = $("#textMessage").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - donnees += '&messageLu=' + messageLu; - donnees += '&textMessage=' + textMessage; - donnees += '&codePrestataire=' + codePrestataire; - - $("#div_messagerie_gestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemessagerie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_messagerie_gestion").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function enregistrer_repondre_message() -{ - idMessagerie = $("#idMessagerie").val(); - idParent = $("#idParentReponse").val(); - - textMessage = $("#textMessageReponse").val(); - textMessage = textMessage.trim(); - - if (textMessage<=" ") - { - v_msg="Veuillez saisir la réponse!"; - v_msgEng="Please enter the answer!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageReponse").focus(); - return; - } - - donnees = 'idMessagerie='+idMessagerie+"&idParent="+idParent+"&textMessage="+textMessage; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/repondremessage/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#btn_pop_messagerie_reponse_quit").click(); - } - }); -} - -function historique_message(idParent) -{ - donnees = 'idParent='+idParent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessageriehistorique/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie_historique").html(data); - }, - complete: function() { - $("#btn_pop_messagerie_historique").click(); - } - }); -} - -// btn_pop_messagerie_new -function initiermessage() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#btn_search_prestataire").click(); - return; - } - - donnees = "codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerienew/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_messagerie_new").html(data); - }, - complete: function() { - $("#btn_pop_messagerie_new").click(); - } - }); -} - -function enregistrer_new_message() -{ - codePrestataire = $("#codePrestataire").val(); - - textMessage = $("#textMessageNew").val(); - textMessage = textMessage.trim(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#btn_pop_messagerie_new_quit").click(); - return; - } - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageNew").focus(); - return; - } - - donnees = "textMessage="+textMessage+"&idParent=0&codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/creermessage/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#btn_pop_messagerie_new_quit").click(); - } - }); -} - - -function imprimer_liste_assures_date() -{ - dateAnalyse = $("#dateAnalyse").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlisteassure/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_assures_date() -{ - dateAnalyse = $("#dateAnalyse_export").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_exporter_liste_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlisteassure/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_assures_sans_format_date() -{ - dateAnalyse = $("#dateAnalyse_sans_format").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_assures_sans_format'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlisteassure/exportersansformat", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function liste_assures_actifs() -{ - dateAnalyse = $("#dateAnalyse").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_assures_actifs'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxassuresactifs/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function liste_assures_actifs_export() -{ - dateAnalyse = $("#dateAnalyse").val(); - - if (dateAnalyse<=" ") - { - v_msg="Veuillez indiquer une date!"; - v_msgEng="Please enter a date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateAnalyse").focus(); - return; - } - - donnees = 'dateAnalyse='+dateAnalyse; - - var div_export = $('#div_assures_actifs'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxassuresactifsexport/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -// RENOUVELLEMENT COURTE DUREE => 06/07/2018 -/* -function CalculerEcheanceRen() -{ - $("#dateEcheanceRen").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateAvenant").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "L": - $("#dateEcheanceRen").enable(); - typdate = $("#dateEcheanceRen").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - - $( "#dateEcheanceRen").datepicker( "setDate", typdate ); -} -*/ - -function CalculerEcheanceRen() -{ - $("#dateEcheanceRen").disable(); - - codePeriodicite=$("#codePeriodicite").val(); - - var typdate = $("#dateAvenant").datepicker("getDate"); - - switch (codePeriodicite) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - case "L": - $("#dateEcheanceRen").enable(); - typdate = $("#dateEcheanceRen").datepicker("getDate"); - break; - default: - typdate.addMonths(12); - } - $( "#dateEcheanceRen" ).datepicker( "setDate", typdate ); -} - -function CalculerFinRen() -{ - $("#dateFinRen").disable(); - - codeFractionnement=$("#codeFractionnement").val(); - - var typdate = $("#dateAvenant").datepicker("getDate"); - var dtech = $("#dateEcheanceRen").datepicker("getDate"); - - switch (codeFractionnement) { - case "A": - typdate.addMonths(12); - break; - case "S": - typdate.addMonths(6); - break; - case "T": - typdate.addMonths(3); - break; - case "M": - typdate.addMonths(1); - break; - default: - typdate.addMonths(12); - } - if (typdate>dtech) - { - typdate=dtech; - } - $( "#dateFinRen" ).datepicker( "setDate", typdate ); -} - -function ControlerEcheanceRen() -{ - codePeriodicite=$("#codePeriodicite").val(); - if (codePeriodicite!="L") return true; - else { - var eff = $("#dateAvenant").datepicker("getDate"); - var ech = $("#dateEcheanceRen").datepicker("getDate"); - - if (echeff.addMonths(12)) { - v_msg="Période supérieur à un an!"; - v_msgEng="Period greater than one year!"; - alert_ebene(v_msg, v_msgEng); - } - } -} - -function verifier_Echeance_ren() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - - if(codeTypeAvenant!="REN") - { - return; - } - - CalculerEcheanceRen(); - CalculerFinRen(); -} - -function factures_famille() -{ - window.location.assign($("#racineWeb" ).val()+"Facturesfamille/"); -} - - -function factures_famille_2() -{ - window.location.assign($("#racineWeb" ).val()+"Facturesfamilleadh/"); -} - -function listerfacturefamille() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesfamille/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - - -function ctrlkeypress_lite_prestataire(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_lite_prestataire(); - } -} - -function desactiver_user_prestataire(codeUtilisateur) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_prestataire(codeUtilisateur) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function consulter_une_factures() -{ - window.location.assign($("#racineWeb" ).val()+"Facturecons/"); -} - -function ctrlkeypressfacture(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#idFacture").blur(); - } -} - -function maj_date_reception_facture_decompte() -{ - dateReception = $("#dateReception_pop").val(); - - if(dateReception<=" ") - { - v_msg="Veuillez indicquer la date de réception!"; - v_msgEng="Please enter the date of receipt!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'dateReception='+dateReception; - - v_msg="Confirmez-vous cette date?"; - v_msgEng="Do you confirm this date?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majdatereception/", - type: 'POST', - data: donnees, - success: function(data) { - $("#btn_close_pop_reception").click(); - }, - error: function(data) { - }, - complete: function() { - - dateReception = $("#dateReception_pop").val(); - - $("#dateReception").val(dateReception); - $("#btn_dateReception").val(dateReception); - - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function etatsproduction() -{ - window.location.assign($("#racineWeb" ).val()+"Etatsproduction/"); -} - - - -function etat_prod_par_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_prod_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_mois_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_prod_par_emission() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_emission_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function initiermessagecommun() -{ - window.location.assign($("#racineWeb" ).val()+"Messageriecommun/"); -} - -function enregistrer_message_commun() -{ - - objet = $("#objet").val(); - textMessage = $("#textMessageCommun").val(); - textMessage = textMessage.trim(); - - if (objet<=" ") - { - v_msg="Veuillez saisir l\'objet!"; - v_msgEng="Please enter the object!"; - alert_ebene(v_msg, v_msgEng); - - $("#objet").focus(); - return; - } - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageCommun").focus(); - return; - } - - donnees = "objet="+objet+"&textMessage="+textMessage; - - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessageriecommun/creermessagecommun/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_wait.html(data); - }, - complete: function() { - div_wait.html(''); - - v_msg="Message envoyé avec succès!"; - v_msgEng="Message sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - gerer_messagerie(); - } - }); -} - -// - -function requetes_factures_mois() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_mois_export() -{ - - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function desactiver_medicament(idDetail) -{ - v_msg="Confirmez-vous cette désactivation?"; - v_msgEng="Do you confirm this deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/desactivermedicament/", - type : 'post', - data: "idDetail="+idDetail, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_tarifpharmacie(); - } - }); - } -} - -function activer_medicament(idDetail) -{ - v_msg="Confirmez-vous cette activation?"; - v_msgEng="Do you confirm this activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtarifmedicament/activermedicament/", - type : 'post', - data: "idDetail="+idDetail, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - afficher_tarifpharmacie(); - } - }); - } -} - -function init_supprimer_empreinte_digitale() -{ - window.location.assign($("#racineWeb" ).val()+"Supprimerempreinte/"); -} - - -function requetes_factures_jour() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_jour_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ajax_liste_prestataires_messagerie() -{ - codeTypePrestataire=$("#codeTypePrestataire").val(); - - donnees = 'codeTypePrestataire='+codeTypePrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prestataires").html(data); - }, - complete: function() { - } - }); -} - - -function ajouter_un_prestataire_mess(idPrestataire) -{ - donnees = 'idPrestataire='+idPrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/ajouterprestaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - -function retirer_un_prestataire_mess(idPrestataire) -{ - donnees = 'idPrestataire='+idPrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/retirerprestaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - - -function ajouter_tous_prestataire_mess() -{ - codeTypePrestataire=$("#codeTypePrestataire").val(); - - donnees = 'codeTypePrestataire='+codeTypePrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/ajouterprestairetous/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - -function retirer_tous_prestataire_mess() -{ - codeTypePrestataire=$("#codeTypePrestataire").val(); - - donnees = 'codeTypePrestataire='+codeTypePrestataire; - - $("#div_prestataires").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteprestatairemessagerie/retirerprestairetous/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - ajax_liste_prestataires_messagerie(); - } - }); -} - - -// - -function requetes_ententeprealable_pha() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_ententeprealable_pha_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateDemande1 = $("#dateDemande1").val(); - dateDemande2 = $("#dateDemande2").val(); - codeReponseEntentePrealable = $("#codeReponseEntentePrealable").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateDemande1=' + dateDemande1; - donnees += '&dateDemande2=' + dateDemande2; - donnees += '&codeReponseEntentePrealable=' + codeReponseEntentePrealable; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function check_ged(idGed, cheminFichier, controle) -{ - donnees = "idGed="+idGed+"&cheminFichier="+cheminFichier; - - var ctrl_btn_ged = $("#btn_ged"+idGed); - var ctrl_mess_not_found= $("#mess_not_found"+idGed); - var ctrl_check = $("#ctrl_check"+idGed); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxged/verifierexistancefichier/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - - donnees_retour = data; - - if(donnees_retour=="1") - { - ctrl_btn_ged.show(); - } - else - { - ctrl_mess_not_found.html("Not found"); - } - }, - complete: function() - { - controle.style.display = 'none'; - ctrl_check.show(); - } - }); -} - -function lister_ged_feuille_maladie() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedfeuillemaladie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function afficher_lite_messagerie_commun() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - textMessage = $("#textMessage").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - donnees += '&textMessage=' + textMessage; - - $("#div_messagerie_gestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemessageriecommun/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_messagerie_gestion").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_lite_messagerie_form_me() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - messageLu = $("#messageLu").val(); - textMessage = $("#textMessage").val(); - codePrestataire = $("#codePrestataire").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - donnees += '&messageLu=' + messageLu; - donnees += '&textMessage=' + textMessage; - donnees += '&codePrestataire=' + codePrestataire; - - $("#div_messagerie_gestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemessagerieforme/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_messagerie_gestion").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function lister_ged_beneficiaire_prest() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedbeneficiaireprest/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged_beneficiaire_prod() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedbeneficiaireprod/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged_adherent() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged_police() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function lister_ged() -{ - d1 = $("#d1").val(); - d2 = $("#d2").val(); - nomOrigine = $("#nomOrigine").val(); - - donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteged/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_lister_ged(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - lister_ged(); - } -} - -function ajaxenteteetatsynthese() -{ - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - donnees = 'codeEtat='+codeEtat; - - v_url = $("#racineWeb").val()+"Ajaxentete"+codeEtat+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function etat_synthese_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_synthese_par_mois_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function pop_ged_pharmacie() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistegedpharmacie/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_ged").html(data); - }, - complete: function() { - $("#btn_pop_ged_pharmacie").click(); - } - }); -} - -function etat_synthese_par_mois_acqu() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_synthese_par_mois_acqu_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function demandesdecomptes() -{ - codePrestataire = $("#codePrestataire").val(); - codeExercice = $("#codeExercice").val(); - codeMois = $("#codeMois").val(); - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdemandesdecomptes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function detail_demande_decompte(idDemandeDecompte, numeroDemandeDecompte) -{ - donnees = 'numeroDemandeDecompte='+numeroDemandeDecompte+'&idDemandeDecompte='+idDemandeDecompte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextdemandedecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Detaildemandedecompte/"); - } - }); -} - - -function imprimerbordereaudemandedecompte() -{ -} - - -function initierdecompte_demande_decompte() -{ - codePrestataire=$("#codePrestataire").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#inforegle").html(data); - }, - complete: function() { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0 || regle==2 || regle==3) - { - afficherdecompte(); - } - else - { - // 9 => Décompte validé mais en attente de règlemen - // 1 => Décompte réglé - consulterdecompte(); - } - } - }); -} - -function requetes_factures_police() -{ -} - - -function requetes_factures_police_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - numeroPolice = $("#numeroPolice").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroPolice=' + numeroPolice; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function requetes_factures_adherent_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - numeroAdherent = $("#numeroAdherent").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroAdherent=' + numeroAdherent; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function requetes_factures_beneficiaire_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_factures_police_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"gar/"; - - numeroPolice = $("#numeroPolice").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroPolice=' + numeroPolice; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function requetes_factures_adherent_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"gar/"; - - numeroAdherent = $("#numeroAdherent").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroAdherent=' + numeroAdherent; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function requetes_factures_beneficiaire_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"gar/"; - - numeroBeneficiaire = $("#numeroBeneficiaire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'numeroBeneficiaire=' + numeroBeneficiaire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function appliquer_taux_ristourne() -{ - tauxRistourne = $("#tauxRistourne").val(); - - donnees = 'tauxRistourne=' + tauxRistourne; - - var div_assure_a_retirer = $('#div_assure_a_retirer'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailretrait/appliquertauxristourne/", - type : 'post', - data : donnees, - success: function(data) { - div_assure_a_retirer.html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function afficher_gc_assureur(idGc) -{ - if (idGc <=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Fichegcassureur/"+idGc+"/"); -} - -function modifier_gc_assureur() -{ - idGc = $("#idGc" ).val() - if (idGc>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiergcassureur/"+idGc+"/"); - } -} - -function retour_gc_assureur() -{ - idGc = $("#idGc" ).val() - if (idGc>"0") - { - window.location.assign($("#racineWeb" ).val()+"Fichegcassureur/"+idGc+"/"); - } -} - -function enregistrer_modif_gc_assureur() -{ - idGc = $("#idGc").val(); - codeGcAssureur = $("#codeGcAssureur").val(); - libelle = $("#libelle").val(); - email = $("#emailGcAssureur").val(); - gcTauxFraisReel = $("#gcTauxFraisReel").val(); - gcTauxRedressement = $("#gcTauxRedressement").val(); - gcTauxTva = $("#gcTauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - fraisGestion = $("#fraisGestion").val(); - codeGestionCarte = $("#codeGestionCarte").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(gcTauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").focus(); - return; - } - - gcTauxFraisReel=gcTauxFraisReel.replace(",","."); - if(isNaN(gcTauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").val("0"); - $("#gcTauxFraisReel").focus(); - return; - } - - if(gcTauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").focus(); - return; - } - - gcTauxRedressement=gcTauxRedressement.replace(",","."); - if(isNaN(gcTauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").val("0"); - $("#gcTauxRedressement").focus(); - return; - } - - if(gcTauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").focus(); - return; - } - - gcTauxTva=gcTauxTva.replace(",","."); - $("#gcTauxTva").val(gcTauxTva); - if(isNaN(gcTauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").val("0"); - $("#gcTauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'idGc='+idGc+'&libelle='+libelle+'&codeGcAssureur='+codeGcAssureur; - donnees += '&email='+email+'&gcTauxFraisReel='+gcTauxFraisReel+'&gcTauxRedressement='+gcTauxRedressement +'&gcTauxTva='+gcTauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - donnees += '&fraisGestion='+fraisGestion+'&codeGestionCarte='+codeGestionCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_gc_assureur(); - } - }); -} - -function creer_gc_assureur() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - libelle = $("#libelle").val(); - email = $("#emailGcAssureur").val(); - gcTauxFraisReel = $("#gcTauxFraisReel").val(); - gcTauxRedressement = $("#gcTauxRedressement").val(); - gcTauxTva = $("#gcTauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - fraisGestion = $("#fraisGestion").val(); - codeGestionCarte = $("#codeGestionCarte").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(gcTauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").focus(); - return; - } - - gcTauxFraisReel=gcTauxFraisReel.replace(",","."); - if(isNaN(gcTauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxFraisReel").val("0"); - $("#gcTauxFraisReel").focus(); - return; - } - - if(gcTauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").focus(); - return; - } - - gcTauxRedressement=gcTauxRedressement.replace(",","."); - // $("#gcTauxRedressement").val(gcTauxRedressement); - if(isNaN(gcTauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxRedressement").val("0"); - $("#gcTauxRedressement").focus(); - return; - } - - if(gcTauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").focus(); - return; - } - - gcTauxTva=gcTauxTva.replace(",","."); - if(isNaN(gcTauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#gcTauxTva").val("0"); - $("#gcTauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'libelle='+libelle+'&codeGcAssureur='+codeGcAssureur; - donnees += '&email='+email+'&gcTauxFraisReel='+gcTauxFraisReel+'&gcTauxRedressement='+gcTauxRedressement +'&gcTauxTva='+gcTauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - donnees += '&fraisGestion='+fraisGestion+'&codeGestionCarte='+codeGestionCarte; - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/ajouter/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_gc_assureur(); - } - }); -} - -function retour_liste_gc_assureur() -{ - window.location.assign($("#racineWeb" ).val()+"Gcassureur/"); -} - -function activer_gestion_confiee() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - gestionConfiee=$("#gestionConfiee").val(); - if (gestionConfiee=="1") - { - v_msg="Gestion confiée déjà activée!"; - v_msgEng="Management entrusted already activated!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la gestion confiée pour cette police?"; - v_msgEng="Do you confirm the management entrusted for this policy?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/activergc/"+$("#idPolice_C").val()+"/"); - } -} - -function afficher_gc_police(idPolice, idGcpolice) -{ - if (idPolice <=" ") - { - v_msg="Veuillez sélectionner une police!"; - v_msgEng="Please select a policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (idGcpolice=="0") - { - window.location.assign($("#racineWeb" ).val()+"Creergcpolice/"+idPolice+"/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Fichegcpolice/"+idPolice+"/"); - } -} - - - -function retour_liste_gc_police() -{ - window.location.assign($("#racineWeb" ).val()+"Gcpolices/"); -} - -function creer_gc_police() -{ - idPolice = $("#idPolice").val(); - - codeGcAssureur = $("#codeGcAssureur").val(); - tauxFraisReel = $("#tauxFraisReel").val(); - tauxRedressement = $("#tauxRedressement").val(); - tauxTva = $("#tauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if(tauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").focus(); - return; - } - - tauxFraisReel=tauxFraisReel.replace(",","."); - if(isNaN(tauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").val("0"); - $("#tauxFraisReel").focus(); - return; - } - - if(tauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").focus(); - return; - } - - tauxRedressement=tauxRedressement.replace(",","."); - if(isNaN(tauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").val("0"); - $("#tauxRedressement").focus(); - return; - } - - - if(tauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").focus(); - return; - } - - tauxTva=tauxTva.replace(",","."); - if(isNaN(tauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").val("0"); - $("#tauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'idPolice='+idPolice+'&codeGcAssureur='+codeGcAssureur; - donnees += '&tauxFraisReel='+tauxFraisReel+'&tauxRedressement='+tauxRedressement +'&tauxTva='+tauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcreergcpolice/creerpolicegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_gc_police(); - } - }); -} - -function choisir_gc_assureur() -{ - - idPolice=$("#idPolice").val(); - codeGcAssureur=$("#codeGcAssureur").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idPolice='+idPolice+'&codeGcAssureur='+codeGcAssureur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcreergcpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_gc").html(data); - }, - complete: function() { - } - }); -} - - -function modifier_gc_police(idPolice) -{ - idPolice = $("#idPolice").val(); - - if (idPolice <=" ") - { - v_msg="Veuillez sélectionner une police!"; - v_msgEng="Please select a policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Modifiergcpolice/"+idPolice+"/"); -} - -function enregistrer_modif_gc_police() -{ - idPolice = $("#idPolice").val(); - - tauxFraisReel = $("#tauxFraisReel").val(); - tauxRedressement = $("#tauxRedressement").val(); - tauxTva = $("#tauxTva").val(); - - fraisCarteAfn = $("#fraisCarteAfn").val(); - fraisCarteRen = $("#fraisCarteRen").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - - if(tauxFraisReel<"0") - { - v_msg="Veuillez indiquer le taux frais réel!"; - v_msgEng="Please indicate the charge rate"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").focus(); - return; - } - - tauxFraisReel=tauxFraisReel.replace(",","."); - $("#tauxFraisReel").val(tauxFraisReel); - if(isNaN(tauxFraisReel)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxFraisReel").val("0"); - $("#tauxFraisReel").focus(); - return; - } - - if(tauxRedressement<"0") - { - v_msg="Veuillez indiquer le taux redressement!"; - v_msgEng="Please indicate the recovery rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").focus(); - return; - } - - tauxRedressement=tauxRedressement.replace(",","."); - $("#tauxRedressement").val(tauxRedressement); - if(isNaN(tauxRedressement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxRedressement").val("0"); - $("#tauxRedressement").focus(); - return; - } - - if(tauxTva<"0") - { - v_msg="Veuillez indiquer le taux de TVA!"; - v_msgEng="Please indicate the VAT rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").focus(); - return; - } - - tauxTva=tauxTva.replace(",","."); - $("#tauxTva").val(tauxTva); - if(isNaN(tauxTva)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#tauxTva").val("0"); - $("#tauxTva").focus(); - return; - } - - if(fraisCarteAfn<"0") - { - v_msg="Veuillez indiquer les frais pour une nouvelle carte!"; - v_msgEng="Please indicate the fees for a new card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteAfn").focus(); - return; - } - - if(fraisCarteRen<"0") - { - v_msg="Veuillez indiquer les frais pour un renouvellement de carte!"; - v_msgEng="Please indicate the fees for a card renewal!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteRen").focus(); - return; - } - - if(fraisCarteImp<"0") - { - v_msg="Veuillez indiquer les frais pour une ré-impression de carte!"; - v_msgEng="Please indicate the fees for a re-printing of the card!"; - alert_ebene(v_msg, v_msgEng); - - $("#fraisCarteImp").focus(); - return; - } - - donnees = 'idPolice='+idPolice; - donnees += '&tauxFraisReel='+tauxFraisReel+'&tauxRedressement='+tauxRedressement +'&tauxTva='+tauxTva; - donnees += '&fraisCarteAfn='+fraisCarteAfn+'&fraisCarteRen='+fraisCarteRen+'&fraisCarteImp='+fraisCarteImp; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcreergcpolice/modifierpolicegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_fiche_gc_police(); - } - }); -} - -function retour_fiche_gc_police() -{ - idPolice = $("#idPolice").val(); - window.location.assign($("#racineWeb" ).val()+"Fichegcpolice/"+idPolice+"/"); -} - -function desactiver_gestion_confiee() -{ - idPolice = $("#idPolice").val(); - - nbFactureGc = $("#nbFactureGc").val(); - - if (nbFactureGc!=0) - { - v_msg="Cette police possède des factures dejà traitées en gestion confiée!"; - v_msgEng="This policy has invoices already processed in entrusted management!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous le retrait de cette police de la gestion confiée?"; - v_msgEng="Do you confirm the withdrawal of this policy from the entrusted management?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/desactivergc/"+idPolice+"/"); - } -} - - -function requetes_factures_gc() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegc/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_gc_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegcexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function afficher_facture_gc(idFacture) -{ -} - -// - -function affciher_factures_gc_payable() -{ -} - -function initier_gc_reglement() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/gcinitreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_new_gc_reglement(); - } - }); -} - -function afficher_new_gc_reglement() -{ - window.location.assign($("#racineWeb" ).val()+"Gcnewfacturation/"); -} - - -function confirmer_new_facturation_gc() -{ - observations = $("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir quelque chose!"; - v_msgEng="Please enter something!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - donnees = 'observations='+observations; - - v_msg="Confirmez-vous la nouvelle facturation?"; - v_msgEng="Do you confirm the new billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/confirminitreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_gc_reglement(); - } - }); - } -} - - -function lister_reglements_gc() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistereglementsgc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function aller_a_gcfacturation() -{ - window.location.assign($("#racineWeb" ).val()+"Gcfacturation/"); -} - -// - -function recalculer_solde_famille() -{ - var div_test = $('#div_test'); - div_test.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxadherent/recalculersoldefamille/", - type: 'POST', - success: function(data) - { - div_test.html(""); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - window.location.assign($("#racineWeb" ).val()+"Plafondadherent/"); - } - }); -} - -function ajax_context_gc_reglement_id(idGcReglement) -{ - donnees = 'idGcReglement='+idGcReglement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfeuillemaladie/getcontextbayid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - } - }); -} - -function afficher_gc_reglement_id(idGcReglement, valide) -{ - donnees = 'idGcReglement='+idGcReglement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextgcreglement/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - - if (valide!="1") - { - window.location.assign($("#racineWeb" ).val()+"Gcreglement/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Gcreglementcons/"); - } - } - }); -} - -function afficher_gc_reglement() -{ - window.location.assign($("#racineWeb" ).val()+"Gcreglement/"); -} - - -function ajaxchangercompsantegcreglement() -{ - $("#detail_facture").html(''); - $("#div_entete_sel").html(''); - - codeComposante=$("#codeComposante").val(); - - if(codeComposante<=" ") - { - v_msg="Veuillez sélectionner une compsante!"; - v_msgEng="Please select a compsante!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeComposante").focus(); - return; - } - - donnees = 'codeComposante='+codeComposante; - - if(codeComposante=="SFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - } - else - if(codeComposante=="SNFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonselentete/"; - - $("#div_entete_sel").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_entete_sel").html(data); - $(".datepicker" ).datepicker(); - } - }); - } - else - if(codeComposante=="CFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - - } - else - if(codeComposante=="CNFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonselentete/"; - - $("#div_entete_sel").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_entete_sel").html(data); - $(".datepicker" ).datepicker(); - } - }); - } - -} - -function recharger_factures_gc_non_sel() -{ - $("#detail_facture").html(''); - // $("#div_entete_sel").html(''); - - codeGcAssureur = $("#codeGcAssureur").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/"; - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - - -function valider_selection_factures_gc() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_factures_gc_non_sel(); - } - }); -} - -function selectionner_facture_gc(idFactureTemp, choix) -{ - donnees = 'idFactureTemp='+idFactureTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reafficher_factures_gc_non_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -// -function selectionner_facture_sel_gc(idFactureTemp, choix) -{ - donnees = 'idFactureTemp='+idFactureTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recharger_factures_gc_sel() -{ - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); -} - -function reafficher_factures_gc_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_factures_gc_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_factures_gc_sel(); - } - }); -} - -// - -function requetes_cartes_gc() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetecartegc/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_cartes_gc_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetecartegcexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ged_carte_gc(idGcCarte) -{ - if (idGcCarte>"0") - { - } -} - -// -function recharger_cartes_gc_non_sel() -{ - $("#detail_facture").html(''); - - codeGcAssureur = $("#codeGcAssureur").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/"; - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_cartes_gc() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_cartes_gc_non_sel(); - } - }); -} - -function reafficher_cartes_gc_non_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function selectionner_carte_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function selectionner_carte_sel_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recharger_cartes_gc_sel() -{ - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); -} - -function reafficher_cartes_gc_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_cartes_gc_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_cartes_gc_sel(); - } - }); -} - -function selectionner_carte_sel_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxcartegcsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_cartes_gc_sel(); - } - }); -} - -function selectionner_carte_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxcartegcnonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_cartes_gc_non_sel(); - } - }); -} - -// factures - -function selectionner_facture_sel_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfacturegcsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_factures_gc_sel(); - } - }); -} - -function selectionner_facture_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfacturegcnonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_factures_gc_non_sel(); - } - }); -} - -function modifier_facturation_gc() -{ - observations = $("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir quelque chose!"; - v_msgEng="Please enter something!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - donnees = 'observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/enregistrermodificationgcreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_gc_reglement(); - } - }); -} - - -function valider_gc_rglement_premier() -{ - valide0=$("#valide0").val(); - valide0 = parseInt(valide0); - - if (valide0==1) - { - v_msg="1ère validation déjà effectuée!"; - v_msgEng="1st validation already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montantDu=$("#montantDu").val(); - montantDu = parseInt(montantDu); - - if (montantDu<=0) - { - v_msg="Rien à valider, revoir le total de la facture!"; - v_msgEng="Nothing to validate, review the total bill!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (valide0==0) - { - v_msg="quesConfirmez-vous la 1ère validation de cette facturation?tion"; - v_msgEng="Do you confirm the 1st validation of this billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/validerdecomptepremier/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - v_msg="1ère validation effectuée avec succès!"; - v_msgEng="1st validation done successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_gc_reglement(); - } - }); - } - } -} - -// - -function valider_gc_rglement() -{ - valide0=$("#valide0").val(); - valide0 = parseInt(valide0); - - if (valide0!=1) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - valideAs=$("#valideAs").val(); - valideAs = parseInt(valideAs); - - if (valideAs!=1) - { - v_msg="En attente de la validation de l\'assureur!"; - v_msgEng="Waiting for the validation of the insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - montantDu=$("#montantDu").val(); - montantDu = parseInt(montantDu); - - if (montantDu<=0) - { - v_msg="Rien à valider, revoir le total de la facture!"; - v_msgEng="Nothing to validate, review the total bill!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - valide=$("#valide").val(); - valide = parseInt(valide); - - if (valide==0) - { - v_msg="Confirmez-vous la 2ème validation de cette facturation?"; - v_msgEng="Do you confirm the 2nd validation of this billing?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/validerdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - v_msg="2ème validation effectuée avec succès!"; - v_msgEng="2nd validation done successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - consulter_gc_reglement(); - } - }); - } - } -} - -function consulter_gc_reglement() -{ - window.location.assign($("#racineWeb" ).val()+"Gcreglementcons/"); -} - -function consulter_gc_reglement_id(idGcReglement) -{ - donnees = 'idGcReglement='+idGcReglement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextgcreglement/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Gcreglementcons/"); - } - }); -} - -function encaisser_gc() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà encaissé!"; - v_msgEng="Already cashed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Encaissergc/"); -} - -function imprimer_detail_cartes_gc() -{ -} - - -function imprimer_detail_factures_gc() -{ -} - -function ajaxchangercompsantegcreglementcons() -{ - $("#detail_facture").html(''); - - codeComposante=$("#codeComposante").val(); - - if(codeComposante<=" ") - { - v_msg="Veuillez sélectionner une compsante!"; - v_msgEng="Please select a compsante!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeComposante").focus(); - return; - } - - donnees = 'codeComposante='+codeComposante; - - if(codeComposante=="SFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfacturegccons/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - } - else - if(codeComposante=="CFACT") - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongccons/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); - - } -} - -function enregistrer_encaissement_gc() -{ - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - nomTireur = $("#nomTireur").val(); - banquePayeur = $("#banquePayeur").val(); - - montantDu = $("#montantDu").val(); - dateComptable = $("#dateComptable").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (nomTireur<=" ") - { - v_msg="Veuillez saisir le tireur!"; - v_msgEng="Please enter the issuer of the check! "; - alert_ebene(v_msg, v_msgEng); - - $("#nomTireur").focus(); - return; - } - - if (banquePayeur<=" ") - { - v_msg="Veuillez saisir la banque payeur!"; - v_msgEng="Please enter the paying bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#banquePayeur").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantDu<=" ") - { - montantDu = "0"; - } - - if(montantDu==0) - { - v_msg="Rien à régler!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cet encaissement?"; - v_msgEng="Do you confirm this receipt?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'codeModePaiement='+codeModePaiement+'&referencePaiement='+referencePaiement; - donnees += '&nomTireur='+nomTireur+'&banquePayeur='+banquePayeur; - donnees += '&montantDu='+montantDu+'&dateComptable='+dateComptable; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcregelement/enregistrerencaissementgc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - consulter_gc_reglement(); - }, - complete: function() { - } - }); - } -} - -function imprimer_detail_facture_gc() -{ - $('#div_export_b').html(""); - $("#btn_pop_imprimer_detail_gc").click(); -} - -/* -function reinitialiser_emailgcassureur) -{ - emailgcassureur = $("#emailgcassureur_0").val(); - $("#emailgcassureur").val(emailgcassureur); -} -*/ - -function charger_detail_facture_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfacturegcpdf/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function ctrlkeypress_liste_carte_gc(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_carte_gc(); - } -} - -function afficher_liste_carte_gc() -{ - donnees = ""; - donnees_retour = ""; - - - numeroBeneficiaire = $("#numeroBeneficiaire_gc").val(); - numeroBeneficiaire = numeroBeneficiaire.trim(); - - donnees = 'numeroBeneficiaire=' + numeroBeneficiaire; - - $("#div_liste_carte_gc").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_carte_gc").html(donnees_retour); - } - }); -} - -function init_creer_carte_gc(idBeneficiaire) -{ - $("#idBeneficiaire_gc").val(idBeneficiaire); - - $("#btn_new_carte").click(); -} - -function creer_carte_gc() -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - idBeneficiaire = $("#idBeneficiaire_gc").val(); - dateCarte = $("#dateCarte").val(); - - donnees = 'idBeneficiaire=' + idBeneficiaire+"&dateCarte="+dateCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/creercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_carte").click(); - }, - complete: function() { - afficher_liste_carte_gc(); - } - }); - } -} - -function supprimer_carte_gc(idGcCarte, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idGcCarte=' + idGcCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/supprimercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_liste_carte_gc(); - } - }); - } -} - -function init_modif_carte_gc(idGcCarte, dateCarte, montantCarte, montantCarte_f, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#idGcCarte_gc").val(idGcCarte); - $("#dateCarte_gc").val(dateCarte); - $("#montantCarte_gc").val(montantCarte); - $("#montantCarte_f").val(montantCarte_f); - - $("#btn_modif_carte").click(); -} - -function modifier_carte_gc() -{ - v_msg="Confirmez-vous cette modification?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - idGcCarte = $("#idGcCarte_gc").val(); - dateCarte = $("#dateCarte_gc").val(); - montantCarte = $("#montantCarte_gc").val(); - - donnees = 'idGcCarte='+idGcCarte+"&dateCarte="+dateCarte+"&montantCarte="+montantCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartegc/modifiercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_modif_carte").click(); - }, - complete: function() { - afficher_liste_carte_gc(); - } - }); - } -} - -function charger_detail_carte_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailcartegcpdf/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_detail_tous_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailtousgcpdf/", - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -// - -function selectionner_tous_compte() -{ - v_msg="Validation des factures non traitées. Confirmez-vous cette opération?"; - v_msgEng="Validation of unprocessed invoices. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/validertouteslesfacturesdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - afficherdecompte(); - }, - complete: function() { - } - }); - } -} - -function charger_detail_facture_gc_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfacturegcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_detail_carte_gc_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailcartegcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function charger_detail_tous_gc_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailtousgcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function imprimer_recu_gc() -{ - regle=$("#regle").val(); - - if (regle!=1) - { - v_msg="Pas encore encaissé!"; - v_msgEng="Not yet cashed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecugc/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function cartes_beneficiaire() -{ - window.location.assign($("#racineWeb" ).val()+"Cartesbenficiaire/"); -} - -function afficher_liste_carte_beneficiaire() -{ - donnees_retour = ""; - - $("#div_liste_carte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_carte").html(donnees_retour); - } - }); -} - -function init_modif_carte_beneficiaire(idBeneficiaireCarte, dateCarte, montantCarte, montantCarte_f, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#idBeneficiaireCarte").val(idBeneficiaireCarte); - $("#dateCarteModif").val(dateCarte); - $("#montantCarteModif").val(montantCarte); - $("#montantCarte_f").val(montantCarte_f); - - $("#btn_modif_carte").click(); -} - -// maintenant - -function init_creer_carte() -{ - $("#btn_new_carte").click(); -} - -function creer_carte() -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - montantCarte = $("#montantCarteNew").val(); - dateCarte = $("#dateCarteNew").val(); - - donnees = 'dateCarte='+dateCarte+"&montantCarte="+montantCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/creercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_carte").click(); - }, - complete: function() { - afficher_liste_carte_beneficiaire(); - } - }); - } -} - -function supprimer_carte(idBeneficiaireCarte, facture) -{ - if (facture==1) - { - v_msg="Carte déjà facturée!"; - v_msgEng="Card already billed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idBeneficiaireCarte=' + idBeneficiaireCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/supprimercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_liste_carte_beneficiaire(); - } - }); - } -} - -function modifier_carte_beneficiaire() -{ - v_msg="Confirmez-vous cette modification?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - idBeneficiaireCarte = $("#idBeneficiaireCarte").val(); - dateCarte = $("#dateCarteModif").val(); - montantCarte = $("#montantCarteModif").val(); - - donnees = 'idBeneficiaireCarte='+idBeneficiaireCarte+"&dateCarte="+dateCarte+"&montantCarte="+montantCarte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisterecherchecartebeneficiaire/modifiercarte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#btn_close_pop_modif_carte").click(); - }, - complete: function() { - afficher_liste_carte_beneficiaire(); - } - }); - } -} - -function maj_champ_application_plafond(idGarantie, choix) -{ - donnees = 'idGarantie='+idGarantie+'&choix='+choix; - - v_msg = "Vous venez de conformer que cette limite est par tête!"; - v_msgEng="You just complied that this limit is per head!"; - - if(choix=="0") - { - v_msg = "Vous venez de conformer que cette limite est par famille!"; - v_msgEng="You have just complied that this limit is per family!"; - } - - v_url = $("#racineWeb").val()+"Ajaxgarantiescollege/majchampapplicationplafond/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(errordata) { - }, - complete: function() { - alert_ebene(v_msg, v_msgEng); - } - }); -} - -function requetes_factures_accident() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_accident_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function init_imprimer_demande_decompte() -{ - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==0) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - if (regle==2) - { - v_msg="En attente de la validation du prestataire!"; - v_msgEng="Waiting for the validation of the provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à payer!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_export_demande_reglement').html(''); - - $("#btn_demande_reglement").click(); -} - - -function imprimer_demande_reglement() -{ - - codePrestataire = $("#codePrestataire").val(); - a_enreg = $("#a_enreg").val(); - - codeBanque = $("#codeBanque").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - - if (codeBanque<=" ") - { - v_msg="Veuillez sélectionner une banque!"; - v_msgEng="Please select a bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanque").focus(); - - return; - } - - if (numeroCompteBancaire<=" ") - { - v_msg="Veuillez indiquer le No de compte bancaire!";; - v_msgEng="Please enter the bank account No"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBancaire").focus(); - return; - } - - if (intituleCompteBancaire<=" ") - { - v_msg="Veuillez indiquer intitulé du compte!"; - v_msgEng="Please enter the owner of the account!"; - alert_ebene(v_msg, v_msgEng); - - $("#intituleCompteBancaire").focus(); - return; - } - - idReglement = $("#idReglement").val(); - if (idReglement>"0") - { - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - if (a_enreg=="1") - { - codePrestataire = $("#codePrestataire").val(); - codeBanque = $("#codeBanque").val(); - codeBanqueInterne = $("#codeBanqueInterne").val(); - codeGuichet = $("#codeGuichet").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - cleRib = $("#cleRib").val(); - iban = $("#iban").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - - donnees = 'codePrestataire='+codePrestataire; - donnees += '&codeBanque='+codeBanque+'&codeBanqueInterne='+codeBanqueInterne+'&codeGuichet='+codeGuichet; - donnees += '&numeroCompteBancaire='+numeroCompteBancaire+'&cleRib='+cleRib+'&iban='+iban+'&intituleCompteBancaire='+intituleCompteBancaire ; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/majcomptebancaire/", - type : 'post', - data: donnees, - success: function(data) - { - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - }); - - } - else - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - } -} - -function novalidprestataire() -{ -/* -0 Décompte en cours - -2 Attente Valid. prestat. / Waiting for provider s valid. - -3 Validé par le prestataire - -8 Pas besoin de valid prestat / Provid valid not needed - -9 En attente de règelment - -1 Réglé / Payé -*/ - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==0) - { - v_msg="Veuillez procéder à la 1ère validation!"; - v_msgEng="Please proceed to the 1st validation!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==3) - { - v_msg="Déjà validé par le prestataire!"; - v_msgEng="Already validated by the provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==8) - { - v_msg="Déjà effectué!"; - v_msgEng="Already done!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#montantApayer").val()<="0") - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==2) - { - v_msg="Confirmez-vous que la validation du prestataire n\'est pas nécessaire?"; - v_msgEng="Do you confirm that provider validation is not necessary?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/novalidprestataire/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficherdecompte(); - } - }); - } - } -} - -function listerdecomptes() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - codeEtatDecompte = $("#codeEtatDecompte").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2+'&codeEtatDecompte='+codeEtatDecompte; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistedecomptes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function listerdecomptes_export() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - codeEtatDecompte = $("#codeEtatDecompte").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2+'&codeEtatDecompte='+codeEtatDecompte; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxlistedecomptesexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function maj_reception_facture_decompte() -{ - dateReception = $("#dateReception_pop").val(); - montantPrestataire = $("#montantPrestataire_pop").val(); - - - if(dateReception<=" ") - { - v_msg="Veuillez indicquer la date de réception!"; - v_msgEng="Please enter the date of receipt!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateReception_pop").focus(); - return; - } - - if (montantPrestataire<=" ") - { - montantPrestataire = "0"; - } - - montantPrestataire = montantPrestataire.replace(" ", ""); - montantPrestataire = parseInt(montantPrestataire); - - if (montantPrestataire=="0") - { - v_msg="Veuillez indicquer le montant de la facture du prestataire!"; - v_msgEng="Please enter the invoice amount of the service provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire_pop").focus(); - return; - } - - donnees = 'dateReception='+dateReception+'&montantPrestataire='+montantPrestataire; - - v_msg="Confirmez-vous ces informations?"; - v_msgEng="Do you confirm this information?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/majreceptionfactureprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $("#btn_close_pop_reception").click(); - }, - error: function(erreur) { - }, - complete: function() { - - dateReception = $("#dateReception_pop").val(); - - $("#dateReception").val(dateReception+" / "+montantPrestataire); - $("#btn_dateReception").val(dateReception+" / "+montantPrestataire); - - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - re_afficherdecompte(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -// - - -function imprimer_lite_prestataire() -{ - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdlisteprestataireparametrage/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_prestataire").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function exporter_lite_prestataire() -{ - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdlisteprestataireparametrageexport/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_prestataire").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_lite_prestataire_actif() -{ - /* - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; -*/ - - donnees = ""; - donnees_retour = ""; - - - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - libelle = $("#libelle").val(); - - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees += 'codeTypePrestataire=' + codeTypePrestataire; - donnees += '&codeReseau=' + codeReseau; - donnees += '&libelle=' + libelle; - - donnees += '&codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $("#div_liste_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdlisteprestataireparametrageexport/actif/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_prestataire").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function creer_prestataire() -{ - idPrestataire = $("#idPrestataire").val(); - libelle = $("#libelle").val(); - codeTypePrestataire = $("#codeTypePrestataire").val(); - codeReseau = $("#codeReseau").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTarifMedicament = $("#codeTarifMedicament").val(); - codeTarifOptique = $("#codeTarifOptique").val(); - codePays = $("#codePays").val(); - villeSignature = $("#villeSignature").val(); - codeTypeDecompte = $("#codeTypeDecompte").val(); - adresseGeo = $("#adresseGeo").val(); - numeroCompte = $("#numeroCompte").val(); - adressePost = $("#adressePost").val(); - conventionne = $("#conventionne").val(); - gestionreseau = $("#gestionreseau").val(); - emailGestionPrestataire = $("#emailGestionPrestataire").val(); - - // Prise en compte des comptes bancaires prestataire - codeBanque = $("#codeBanque").val(); - codeBanqueInterne = $("#codeBanqueInterne").val(); - codeGuichet = $("#codeGuichet").val(); - numeroCompteBancaire = $("#numeroCompteBancaire").val(); - cleRib = $("#cleRib").val(); - iban = $("#iban").val(); - intituleCompteBancaire = $("#intituleCompteBancaire").val(); - // - - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - smsGestionPrestataire = $("#smsGestionPrestataire").val(); - registreCommerce = $("#registreCommerce").val(); - - codeLanguePrestataire = $("#codeLangueUser").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom du prestataire!"; - v_msgEng="Please enter the name of the provider"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(codeTypePrestataire<=" ") - { - v_msg="Veuillez indiquer le type de prestataire!"; - v_msgEng="Please indicate the type of provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestataire").focus(); - return; - } - - if(codeReseau<=" ") - { - v_msg="Veuillez indiquer le réseau!"; - v_msgEng="Please indicate the care network!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeReseau").focus(); - return; - } - - if (codeTypePrestataire=="CSO" || codeTypePrestataire=="DEN" || codeTypePrestataire=="HRW" || codeTypePrestataire=="LAB"|| codeTypePrestataire=="SEA") - { - if (codeTarifActe<" ") - { - v_msg="Veuillez fournir le tarif des actes!"; - v_msgEng="Please provide the rates of the acts!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - } - - - // if (codeTypePrestataire=="PHA") - if (codeTypePrestataire=="CSO" || codeTypePrestataire=="PHA") - { - if (codeTarifMedicament<" ") - { - v_msg="Veuillez fournir le tarif des médicaments!"; - v_msgEng="Please provide the price of the drugs!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - } - - if (codeTypePrestataire=="OPT") - { - if (codeTarifOptique<" ") - { - v_msg="Veuillez fournir le tarif optique!"; - v_msgEng="Please provide the optical rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - } - - if(codePays<=" ") - { - v_msg="Veuillez indiquer le pays!"; - v_msgEng="Please indicate the country!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePays").focus(); - return; - } - - if (codeVille<=" ") - { - v_msg="Veuillez préciser la localisation!"; - v_msgEng="Please specify the location!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeVille").focus(); - return; - } - - if (codeLocalite<=" ") - { - v_msg="Veuillez préciser la localisation!"; - v_msgEng="Please specify the location!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLocalite").focus(); - return; - } - - if(villeSignature<=" ") - { - v_msg="Veuillez indiquer la ville de signature!"; - v_msgEng="Please indicate the city of signature!"; - alert_ebene(v_msg, v_msgEng); - - $("#villeSignature").focus(); - return; - } - - if(codeTypeDecompte<=" ") - { - v_msg="Veuillez indiquer la type de décompte!"; - v_msgEng="Please indicate the type of count!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDecompte").focus(); - return; - } - - if(conventionne<=" ") - { - v_msg="Le prestataire est-il conventionné ou pas?"; - v_msgEng="Do the provider have an convetion or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#conventionne").focus(); - return; - } - - if(gestionreseau<=" ") - { - v_msg="Tenir compte des réseaux de soins ou pas?"; - v_msgEng="Consider care networks or not?"; - alert_ebene(v_msg, v_msgEng); - - $("#gestionreseau").focus(); - return; - } - - if(codeLanguePrestataire<=" ") - { - v_msg="Veuillez sélectionner une langue"; - v_msgEng="Please select a language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - donnees = 'libelle='+libelle+'&codeTypePrestataire='+codeTypePrestataire; - donnees += '&codeReseau='+codeReseau+'&codeTarifActe='+codeTarifActe+'&codeTarifMedicament='+codeTarifMedicament; - donnees += '&codeTarifOptique='+codeTarifOptique+'&codePays='+codePays+'&villeSignature='+villeSignature; - donnees += '&codeTypeDecompte='+codeTypeDecompte+'&adresseGeo='+adresseGeo+'&numeroCompte='+numeroCompte; - donnees += '&adressePost='+adressePost+'&conventionne='+conventionne+'&gestionreseau='+gestionreseau+'&emailGestionPrestataire='+emailGestionPrestataire; - - donnees += '&codeBanque='+codeBanque+'&codeBanqueInterne='+codeBanqueInterne+'&codeGuichet='+codeGuichet; - donnees += '&numeroCompteBancaire='+numeroCompteBancaire+'&cleRib='+cleRib+'&iban='+iban+'&intituleCompteBancaire='+intituleCompteBancaire; - - donnees += '&codeVille='+codeVille+'&codeLocalite='+codeLocalite+'&smsGestionPrestataire='+smsGestionPrestataire+'®istreCommerce='+registreCommerce; - - donnees += '&codeLanguePrestataire='+codeLanguePrestataire; - - v_msg="Confirmez-vous ce nouveau prestataire?"; - v_msgEng="Do you confirm this new provider?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/creerprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_idPrestataire').html(data); - }, - complete: function() - { - idPrestataire = $("#idPrestataire").val(); - - afficher_prestataire_id(idPrestataire); - } - }); - } -} - -function param_prestataire() -{ - window.location.assign($("#racineWeb" ).val()+"Prestataires/"); -} - -function creer_user_prestataire() -{ - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - AffectionVisible = $("#AffectionVisible").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible+'&AffectionVisible='+AffectionVisible; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/creeruserprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - users_prestataire(); - } - }); - } -} - -function controle_new_pass() -{ - if ($("#nvmdp" ).val()<=' ') - { - v_msg="Veuillez saisir un mot de passe!"; - v_msgEng="Please enter a password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - longueur = $("#nvmdp").val().length; - - if(longueur>0 && longueur<6) - { - v_msg="6 caractères minimum exigé!"; - v_msgEng="6 characters minmum required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } - - if ($("#cfnvmdp" ).val()!=$("#nvmdp" ).val()) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return false; - } -} - -// - -function desactiver_prestataire(codePrestataire) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/desactiverprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_prestataire(codePrestataire) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/activerprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function demander_reglement() -{ - regle=$("#regle").val(); - regle = parseInt(regle); - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande déjà effectuée!"; - v_msgEng="Request already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la demande de règlement?"; - v_msgEng="Do you confirm the request of payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/demanderreglement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - consulterdecompte(); - }, - complete: function() { - } - }); - } -} - -function demandesreglement() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function demandesreglement_export() -{ - $('#div_detail').html(""); - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxldemandesteglementexport/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -// - -function initierdecompte_liste(codePrestataire, codeExercice, codeMois) -{ - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#inforegle").html(data); - }, - complete: function() { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0 || regle==2 || regle==3 || regle==8) - { - afficherdecompte(); - } - else - { - // 9 => Décompte validé mais en attente de règlemen - // 1 => Décompte réglé - consulterdecompte(); - } - } - }); -} - -function releve_compte_prestataire() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire>" ") - { - window.location.assign($("#racineWeb" ).val()+"Relevecompteprestaire/"); - } -} - -function detail_releve_compte_prestataire() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrelevecompteprestaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function detail_releve_compte_prestataire_export() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrelevecompteprestaireexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function detail_releve_compte_prestataire_global() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - detail_releve_compte_prestataire(); -} - -function detail_releve_compte_prestataire_export_global() -{ - codePrestataire = $("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - detail_releve_compte_prestataire_export(); -} - -function imprimer_demande_reglement_ff() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementff/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_releve_ff() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementff/imprimerreleve/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrer_dossier_classique() -{ - enVigueur=$("#enVigueur_C").val(); - codeEtatBeneficiaire=$("#codeEtatBeneficiaire_C").val(); - etatbeneficiaire=$("#etatbeneficiaire_C").val(); - - if (enVigueur!="1") - { - v_msg="Attention! cette personne n'est pas en vigueur"; - v_msgEng="Warning! This person is not in force"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBeneficiaire!="V") - { - v_msg="Attention! "+etatbeneficiaire; - v_msgEng="Warning! "+etatbeneficiaire; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - prestataireConsultation = $("#prestataireConsultation").val(); - - if (prestataireConsultation<=" ") - { - v_msg="Veuillez indiquer le prestataire qui a consulté!"; - v_msgEng="Please indicate the provider who consulted!"; - alert_ebene(v_msg, v_msgEng); - - $("#prestataireConsultation").focus(); - return; - } - - dateConsultation=$("#dateConsultation").val(); - - if (dateConsultation<=" ") - { - v_msg="Veuillez saisir la date de la facture!"; - v_msgEng="Please enter the date of the invoice!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - codeRaisonConsultation = $("#codeRaisonConsultation").val(); - - if (codeRaisonConsultation<=" ") - { - v_msg="Veuillez sélectionner une raison pour la consultation!"; - v_msgEng="Please select a reason for the consultation!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRaisonConsultation").focus(); - return; - } - - hospitalisation = $("#hospitalisation").val(); - if (hospitalisation<=" ") - { - v_msg="Veuillez indiquer si hospitalisation ou pas!"; - v_msgEng="Please indicate whether hospitalization or not!"; - alert_ebene(v_msg, v_msgEng); - - $("#hospitalisation").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - var td1 = $("#dateConsultation").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date de consultation!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce dossier hors tiers payant?"; - v_msgEng="Do you confirm this claim?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - donnees += '&prestataireConsultation=' +prestataireConsultation; - donnees += '&dateConsultation=' +dateConsultation; - donnees += '&codeRaisonConsultation=' +codeRaisonConsultation; - donnees += '&hospitalisation=' +hospitalisation; - donnees += '&observations=' +observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/enregistrerdossierclassique/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - -function lister_dossiers_classiques() -{ - d1=$("#d1").val(); - d2=$("#d2").val(); - - donnees = 'd1='+d1+'&d2='+d2; - - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesclassiques/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_dossiers").html(data); - }, - complete: function() { - } - }); -} - -function afficher_dossier_classique() -{ - window.location.assign($("#racineWeb" ).val()+"Dossierclassique/"); -} - -function consulter_dossier_classique(idDossierClassique) -{ - donnees = 'idDossierClassique='+idDossierClassique; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - complete: function() { - afficher_dossier_classique(); - } - }); -} - -function payerdossierclassique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - fraisRetenu=$("#fraisRetenu").val(); - if (fraisRetenu<=0) - { - v_msg="Rien à payer!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==0) - { - v_msg="Aucune Demande de Règlement!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Payerdossierclassique/"); -} - -function modifierdossierclassique() -{ - regle=$("#regle").val(); - - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Modifierdossierclassique/"); -} - -function imprimer_releve_dc() -{ - fraisRetenu=$("#fraisRetenu").val(); - - if (fraisRetenu<=0) - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementdc/imprimerreleve/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_demande_reglement_dc() -{ - regle=$("#regle").val(); - if (regle==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - fraisRetenu=$("#fraisRetenu").val(); - - if (fraisRetenu<=0) - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - var div_export_demande_reglement = $('#div_export_demande_reglement'); - div_export_demande_reglement.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglementdc/", - type: 'POST', - success: function(data) - { - div_export_demande_reglement.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrermodificationsdossierclassique() -{ - enVigueur=$("#enVigueur_C").val(); - codeEtatBeneficiaire=$("#codeEtatBeneficiaire_C").val(); - etatbeneficiaire=$("#etatbeneficiaire_C").val(); - - if (enVigueur!="1") - { - v_msg="Attention! cette personne n'est pas en vigueur"; - v_msgEng="Warning! This person is not in force"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeEtatBeneficiaire!="V") - { - v_msg="Attention! "+etatbeneficiaire; - v_msgEng="Warning! "+etatbeneficiaire; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeur = $("#demandeur").val(); - codeLienDemandeur = $("#codeLienDemandeur").val(); - - beneficiaireReglement = $("#beneficiaireReglement").val(); - codeLienBeneficiaire = $("#codeLienBeneficiaire").val(); - - observations = $("#observations").val(); - - codeModePaiementDemande = $("#codeModePaiementDemande").val(); - codeBanqueBeneficiaire = $("#codeBanqueBeneficiaire").val(); - numeroCompteBeneficiaire = $("#numeroCompteBeneficiaire").val(); - - - if (demandeur<=" ") - { - v_msg="Veuillez saisir le nom du demandeur!"; - v_msgEng="Please enter the name of the payment requestor"; - alert_ebene(v_msg, v_msgEng); - - $("#demandeur").focus(); - return; - } - - if (codeLienDemandeur<=" ") - { - v_msg="Veuillez sélectionner le lien de parenté avec le demandeur!"; - v_msgEng="Please select the relationship with the requestor!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienDemandeur").focus(); - return; - } - - prestataireConsultation = $("#prestataireConsultation").val(); - - if (prestataireConsultation<=" ") - { - v_msg="Veuillez indiquer le prestataire qui a consulté!"; - v_msgEng="Please indicate the provider who consulted!"; - alert_ebene(v_msg, v_msgEng); - - $("#prestataireConsultation").focus(); - return; - } - - dateConsultation=$("#dateConsultation").val(); - - if (dateConsultation<=" ") - { - v_msg="Veuillez saisir la date de la facture!"; - v_msgEng="Please enter the date of the invoice!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - codeRaisonConsultation = $("#codeRaisonConsultation").val(); - - if (codeRaisonConsultation<=" ") - { - v_msg="Veuillez sélectionner une raison pour la consultation!"; - v_msgEng="Please select a reason for the consultation!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRaisonConsultation").focus(); - return; - } - - hospitalisation = $("#hospitalisation").val(); - if (hospitalisation<=" ") - { - v_msg="Veuillez indiquer si hospitalisation ou pas!"; - v_msgEng="Please indicate whether hospitalization or not!"; - alert_ebene(v_msg, v_msgEng); - - $("#hospitalisation").focus(); - return; - } - - if (beneficiaireReglement<=" ") - { - v_msg="Veuillez saisir le nom du bénéficiaire du règlement!"; - v_msgEng="Please enter the name of the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#beneficiaireReglement").focus(); - return; - } - - if (codeLienBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner le lien avec le bénéficiaire du règlement!"; - v_msgEng="Please select the relationship with the payee!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLienBeneficiaire").focus(); - return; - } - - if (codeModePaiementDemande<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiementDemande").focus(); - return; - } - - if (codeModePaiementDemande=="VR") - { - if (codeBanqueBeneficiaire<=" ") - { - v_msg="Veuillez sélectionner la banque du bénéficiaire!"; - v_msgEng="Please select the beneficiary\'s bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanqueBeneficiaire").focus(); - return; - } - - if (numeroCompteBeneficiaire<=" ") - { - v_msg="Veuillez saisir le No de compte du bénéficiaire!"; - v_msgEng="Please enter the beneficiary\'s account number"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroCompteBeneficiaire").focus(); - return; - } - } - - dateEffetPolice = $("#dateEffetPolice_C").val(); - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - // var td0 = new Date(dateEffetPolice); - dateEntreeBeneficiaire= $("#dateEntreeBeneficiaire_C").val(); - var td0 = new Date(dateEntreeBeneficiaire); - - var td1 = $("#dateConsultation").datepicker("getDate"); - var td2 = $("#datejourfr_C").datepicker("getDate"); - var td3 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); - - if (dt1>dt2) - { - v_msg="Veuillez revoir la date de consultation!"; - v_msgEng="Please review the date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateConsultation").focus(); - return; - } - - if (dt1>dt3 || dt1dt3) - { - v_msg="Attention! cette police n'est pas couverte à cette date!"; - v_msgEng="Warning! This insurance policy is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ces modificatons?"; - v_msgEng="Do you confirm these changes?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'demandeur='+demandeur+'&codeLienDemandeur='+codeLienDemandeur; - donnees += '&beneficiaireReglement='+beneficiaireReglement+'&codeLienBeneficiaire='+codeLienBeneficiaire; - - - donnees += '&codeModePaiementDemande='+codeModePaiementDemande; - donnees += '&codeBanqueBeneficiaire='+codeBanqueBeneficiaire+'&numeroCompteBeneficiaire='+numeroCompteBeneficiaire; - - donnees += '&prestataireConsultation=' +prestataireConsultation; - donnees += '&dateConsultation=' +dateConsultation; - donnees += '&codeRaisonConsultation=' +codeRaisonConsultation; - donnees += '&hospitalisation=' +hospitalisation; - donnees += '&observations=' +observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/enregistrermodificationsdossierclassique/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Modifications effectuées avec succès!"; - v_msgEng="Changes made successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - -function enregistrerpaiementfraisfuneraire() -{ - idFraisfuneraire = $("#idFraisfuneraire").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPaye").focus(); - - return; - } - - v_msg="Confirmez-vous ce paiement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idFraisfuneraire='+idFraisfuneraire+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/enregistrerpaiementfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire(); - } - }); - } -} - -function enregistrer_paiement_dossier_classique() -{ - idDossierClassique = $("#idDossierClassique").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Veuillez revoir le montant!"; - v_msgEng="Please review the amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPaye").focus(); - - return; - } - - v_msg="Confirmez-vous ce paiement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDossierClassique='+idDossierClassique+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/enregistrerpaiementdossierclassique/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - -function rechercher_dossier_classique(numeroDecompte, idBeneficiaire) -{ - donnees = "numeroDecompte="+numeroDecompte+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/getcontextbyidreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_dossier_classique(); - } - }); -} - -function rechercher_frais_funeraire(idReglement, idBeneficiaire) -{ - donnees = "idReglement="+idReglement+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - fraisfuneraire(); - } - }); -} - -function demander_reglement_ff() -{ - fraisFuneraireDemande=$("#fraisFuneraireDemande_C").val(); - fraisFunerairePaye=$("#fraisFunerairePaye_C").val(); - - if (fraisFuneraireDemande!=1) - { - v_msg="Aucune demande en cours!"; - v_msgEng="No request in progress!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (fraisFunerairePaye==1) - { - v_msg="Déjà payé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la demande de règlement?"; - v_msgEng="Do you confirm the request of payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - idFraisfuneraire = $("#idFraisfuneraire").val(); - donnees = 'idFraisfuneraire='+idFraisfuneraire; - - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxenregistrerdemandefraisfuneraire/demanderreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Demande de Règlement effectuée avec succès!"; - v_msgEng="Request of payment successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - fraisfuneraire(); - } - }); - } -} - -function demander_reglement_dc() -{ - fraisRetenu=$("#fraisRetenu").val(); - if (fraisRetenu<=0) - { - v_msg="Rien à régler!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - regle=$("#regle").val(); - regle = parseInt(regle); - - if (regle==1) - { - v_msg="Déjà réglé!"; - v_msgEng="Already paid!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - demandeReglement=$("#demandeReglement").val(); - demandeReglement = parseInt(demandeReglement); - - if (demandeReglement==1) - { - v_msg="Demande de règlement déjà effectuée!"; - v_msgEng="Request for payment already made!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la demande de règlement?"; - v_msgEng="Do you confirm the request of payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - idDossierClassique = $("#idDossierClassique").val(); - donnees = 'idDossierClassique='+idDossierClassique; - - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/demanderreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - v_msg="Demande de Règlement effectuée avec succès!"; - v_msgEng="Request of payment successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() { - afficher_dossier_classique(); - } - }); - } -} - - -function initierdecompte_liste_cpt(codePrestataire, codeExercice, codeMois) -{ - donnees = 'codePrestataire='+codePrestataire+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initierdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - consulterdecompte_cpt(); - } - }); -} - -// -function consulterdecompte_cpt() -{ - var div_wait = $('#detail_reglement'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - window.location.assign($("#racineWeb" ).val()+"Decomptecpt/"); -} - -function initierpaimentdecompte() -{ - v_msg="Confirmez-vous l\'initiaition d\'un nouveau paiement?"; - v_msgEng="Do you confirm the initiation of a new payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/initierpaimentdecompte/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - paiement_decompte(); - } - }); - } -} - -function paiement_decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Paiementdecompte/"); -} - -function consulterpaiements() -{ - window.location.assign($("#racineWeb" ).val()+"Consulterpaiementdecompte/"); -} - -function modifierpaiement() -{ -} - -function imprimer_detail_paiement_decompte() -{ - $('#div_export_b').html(""); - $("#btn_pop_imprimer_detail_pdc").click(); -} - -function ajaxchangercompsantepaiement_decompte() -{ - $("#div_detail_paiement_decompte").html(''); - - codeComposante=$("#codeComposante").val(); - - if(codeComposante<=" ") - { - v_msg="Veuillez sélectionner une compsante!"; - v_msgEng="Please select a compsante!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeComposante").focus(); - return; - } - - donnees = 'codeComposante='+codeComposante; - - if(codeComposante=="DP") - { - // DP => Décomptes à payer - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/"; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); - } - else - { - // DNP => Décomptes non payés - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/"; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); - } -} - -function lister_paiement_decompte() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - valide=$("#valide").val(); - - donnees = 'debut='+debut+'&fin='+fin+'&valide='+valide; - - // alert(donnees); - // return; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/listerpaiementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - }, - complete: function() { - } - }); -} - -function get_contexte_paiement_decompte(idPaiementDecompte) -{ - donnees = 'idPaiementDecompte='+idPaiementDecompte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - } - }); -} - -function conulter_paiement_decompte() -{ - window.location.assign($("#racineWeb" ).val()+"Paiementdecomptecons/"); -} - -function get_contexte_paiement_decompte_et_afficher(idPaiementDecompte, valide) -{ - donnees = 'idPaiementDecompte='+idPaiementDecompte+'&valide='+valide; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/getcontextbyid/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - if(valide=="1") - { - conulter_paiement_decompte(); - } - else - { - paiement_decompte(); - } - } - }); -} - -function recharger_paiement_decompte_non_sel() -{ - $("#div_detail_paiement_decompte").html(''); - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/"; - - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - - -function selectionner_paiement_decompte_non_sel_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_paiement_decompte_non_sel(); - - } - }); -} - -function reafficher_paiement_decompte_non_sel() -{ - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function selectionner_paiement_decompte_non_sel(idDecompteTemp, choix) -{ - donnees = 'idDecompteTemp='+idDecompteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(ErrorData) { - }, - complete: function() { - } - }); -} - -// - -function anomaliesdecomptes() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxanomaliesdecomptes/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - } - }); -} - -function anomaliesdecomptes_export() -{ - $('#div_detail').html(""); - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxanomaliesdecomptesexport/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function valider_selection_paiement_decompte_non_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptenonsel/validerselection/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_paiementdecompte").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_paiement_decompte_non_sel(); - } - }); -} - -function recharger_paiement_decompte_sel() -{ - $("#div_detail_paiement_decompte").html(''); - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/"; - - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function reafficher_paiement_decompte_sel() -{ - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function selectionner_paiement_decompte_sel_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_paiement_decompte_sel(); - - } - }); -} - -function selectionner_paiement_decompte_sel(idDecompteTemp, choix) -{ - donnees = 'idDecompteTemp='+idDecompteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function valider_selection_paiement_decompte_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxpaiementdecomptesel/validerselection/"; - - $.ajax({ - url: v_url, - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_paiementdecompte").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_paiement_decompte_sel(); - } - }); -} - -function paiement_decompte_courant() -{ - idPaiementDecompte_courant=$("#idPaiementDecompte_C").val(); - - if(idPaiementDecompte_courant==0) - { - v_msg="Veuillez sélectionner un paiement!"; - v_msgEng="Please select a payment!"; - alert_ebene(v_msg, v_msgEng); - - consulterpaiements(); - - return; - } - - paiement_decompte(); - -} - -// - -function valider_paiement_decompte() -{ - valide=$("#valide").val(); - montantApayer=$("#montantApayer").val(); - - if (valide==1) - { - v_msg="Déjà Validé!"; - v_msgEng="Already validated!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(montantApayer<=" ") - { - montantApayer = "0"; - } - - if(montantApayer==0) - { - v_msg="Rien à valider!"; - v_msgEng="Nothing to validate!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Validerpaiementdecompte/"); -} - -function demandesreglement_cpt() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementcpt/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function rechercher_frais_funeraire_cpt(idReglement, idBeneficiaire) -{ - donnees = "idReglement="+idReglement+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcontextfraisfuneraire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - fraisfuneraire_cpt(); - } - }); -} - -function fraisfuneraire_cpt() -{ - window.location.assign($("#racineWeb" ).val()+"Fraisfunerairecpt/"); -} - -function rechercher_dossier_classique_cpt(numeroDecompte, idBeneficiaire) -{ - donnees = "numeroDecompte="+numeroDecompte+"&idBeneficiaire="+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossierclassique/getcontextbyidreglement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_dossier_classique_cpt(); - } - }); -} - -function afficher_dossier_classique_cpt() -{ - window.location.assign($("#racineWeb" ).val()+"Dossierclassiquecpt/"); -} - -function enregistrer_valider_paiement_decompte() -{ - valide=$("#valide").val(); - montantApayer=$("#montantApayer").val(); - - if (valide==1) - { - v_msg="Déjà Validé!"; - v_msgEng="Already validated!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idPaiementDecompte = $("#idPaiementDecompte").val(); - dateComptable = $("#dateComptable").val(); - montantPaye = $("#montantPaye").val(); - codeModePaiement = $("#codeModePaiement").val(); - referencePaiement = $("#referencePaiement").val(); - - codeBanquePayeur = $("#codeBanquePayeur").val(); - - if (codeModePaiement<=" ") - { - v_msg="Veuillez sélectionner le mode de paiement!"; - v_msgEng="Please select the payment method!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModePaiement").focus(); - return; - } - - if (codeBanquePayeur<=" ") - { - v_msg="Veuillez sélectionner la banque de paiement!"; - v_msgEng="Please select the payment bank!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeBanquePayeur").focus(); - return; - } - - if (referencePaiement<=" ") - { - v_msg="Veuillez indiquer la référence du paiement!"; - v_msgEng="Please enter the payment reference!"; - alert_ebene(v_msg, v_msgEng); - - $("#referencePaiement").focus(); - return; - } - - if (dateComptable<=" ") - { - v_msg="Veuillez saisir la date comptable!"; - v_msgEng="Please enter the posting date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateComptable").focus(); - return; - } - - if(montantPaye<=" ") - { - montantPaye = "0"; - } - - if(montantPaye==0) - { - v_msg="Rien à régler!"; - v_msgEng="Nothing to pay!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous ce règelement?"; - v_msgEng="Do you confirm this payment?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idPaiementDecompte='+idPaiementDecompte+'&codeModePaiement='+codeModePaiement; - donnees += '&referencePaiement='+referencePaiement+'&montantPaye='+montantPaye; - donnees += '&dateComptable='+dateComptable; - donnees += '&codeBanquePayeur='+codeBanquePayeur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxpaiementdecompte/enregistrervaliderpaiementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - conulter_paiement_decompte(); - } - }); - } -} - -function imprimer_detail_paiement_decompte_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailpaiementdecomptepdf/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function imprimer_detail_paiement_decompte_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailpaiementdecomptexls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function en_attente_demandesreglement() -{ - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxattentedemandesteglement/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function en_attente_demandesreglement_export() -{ - $('#div_detail').html(""); - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxattentedemandesteglementexport/"; - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function rattrapage_reception_facture_decompte() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/initrattrapagereceptionfactureprestataire/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_rattrapage_reception").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() { - $('#btn_pop_rattrapage_reception').click(); - } - }); - - -} - -function maj_rattrapage_reception_facture_decompte() -{ - dateReception = $("#dateReception_pop_rattrapage").val(); - montantPrestataire = $("#montantPrestataire_pop_rattrapage").val(); - - - if(dateReception<=" ") - { - v_msg="Veuillez indicquer la date de réception!"; - v_msgEng="Please enter the date of receipt!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateReception_pop_rattrapage").focus(); - return; - } - - if (montantPrestataire<=" ") - { - montantPrestataire = "0"; - } - - montantPrestataire = montantPrestataire.replace(" ", ""); - montantPrestataire = parseInt(montantPrestataire); - - if (montantPrestataire=="0") - { - v_msg="Veuillez indicquer le montant de la facture du prestataire!"; - v_msgEng="Please enter the invoice amount of the service provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire_pop_rattrapage").focus(); - return; - } - - motif=$("#motif_rattrapage").val(); - - if (motif<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#motif_rattrapage").focus(); - return; - } - - donnees = 'dateReception='+dateReception+'&montantPrestataire='+montantPrestataire+'&motif='+motif; - - v_msg="Confirmez-vous ces informations?"; - v_msgEng="Do you confirm this information?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdecompte/rattrapagereceptionfactureprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $("#close_pop_rattrapage_reception").click(); - $('#reglement').html(data); - - }, - error: function(erreur) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -// Etats MUGABO - -function propositions_paiement_prestataire() -{ - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxemandesreglementsglobal/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function propositions_paiement_prestataire_export() -{ - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxemandesreglementsglobalexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function imprimerdecompteprestataireaccord() -{ - idReglement = $("#idReglement").val(); - - if (idReglement>"0") - { - var div_wait = $('#div_wait'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerdemandereglement/imprimerdecompteprestataireaccord", - type: 'POST', - success: function(data) - { - div_wait.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } -} - -function chercher_facture(idFacture) -{ - - $("#div_facture_detail").html(''); - - $("#div_consulter_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfacturefeuillemaladie() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/feuillemaladie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfactureprestationactes() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/prestationactes/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfacturemedicaments() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/medicaments/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulter_facture_pop(idFacture) -{ - - $("#div_facture_detail").html(''); - - $("#div_consulter_facture_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_facture_pop").html(data); - }, - error: function(data) { - }, - complete: function() { - $('#btn_pop_consulter_facture').click(); - } - }); -} - -function consulterfacturefeuillemaladie_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/feuillemaladie/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfactureprestationactes_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/prestationactes/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfacturemedicaments_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/medicaments/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ged_decompte_gc(idFacture) -{ - numeroDecompte = $("#numeroDecompte").val(); - - if (idFacture>"0") - { - donnees = 'numeroDecompte='+numeroDecompte+'&idFacture='+idFacture; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgedfacturegc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - $("#btn_pop_ged").click(); - } - }); - } -} - -function valider_ged_decompte_gc() -{ - idFacture = $("#idFactureGed").val(); - v_url = $("#racineWeb").val()+"Ajaxgedfacturegc/chargerged"; - - donnees = ""; - - donnees = new FormData($("#ajax_form_upload")[0]); - - $.ajax({ - type: "POST", - url: v_url, - data: donnees, - contentType: false, - cache: false, - processData :false, - - success: function(message){ - alert(message); - $("#btn_close_pop_ged_facture").click(); - }, - error: function(errorData){ - }, - complete: function() { - } - }); -} - -function consulterfactureged_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/geds/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function reafficher_ged_facture(idFacture) -{ - if (idFacture>"0") - { - donnees = 'idFacture='+idFacture; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgedfacture/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ged").html(data); - }, - complete: function() { - } - }); - } -} - -function valider_ged_facture() -{ - idFacture = $("#idFactureGed").val(); - v_url = $("#racineWeb").val()+"Ajaxgedfacture/chargerged"; - - donnees = ""; - - donnees = new FormData($("#ajax_form_upload")[0]); - - $.ajax({ - type: "POST", - url: v_url, - data: donnees, - contentType: false, - cache: false, - processData :false, - - success: function(message){ - alert(message); - }, - error: function(errorData){ - }, - complete: function() { - // reafficher_ged_facture(idFacture); - } - }); -} - -function consulterfactureged() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/geds/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -// factures GC cumulées -function requetes_factures_gc_cumul() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegccumul/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_gc_cumul_export() -{ - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegccumulexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function liste_ententeprealables_opt() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablesopt/"); -} - -function listeententeprealablesopt() -{ - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function consulter_ententeprealable_opt_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealablesopt/"+idDemandeententeprealable+"/"); -} - -function demandesreglement_filtre() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementfiltre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function demandesreglement_filtre_export() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - var div_export = $('#div_detail'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxldemandesteglementfiltreexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function demandesreglement_filtre_cpt() -{ - codePrestataire = $("#codePrestataire").val(); - - codeExercice1 = $("#codeExercice1").val(); - codeMois1 = $("#codeMois1").val(); - - codeExercice2 = $("#codeExercice2").val(); - codeMois2 = $("#codeMois2").val(); - - if (codeMois1<=" ") - { - v_msg="Veuillez sélectionner le mois de départ!"; - v_msgEng="Please select the month of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois1").focus(); - return; - } - - if (codeExercice1<=" ") - { - v_msg="Veuillez sélectionner exercice de départ!"; - v_msgEng="Please select the exercise of start!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice1").focus(); - return; - } - - if (codeMois2<=" ") - { - v_msg="Veuillez sélectionner le mois de fin!"; - v_msgEng="Please select the month of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois2").focus(); - return; - } - - if (codeExercice2<=" ") - { - v_msg="Veuillez sélectionner exercice de fin!"; - v_msgEng="Please select the exercise of end!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice2").focus(); - return; - } - - codePerdiode1 = codeExercice1+codeMois1; - - codePerdiode2 = codeExercice2+codeMois2; - - donnees = 'codePrestataire='+codePrestataire+'&codePerdiode1='+codePerdiode1+'&codePerdiode2='+codePerdiode2; - - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementcpt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail").html(data); - }, - complete: function() { - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function accepter_ententeprealable_opt(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealablesopt/"+idDemandeententeprealable+"/"); -} - -function refuser_ententeprealable_opt(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealablesopt/"+idDemandeententeprealable+"/"); -} - -// -function enregistreraccordententepreslable_opt() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - prixAccorde = $("#prixAccorde").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - prixAccorde=prixAccorde.replace(",","."); - $("#prixAccorde").val(prixAccorde); - - if(isNaN(prixAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#prixAccorde").val("0"); - $("#prixAccorde").focus(); - return; - } - - if(prixAccorde==0) - { - $("#prixAccorde").focus(); - v_msg="Veuillez saisir le prix!"; - v_msgEng="Please enter the price!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&prixAccorde='+prixAccorde; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealableopt'; - typeSms = "accordententeprealableopt"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealableopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_opt(); - } - }); - } -} - -// -function enregistrerrefusententepreslable_opt() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealableopt'; - typeSms="refusententeprealableopt"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealableopt/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_opt(); - } - }); - } -} - -function liste_ententeprealables_mont() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablesmont/"); -} - -function listeententeprealablesmont() -{ - codeReponseEntentePrealable=$("#codeReponseEntentePrealable").val(); - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'codeReponseEntentePrealable='+codeReponseEntentePrealable; - donnees += '&debut='+debut+'&fin='+fin; - - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesmont/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function consulter_ententeprealable_mont_2(idDemandeententeprealable) -{ - window.location.assign($("#racineWeb" ).val()+"Consulterententeprealablesmont/"+idDemandeententeprealable+"/"); -} - -function accepter_ententeprealable_mont(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Accepterententeprealablesmont/"+idDemandeententeprealable+"/"); -} - - -function enregistreraccordententepreslable_mont() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - prixAccorde = $("#prixAccorde").val(); - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif!"; - v_msgEng="Please enter the reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - prixAccorde=prixAccorde.replace(",","."); - $("#prixAccorde").val(prixAccorde); - - if(isNaN(prixAccorde)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#prixAccorde").val("0"); - $("#prixAccorde").focus(); - return; - } - - if(prixAccorde==0) - { - $("#prixAccorde").focus(); - v_msg="Veuillez saisir le prix!"; - v_msgEng="Please enter the price!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - v_msg="Confirmez-vous cet accord?"; - v_msgEng="Do you confirm this agreement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&prixAccorde='+prixAccorde; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='accordententeprealablemont'; - typeSms = "accordententeprealablemont"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistreraccordententeprealablemont/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - v_msg="Accord envoyé avec succès!"; - v_msgEng="Agreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_mont(); - } - }); - } -} - -function refuser_ententeprealable_mont(idDemandeententeprealable, facture) -{ - if (facture==1) - { - v_msg="Déjà facturé!"; - v_msgEng="Already charged!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - window.location.assign($("#racineWeb" ).val()+"Refuserententeprealablesmont/"+idDemandeententeprealable+"/"); -} - - -function enregistrerrefusententepreslable_mont() -{ - idDemandeententeprealable = $("#idDemandeententeprealable").val(); - motifReel = $("#motifReel").val(); - motifRefusAssure = $("#motifRefusAssure").val(); - - - if (motifReel<=" ") - { - v_msg="Veuillez saisir le motif réel!"; - v_msgEng="Please enter the real reason!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifReel").focus(); - return; - } - - if (motifRefusAssure<=" ") - { - v_msg="Veuillez saisir un motif pour l\'assuré!"; - v_msgEng="Please enter a reason for the insured!"; - alert_ebene(v_msg, v_msgEng); - - $("#motifRefusAssure").focus(); - return; - } - - v_msg="Confirmez-vous ce refus?"; - v_msgEng="Do you confirm this refusal?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - codePrestataire = $("#codePrestataire").val(); - - donnees = 'idDemandeententeprealable='+idDemandeententeprealable+'&motifReel='+motifReel+'&motifRefusAssure='+motifRefusAssure; - donnees += '&codePrestataire='+codePrestataire; - - donnees_sav = donnees; - typeMail='refusententeprealablemont'; - typeSms="refusententeprealablemont"; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/enregistrerrefusententeprealablemont/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - preparesms(typeSms); - }, - complete: function() { - - v_msg="Refus envoyé avec succès!"; - v_msgEng="Disagreement sent successfully!"; - alert_ebene(v_msg, v_msgEng); - - liste_ententeprealables_mont(); - } - }); - } -} - -function histsupprempreinte() -{ - $("#div_detail_suppr_empreinte").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail_suppr_empreinte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprempreinte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_suppr_empreinte").html(data); - }, - complete: function() { - } - }); -} - -function histsupprempreinte_export() -{ - $("#div_detail_suppr_empreinte").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - donnees_retour = ""; - - $("#div_detail_suppr_empreinte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprempreinteexport/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_suppr_empreinte").html(donnees_retour); - } - }); -} - -function liste_ententeprealables_pha() -{ - window.location.assign($("#racineWeb" ).val()+"Listeententeprealablespha/"); -} - -function exporter_modele_assure() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function init_importer_modele_assure() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/initimportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function importer_modele_assure(idAvenant) -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - cheminFichier=$("#cheminFichier").val(); - - donnees = 'idAvenant='+idAvenant+'&cheminFichier='+cheminFichier; - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - div_export.html(''); - - succes_impot_execl=$("#succes_impot_execl").val(); - - if (succes_impot_execl == "1") - { - maj_etape_3_import_assures(); - } - } - }); -} - - -function traiter_lignes_importees() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etape3=$("#etape3").val(); - - if (etape3 != "1") - { - v_msg="Etape 3 incomplète!"; - v_msgEng="Incomplete step 3!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - // window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - afficher_liste_assures_a_importer(); -} - - -function afficher_une_ligne_importee(idBeneficiairemodel) -{ -} - - -function exclure_ligne_assure_importee(idBeneficiairemodel, exclure) -{ - donnees = 'idBeneficiairemodel='+idBeneficiairemodel+'&exclure='+exclure; - - v_url = $("#racineWeb").val()+"Ajaximporterlisteassure/exclureligneimportee/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function calculer_prime_inmportation() -{ - nb_adh=$("#nb_adh").val(); - - if (nb_adh>"0") - { - v_msg="Veuillez lier toutes les famille à leur collège!"; - v_msgEng="Please link all the family to their college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous le calcul de primes?"; - v_msgEng="Do you confirm the premium calculation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - var div_attente = $('#div_liste_assure_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/", - type: 'POST', - // data: donnees, - success: function(data) { - v_msg="Calcul de primes terminée avec succès!"; - v_msgEng="Premium calculation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() - { - // window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - afficher_liste_assures_a_importer(); - } - }); - } -} - -function charger_fichier_modele_assure() -{ - $('#div_exporter_liste_assures').html(""); - - $('#div_form_upload').show(); - - // return; -} - - -function afficher_adherent_importee() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - var div_attente = $('#div_adherents_importes'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/afficheradherentimportee/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function retirer_un_adherent_importe_college(idBeneficiairemodel) -{ - donnees = 'idBeneficiairemodel='+idBeneficiairemodel; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/retirerunadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); -} - -function ajouter_un_adherent_importe_college(idBeneficiairemodel) -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idBeneficiairemodel='+idBeneficiairemodel+'&idCollege='+idCollege; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajouterunadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); -} - -function incorporer_assures_inmportes() -{ - nb_adh=$("#nb_adh").val(); - - if (nb_adh>"0") - { - v_msg="Veuillez revoir les collèges et relancer le calcul des primes!"; - v_msgEng="Please review the colleges and restart the premium calculation!!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - nb_ligne_ass=$("#nb_ligne_ass").val(); - - if (nb_ligne_ass=="0") - { - v_msg="Rien à importer!"; - v_msgEng="Nothing to import!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Avez-vous fait l\'étape 2 => calcul des primes?"; - v_msgEng="Did you do step 2 => premium calculation?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - - primeTtcTotal=$("#primeTtcTotal").val(); - - if (primeTtcTotal=="0") - { - v_msg="Pas de primes! souhaitez-vous recalculer les primes?"; - v_msgEng="No premiums! do you want to recalculate the premiums?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - return; - } - - v_msg="Notez que vous avez accepté l\'incorporation sans primes!"; - v_msgEng="Note that you accepted the incorporation without premium!"; - alert_ebene(v_msg, v_msgEng); - } - - v_msg="Confirmez-vous l\'incorporation de cette liste?"; - v_msgEng="Do you confirm the incorporation of this list?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste_assure_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/incorpoerassuresimportes/", - type: 'POST', - // data: donnees, - success: function(data) { - v_msg="Incorporation terminée avec succès!"; - v_msgEng="Incorporation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - afficher_police_id(); - } - }); - } -} - -function ajouter_tous_adherent_importe_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - v_msg="Attention, cela va vider tous les autres collèges! Confirmez-vous?"; - v_msgEng="Be careful, this will empty all other colleges! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutertousadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); - } -} - -function ajouter_sans_college_adherent_importe_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - v_msg="Attention! Confirmez-vous cette opération?"; - v_msgEng="Warning! Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutersanscollegeadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); - } -} - - -function retirer_tous_adherent_importe_college() -{ - idCollege=$("#idCollege").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idCollege='+idCollege; - - v_msg="Attention, cela va vider ce collège! Confirmez-vous?"; - v_msgEng="Attention, this will empty this college! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/retirertousadherentaucollege/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_adherent_importee(); - } - }); - } -} - -function maj_etape_3_import_assures() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/majetape/", - type: 'POST', - success: function(data) - { - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - // window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - afficher_liste_assures_a_importer(); - } - }); -} - -function retour_tarifs_medicaments() -{ - window.location.assign($("#racineWeb" ).val()+"Tarifsmedicaments/"); -} - -function creer_tarif_medicaments() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifmedicament/creertarifmedicaments/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - //$('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_tarifs_medicaments(); - } - }); - } -} - -function modifier_tarif_medicaments(idTarif) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiertarifmedicament/"+idTarif+"/"); -} - -function enregistrer_modif_tarif_medicaments() -{ - idTarif = $("#idTarif").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idTarif='+idTarif+'&libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifmedicament/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_medicaments(); - } - }); - } -} - - -function lister_tarif_medicaments() -{ - window.location.assign($("#racineWeb" ).val()+"Listetarifmedicament/"); -} - -function supprimer_tarif_medicaments(idTarif) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifmedicament/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_medicaments(); - } - }); - } -} - -function importer_tarif_medicaments(idTarif) -{ - v_msg="En cours!"; - v_msgEng="In progress!"; - alert_ebene(v_msg, v_msgEng); - - // return; - - // window.location.assign($("#racineWeb" ).val()+"Importertarifmedicament/"+idTarif+"/"); -} - -function exporter_modele_tarif_medicament() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_tarif'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function charger_fichier_modele_tarif_medicament() -{ - $('#div_exporter_tarif').html(""); - - $('#div_form_upload').show(); - - // return; -} - -function importer_modele_tarif_medicament() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idTarif=$("#idTarif").val(); - codeTarifMedicament=$("#codeTarifMedicament").val(); - cheminFichier=$("#cheminFichier").val(); - - donnees = 'idTarif='+idTarif+'&codeTarifMedicament='+codeTarifMedicament+'&cheminFichier='+cheminFichier; - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_tarif'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - div_export.html(''); - - succes_impot_execl=$("#succes_impot_execl").val(); - - if (succes_impot_execl == "1") - { - maj_etape_3_import_medicaments(); - } - } - }); -} - -function change_categorie_college_temp() -{ - codeProduit = $('#codeProduit').val(); - - if($('#codeProduit').val()<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - $('#codeProduit').focus(); - return; - } - - donnees = 'codeProduit='+codeProduit; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchangecategorie/changecategorie/", - type: 'POST', - data: donnees, - success: function(data) - { - // $("#div_test_gabarit").html(data); - $("#div_prime_categorie").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - $plafondAdherent = $('#plafondAdherentInfo').val(); - $plafondBeneficiaire = $('#plafondBeneficiaireInfo').val(); - $('#plafondAdherent').val($plafondAdherent); - $('#plafondBeneficiaire').val($plafondBeneficiaire); - - maj_college(); - } - }); -} - - -function traiter_medicaments_importes() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etape3=$("#etape3").val(); - - if (etape3 != "1") - { - v_msg="Etape 3 incomplète!"; - v_msgEng="Incomplete step 3!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Listeimporttarifmedicament/"); -} - - -function maj_etape_3_import_medicaments() -{ - idTarif=$("#idTarif").val(); - - donnees = 'idTarif='+idTarif; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/majetape/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - window.location.assign($("#racineWeb" ).val()+"Listeimporttarifmedicament/"); - } - }); -} - -function retour_importer_tarif_medicaments() -{ - idTarif=$("#idTarif").val(); - - importer_tarif_medicaments(idTarif); -} - -function incorporer_medicaments_inmportes() -{ - nb_ligne_med=$("#nb_ligne_med").val(); - - if (nb_ligne_med==0) - { - v_msg="Rien à importer!"; - v_msgEng="Nothing to import!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous l\'incorporation de cette liste?"; - v_msgEng="Do you confirm the incorporation of this list?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste_medicament_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximportertarifmedicament/incorporermedicamentsimportes/", - type: 'POST', - // data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - lister_tarif_medicaments(); - } - }); - } -} - -function controle_bornes_primes() -{ - primeFamille = $("#primeFamille").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - - primeFamille = parseInt(primeFamille); - primeMin = parseInt(primeMin); - primeMax = parseInt(primeMax); - - if((primeMin>0) && (primeFamille0) && (primeFamille>primeMax)) - { - v_msg="Attention, prime maximum catégorie => " + primeMax.toLocaleString(); - v_msgEng="Warning, premium maximum category => " + primeMax.toLocaleString(); - alert_ebene(v_msg, v_msgEng); - - return; - } - -} - -function modifier_produit(idProduit) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierproduit/"+idProduit+"/"); -} - -function supprimer_produit(idProduit) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveauproduit/supprimer/", - type : 'post', - data: "idProduit="+idProduit, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_produits(); - } - }); - } -} - -function creer_produit() -{ - codeProduit = $("#codeProduit").val(); - - if(codeProduit<=" ") - { - v_msg="Veuillez indiquer un code!"; - v_msgEng="Please enter a code!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProduit").focus(); - return; - } - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'codeProduit='+codeProduit+'&libelle='+libelle; - - primeFamille = $("#primeFamille").val(); - primeIndividu = $("#primeIndividu").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - donnees += '&primeFamille='+primeFamille; - donnees += '&primeIndividu='+primeIndividu; - donnees += '&primeMin='+primeMin; - donnees += '&primeMax='+primeMax; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveauproduit/creerproduit/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - retour_liste_produits(); - } - }); - } -} - -function retour_liste_produits() -{ - window.location.assign($("#racineWeb" ).val()+"Produits/"); -} - -function enregistrer_modif_produit() -{ - idProduit = $("#idProduit").val(); - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idProduit='+idProduit+'&libelle='+libelle; - - primeFamille = $("#primeFamille").val(); - primeIndividu = $("#primeIndividu").val(); - primeMin = $("#primeMin").val(); - primeMax = $("#primeMax").val(); - - donnees += '&primeFamille='+primeFamille; - donnees += '&primeIndividu='+primeIndividu; - donnees += '&primeMin='+primeMin; - donnees += '&primeMax='+primeMax; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveauproduit/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_produits(); - } - }); - } -} - -function modifier_reseau(idReseau) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierreseausoins/"+idReseau+"/"); -} - -function supprimer_reseau(idReseau) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveaureseau/supprimer/", - type : 'post', - data: "idReseau="+idReseau, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_reseaus(); - } - }); - } -} - -function creer_reseau() -{ - codeReseau = $("#codeReseau").val(); - - if(codeReseau<=" ") - { - v_msg="Veuillez indiquer un code!"; - v_msgEng="Please enter a code!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeReseau").focus(); - return; - } - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'codeReseau='+codeReseau+'&libelle='+libelle; - - tm = $("#tm").val(); - - donnees += '&tm='+tm; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveaureseau/creerreseau/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - retour_liste_reseaus(); - } - }); - } -} - -function retour_liste_reseaus() -{ - window.location.assign($("#racineWeb" ).val()+"Reseausoins/"); -} - -function enregistrer_modif_reseaus() -{ - idReseau = $("#idReseau").val(); - - libelle = $("#libelle").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le libellé!"; - v_msgEng="Please enter the label!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idReseau='+idReseau+'&libelle='+libelle; - - tm = $("#tm").val(); - - donnees += '&tm='+tm; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveaureseau/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_liste_reseaus(); - } - }); - } -} - -function afficher_reseau_categorie() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - var div_attente = $('#div_produitreseau'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/afficherreseaucategorie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_reseaus_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Attention, cela va rendre tous les réseaux accessibles pour cette catégorie! Confirmez-vous?"; - v_msgEng="Be careful, this will make all networks accessible for this category! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/ajoutertousreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); - } -} - -function ajouter_un_reseau_produit(codeReseau) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeReseau='+codeReseau; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/ajouterunreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); -} - -function retirer_tous_reseau_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Attention, cela va vider cette catégorie! Confirmez-vous?"; - v_msgEng="Be careful, this will empty this category! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/retirertousreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); - } -} - -function maj_tm_produit_reseau(codeReseau, tm) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeReseau='+codeReseau+"&tm="+tm; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/majtm/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function retirer_un_reseau_produit(codeReseau) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeReseau='+codeReseau; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxproduitreseau/retirerunreseauproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_reseau_categorie(); - } - }); -} - -function afficher_facturation_police() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_page_complet").html(data); - }, - complete: function() { - } - }); -} - -function select_tous_beneficiaire_a_facturer(p_choix) -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'choix='+p_choix+'&debut='+debut+'&fin='+fin; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/selectionnertoutlignesafacturer/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); -} - -function select_beneficiaire_a_facturer(p_choix, idBeneficiairePrimeTemp) -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'idBeneficiairePrimeTemp='+idBeneficiairePrimeTemp; - donnees += '&choix='+p_choix+'&debut='+debut+'&fin='+fin; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/selectionner/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_entete_prime_a_facture").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function lancer_facturation_police() -{ - nblignes_a_facturer=$("#nblignes_a_facturer").val(); - - if (nblignes_a_facturer=="0") - { - v_msg="Rien à facturer!"; - v_msgEng="Nothing to charge!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette sélection?"; - v_msgEng="Do you confirm this selection?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_bouton_selection").html(""); - $("#div_detail_prime_a_facture").html(""); - - $("#div_echeancier").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/initecheancierfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error: function(data) - { - }, - complete: function() { - afficherecheancierfacturation_temp(); - } - }); - } -} - -// -function ajax_init_echancier_temp() -{ - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/getnbecheancier/", - type : 'post', - data: "codeTypeEcheancier="+$("#codeTypeEcheancier").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infonbEcheance").html(data); - }, - complete: function() { - $("#nbEcheance").val( $("#nbEcheance_info").val()); - ajax_maj_echancier_temp(); - } - }); -} - -function ajax_maj_echancier_temp() -{ - codeTypeEcheancier = $("#codeTypeEcheancier").val(); - nbEcheance = $("#nbEcheance").val(); - tauxInteret = $("#tauxInteret").val(); - - donnees = "codeTypeEcheancier="+codeTypeEcheancier+"&nbEcheance="+nbEcheance+"&tauxInteret="+tauxInteret; - - // alert(donnees); - // return; - - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majecheancier/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() { - afficherecheancierfacturation_temp(); - } - }); -} - -function ajax_maj_date_echancier_temp(idEcheancier, datePaiement) -{ - donnees = "idEcheancier="+idEcheancier+"&datePaiement="+datePaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majdatepaiement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() - { - } - }); -} - -function ajax_maj_taux_echancier_temp(idEcheancier, tauxEcheance) -{ - nbEcheance = $("#nbEcheance").val(); - - donnees = "idEcheancier="+idEcheancier+"&tauxEcheance="+tauxEcheance+"&nbEcheance="+nbEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majtauxecheance/", - type : 'post', - data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - }, - complete: function() - { - afficherecheancierfacturation_temp(); - } - }); -} - -function ajax_maj_lib_echancier_temp(idEcheancier, libelleEcheance) -{ - donnees = "idEcheancier="+idEcheancier+"&libelleEcheance="+libelleEcheance; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majlibelle/", - type : 'post', - data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - }, - complete: function() - { - } - }); -} - -function valider_facturation_police() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - v_msg="Confirmez-vous cet échéancier?"; - v_msgEng="Do you confirm this payment schedule?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/enregistrer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Facturation terminée avec succès!"; - v_msgEng="Billing successfully completed!"; - alert_ebene(v_msg, v_msgEng); - - afficher_police_id(); - } - }); - } -} - -function afficherecheancierfacturation_temp() -{ - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/afficherecheancierfacturation/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_echeancier").html(data); - }, - complete: function() - { - $(".datepicker" ).datepicker(); - } - }); -} - -// 29/03/2019 -function requetes_factures_verif_gc() -{ - $('#div_export_a').html(""); - - donnees = ""; - donnees_retour = ""; - - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefactureverifgc/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function requetes_factures_gc_verif_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefactureverifgcexport/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// 31/03/2019 => Rapport SP par police dans un meme exercice - -function etat_rapport_sp_exercice() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_exercice_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function afficher_detail_stat_police_exercice(idPolice, debutSinistre, finSinistre) -{ - $('#div_export_b').html(""); - $("#idPolice").val(idPolice); - $("#debutSinistre").val(debutSinistre); - $("#finSinistre").val(finSinistre); - /* - $("#emailRapport").val(emailRapport); - $("#emailRapport_0").val(emailRapport); - */ - $("#btn_pop_detail").click(); -} - -function charger_detail_stat_police_facture_exercice_pdf() -{ - $('#div_export_b').html(""); - - idPolice = $("#idPolice").val(); - debutSinistre = $("#debutSinistre").val(); - finSinistre = $("#finSinistre").val(); - - donnees = "idPolice="+idPolice+"&debutSinistre="+debutSinistre+"&finSinistre="+finSinistre; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureexercicepdf/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function charger_detail_stat_police_facture_exercice() -{ - $('#div_export_b').html(""); - - idPolice = $("#idPolice").val(); - debutSinistre = $("#debutSinistre").val(); - finSinistre = $("#finSinistre").val(); - - donnees = "idPolice="+idPolice+"&debutSinistre="+debutSinistre+"&finSinistre="+finSinistre; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspfactureexercice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function sinistres_a_prime_police() -{ - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsppolice/police/", - type: 'POST', - success: function(data) { - $("#div_detail_sp").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function sinistres_a_prime_categorie() -{ - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsppolice/categorie/", - type: 'POST', - success: function(data) { - $("#div_detail_sp").html(data); - }, - error: function(data) { - }, - complete: function() { - return; - } - }); -} - -function sinistres_a_prime_college() -{ - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsppolice/college/", - type: 'POST', - success: function(data) { - $("#div_detail_sp").html(data); - }, - error: function(data) { - }, - complete: function() { - return; - } - }); -} - -function maj_libelle_college() -{ - libelleCollege = $("#libelleCollege").val(); - - $("#btn_pop_lib_college").click(); -} - -function enregistrer_maj_libelle_college() -{ - libelleCollege = $("#libelleCollege").val(); - - nouvLibelleCollege = $("#nouvLibelleCollege").val(); - - libelleCollege = libelleCollege.trim(); - nouvLibelleCollege = nouvLibelleCollege.trim(); - - if(libelleCollege==nouvLibelleCollege) - { - v_msg="Aucune modification!!"; - v_msgEng="No modification!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(nouvLibelleCollege<=" ") - { - v_msg="Veuillez saisir le nouveau libellé!"; - v_msgEng="Please enter the new label!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous cette modification?"; - v_msgEng="Do you confirm this change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "nouvLibelleCollege="+nouvLibelleCollege; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmajlibellecollege/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#libelleCollege").val(nouvLibelleCollege); - $("#ancLibelleCollege").val(nouvLibelleCollege); - }, - complete: function() - { - $("#btn_close_pop_maj_libelle").click(); - } - }); - } -} - -// 06/04/2019 -function changer_langue() -{ - codeLangue = $("#codeLangue").val(); - - v_msg="Confirmez-vous le changement de langue?"; - v_msgEng="Do you confirm the language change?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxchangerlangue/changerlangue/", - type : 'post', - // data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - // $("#div_test_gabarit").html(data); - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Connexion/deconnecter/"); - } - }); - } -} - -function envoyersms(p_destinataires, p_message, creation_message) -{ - if(creation_message=="1") - { - envoyer_messagerie(p_message, "0"); - } - - envoismsactif = $("#envoismsactif").val(); - if(envoismsactif=="0") - { - return; - } - - if(p_destinataires.length<5) - { - /* - v_msg="SMS => Pas de destintaire!"; - v_msgEng="SMS => No recipient!"; - - alert_ebene(v_msg, v_msgEng); - */ - - return; - } - - fournisseurSms = $("#fournisseurSms").val(); - - if (fournisseurSms<=" ") - { - v_msg="Fournisseur de SMS non défini!"; - v_msgEng="SMS provider not defined!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - if(fournisseurSms=="esicia") - { - ajouter_sms_attente(p_destinataires, p_message); - return; - } - else - if(fournisseurSms=="blive") - { - ajouter_sms_attente(p_destinataires, p_message); - return; - } - else - if(fournisseurSms=="hooza") - { - ajouter_sms_attente(p_destinataires, p_message); - return; - } - else - { - v_msg=fournisseurSms+" => Fournisseur de SMS inconnu!"; - v_msgEng=fournisseurSms+" => Unknown SMS Provider!"; - alert_ebene(v_msg, v_msgEng); - return; - } -} - -function ajouter_sms_attente(p_destinataires, p_message) -{ - donnees = "destinataires="+p_destinataires+"&message="+p_message; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsmsattente/ajouter/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error: function(errdata) - { - }, - complete: function() - { - } - }); -} - -function ajouter_sms_attente_singleton(p_destinataires, p_message) -{ - donnees = "destinataires="+p_destinataires+"&message="+p_message; - - var addr = p_destinataires.split(","); - - addr.forEach(function(element) - { - p_dest = element; - - if(p_dest.length>4) - { - donnees = "destinataires="+p_dest+"&message="+p_message; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsmsattente/ajouter/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } - else - { - v_msg=p_dest+" => Mauvais format!"; - v_msgEng=p_dest+" => wrong phone format!"; - alert_ebene(v_msg, v_msgEng); - } - }); -} - -function tester_disponibiliter_sms() -{ - p_destinataires = $("#destinataires").val(); - if (p_destinataires<=" ") - { - v_msg="Veuillez saisir un destinataire!"; - v_msgEng="Please enter a recipient!"; - alert_ebene(v_msg, v_msgEng); - - $("#destinataires").focus(); - return; - } - - p_message = ""; - - fournisseurSms = $("#fournisseurSms").val(); - - if (fournisseurSms<=" ") - { - v_msg="Fournisseur de SMS non défini!"; - v_msgEng="SMS provider not defined!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - if(fournisseurSms=="esicia") - { - p_message = "Fournisseur : esicia "; - } - else - if(fournisseurSms=="blive") - { - p_message = "Fournisseur : blive "; - } - else - if(fournisseurSms=="hooza") - { - p_message = "Fournisseur : hooza "; - } - else - if(fournisseurSms=="skysms") - { - p_message = "Fournisseur : skysms "; - } - else - { - v_msg=fournisseurSms+" => Fournisseur de SMS inconnu!"; - v_msgEng=fournisseurSms+" => Unknown SMS Provider!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - // p_destinataires = "25761198584"; - // p_destinataires = "25761198584,25761198584"; - // p_destinataires = "25761198584,25769499899,25779969130,25779841895"; - // p_destinataires = "25769499899,25779969130,25779841895"; - // p_destinataires = "25761198584"; - - - donnees = "destinataires="+p_destinataires+"&message="+p_message+"&fournisseurSms="+fournisseurSms; - - alert(donnees); - // return; - - $("#div_test_gabarit").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtesterdisponiblitesms/envoyerlesms/", - type: 'POST', - data: donnees, - success: function(data) - { - alert("success "+data); - $('#div_test_gabarit').html(data); - }, - error: function(errdata) - { - alert("Error : "+errdata); - $('#div_test_gabarit').html(errdata); - }, - complete: function() - { - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - } - }); -} - -function ajouter_destinataire_sms_adherent(p_destinataires) -{ - envoismsactif = $("#envoismsactif").val(); - if(envoismsactif=="0") - { - return p_destinataires; - } - - smsAssure = $("#smsAssure").val(); - if(smsAssure=="0") - { - return p_destinataires; - } - - tel_adh = $("#telephonePortableAdherent").val(); - - if(tel_adh.length>4) - { - return p_destinataires+","+tel_adh; - } - - return p_destinataires; -} - -function ajouter_mail_attente(emailAdherent, p_objet_email_adh, p_messageemail_adh) -{ - donnees = "email="+emailAdherent+"&objet="+p_objet_email_adh+"&message="+p_messageemail_adh; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxsmailadhattente/ajouter/", - type: 'POST', - data: donnees, - success: function(data) - { - }, - error: function(errdata) - { - }, - complete: function() - { - } - }); -} - -function maj_acess_facturation() -{ - alert("maj_acess_facturation"); - return; - /* - nv_access=$("#nv_access").val(); - if(isNaN(nv_access)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access==0) - { - v_msg="Attention! Confirmez-vous les accessoires à zéro?"; - v_msgEng="Warning! Do you confirm the accessories at zero?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#nv_access").focus(); - return; - } - } - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'fraisCarte='+nv_access+'&debut='+debut+'&fin='+fin; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majaccessoiresfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#btn_close_pmaj_access").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); - */ -} - -function maj_cartes_facturation() -{ - nv_access=$("#nv_access").val(); - if(isNaN(nv_access)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_access").val("0"); - $("#nv_access").focus(); - return; - } - - if(nv_access==0) - { - v_msg="Attention! Confirmez-vous les accessoires à zéro?"; - v_msgEng="Warning! Do you confirm the accessories at zero?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#nv_access").focus(); - return; - } - } - - debut=$("#debut").val(); - fin=$("#fin").val(); - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Reset the counts. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'fraisCarte='+nv_access+'&debut='+debut+'&fin='+fin; - - // alert(donnees); - // return; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majaccessoiresfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#btn_close_pmaj_access").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); - } - -} - - -function maj_prime_base_facturation() -{ - idCollege=$("#idCollege").val(); - if(idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - $("#idCollege").focus(); - - return; - } - - old_primeNette=$("#old_primeNette").val(); - if(isNaN(old_primeNette)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#old_primeNette").val("0"); - $("#old_primeNette").focus(); - return; - } - - if(old_primeNette<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#old_primeNette").val("0"); - $("#old_primeNette").focus(); - return; - } - - - if(old_primeNette==0) - { - v_msg="Attention! Confirmez-vous la mise à jour des anciennes primes nulles?"; - v_msgEng="Warning! Do you confirm the update of old zero premium?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#old_primeNette").focus(); - return; - } - } - - // - - nv_primeNette=$("#nv_primeNette").val(); - if(isNaN(nv_primeNette)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_primeNette").val("0"); - $("#nv_primeNette").focus(); - return; - } - - if(nv_primeNette<"0") - { - v_msg="Veuillez saisir une valeur!"; - v_msgEng="Please enter a value!"; - alert_ebene(v_msg, v_msgEng); - - $("#nv_primeNette").val("0"); - $("#nv_primeNette").focus(); - return; - } - - if(nv_primeNette==0) - { - v_msg="Attention! Confirmez-vous les primes à zéro?"; - v_msgEng="Warning! Do you confirm the premium at zero?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - $("#nv_primeNette").focus(); - return; - } - } - - if(nv_primeNette==old_primeNette) - { - v_msg="Veuillez revoir vos primes!"; - v_msgEng="Please review your premiums!"; - - alert_ebene(v_msg, v_msgEng); - - return; - } - - debut=$("#debut").val(); - fin=$("#fin").val(); - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Reset the counts. Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idCollege='+idCollege+'&old_primeNette='+old_primeNette+'&nv_primeNette='+nv_primeNette+'&debut='+debut+'&fin='+fin; - - $("#div_page_complet").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/majprimesfacturation/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#btn_close_pmaj_prime").click(); - }, - error: function(data) { - }, - complete: function() { - afficher_facturation_police(); - } - }); - } -} - -function desactiver_click_droit() -{ - if (document.addEventListener) { - document.addEventListener('contextmenu', function (e) { - e.preventDefault(); - }, false); - } else { - document.attachEvent('oncontextmenu', function () { - window.event.returnValue = false; - }); - } -} - -function requetes_factures(p_chrono) -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - donnees += '&chrono=' + p_chrono; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function requetes_factures_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxrequete"+codeRequete+"export/"; - - codePrestataire = $("#codePrestataire").val(); - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codePrestataire=' + codePrestataire; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ajouter_tous_medecins_prestataire() -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire; - - v_msg="Attention, cela va ajouter tous les médecins disponibles pour ce prestataire! Confirmez-vous?"; - v_msgEng="Be careful, this will add all the doctors available for this provider! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/ajoutertousmedecinsprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - - -function retirer_tous_medecins_prestataire() -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire; - - v_msg="Attention, cela va vider ce prestataire de tous ces médecins! Confirmez-vous?"; - v_msgEng="Be careful, this will empty this provider of all these doctors! Do you confirm?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/retirertousmedecinsprestataire/", - type: 'POST', - data: donnees, - success: function(data) - { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) - { - }, - complete: function() - { - } - }); - } -} - -function ajouter_un_medecin_prestataire(codeMedecin) -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeMedecin='+codeMedecin; - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/ajouterunmedecinprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() - { - } - }); -} - -function retirer_un_medecin_prestataire(codeMedecin) -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire+'&codeMedecin='+codeMedecin; - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/retirerunmedecinprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() - { - } - }); -} - - -function enregistrer_new_notes() -{ - notesNew = $("#notesNew").val(); - notesNew = notesNew.trim(); - - if (notesNew<=" ") - { - v_msg="Veuillez saisir la note!"; - v_msgEng="Please enter the note!"; - alert_ebene(v_msg, v_msgEng); - - $("#notesNew").focus(); - return; - } - - donnees = 'notesNew='+notesNew; - - v_msg="Confirmez-vous cette note?"; - v_msgEng="Do you confirm this note?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesfeuillemaladie/creernote/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#btn_pop_note_new_quit").click(); - }, - complete: function() { - afficher_notes_feuille(); - } - }); - } -} - -function afficher_notes_feuille() -{ - $("#div_notes").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesfeuillemaladie/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_notes").html(donnees_retour); - } - }); -} - -function initiernotesfeuille() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesfeuillemaladie/nouvellenote/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_note_new").html(data); - }, - complete: function() { - $("#btn_pop_note_new").click(); - } - }); -} - - -function afficher_medecins_prestataire() -{ - codePrestataire=$("#codePrestataire").val(); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codePrestataire='+codePrestataire; - - $("#div_medecins_prestataire").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinsprestataire/ajouterunmedecinprestataire/", - type: 'POST', - data: donnees, - success: function(data) { - $('#div_medecins_prestataire').html(data); - }, - error: function(data) { - }, - complete: function() - { - } - }); -} - - -function initier_gc_frais_gestion() -{ - codeGcAssureur=$("#codeGcAssureur").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeMois").focus(); - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_liste_entete_gc_frais_gestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/initiergcfraisgestion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#inforegle").html(data); - }, - complete: function() - { - regle=$("#regle").val(); - - if(regle==-1) - { - v_msg="Problème lors de l\'initialisation!"; - v_msgEng="Problem during initialization!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - else if(regle==0) - { - affichergcfraisgestion(); - } - else - { - consultergcfraisgestion(); - } - } - }); -} - -function affichergcfraisgestion() -{ - window.location.assign($("#racineWeb" ).val()+"Gcfraisgestion/"); -} - -function re_affichergcfraisgestion() -{ - $("#detail_reglement").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - affichergcfraisgestion(); -} - -function rechargergcfraisgestion() -{ - $("#div_detail_fraisgestion").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/rechargergcfraisgestion/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - $("#div_detail_fraisgestion").html(''); - - v_msg="Rechargement terminé avec succès!"; - v_msgEng="Reloading completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_detail_gcfraisgestion(); - } - }); -} - -function consultergcfraisgestion() -{ -} - -function afficher_detail_gcfraisgestion() -{ - var div_wait = $('#div_detail_fraisgestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/affichergcfraisgestion/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - $("#div_fraisgestion").html(data); - }, - complete: function() - { - } - }); -} - -function cumul_gc_frais_gestion_par_client() -{ - var div_wait = $('#div_detail_fraisgestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/affichergcfraisgestioncumul/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - $("#div_fraisgestion").html(data); - }, - complete: function() - { - } - }); -} - -function lister_entete_gc_frais_gestion() -{ - codeGcAssureur=$("#codeGcAssureur").val(); - codeExercice=$("#codeExercice").val(); - codeMois=$("#codeMois").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeExercice='+codeExercice; - - var div_wait = $('#div_liste_entete_gc_frais_gestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/listeentetegcfraisgestion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - div_wait.html(data); - }, - complete: function() - { - } - }); -} - -function initier_gc_frais_gestion_sel(codeMois, regle) -{ - codeGcAssureur=$("#codeGcAssureur").val(); - codeExercice=$("#codeExercice").val(); - - if (codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - if (codeExercice<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeExercice").focus(); - return; - } - - if (codeMois<=" ") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeExercice='+codeExercice+'&codeMois='+codeMois; - - var div_wait = $('#div_liste_entete_gc_frais_gestion'); - div_wait.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcfraisgestion/initiergcfraisgestion/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() - { - if(regle==0) - { - affichergcfraisgestion(); - } - else - { - consultergcfraisgestion(); - } - } - }); -} - -function recharger_frais_gestion_gc_non_sel() -{ - $("#detail_facture").html(''); - - codeGcAssureur = $("#codeGcAssureur").val(); - - donnees = 'codeGcAssureur=' + codeGcAssureur; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function reafficher_frais_gestion_gc_non_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_frais_gestion_gc() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_frais_gestion_gc_non_sel(); - } - }); -} - -function selectionner_frais_gestion_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_frais_gestion_gc_non_sel(); - } - }); -} - - -function selectionner_frais_gestion_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcnonsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function recharger_frais_gestion_gc_sel() -{ - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/"; - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - } - }); -} - -function reafficher_frais_gestion_gc_sel() -{ - $("#detail_facture").html(''); - - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/reafficher/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#detail_facture").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function valider_selection_frais_gestion_gc_sel() -{ - $("#detail_facture").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/validerselection"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#reglement_gc").html(data); - // $(".datepicker" ).datepicker(); - }, - complete: function() { - $("#detail_facture").html(''); - - v_msg="Validation terminée avec succès!"; - v_msgEng="Validation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - reafficher_frais_gestion_gc_sel(); - } - }); -} - -function selectionner_frais_gestion_sel_gc(idCarteTemp, choix) -{ - donnees = 'idCarteTemp='+idCarteTemp+'&choix='+choix; - - if(choix==0) - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/deselectionner/"; - } - else - { - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/selectionner/"; - } - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function selectionner_frais_gestion_sel_gc_tout(choix) -{ - donnees = 'choix='+choix; - - v_url = $("#racineWeb").val()+"Ajaxfraisgestiongcsel/selectionnertout/"; - - $.ajax({ - url: v_url, - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - reafficher_frais_gestion_gc_sel(); - } - }); -} - -function charger_frais_gestion_mois_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfraisgestiongcpdf/", - - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_mois_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfraisgestiongcxls/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_souscripteur_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcsouscripteurpdf/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_souscripteur_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcsouscripteurxls/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function charger_frais_gestion_detail_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcdetailpdf/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_frais_gestion_detail_xls() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfraisgestiongcdetailxls/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_synthese_gc_pdf() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - // url: $("#racineWeb").val()+"Ajaxdetailfraisgestiongcpdf/", - url: $("#racineWeb").val()+"Ajaxsynthsegcpdf/", - - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function charger_synthese_gc_xls() -{ -} - -function remplacer_adherent() -{ - nbAdh = $("#nbAdh_C").val(); - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if ( (codeTypeContrat!="G") && (nbAdh>0) ) - { - v_msg="Ce n\'est pas une police GROUPE!"; - v_msgEng="This is not a GROUP policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#idAdherent_C" ).val()<= " ") - { - v_msg="Veuillez sélectionner une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - remplacementAdherent=$("#remplacementAdherent").val(); - if (remplacementAdherent!="1") - { - v_msg="Remplacement de famille non actif pour cette police!"; - v_msgEng="Family replacement inactive for this policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - remplace=$("#remplace").val(); - remplacant=$("#remplacant").val(); - - if (remplacant=="1") - { - if (remplace=="1") - { - v_msg="Famille déjà remplacée!"; - v_msgEng="Family already replaced!"; - alert_ebene(v_msg, v_msgEng); - - consulter_remplacement_adherent(); - } - else - { - v_msg="Cette famille en a déjà remplacé une autre, confirmez-vous son remplacement à son tour?"; - v_msgEng="This family has already replaced another, do you confirm its replacement in turn?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - fiche_remplacer_adherent(); - } - else - { - consulter_remplacant_adherent(); - } - } - } - else - if (remplace=="1") - { - v_msg="Famille déjà remplacée!"; - v_msgEng="Family already replaced!"; - alert_ebene(v_msg, v_msgEng); - - consulter_remplacement_adherent(); - } - else - { - fiche_remplacer_adherent(); - // window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/"); - } -} - -function init_remplacement_adherent() -{ - dateSortieAdh = $("#dateSortieAdh").datepicker("getDate"); - dateRemplacement = $("#dateRemplacement").datepicker("getDate"); - - dateEffetPolice = $("#dateEffetPolice_C").val(); - - dateEffetAdherent = $("#dateEffetAdherent").val(); - - dateEcheancePolice = $("#dateEcheancePolice_C").val(); - - var td0 = new Date(dateEffetAdherent); - var td1 = new Date(dateSortieAdh); - var td11 = new Date(dateRemplacement); - var td2 = new Date(dateEcheancePolice); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dt11=Math.round(Date.parse(td11)/(1000*3600*24)); - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); - - if (td11<=td1) - { - v_msg="Attention! Veuiilez revoir vos dates!"; - v_msgEng="Warning! Please review your dates!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - - if (dt1>dt2 || dt1"2000-01-01") - { - var tdd = new Date(dateSortieAdherent); - dtd=Math.round(Date.parse(tdd)/(1000*3600*24)); - - if (dt1>dtd) - { - v_msg="Attention! cette personne n'est pas couverte à cette date!"; - v_msgEng="Warning! This person is not valid on this date!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - } - */ - - etatRetrait = $("#etatRetrait").val(); - dateRetrait = $("#dateRetrait").val(); - ristourneRetrait = $("#ristourneRetrait").val(); - ristourneRetrait = parseInt(ristourneRetrait); - - if(etatRetrait=="R" && ristourneRetrait<0) - { - v_msg="Attention! cette personne a été retirée avec une ristourne!"; - v_msgEng=" Warning! this person was withdrawn with premium!"; - alert_ebene(v_msg, v_msgEng); - return false; - } - - motifavenant=$("#motifavenant").val(); - - if ($("#motifavenant").val()<" ") - { - v_msg="Veuillez fournir le motif!"; - v_msgEng="Please provide the reason"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - dateS = $("#dateSortieAdh").val(); - dateR = $("#dateRemplacement").val(); - - fraisCarte = $("#fraisCarte").val(); - - donnees = 'dateSortie='+dateS+'&dateRemplacement='+dateR+'&motifavenant='+motifavenant+'&fraisCarte='+fraisCarte; - - $("#div_remplacement_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxremplaceradherent/init/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#div_remplacement_adherent").html(data); - }, - complete: function() { - $(".datepicker" ).datepicker(); - } - }); -} - -function enregistrer_remplacement_adherent() -{ - nom = $("#nom").val(); - if ($("#nom").val()<" ") - { - v_msg="Veuillez saisir le nom de famille!"; - v_msgEng="Please enter the last name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - prenoms = $("#prenoms").val(); - if ($("#prenoms").val()<" ") - { - v_msg="Veuillez saisir le prénom!"; - v_msgEng="Please enter the first name!"; - alert_ebene(v_msg, v_msgEng); - - $("#prenoms").focus(); - return; - } - - codeNaturePiece = $("#codeNaturePiece").val(); - if ($("#codeNaturePiece").val()<" ") - { - v_msg="Veuillez saisir la nature de pièce d\'identité!"; - v_msgEng="Please enter the nature of ID!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeNaturePiece").focus(); - return; - } - - numeroPiece = $("#numeroPiece").val(); - if ($("#numeroPiece").val()<" ") - { - v_msg="Veuillez saisir le No de la pièce d\'identité!"; - v_msgEng="Please enter the ID number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroPiece").focus(); - return; - } - - sexe = $("#sexe").val(); - if ($("#sexe").val()<" ") - { - v_msg="Veuillez saisir le sexe!"; - v_msgEng="Please enter the sex!"; - alert_ebene(v_msg, v_msgEng); - - $("#sexe").focus(); - return; - } - - dateNaissance = $("#dateNaissance").val(); - if ($("#dateNaissance").val()<" ") - { - v_msg="Veuillez saisir la date de naissance!"; - v_msgEng="Please enter the date of birth!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateNaissance").focus(); - return; - } - - codeGroupeSanguin = $("#codeGroupeSanguin").val(); - if ($("#codeGroupeSanguin").val()<" ") - { - v_msg="Veuillez saisir le groupe sanguin!"; - v_msgEng="Please enter the blood type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGroupeSanguin").focus(); - return; - } - - codeSituationFamille = $("#codeSituationFamille").val(); - if ($("#codeSituationFamille").val()<" ") - { - v_msg="Veuillez saisir la situation familiale!"; - v_msgEng="Please enter the family situation!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSituationFamille").focus(); - return; - } - - nombreEnfants = $("#nombreEnfants").val(); - adresseGeo = $("#adresseGeo").val(); - adressePostale = $("#adressePostale").val(); - - codePays = $("#codePays").val(); - if ($("#codePays").val()<" ") - { - v_msg="Veuillez indiquer le pays!"; - v_msgEng="Please indicate the country!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePays").focus(); - return; - } - - telephonFixe = $("#telephonFixe").val(); - telephonePortable = $("#telephonePortable").val(); - email = $("#email").val(); - - fraisCarte = $("#fraisCarte").val(); - - donnees = 'nom='+nom+'&prenoms='+prenoms+'&codeNaturePiece='+codeNaturePiece; - - donnees += '&numeroPiece='+numeroPiece+'&sexe='+sexe+'&dateNaissance='+dateNaissance; - - donnees += '&codeGroupeSanguin='+codeGroupeSanguin+'&codeSituationFamille='+codeSituationFamille+'&nombreEnfants='+nombreEnfants; - - donnees += '&adresseGeo='+adresseGeo+'&adressePostale='+adressePostale+'&codePays='+codePays; - - donnees += '&telephonFixe='+telephonFixe+'&telephonePortable='+telephonePortable+'&email='+email+'&fraisCarte='+fraisCarte; - - v_msg="Confirmez-vous le remplacement de famille?"; - v_msgEng="Do you confirm family replacement?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $("#div_remplacement_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxremplaceradherent/enregistrerremplacementadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - consulter_remplacement_adherent(); - } - }); - } -} - -function consulter_remplacement_adherent() -{ - idAdherent = $("#idAdherent_C" ).val(); - - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Remplaceradherentcons/"); - } -} - -function consulter_remplacant_adherent() -{ - idAdherent = $("#idAdherent_C" ).val(); - - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Remplaceradherentcons/remplacant/"); - } -} - - -function fiche_remplacer_adherent() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/"); -} - -function ajaxListerVilleConsultation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxville/consultation/", - type : 'post', - data: "codePays="+$("#codePays").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listeville").html(data); - }, - complete: function() { - } - }); -} - -function ajaxListerLocaliteConsultation() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocalite/consultation/", - type : 'post', - data: "codePays="+$("#codePays").val()+"&codeVille="+$("#codeVille").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listelocalite").html(data); - } - }); -} - -function imprimer_feuille_maladie() -{ - /* - - facture=$("#facture").val(); - - if (facture!=1) - { - v_msg="Pas encore facturée!"; - v_msgEng="Not yet charged!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - */ - - donnees_retour = ""; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerfeuillemaladie/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_export_a").html(donnees_retour); - $("#btn_imprimer_feuille_maladie").click(); - } - }); -} - -function enregistrer_modif_parametres_prod() -{ - idSocieteuser = $("#idSocieteuser").val(); - donnees = 'idSocieteuser='+idSocieteuser; - - spMax = $("#spMax").val(); - fraisCarteAN = $("#fraisCarteAN").val(); - donnees += '&spMax='+spMax+'&fraisCarteAN='+fraisCarteAN; - - fraisCarteREN = $("#fraisCarteREN").val(); - fraisCarteImp = $("#fraisCarteImp").val(); - spAlertAdherent = $("#spAlertAdherent").val(); - donnees += '&fraisCarteREN='+fraisCarteREN+'&fraisCarteImp='+fraisCarteImp+'&spAlertAdherent='+spAlertAdherent; - - tauxRistourne = $("#tauxRistourne").val(); - seuilRistourne = $("#seuilRistourne").val(); - donnees += '&tauxRistourne='+tauxRistourne+'&seuilRistourne='+seuilRistourne; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifprod/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_autres_parametresgeneraux(); - } - }); -} - -function afficher_autres_parametresgeneraux() -{ - window.location.assign($("#racineWeb" ).val()+"Autresparametresgeneraux/"); -} - -function controle_numerique_new(idControle, oldValue) -{ - controle = document.getElementById(idControle); - - valeur = controle.value; - - if(isNaN(valeur)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - controle.value=oldValue; - controle.focus(); - return false; - } - return true; -} - -function enregistrer_modif_parametres_sin() -{ - idSocieteuser = $("#idSocieteuser").val(); - donnees = 'idSocieteuser='+idSocieteuser; - - accesAjoutPh = $("#s_accesAjoutPh").val(); - ajoutPrescription = $("#s_ajoutPrescription").val(); - donnees += '&accesAjoutPh='+accesAjoutPh+'&ajoutPrescription='+ajoutPrescription; - - ajoutPrescriptionExam = $("#s_ajoutPrescriptionExam").val(); - envoismsactif = $("#s_envoismsactif").val(); - donnees += '&ajoutPrescriptionExam='+ajoutPrescriptionExam+'&envoismsactif='+envoismsactif; - - smsAssure = $("#s_smsAssure").val(); - smsmParFacture = $("#s_smsmParFacture").val(); - donnees += '&smsAssure='+smsAssure+'&smsmParFacture='+smsmParFacture; - - emailParFacture = $("#s_emailParFacture").val(); - copieSmsAssure = $("#s_copieSmsAssure").val(); - donnees += '&emailParFacture='+emailParFacture+'&copieSmsAssure='+copieSmsAssure; - - filtreMedecin = $("#s_filtreMedecin").val(); - nbMedicamentMax = $("#s_nbMedicamentMax").val(); - donnees += '&filtreMedecin='+filtreMedecin+'&nbMedicamentMax='+nbMedicamentMax; - - seuilAlerteActif = $("#s_seuilAlerteActif").val(); - donnees += '&seuilAlerteActif='+seuilAlerteActif; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifsin/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Mise à jour effectuée avec succès!"; - v_msgEng="Update done successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_autres_parametresgeneraux(); - } - }); - } -} - -function maj_duree_vie_bon(idTypebon, dureeVie) -{ - donnees = 'idTypebon='+idTypebon+'&dureeVie='+dureeVie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamdureeviebon/majdureevie/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function afficher_garantie_produit_cons() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - var div_attente = $('#div_garantieproduit'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/affichergarantieproduitcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function afficher_garantie_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - var div_attente = $('#div_garantieproduit'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/affichergarantieproduit/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_garantie_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/ajoutertousgarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); - } -} - -function retirer_tous_garantie_produit() -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/retirertousgarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); - } -} - -function retirer_un_garantie_produit(id_garantie_produit) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&idGarantieProduit='+id_garantie_produit; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/retirerungarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); -} - -function ajouter_un_garantie_produit(codeGarantie) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&codeGarantie='+codeGarantie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/ajouterungarantieproduit/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - afficher_garantie_produit(); - } - }); -} - -function maj_taux_seuil_alerte_garantie(id_garantie_produit, tauxSeuilAlerte) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProduit='+codeProduit+'&idGarantieProduit='+id_garantie_produit+"&tauxSeuilAlerte="+tauxSeuilAlerte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/majtauxseuilalertegarantie/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -function maj_seuil_alerte_garantie(id_garantie_produit, seuilAlerte) -{ - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez sélectionner une catégorie!"; - v_msgEng="Please select a category!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - - donnees = 'codeProduit='+codeProduit+'&idGarantieProduit='+id_garantie_produit+"&seuilAlerte="+seuilAlerte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/majseuilalertegarantie/", - type: 'POST', - data: donnees, - success: function(data) { - }, - complete: function(data) - { - } - }); -} - -// - -function requetes_synthese_consommation_police() -{ - v_url = $("#racineWeb").val()+"Ajaxsyntheseconsopolice/"; - - $("#div_detail_exp").html(''); - - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) - { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $("#div_detail_sp").html(donnees_retour); - } - }); -} - - -function requetes_synthese_consommation_police_export() -{ - v_url = $("#racineWeb").val()+"Ajaxsyntheseconsopolice/exportxls/"; - - $("#div_detail_exp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - error: function(errorData) - { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_exp').html(donnees_retour); - } - }); -} - -function modifier_type_bon(idTypebon) -{ - donnees = 'idTypebon='+idTypebon; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparambons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_maj_type_bon').html(donnees_retour); - } - }); -} - -function enregistrer_modif_type_bon() -{ - - idTypebon = $("#idTypebon").val(); - dureeVie = $("#dureeVie").val(); - codeGestionBon = $("#codeGestionBon").val(); - - if (dureeVie<="0") - { - v_msg="Veuillez donner une durée de vie au bon!"; - v_msgEng="Please give a lifetime to the form!"; - alert_ebene(v_msg, v_msgEng); - - $("#dureeVie").focus(); - return; - } - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un type de gestion!"; - v_msgEng="Please select a management type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - return; - } - - donnees = 'idTypebon='+idTypebon+'&dureeVie='+dureeVie+'&codeGestionBon='+codeGestionBon; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparambons/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Mis à jour avec succès!"; - v_msgEng="Updated successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Parambons/"); - } - }); -} - -function gerer_acces_actes_prestataire(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function afficher_utilsateur_actesvisibles() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_liste'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function gerer_acces_actes_assureur(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_utilsateur_actesvisibles(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function lister_provisions() -{ - debutAnalyse = $("#debutAnalyse").val(); - dateAnalyse = $("#dateAnalyse").val(); - - donnees = 'debutAnalyse='+debutAnalyse+'&dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxprovisonssin/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function lister_provisions_cpt() -{ - debutAnalyse = $("#debutAnalyse").val(); - dateAnalyse = $("#dateAnalyse").val(); - - donnees = 'debutAnalyse='+debutAnalyse+'&dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxprovisonssincpt/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - -function lister_provisions_sys() -{ - debutAnalyse = $("#debutAnalyse").val(); - dateAnalyse = $("#dateAnalyse").val(); - - donnees = 'debutAnalyse='+debutAnalyse+'&dateAnalyse='+dateAnalyse; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxprovisonssinsys/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - -function afficher_user_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_liste'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function gerer_acces_actes_assureur_hab(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function reinitpaswd_assureur(codeUtilisateur) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/reinitpaswd/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function desactiver_user_assureur(codeUtilisateur) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_assureur(codeUtilisateur) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function afficher_attribution_profil_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_utilisateur_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/afficherattributionprofilassureur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_un_utilisateur_profil_ass(codeUtilisateur) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil+'&codeUtilisateur='+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajouterunutilisateurprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_profil_assureur(); - } - }); -} - -function ajouter_tous_utilisateur_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajoutertousutilisateurprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_profil_assureur(); - } - }); - } -} - -function afficher_menu_principal_profil_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - var div_attente = $('#div_menu_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/afficheraccesmenuprincipalass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_un_meunu_principal_profil_ass(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajouterunmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function retirer_un_meunu_principal_profil_ass(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirerunmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function ajouter_tous_menus_principal_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajoutertousmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function retirer_tous_menus_principal_profil_ass() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirerousmenuprincipalprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_principal_profil_assureur(); - } - }); -} - -function ajaxListerVueModule() -{ - codeModule=$("#codeModule").val(); - donnees = 'codeModule='+codeModule; - - var div_attente = $('#listevue'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/listervuemodule/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() - { - vider_menu_vue_module_assureur(); - } - }); -} - -function afficher_menu_vue_module_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - var div_attente = $('#div_menu_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/afficheraccessousmenusass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function vider_menu_vue_module_assureur() -{ - var div_attente = $('#div_menu_profil'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - div_attente.html(""); -} - -function ajouter_tous_menu_vue_module_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajoutertoussousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function retirer_tous_menu_vue_module_assureur() -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirertoussousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function ajouter_un_menu_vue_module_assureur(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - donnees += '&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/ajouterunsousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function retirer_un_menu_vue_module_assureur(codeMenu) -{ - codeProfil=$("#codeProfil").val(); - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - codeModule=$("#codeModule").val(); - - if (codeModule<=" ") - { - v_msg="Veuillez sélectionner un module!"; - v_msgEng="Please select a module!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeModule").focus(); - return; - } - - vue=$("#vue").val(); - - if (vue<=" ") - { - v_msg="Veuillez sélectionner une vue!"; - v_msgEng="Please select a view!"; - alert_ebene(v_msg, v_msgEng); - - $("#vue").focus(); - return; - } - - donnees = 'codeProfil='+codeProfil; - donnees += '&codeModule='+codeModule; - donnees += '&vue='+vue; - - donnees += '&codeMenu='+codeMenu; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/retirerunsousmenusass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_menu_vue_module_assureur(); - } - }); -} - -function users_gc() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - - if (codeGcAssureur>" ") - { - window.location.assign($("#racineWeb" ).val()+"Usersgcassureur/"); - } -} - -function reinitpaswd_gc(codeUtilisateur) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/reinitpaswd/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function desactiver_user_gc(codeUtilisateur) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_gc(codeUtilisateur) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function gerer_acces_actes_gc(codeUtilisateur, actVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&actVisible="+actVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/gereraccesactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function retour_au_profil_ass() -{ - window.location.assign($("#racineWeb" ).val()+"Listeprofilass/"); -} - -function creer_profil_ass() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name of the profil in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en anglais!"; - v_msgEng="Please enter the name of the profil in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ce nouveau profil?"; - v_msgEng="Do you confirm this new profile?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/creerprofilass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_au_profil_ass(); - } - }); - } -} - -// tranferer_droits_profil_ass -function tranferer_droits_profil_ass() -{ - codeProfilSource=$("#codeProfilSource").val(); - - if (codeProfilSource<=" ") - { - v_msg="Veuillez sélectionner le profil source!"; - v_msgEng="Please select the source profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfilSource").focus(); - return; - } - - codeProfilDest=$("#codeProfilDest").val(); - - if (codeProfilDest<=" ") - { - v_msg="Veuillez sélectionner le profil de destination!"; - v_msgEng="Please select the destination profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfilDest").focus(); - return; - } - - if (codeProfilDest==codeProfilSource) - { - v_msg="Veuillez changer le profil de destination!"; - v_msgEng="Please change the destination profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfilDest").focus(); - return; - } - - donnees = 'codeProfilSource='+codeProfilSource; - donnees += '&codeProfilDest='+codeProfilDest; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/transfererdroitsprofilassureur/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_au_profil_ass(); - } - }); - } -} - -function batch_vider_droits_profil_assureur(codeProfil) -{ - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProfil='+codeProfil; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste'); - sav_div_liste_htm = div_attente.html(); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/batchviderprofilass/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - div_attente.html(sav_div_liste_htm); - } - }); - } -} - -function batch_atrtribuer_droits_reference_profil_assureur(codeProfil) -{ - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'codeProfil='+codeProfil; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste'); - sav_div_liste_htm = div_attente.html(); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/batchattribuerdroitsreferenceass/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() - { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - div_attente.html(sav_div_liste_htm); - } - }); - } -} - -function reinitpaswd_assure(idAdherent) -{ - v_msg="Confirmez-vous la réinitialisation?"; - v_msgEng="Do you confirm the reset?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idAdherent="+idAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhabilitationadherent/reinitpaswd/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_a_extranet_adh(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function retour_a_extranet_adh() -{ - window.location.assign($("#racineWeb" ).val()+"Extranetadherent/"); -} - -function desactiver_user_assure(idAdherent) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idAdherent="+idAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhabilitationadherent/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_a_extranet_adh(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_user_assure(idAdherent) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idAdherent="+idAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhabilitationadherent/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_a_extranet_adh(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function ctrlkeypress_liste_users_ass(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_users_ass(); - } -} - -function afficher_liste_users_ass() -{ - donnees = ""; - donnees_retour = ""; - - codeProfil = $("#codeProfil").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - - if (codeProfil+nom+prenoms<=" ") - { - v_msg="Veuillez indiquer au moins un critère de recherche!"; - v_msgEng="Please enter at least one search criteria!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - donnees += 'codeProfil=' + codeProfil; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - - - $("#div_liste_users").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/Ajaxlisteusersass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_users").html(donnees_retour); - } - }); -} - -function afficher_users_ass_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheusersass/"+idUtilisateur+"/"); -} - -function retour_a_usersassureur() -{ - window.location.assign($("#racineWeb" ).val()+"Usersassureur/"); -} - -function enregistrer_modif_usersassureur() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codeProfil = $("#codeProfil").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisible").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (codeProfil<=" ") - { - v_msg="Veuillez sélectionner un profil!"; - v_msgEng="Please select a user profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&codeProfil=' + codeProfil; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/enregistrermodifusersass/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_a_usersassureur(); - } - }); - } -} - -function creer_user_assureur() -{ - codeProfil = $("#codeProfil").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - codeUtilisateur = codeUtilisateur.trim(); - codeUtilisateur = supprimer_espace_string(codeUtilisateur); - codeUtilisateur = codeUtilisateur.toLowerCase(); - - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codeProfil<=" ") - { - v_msg="Veuillez sélectionner le profil source!"; - v_msgEng="Please select the source profile!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeProfil").focus(); - return; - } - - if(codeUtilisateur<=" ") - { - v_msg="Veuillez indiquer le login!"; - v_msgEng="Please enter the login!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - return; - } - - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisibleUser").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'codeProfil='+codeProfil+'&codeUtilisateur='+codeUtilisateur; - donnees += '&nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible+'&AffectionVisible='+AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamhabilitationass/creeruserassureur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_login').html(data); - }, - complete: function() - { - uniciteLogin = $("#uniciteLogin").val(); - if(uniciteLogin==1) - { - v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!"; - v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_usersassureur(); - } - else - { - v_msg="Login " + codeUtilisateur +" déjà utilisé!"; - v_msgEng="Login " + codeUtilisateur +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - } - } - }); - } -} - -function supprimer_espace_string(p_mot) -{ - p_mot = p_mot.trim(); - p_mot = p_mot.replace(/ /g, ""); - return p_mot; -} - -function enregistrer_modif_user_prestataire() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/enregistrermodifuserprestataire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - users_prestataire(); - } - }); - } -} - -function afficher_users_prestataire_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheuserprestataire/"+idUtilisateur+"/"); -} - -function afficher_users_gc_id(idUtilisateur) -{ - window.location.assign($("#racineWeb" ).val()+"Ficheusergc/"+idUtilisateur+"/"); -} - -function retour_a_users_gc() -{ - window.location.assign($("#racineWeb" ).val()+"Usersgcassureur/"); -} - -function enregistrer_modif_user_gc() -{ - idUtilisateur = $("#idUtilisateur").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - actif = $("#actif").val(); - actVisible = $("#actVisibleUser").val(); - codeLangue = $("#codeLangueUser").val(); - AffectionVisible = $("#AffectionVisibleUser").val(); - - if (nom<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actif").focus(); - return; - } - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if (AffectionVisible<=" ") - { - v_msg="Affections visbles oui ou non?"; - v_msgEng="Affections are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#AffectionVisible").focus(); - return; - } - - donnees = 'idUtilisateur=' + idUtilisateur; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&actif=' + actif; - donnees += '&actVisible=' + actVisible; - donnees += '&codeLangue=' + codeLangue; - donnees += '&AffectionVisible=' + AffectionVisible; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/enregistrermodifusergc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - retour_a_users_gc(); - } - }); - } -} - -function creer_user_gc() -{ - codeGcAssureur = $("#codeGcAssureur").val(); - codeUtilisateur = $("#codeUtilisateur").val(); - codeUtilisateur = codeUtilisateur.trim(); - codeUtilisateur = supprimer_espace_string(codeUtilisateur); - codeUtilisateur = codeUtilisateur.toLowerCase(); - - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - - codeLangue = $("#codeLangueUser").val(); - actVisible = $("#actVisibleUser").val(); - - nvmdp = $("#nvmdp").val(); - cfnvmdp = $("#cfnvmdp").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(codeUtilisateur<=" ") - { - v_msg="Veuillez indiquer le login!"; - v_msgEng="Please enter the login!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - return; - } - - - if(codeLangue<=" ") - { - v_msg="Veuillez indiquer la langue!"; - v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLangueUser").focus(); - return; - } - - if (actVisible<=" ") - { - v_msg="Actes visbles oui ou non?"; - v_msgEng="Acts are visible yes or no?"; - alert_ebene(v_msg, v_msgEng); - - $("#actVisibleUser").focus(); - return; - } - - if(nvmdp<=" ") - { - v_msg="Veuillez indiquer le mot de passe!"; - v_msgEng="Please enter the password!"; - alert_ebene(v_msg, v_msgEng); - - $("#nvmdp").focus(); - return; - } - - if(nvmdp != cfnvmdp) - { - v_msg="Veuillez confirmer votre mot de passe!"; - v_msgEng="Please confirm your password!"; - alert_ebene(v_msg, v_msgEng); - - $("#cfnvmdp").focus(); - return; - } - - motPass = nvmdp; - - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeUtilisateur='+codeUtilisateur; - donnees += '&nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; - donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible; - - v_msg="Confirmez-vous ce nouvel utilisateur?"; - v_msgEng="Do you confirm this new user?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/creerusergc/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_login').html(data); - }, - complete: function() - { - uniciteLogin = $("#uniciteLogin").val(); - if(uniciteLogin==1) - { - v_msg="Utilisateur ( "+codeUtilisateur+" ) créé avec succès!"; - v_msgEng="User ( "+codeUtilisateur+" ) created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_users_gc(); - } - else - { - v_msg="Login " + codeUtilisateur +" déjà utilisé!"; - v_msgEng="Login " + codeUtilisateur +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeUtilisateur").focus(); - } - } - }); - } -} -function notesfeuillemaladie() -{ - actVisible=$("#actVisible").val(); - - if (actVisible!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Notesfeuillemaladie/"); -} - -function changer_avenant_incorporation() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - donnees = 'idAvenant='+idAvenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxavenant/getdateavenant/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_date_avenant").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() - { - prorater_prime_adherent(); - } - }); -} - - -function changer_avenant_incorporation_beneficiaire() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - donnees = 'idAvenant='+idAvenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxavenant/getdateavenantbeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_date_avenant").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() - { - prorater_prime_beneficiaire(); - } - }); -} - -function param_requeteperso() -{ - window.location.assign($("#racineWeb" ).val()+"Paramerequeteperso/"); -} - -function creer_requeteperso() -{ - nomRequete = $("#nomRequete").val(); - nomRequeteEng = $("#nomRequeteEng").val(); - descriptionRequete = $("#descriptionRequete").val(); - sourceDonnees = $("#sourceDonnees").val(); - ordre = $("#ordreRequete").val(); - - if(nomRequete<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Français!"; - v_msgEng="Please enter the name of the request in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequete").focus(); - return; - } - - if(nomRequeteEng<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Anglais!"; - v_msgEng="Please enter the name of the request in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequeteEng").focus(); - return; - } - - if(descriptionRequete<=" ") - { - v_msg="Veuillez entrer une description!"; - v_msgEng="Please enter a description!"; - alert_ebene(v_msg, v_msgEng); - - $("#descriptionRequete").focus(); - return; - } - - if(sourceDonnees<=" ") - { - v_msg="Veuillez sélectionner une source de données!"; - v_msgEng="Please select a data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if(ordre<1) - { - v_msg="Veuillez donner un ordre à la requête!"; - v_msgEng="Please give an order to the query!"; - alert_ebene(v_msg, v_msgEng); - - $("#ordreRequete").focus(); - return; - } - - donnees = 'nomRequete='+nomRequete; - donnees += '&nomRequeteEng='+nomRequeteEng; - donnees += '&descriptionRequete='+descriptionRequete; - donnees += '&sourceDonnees='+sourceDonnees; - donnees += '&ordre='+ordre; - - v_msg="Confirmez-vous cette nouvelle requête?"; - v_msgEng="Do you confirm this new qurey?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/creerrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - param_requeteperso_liste(); - } - }); - } -} - -function param_requeteperso_liste() -{ - window.location.assign($("#racineWeb" ).val()+"Listerequeteperso/"); -} - -function afficher_requeteperso_id(idrequete) -{ - window.location.assign($("#racineWeb" ).val()+"Ficherequetesperso/"+idrequete+"/"); -} - -function desactiver_requeteperso(codeRequete) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeRequete="+codeRequete; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_requeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_requeteperso(codeRequete) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeRequete="+codeRequete; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_requeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function afficher_sourcedonneesrequeteperso_id(idsourcerequete) -{ - window.location.assign($("#racineWeb" ).val()+"Fichesourcedonneesrequetesperso/"+idsourcerequete+"/"); -} - - -function param_sourcedonneesrequeteperso_liste() -{ - window.location.assign($("#racineWeb" ).val()+"Sourcerequetesperso/"); -} - - -function enregistrer_modif_sourcedonneesrequeteperso() -{ - idsourcerequete = $("#idsourcerequete").val(); - sourceDonnees = $("#sourceDonnees").val(); - sourceDonnees = supprimer_espace_string(sourceDonnees); - - if (sourceDonnees<=" ") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees.substring(0, 9)!="sp_perso_") - { - v_msg="Doit commencer par (sp_perso_)!"; - v_msgEng="Must start by (sp_perso_)!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees=="sp_perso_") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - donnees = 'idsourcerequete=' + idsourcerequete; - donnees += '&sourceDonnees=' + sourceDonnees; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/enregistrermodifsourcedonneesrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - param_sourcedonneesrequeteperso_liste(); - } - }); - } -} - -function desactiver_sourcedonneesrequeteperso(sourceDonnees) -{ - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "sourceDonnees="+sourceDonnees; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/desactiversourcedonnees/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_sourcedonneesrequeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_sourcedonneesrequeteperso(sourceDonnees) -{ - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "sourceDonnees="+sourceDonnees; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/activersourcedonnees/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - param_sourcedonneesrequeteperso_liste(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function creer_sourcedonneesrequeteperso() -{ - sourceDonnees = $("#sourceDonnees").val(); - sourceDonnees = supprimer_espace_string(sourceDonnees); - - if (sourceDonnees<=" ") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees.substring(0, 9)!="sp_perso_") - { - v_msg="Doit commencer par (sp_perso_)!"; - v_msgEng="Must start by (sp_perso_)!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if (sourceDonnees=="sp_perso_") - { - v_msg="Veuillez saisir la source de données!"; - v_msgEng="Please enter the data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - donnees = 'sourceDonnees=' + sourceDonnees; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/creersourcedonneesrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - param_sourcedonneesrequeteperso_liste(); - } - }); - } -} - -function enregistrer_modif_requeteperso() -{ - idrequete = $("#idrequete").val(); - codeRequete = $("#codeRequete").val(); - - nomRequete = $("#nomRequete").val(); - nomRequeteEng = $("#nomRequeteEng").val(); - descriptionRequete = $("#descriptionRequete").val(); - sourceDonnees = $("#sourceDonnees").val(); - ordre = $("#ordreRequete").val(); - - if(nomRequete<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Français!"; - v_msgEng="Please enter the name of the request in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequete").focus(); - return; - } - - if(nomRequeteEng<=" ") - { - v_msg="Veuillez indiquer le nom de la requête en Anglais!"; - v_msgEng="Please enter the name of the request in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomRequeteEng").focus(); - return; - } - - if(descriptionRequete<=" ") - { - v_msg="Veuillez entrer une description!"; - v_msgEng="Please enter a description!"; - alert_ebene(v_msg, v_msgEng); - - $("#descriptionRequete").focus(); - return; - } - - if(sourceDonnees<=" ") - { - v_msg="Veuillez sélectionner une source de données!"; - v_msgEng="Please select a data source!"; - alert_ebene(v_msg, v_msgEng); - - $("#sourceDonnees").focus(); - return; - } - - if(ordre<1) - { - v_msg="Veuillez donner un ordre à la requête!"; - v_msgEng="Please give an order to the query!"; - alert_ebene(v_msg, v_msgEng); - - $("#ordreRequete").focus(); - return; - } - - donnees = 'idrequete='+idrequete; - donnees += '&codeRequete='+codeRequete; - - donnees += '&nomRequete='+nomRequete; - donnees += '&nomRequeteEng='+nomRequeteEng; - donnees += '&descriptionRequete='+descriptionRequete; - donnees += '&sourceDonnees='+sourceDonnees; - donnees += '&ordre='+ordre; - - v_msg="Confirmez-vous cette nouvelle requête?"; - v_msgEng="Do you confirm this new qurey?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/enregistrermodifrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() - { - param_requeteperso_liste(); - } - }); - } -} - -function parametres_sourcedonneesrequeteperso(idsourcerequete) -{ - window.location.assign($("#racineWeb" ).val()+"Paramsourcedonneesrequetesperso/"+idsourcerequete+"/"); -} - -function reconstruire_param_requeteperso(idsourcerequete) -{ - donnees = 'idsourcerequete=' + idsourcerequete; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamrequeteperso/reconstruireparamrequeteperso/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - parametres_sourcedonneesrequeteperso(idsourcerequete); - } - }); - } -} - -function ajaxenteteetatperso() -{ - $("#div_ente_requete").html(""); - - codeRequete=$("#codeRequete").val(); - - if (codeRequete<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeRequete").focus(); - return; - } - - donnees = 'codeRequete='+codeRequete; - - v_url = $("#racineWeb").val()+"Ajaxenteteetatperso/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - - $(".datepicker").datepicker({dateFormat: 'yy-mm-dd'}); - } - }); -} - -function executer_etat_perso() -{ - donnees_retour = ""; - - donnees = $("#frm_requete_perso").serialize(); - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetatperso/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) - { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ctrlkeypress_familleacte(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_caracteristiques_acte(); - } -} - -function afficher_caracteristiques_acte() -{ - effacer_caracteristiques_un_acte(); - - codeFamilleActe=$("#codeFamilleActe").val(); - libelleActe=$("#libelleActe").val(); - - if(libelleActe<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleActe").focus(); - return; - } - - donnees = 'codeFamilleActe='+codeFamilleActe+'&libelleActe='+libelleActe; - - var div_detail_actes = $('#div_detail_actes'); - div_detail_actes.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacracteristiquesacte/", - type: 'POST', - data: donnees, - success: function(data) { - div_detail_actes.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function afficher_caracteristiques_un_acte(idActe) -{ - donnees = 'idActe='+idActe; - donnees_retour = ""; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacracteristiquesacte/fichecracteristiquesacte/", - type: 'POST', - data: donnees, - success: function(data) - { - donnees_retour = data; - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - $('#div_fiche_acte').html(donnees_retour); - } - }); -} - -function init_import_assures() -{ - nbCollege = $("#nbCollege_C").val(); - - if (nbCollege<="0") - { - v_msg="Aucun collège!"; - v_msgEng="No college!"; - alert_ebene(v_msg, v_msgEng); - - college_police(); - - return; - } - - nbAdh = $("#nbAdh_C").val(); - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if (codeTypeContrat=="P") - { - v_msg="Ce n\'est pas une police GROUPE!"; - v_msgEng="This is not a GROUP policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (codeTypeContrat=="F") - { - window.location.assign($("#racineWeb" ).val()+"Importassurefamiliale/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Importassure/"); - } -} - -function desactiver_derogation_permanente(idBeneficiaire) -{ - observations=$("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idBeneficiaire="+idBeneficiaire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/desactiverderogationpermanente/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_permanente(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_derogation_permanente(idBeneficiaire) -{ - observations=$("#observations").val(); - - if (observations<=" ") - { - v_msg="Veuillez saisir un motif!"; - v_msgEng="Please enter a reaon!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idBeneficiaire="+idBeneficiaire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/activerderogationpermanente/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - liste_derogation_permanente(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function liste_derogation_permanente() -{ - window.location.assign($("#racineWeb" ).val()+"Derogationpermanente/"); -} - -function raffraichier_gabarit() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgabarit/", - success: function(data) - { - $("#div_ajaxgabarit").html(data); - }, - error: function(errorData) - { - }, - complete: function() - { - $(".datepicker" ).datepicker(); - - raffraichier_messagerie(); - } - }); -} - -function connexion_cookie() -{ - msgErreur=$("#msgErreur").val(); - - donnees = 'msgErreur='+msgErreur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxconnexioncookie/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_ajaxconnexion").html(data); - }, - error: function(errorData) - { - }, - complete: function() - { - var login = document.getElementById("login").value; - if (login>" ") - { - $("#mdp").focus(); - } - else - { - $("#login").focus(); - } - } - }); -} - -function afficher_quittances_police_periode() -{ - idPolice = $("#idPolice_C" ).val(); - debut = $("#debut" ).val(); - fin = $("#fin" ).val(); - - donnees = 'idPolice='+idPolice; - donnees += '&debut='+debut; - donnees += '&fin='+fin; - - // alert("donnees => "+donnees); - // return; - - $("#div_quittancepolice").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - if (numeroPolice>" ") - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfichepolice/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_quittancepolice").html(data); - } - }); - } -} - -function afficher_adherents_police() -{ - $("#div_liste_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteadherent/", - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_adherent").html(data); - } - }); -} - -function diagnosticsfeuillemaladie() -{ - /* - actVisible=$("#actVisible").val(); - - if (actVisible!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - */ - - window.location.assign($("#racineWeb" ).val()+"Diagnosticscons/"); -} - -function afficher_diagnostics_feuille() -{ - $("#div_dianostics").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdiagnosticscons/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_dianostics").html(donnees_retour); - } - }); -} - -function afficher_ecarts_facture() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/ecartfacture/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function ecarts_facture_non_saisies() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/ecartnonsaisi/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function maj_observations_ecart_facture(idEcart, observations) -{ - v_msg="Veuillez saisir ou modifier les observations!"; - v_msgEng="Please enter or edit comments!"; - - observations = prompt_ebene(v_msg, v_msgEng, observations); - - if(observations==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idEcart='+idEcart+"&observations="+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/majobservations/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function recapituler_ecarts_décompte() -{ - // alert("recapituler_ecarts_décompte"); - - $("#div_entete_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/recapecratdecompte/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_entete_ecart_decompte").html(donnees_retour); - } - }); -} - -function init_new_ecart_decompte_non_saisi() -{ - $('#div_saisie_ecart').html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/initnewecart/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_saisie_ecart').html(donnees_retour); - // $this->executerAction("index"); - } - }); -} - -function maj_ecart_facture(idEcart) -{ - donnees = 'idEcart='+idEcart; - - $('#div_saisie_ecart').html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/initmajecartnonsaisi/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - donnees_retour = data; - }, - complete: function() - { - $('#div_saisie_ecart').html(donnees_retour); - $(".datepicker" ).datepicker(); - } - }); - -} - -function ctrlkeypressbeneficiaireecart(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroBeneficiaire").blur(); - } -} - -function chercher_beneficiaireecart(numeroBeneficiaire) -{ - $("#div_saisie_ecart").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'numeroBeneficiaire='+numeroBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/rechercherbeneficiaireecart/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_saisie_ecart").html(data); - }, - error: function(data) { - }, - complete: function() { - $(".datepicker" ).datepicker(); - } - }); -} - - -function ajouter_ecartdecompte_non_saisi() -{ - idBeneficiaire = $("#idBeneficiaireEcart" ).val(); - dateFacture = $("#dateFacture" ).val(); - montantPrestataire = $("#montantPrestataire" ).val(); - observations = $("#observations" ).val(); - - if(idBeneficiaire<="0") - { - v_msg="Bénéficiaire manquant!"; - v_msgEng="Missing beneficiary!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBeneficiaire").focus(); - return; - } - - if(dateFacture<=" ") - { - v_msg="Date manquant!"; - v_msgEng="Missing date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateFacture").focus(); - return; - } - - if(isNaN(montantPrestataire)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(Math.abs(montantPrestataire)=="0") - { - v_msg="Montant manquant!"; - v_msgEng="Missing amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(observations<=" ") - { - v_msg="observations manquant!"; - v_msgEng="Missing observations!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - $("#dateFactureReelle").val(dateFacture); - - if (date_inclus_mois_decompte()) - { - donnees = 'idBeneficiaire='+idBeneficiaire; - donnees += '&dateFacture='+dateFacture; - donnees += '&montantPrestataire='+montantPrestataire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/ajouterecartdecomptenonsaisi/", - type: 'POST', - data: donnees, - success: function(data) { - // $("#div_saisie_ecart").html(data); - }, - error: function(data) { - }, - complete: function() { - ecarts_facture_non_saisies(); - recapituler_ecarts_décompte(); - } - }); - } -} - -function supprimer_ecart_facture(idEcart) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idEcart='+idEcart; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/supprimerecart/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - ecarts_facture_non_saisies(); - recapituler_ecarts_décompte(); - } - }); - } -} - -function maj_ecartdecompte_non_saisi() -{ - idEcart = $("#idEcart" ).val(); - idBeneficiaire = $("#idBeneficiaireEcart" ).val(); - dateFacture = $("#dateFacture" ).val(); - montantPrestataire = $("#montantPrestataire" ).val(); - observations = $("#observations" ).val(); - - if(idBeneficiaire<="0") - { - v_msg="Bénéficiaire manquant!"; - v_msgEng="Missing beneficiary!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(idEcart<="0") - { - v_msg="Veuillez sélectionner la ligne à modifier!"; - v_msgEng="Please select the line to edit!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if(dateFacture<=" ") - { - v_msg="Date manquant!"; - v_msgEng="Missing date!"; - alert_ebene(v_msg, v_msgEng); - - $("#dateFacture").focus(); - return; - } - - if(isNaN(montantPrestataire)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(Math.abs(montantPrestataire)=="0") - { - v_msg="Montant manquant!"; - v_msgEng="Missing amount!"; - alert_ebene(v_msg, v_msgEng); - - $("#montantPrestataire").val("0"); - $("#montantPrestataire").focus(); - return; - } - - if(observations<=" ") - { - v_msg="observations manquant!"; - v_msgEng="Missing observations!"; - alert_ebene(v_msg, v_msgEng); - - $("#observations").focus(); - return; - } - - $("#dateFactureReelle").val(dateFacture); - if (date_inclus_mois_decompte()) - { - donnees = 'idEcart='+idEcart; - donnees += '&idBeneficiaire='+idBeneficiaire; - donnees += '&dateFacture='+dateFacture; - donnees += '&montantPrestataire='+montantPrestataire; - donnees += '&observations='+observations; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecompte/majecartnonsaisi/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ecarts_facture_non_saisies(); - recapituler_ecarts_décompte(); - } - }); - } -} - -function imprimer_ecarts_decompte() -{ - var div_export = $('#div_export_ecart_decompte'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_imprimer_ecart_decompte").click(); - - // alert("Ajaximprimerecartdecompte"); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerecartdecompte/", - type: 'POST', - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - // $("#btn_imprimer_ecart_decompte").click(); - } - }); - -} - -function afficher_ecarts_facture_cons() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecomptecons/ecartfacture/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function ecarts_facture_non_saisies_cons() -{ - $("#div_ecart_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxecartdecomptecons/ecartnonsaisi/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_ecart_decompte").html(donnees_retour); - } - }); -} - -function etat_prod_situation_clients() -{ - dateAnalyse = $("#dateAnalyse").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'dateAnalyse='+dateAnalyse; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_situation_clients_export() -{ - dateAnalyse = $("#dateAnalyse").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'dateAnalyse='+dateAnalyse; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_sin_paiementprestationcumul() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); - -} - -function etat_sin_paiementprestationcumul_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function etat_sin_paiementprestationdet() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); - -} - -function etat_sin_paiementprestationdet_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function gerer_acces_affection_prestataire(codeUtilisateur, AffectionVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&AffectionVisible="+AffectionVisible; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/gereraccesaffection/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_prestataire(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function gerer_acces_affection_assureur_hab(codeUtilisateur, AffectionVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&AffectionVisible="+AffectionVisible; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamactesvisible/gereraccesaffection/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - afficher_user_profil_ass(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function gerer_acces_affection_gc(codeUtilisateur, AffectionVisible) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codeUtilisateur="+codeUtilisateur+"&AffectionVisible="+AffectionVisible; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgcassureur/gereraccesaffection/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - users_gc(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function desactiver_derogation_finger_prestataire(codePrestataire) -{ - v_msg="Veuillez saisir le motif de l\'activation!"; - v_msgEng="Please enter the reason for activation!"; - - motif_activation = prompt_ebene(v_msg, v_msgEng); - - if(motif_activation<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous la désactivation?"; - v_msgEng="Do you confirm the deactivation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - donnees += "&motif="+motif_activation; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/desactiverderogationfinger/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function activer_derogation_finger_prestataire(codePrestataire) -{ - v_msg="Veuillez saisir le motif de l\'activation!"; - v_msgEng="Please enter the reason for activation!"; - - motif_activation = prompt_ebene(v_msg, v_msgEng); - - if(motif_activation<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - v_msg="Confirmez-vous l\'activation?"; - v_msgEng="Do you confirm the activation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "codePrestataire="+codePrestataire; - donnees += "&motif="+motif_activation; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestataire/activerderogationfinger/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng); - - retour_prestataire_id(); - } - }); - return; - } - else - { - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - - -function exporter_liste_clients() -{ - var div_export = $('#div_export_clients'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_liste_clients").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlisteclients/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - // $("#btn_liste_clients").click(); - } - }); -} - - -function etat_fact_par_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_fact_par_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_fact_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_fact_par_mois_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_fact_par_emission() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_fact_par_emission_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function imprimer_emission_prime() -{ - idEmission=$("#idEmission").val(); - idPolice=$("#idPolice").val(); - - donnees = "idEmission="+idEmission+"&idPolice="+idPolice; - - var div_export = $('#div_export_emissions'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_export_emissions").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterquittancesemission/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_quittance(idQuittance) -{ - if (idQuittance>"0") - { - donnees = "idQuittance="+idQuittance; - - - var div_export = $('#div_export_quittance'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_export_quittance").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterunequittance/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - else - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -// etatprod_encaissement -function etat_enc_par_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_enc_par_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_enc_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_enc_par_mois_export() -{ - - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function etat_borderau_encissements() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_borderau_encissements_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function ctrlkeypressemission(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroEmission").blur(); - } -} - -function requete_chercher_emission(numeroEmission) -{ - $("#div_consulter_resultat").html(''); - - $("#div_consulter_resultat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'numeroEmission='+numeroEmission; - - - if(isNaN(numeroEmission)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroEmission").val("0"); - $("#numeroEmission").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrechercheemission/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_resultat").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ctrlkeypressquittance(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#idQuittance").blur(); - } -} - -function requete_chercher_quittance(idQuittance) -{ - $("#div_consulter_resultat").html(''); - - $("#div_consulter_resultat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idQuittance='+idQuittance; - - if(isNaN(idQuittance)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idQuittance").val("0"); - $("#idQuittance").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecherchequittance/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_resultat").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ctrlkeypressencaissement(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroEncaissement").blur(); - } -} - -function requete_chercher_encaissement(numeroEncaissement) -{ - $("#div_consulter_resultat").html(''); - - $("#div_consulter_resultat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'numeroEncaissement='+numeroEncaissement; - - if(isNaN(numeroEncaissement)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroEncaissement").val("0"); - $("#numeroEncaissement").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrechercheencaissement/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_consulter_resultat").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function afficher_emission_retour() -{ - idEmission = $("#idEmission").val(); - - if (idEmission>"0") - { - window.location.assign($("#racineWeb" ).val()+"Emission/"+idEmission+"/"); - } -} - -function etat_enc_par_mois() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function afficher_beneficiare_prime_adherent() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaireprimeadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - } - }); -} - -function afficher_beneficiare_prime_beneficiaire() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxbeneficiaireprimebeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - } - }); -} - -function maj_motif_non_paiement(idReglement, motifNonPaiement) -{ - v_msg="Veuillez saisir ou modifier le commentaire!"; - v_msgEng="Please enter or edit comments!"; - - motifNonPaiement = prompt_ebene(v_msg, v_msgEng, motifNonPaiement); - - if(motifNonPaiement==null) - { - return; - } - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - - donnees = 'idReglement='+idReglement+"&motifNonPaiement="+motifNonPaiement; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxldemandesteglementcpt/majmotifnonpaiement/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - } - }); - } -} - -function afficher_garantieadherent_exo() -{ - var div_attente = $('#div_gar_exo'); - - exercieReference=$("#exercieReference").val(); - - if (exercieReference<=" ") - { - v_msg="Veuillez sélectionner un exercice!"; - v_msgEng="Please select an exercise!"; - alert_ebene(v_msg, v_msgEng); - - $("#exercieReference").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'exercieReference='+exercieReference; - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxplafondadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function afficher_garantieadherent_entete_contrat() -{ - var div_attente = $('#div_gar_exo'); - - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - // donnees = 'exercieReference='+exercieReference; - donnees = 'idEntetecontrat='+idEntetecontrat; - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxplafondadherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajaxdelaicarencetypecontrat() -{ - codeTypeContrat=$("#codeTypeContrat").val(); - - donnees = 'codeTypeContrat='+codeTypeContrat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdelaicarencetypecontrat/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#infodelaicarence").html(data); - }, - complete: function() { - $("#delaiCarencePolice").val( $("#delaiCarencePolice_info").val()); - } - }); -} - -function afficher_liste_medecins() -{ - donnees = ""; - donnees_retour = ""; - - - codeSpecialite = $("#codeSpecialite").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - - if(codeSpecialite<=" " && nom<=" " && prenoms<=" " && noOrdreMedecin<=" ") - { - v_msg="Veuillez saisir le filtre!"; - v_msgEng="Please enter the filter!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - donnees += 'codeSpecialite=' + codeSpecialite; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&noOrdreMedecin=' + noOrdreMedecin; - - $("#div_liste_medeins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistemedecinsparametrage/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_liste_medeins").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function ctrlkeypress_liste_medecins(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_liste_medecins(); - } -} - -function imprimer_liste_medecins() -{ - donnees = ""; - donnees_retour = ""; - - - codeSpecialite = $("#codeSpecialite").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - - if(codeSpecialite<=" " && nom<=" " && prenoms<=" " && noOrdreMedecin<=" ") - { - v_msg="Veuillez saisir le filtre!"; - v_msgEng="Please enter the filter!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - donnees += 'codeSpecialite=' + codeSpecialite; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&noOrdreMedecin=' + noOrdreMedecin; - - $("#div_liste_medeins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlistemedecins/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_medeins").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_medecins() -{ - donnees = ""; - donnees_retour = ""; - - - codeSpecialite = $("#codeSpecialite").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - - if(codeSpecialite<=" " && nom<=" " && prenoms<=" " && noOrdreMedecin<=" ") - { - v_msg="Veuillez saisir le filtre!"; - v_msgEng="Please enter the filter!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - donnees += 'codeSpecialite=' + codeSpecialite; - donnees += '&nom=' + nom; - donnees += '&prenoms=' + prenoms; - donnees += '&noOrdreMedecin=' + noOrdreMedecin; - - $("#div_liste_medeins").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlistemedecinsexport/", - type: 'POST', - data: donnees, - success: function(data) - { - $("#div_liste_medeins").html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function afficher_medecin_id(idMedecin) -{ - window.location.assign($("#racineWeb" ).val()+"Fichemedecin/"+idMedecin+"/"); -} - -function modifier_medecin() -{ - idMedecin = $("#idMedecin" ).val(); - - if (idMedecin>"0") - { - window.location.assign($("#racineWeb" ).val()+"Modifiermedecin/"+idMedecin+"/"); - } -} - -function creer_medecin() -{ - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codeSpecialite = $("#codeSpecialite").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - sexe = $("#sexe").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(prenoms<=" ") - { - v_msg="Veuillez indiquer le prénoms!"; - v_msgEng="Please give the first names"; - alert_ebene(v_msg, v_msgEng); - - $("#prenoms").focus(); - return; - } - - if(codeSpecialite<=" ") - { - v_msg="Veuillez sélectionner la spécialité!"; - v_msgEng="Please select the specialty"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - if(sexe<=" ") - { - v_msg="Veuillez indiquer le sexe!"; - v_msgEng="Please indicate sex"; - alert_ebene(v_msg, v_msgEng); - - $("#sexe").focus(); - return; - } - - donnees = 'nom='+nom+'&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email; - donnees += '&codeSpecialite='+codeSpecialite+'&noOrdreMedecin='+noOrdreMedecin+'&sexe='+sexe; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouveau médecin?"; - v_msgEng="Confirm this new doctor?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinparam/creermedecin/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $('#div_unicite_medecin').html(data); - }, - complete: function() - { - unicitemedecin = $("#unicitemedecin").val(); - if(unicitemedecin==1) - { - v_msg="Médecin créé avec succès!"; - v_msgEng="Doctor created succssfully!"; - alert_ebene(v_msg, v_msgEng); - - retour_a_medecins(); - } - else - { - v_msg="No Ordre " + noOrdreMedecin +" déjà utilisé!"; - v_msgEng="Doctor Order No " + noOrdreMedecin +" already in use!"; - alert_ebene(v_msg, v_msgEng); - - $("#noOrdreMedecin").focus(); - } - } - }); - } -} - -function retour_a_medecins() -{ - window.location.assign($("#racineWeb" ).val()+"Medecins/"); -} - -function retour_medecin_id() -{ - idMedecin = $("#idMedecin").val(); - afficher_medecin_id(idMedecin); -} - -function enregistrer_modif_medecin() -{ - idMedecin = $("#idMedecin").val(); - nom = $("#nom").val(); - prenoms = $("#prenoms").val(); - codeSpecialite = $("#codeSpecialite").val(); - noOrdreMedecin = $("#noOrdreMedecin").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - sexe = $("#sexe").val(); - - if(nom<=" ") - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nom").focus(); - return; - } - - if(prenoms<=" ") - { - v_msg="Veuillez indiquer le prénoms!"; - v_msgEng="Please give the first names"; - alert_ebene(v_msg, v_msgEng); - - $("#prenoms").focus(); - return; - } - - if(codeSpecialite<=" ") - { - v_msg="Veuillez sélectionner la spécialité!"; - v_msgEng="Please select the specialty"; - alert_ebene(v_msg, v_msgEng); - - $("#codeSpecialite").focus(); - return; - } - - if(sexe<=" ") - { - v_msg="Veuillez indiquer le sexe!"; - v_msgEng="Please indicate sex"; - alert_ebene(v_msg, v_msgEng); - - $("#sexe").focus(); - return; - } - - donnees = 'idMedecin='+idMedecin+'&nom='+nom; - donnees += '&prenoms='+prenoms; - donnees += '&telephone='+telephone+'&email='+email; - donnees += '&codeSpecialite='+codeSpecialite+'&noOrdreMedecin='+noOrdreMedecin+'&sexe='+sexe; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmedecinparam/enregistrermodifmedecin/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - retour_medecin_id(); - } - }); - } -} - -function reposmedical() -{ - actVisible=$("#actVisible").val(); - - if (actVisible!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Reposmedical/"); -} - -function afficher_repos_medical() -{ - $("#div_notes").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxreposmedical/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_notes").html(donnees_retour); - } - }); -} - -function initier_repos_medical() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxreposmedical/nouveaureposmedical/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_note_new").html(data); - }, - complete: function() { - $("#btn_pop_note_new").click(); - } - }); -} - -function enregistrer_new_repos_medical() -{ - notesNew = $("#notesNew").val(); - notesNew = notesNew.trim(); - - if (notesNew<=" ") - { - v_msg="Veuillez saisir la note!"; - v_msgEng="Please enter the note!"; - alert_ebene(v_msg, v_msgEng); - - $("#notesNew").focus(); - return; - } - - nbJour = $("#nbJour").val(); - - if(isNaN(nbJour)) - { - v_msg="Veuillez revoir la duréee!"; - v_msgEng="Please review the duration!"; - alert_ebene(v_msg, v_msgEng); - - $("#nbJour").focus(); - return; - } - - if (nbJour<="0") - { - v_msg="Veuillez revoir la duréee!"; - v_msgEng="Please review the duration!"; - alert_ebene(v_msg, v_msgEng); - - $("#nbJour").focus(); - return; - } - - donnees = 'notesNew='+notesNew+"&nbJour="+nbJour; - - v_msg="Confirmez-vous ce repos médical?"; - v_msgEng="Do you confirm this medical rest?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxreposmedical/creerreposmedical/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#btn_pop_note_new_quit").click(); - }, - complete: function() { - afficher_repos_medical(); - } - }); - } -} - -function charger_detail_stat_police_anomalies() -{ - $('#div_export_b').html(""); - idPolice = $("#idPolice").val(); - donnees = "idPolice="+idPolice; - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailrapportspanomalie/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_export_b').html(donnees_retour); - } - }); -} - -function imprimer_quittance_client(idQuittance) -{ - if (idQuittance>"0") - { - donnees = "idQuittance="+idQuittance; - - - var div_export = $('#div_export_quittance'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_export_quittance").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterunequittanceclient/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); - } - else - { - v_msg="Rien à imprimer!"; - v_msgEng="Nothing to print!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function imprimer_livraison_bon_differe(idgenerartionbon) -{ - donnees = "idgenerartionbon="+idgenerartionbon; - - $('#btn_accuse_reception').click(); - - var div_accuse_reception = $('#div_accuse_reception'); - div_accuse_reception.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlivraisonbonsdiffere/", - type: 'POST', - data: donnees, - success: function(data) - { - div_accuse_reception.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function imprimer_livraison_bon_menu() -{ - idGenerationbon = $("#idGenerationbon").val(); - imprimer_livraison_bon_differe(idGenerationbon); -} - -function anteceentsmedicaux() -{ - estMedecin=$("#estMedecin").val(); - - if (estMedecin!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Anteceentsmedicaux/"); -} - -function diagnosticsbeneficiaire() -{ - estMedecin=$("#estMedecin").val(); - - if (estMedecin!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Diagnosticsconsbeneficiaire/"); -} - -function notesbeneficiaire() -{ - estMedecin=$("#estMedecin").val(); - - if (estMedecin!="1") - { - v_msg="Non autorisé!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - window.location.assign($("#racineWeb" ).val()+"Notesbeneficiaire/"); -} - -function afficher_diagnostics_beneficiaire() -{ - $("#div_dianostics").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdiagnosticsbeneficiaire/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_dianostics").html(donnees_retour); - } - }); -} - -function afficher_notes_beneficiaire() -{ - $("#div_notes").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnotesbeneficiaire/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_notes").html(donnees_retour); - } - }); -} - -function etat_sin_paiementprestationcumul_graph() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"graph/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - // alert("error =>"+errorData); - }, - success: function(data) { - donnees_retour = data; - // alert("success =>"+data); - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// 27/11/2019 - -function etat_prod_par_mois_eclate() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_prod_par_mois_eclate_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function effacer_caracteristiques_un_acte() -{ - $('#div_fiche_acte').html(""); -} - -function enregistrer_modif_caracteristiques_un_acte() -{ - idActe = $("#idActe").val(); - codeActe = $("#codeActe").val(); - - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - // codeFamilleActe = $("#codeFamilleActe").val(); - codeFamilleActe = $("#codeFamilleActeMaj").val(); - codeGarantie = $("#codeGarantie").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - alerte = $("#alerte").val(); - delaiCarenceActe = $("#delaiCarenceActe").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le libellé en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir le libellé en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - if(codeFamilleActe<=" ") - { - v_msg="Veuillez sélectionner la famille!"; - v_msgEng="Please select the family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - if(codeGarantie<=" ") - { - v_msg="Veuillez sélectionner une garantie!"; - v_msgEng="Please select a benefit!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGarantie").focus(); - return; - } - - if(codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeTypePrestation<=" ") - { - v_msg="Veuillez sélectionner un type!"; - v_msgEng="Please select a type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestation").focus(); - return; - } - - donnees = 'idActe='+idActe; - donnees += '&codeActe='+codeActe; - - donnees += '&libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - donnees += '&codeFamilleActe='+codeFamilleActe; - donnees += '&codeGarantie='+codeGarantie; - donnees += '&codeTarifActe='+codeTarifActe; - donnees += '&codeTypePrestation='+codeTypePrestation; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&alerte='+alerte; - donnees += '&delaiCarenceActe='+delaiCarenceActe; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacracteristiquesacte/enregistrermodifcaracteristiquesacte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $('#div_fiche_acte').html(""); - }, - complete: function() - { - afficher_caracteristiques_acte(); - } - }); - } -} - -function retour_tarifs_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Tarifsactes/"); -} - -function retour_tarifs_optiques() -{ - window.location.assign($("#racineWeb" ).val()+"Tarifsoptiques/"); -} - -function creer_tarif_actes() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/creertarifactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_tarifs_actes(); - } - }); - } -} - -function modifier_tarif_actes(idTarif) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiertarifacte/"+idTarif+"/"); -} - -function enregistrer_modif_tarif_actes() -{ - idTarif = $("#idTarif").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idTarif='+idTarif+'&libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_actes(); - } - }); - } -} - -function lister_tarif_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Listetarifacte/"); -} - -function importer_tarif_actes(idTarif) -{ - v_msg="En cours!"; - v_msgEng="In progress!"; - alert_ebene(v_msg, v_msgEng); - - // return; - - // window.location.assign($("#racineWeb" ).val()+"Importertarifacte/"+idTarif+"/"); -} - -function supprimer_tarif_actes(idTarif) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_actes(); - } - }); - } -} - -function creer_tarif_optiques() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - - v_msg="Confirmez-vous ce nouveau tarif?"; - v_msgEng="Do you confirm this new rate?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifoptique/creertarifoptiques/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_tarifs_optiques(); - } - }); - } -} - -function modifier_tarif_optiques(idTarif) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiertarifoptique/"+idTarif+"/"); -} - -function importer_tarif_optiques(idTarif) -{ - v_msg="En cours!"; - v_msgEng="In progress!"; - alert_ebene(v_msg, v_msgEng); - - // return; - - // window.location.assign($("#racineWeb" ).val()+"Importertarifoptique/"+idTarif+"/"); -} - -function supprimer_tarif_optiques(idTarif) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifoptique/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_optiques(); - } - }); - } -} - -function lister_tarif_optiques() -{ - window.location.assign($("#racineWeb" ).val()+"Listetarifoptique/"); -} - -function enregistrer_modif_tarif_optiques() -{ - idTarif = $("#idTarif").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idTarif='+idTarif+'&libelle='+libelle+'&libelleEng='+libelleEng; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifoptique/enregistrermodif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - lister_tarif_optiques(); - } - }); - } -} - -function modifier_familles_actes(idFamilleacte) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierfamilleacte/"+idFamilleacte+"/"); -} - -function supprimer_familles_actes(idFamilleacte) -{ - v_msg="Confirmez-vous cette suppression?"; - v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/supprimer/", - type : 'post', - data: "idFamilleacte="+idFamilleacte, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - afficher_famille_actes_tarif() - } - }); - } -} - -function afficher_famille_actes_tarif() -{ - codeTarifActe=$("#codeTarifActe").val(); - - if (codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe; - - var div_attente = $('#div_liste_famille_acte'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function lister_famille_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Listefamilleacte/"); -} - -function creer_famille_actes() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - codeGarantie = $("#codeGarantie").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - codeTarifActe = $("#codeTarifActe").val(); - hospitalisation = $("#hospitalisation").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'libelle='+libelle+'&libelleEng='+libelleEng; - donnees += '&codeGarantie='+codeGarantie+'&codeTypePrestation='+codeTypePrestation; - donnees += '&codeTarifActe='+codeTarifActe+'&hospitalisation='+hospitalisation; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ce nouvelle famille?"; - v_msgEng="Do you confirm this new family?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/creerfamillectes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - lister_famille_actes(); - } - }); - } -} - -function afficher_factures_feuille() -{ - $("#div_detail_factures").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturesfeuille/", - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_factures").html(donnees_retour); - } - }); -} - -function consulter_un_dossier() -{ - window.location.assign($("#racineWeb" ).val()+"Dossiercons/"); -} - -function afficher_factures_consultation(numeroBonConsultation) -{ - if (numeroBonConsultation<="0") - { - v_msg="Revoir le numéro!"; - v_msgEng="Review the number!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroBonConsultation").focus(); - - return; - } - - donnees = "numeroBonConsultation="+numeroBonConsultation; - - $("#div_detail_factures").html('
  ' + 'Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdossiercons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_factures").html(donnees_retour); - } - }); -} - -function ctrlkeypressconsultation(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - $("#numeroBonConsultation").blur(); - } -} - -function enregistrer_modif_famille_actes() -{ - idFamilleacte = $("#idFamilleacte").val(); - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - codeGarantie = $("#codeGarantie").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - codeTarifActe = $("#codeTarifActe").val(); - hospitalisation = $("#hospitalisation").val(); - - if(libelle<=" ") - { - v_msg="Veuillez indiquer le nom en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez indiquer le nom en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idFamilleacte='+idFamilleacte+'&libelle='+libelle+'&libelleEng='+libelleEng; - donnees += '&codeGarantie='+codeGarantie+'&codeTypePrestation='+codeTypePrestation; - donnees += '&codeTarifActe='+codeTarifActe+'&hospitalisation='+hospitalisation; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistefamilleactetarif/enregistrermodiffamilleactes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - lister_famille_actes(); - } - }); - } -} - -function exporter_tarif_medicament() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifMedicament="+codeTarifMedicament; - - // alert(donnees); - // return; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifmedicament/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function rechercher_actes_famille_param() -{ - var div_detail = $('#div_detail_actes'); - - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - libelleActe=$("#libelleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez sélectionne une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe+'&libelleActe='+libelleActe; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactefamilleparam/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function ajaxfiltrefamilleactetarif() -{ - donnees = "codeTarifActe="+$("#codeTarifActe").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfiltrefamilletarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - $("#listefamille").html(data); - } - }); -} - -function rechercher_actes_famille_param_tous() -{ - var div_detail = $('#div_detail_actes'); - - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - libelleActe=$("#libelleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(libelleActe<=' ') - { - v_msg="Veuillez saisir une désignation!"; - v_msgEng="Please enter a designation!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&libelleActe='+libelleActe; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxactefamilleparam/tous/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function enregistrer_nouvel_acte() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - codeFamilleActe = $("#codeFamilleActe").val(); - codeGarantie = $("#codeGarantie").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - alerte = $("#alerte").val(); - delaiCarenceActe = $("#delaiCarenceActe").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le libellé en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir le libellé en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - if(codeFamilleActe<=" ") - { - v_msg="Veuillez sélectionner la famille!"; - v_msgEng="Please select the family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - if(codeGarantie<=" ") - { - v_msg="Veuillez sélectionner une garantie!"; - v_msgEng="Please select a benefit!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGarantie").focus(); - return; - } - - if(codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeTypePrestation<=" ") - { - v_msg="Veuillez sélectionner un type!"; - v_msgEng="Please select a type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestation").focus(); - return; - } - - donnees = 'libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - donnees += '&codeFamilleActe='+codeFamilleActe; - donnees += '&codeGarantie='+codeGarantie; - donnees += '&codeTarifActe='+codeTarifActe; - donnees += '&codeTypePrestation='+codeTypePrestation; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&alerte='+alerte; - donnees += '&delaiCarenceActe='+delaiCarenceActe; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouvelacte/enregistrernouvelacte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_actes(); - } - }); - } -} - -function retour_liste_actes() -{ - window.location.assign($("#racineWeb" ).val()+"Listeactes/"); -} - - -function modifier_un_acte(idActe) -{ - window.location.assign($("#racineWeb" ).val()+"Modifieracte/"+idActe+"/"); -} - -function enregistrer_modif_un_acte() -{ - idActe = $("#idActe").val(); - codeActe = $("#codeActe").val(); - - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - codeFamilleActe = $("#codeFamilleActe").val(); - codeGarantie = $("#codeGarantie").val(); - codeTarifActe = $("#codeTarifActe").val(); - codeTypePrestation = $("#codeTypePrestation").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - alerte = $("#alerte").val(); - delaiCarenceActe = $("#delaiCarenceActe").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le libellé en Français!"; - v_msgEng="Please enter the name in French!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir le libellé en Anglais!"; - v_msgEng="Please enter the name in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - if(codeFamilleActe<=" ") - { - v_msg="Veuillez sélectionner la famille!"; - v_msgEng="Please select the family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - if(codeGarantie<=" ") - { - v_msg="Veuillez sélectionner une garantie!"; - v_msgEng="Please select a benefit!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGarantie").focus(); - return; - } - - if(codeTarifActe<=" ") - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeTypePrestation<=" ") - { - v_msg="Veuillez sélectionner un type!"; - v_msgEng="Please select a type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypePrestation").focus(); - return; - } - - donnees = 'idActe='+idActe; - donnees += '&codeActe='+codeActe; - - donnees += '&libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - donnees += '&codeFamilleActe='+codeFamilleActe; - donnees += '&codeGarantie='+codeGarantie; - donnees += '&codeTarifActe='+codeTarifActe; - donnees += '&codeTypePrestation='+codeTypePrestation; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&alerte='+alerte; - donnees += '&delaiCarenceActe='+delaiCarenceActe; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouvelacte/enregistrermodifacte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_actes(); - } - }); - } -} - -function ctrlkeypress_rechercher_actes_famille_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_actes_famille_param(); - } -} - -function ajax_composante_tarif() -{ - adminSin=$("#adminSin").val(); - - if (adminSin!="1") - { - v_msg="Non autorisée!"; - v_msgEng="Not allowed!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/affichercomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_actes_fam_au_tarif() -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/ajoutertousactsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); - } -} - -function ajouter_un_acte_au_tarif(idActe) -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'idActe='+idActe+'&codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/ajouterunacteautarif/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); -} - -function retirer_un_acte_du_tarif(idDetailtarifacte) -{ - donnees = 'idDetailtarifacte='+idDetailtarifacte; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/retirerunactedutarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); -} - -function retirer_tous_actes_fam_du_tarif() -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/retirertousactsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif(); - } - }); - } -} - -function maj_composante_tarif_acte(idActe, prix) -{ - donnees = 'idActe='+idActe+"&prix="+prix; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/majprix/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function(data) - { - } - }); -} - -function ajaxfiltrefamilleactecomposantetarif() -{ - $("#div_compsante_tarif").html(""); - - donnees = "codeTarifActe="+$("#codeTarifActe").val(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfiltrefamillecomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#listefamille").html(data); - } - }); -} - -function test_online() -{ - if(navigator.onLine) - { - $("#test_connexion").css('background-color', 'green'); - v_msg="Connexion OK!"; - v_msgEng="Connection OK"; - alert_ebene(v_msg, v_msgEng); - - } - else - { - $("#test_connexion").css('background-color', 'red'); - v_msg="Problème de Connexion!"; - v_msgEng="Connection Problem!"; - alert_ebene(v_msg, v_msgEng); - } - return; -} - -function raffraichier_messagerie() -{ - if(navigator.onLine) - { - $("#test_connexion").css('background-color', 'green'); - c_html = ""; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerie/", - success: function(data) { - c_html = data; - }, - error: function(errorData) { - }, - complete: function() { - $("#nbMessagesNonLus").html(c_html); - } - }); - } - else - { - $("#test_connexion").css('background-color', 'red'); - return; - } -} - -function ajax_composante_tarif_cons() -{ - codeTarifActe=$("#codeTarifActe").val(); - codeFamilleActe=$("#codeFamilleActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - if(codeFamilleActe<=' ') - { - v_msg="Veuillez saisir une famille!"; - v_msgEng="Please select a family!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeFamilleActe").focus(); - return; - } - - donnees = 'codeTarifActe='+codeTarifActe+'&codeFamilleActe='+codeFamilleActe; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarif/affichercomposantetarifcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function archiver_tarif_actes(idTarif) -{ - // alert("archiver_tarif_actes"); - // return; - - // v_msg="Confirmez-vous cette suppression?"; - // v_msgEng="Do you confirm this deletion?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxnouveautarifacte/supprimer/", - type : 'post', - data: "idTarif="+idTarif, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - lister_tarif_actes(); - } - }); - } -} - -function exporter_composante_tarif_actes() -{ - codeTarifActe=$("#codeTarifActe").val(); - - if(codeTarifActe<=' ' || codeTarifActe=='ST') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifActe="+codeTarifActe; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarif/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function ajax_init_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - donnees = 'codeTypeDestinataire='+codeTypeDestinataire; - - if(codeTypeDestinataire=='LB') // Libre - { - ajax_init_destinataires_sms_libre(); - return; - } - else - if(codeTypeDestinataire=='AD') // adhérents - { - ajax_init_destinataires_sms_adherent(); - return; - } - else - { - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/init/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire").html(data); - }, - complete: function() - { - } - }); - } -} - -function ajax_init_destinataires_sms_libre() -{ - // $("#div_adherent_destinataire").html(''); - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/libre/", - type : 'post', - error: function(errorData) { - }, - success: function(data) - { - // $("#div_destinataire_final").html(data); - $("#div_destinataire").html(data); - }, - complete: function() - { - $("#noDestination").focus(); - } - }); -} - -function ajax_init_destinataires_sms_adherent() -{ - $("#div_destinataire_final").html(''); - // $("#div_adherent_destinataire").html(''); - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherent/", - error: function(errorData) { - }, - success: function(data) - { - // $("#div_adherent_destinataire").html(data); - $("#div_destinataire").html(data); - }, - complete: function() - { - } - }); -} - -function ajax_afficher_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - donnees = 'codeTypeDestinataire='+codeTypeDestinataire; - - - // $("#div_adherent_destinataire").html(''); - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $("#div_destinataire_final").html(data); - }, - complete: function() { - } - }); -} - -function mettre_sms_commun_attente() -{ - nbDestinataires = $("#nbDestinataires").val(); - if (nbDestinataires=="0") - { - v_msg="Aucun destinataire!"; - v_msgEng="No recipient!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - textMessage = $("#textMessageCommun").val(); - textMessage = textMessage.trim(); - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageCommun").focus(); - return; - } - - donnees = "textMessage="+textMessage; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/mettresmscommeunattente/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // div_wait.html(data); - }, - complete: function() { - v_msg="Messages mis dans la queue des envois!"; - v_msgEng="Messages in the queue!"; - alert_ebene(v_msg, v_msgEng); - ajax_afficher_destinataires_sms(); - } - }); -} - -function annuler_envoi_sms() -{ - v_msg="Confirmez-vous cette annulation?"; - v_msgEng="Do you confirm this cancellation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - gerer_messagerie(); - } -} - -function ajouter_tous_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/ajouterdestinatairesmstous/", - // type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function retirer_tous_destinataires_sms() -{ - codeTypeDestinataire=$("#codeTypeDestinataire").val(); - if(codeTypeDestinataire<=' ') - { - v_msg="Veuillez sélectionner un type de destinataire!"; - v_msgEng="Please select a recipient type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataire").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/retirerdestinatairesmstous/", - // type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function ajouter_un_destinataire_sms(idDestinataire) -{ - donnees = 'idDestinataire='+idDestinataire; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/ajouterundestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function retirer_un_destinataire_sms(idDestinataire) -{ - donnees = 'idDestinataire='+idDestinataire; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/retirerundestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - ajax_afficher_destinataires_sms(); - } - }); -} - -function mettre_sms_commun_attente_libre() -{ - noDestination = $("#noDestination").val(); - if(noDestination.length<5) - { - v_msg="Aucun destinataire!"; - v_msgEng="No recipient!"; - alert_ebene(v_msg, v_msgEng); - - $("#noDestination").focus(); - return; - } - - textMessage = $("#textMessageCommun").val(); - textMessage = textMessage.trim(); - - if (textMessage<=" ") - { - v_msg="Veuillez saisir le message!"; - v_msgEng="Please enter the message!"; - alert_ebene(v_msg, v_msgEng); - - $("#textMessageCommun").focus(); - return; - } - - donnees = "noDestination="+noDestination+"&textMessage="+textMessage; - - // alert(donnees); - // return; - - $("#div_destinataire_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/mettresmscommeunattentelibre/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // div_wait.html(data); - }, - complete: function() { - v_msg="Messages mis dans la queue des envois!"; - v_msgEng="Messages in the queue!"; - alert_ebene(v_msg, v_msgEng); - - ajax_init_destinataires_sms_libre(); - } - }); -} - -function consulter_envois_sms() -{ - donnees = ""; - donnees_retour = ""; - - date1 = $("#date1").val(); - date2 = $("#date2").val(); - - donnees += 'date1=' + date1; - donnees += '&date2=' + date2; - - $("#div_sms").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/consulter/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_sms").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite() -{ - codeTypeDestinataireAdherent=$("#codeTypeDestinataireAdherent").val(); - if(codeTypeDestinataireAdherent<=' ') - { - v_msg="Veuillez sélectionner un type de recherche!"; - v_msgEng="Please select a search type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeDestinataireAdherent").focus(); - return; - } - - donnees = 'codeTypeDestinataireAdherent='+codeTypeDestinataireAdherent; - - $("#div_destinataire_adherent_final").html(''); - $("#div_destinataire_adherent_client_liste").html(''); - $("#div_destinataire_adherent_client").html(''); - - if(codeTypeDestinataireAdherent=='CL') // Client - { - ajax_init_destinataires_sms_adherent_suite_client(); - return; - } - else - if(codeTypeDestinataireAdherent=='CLOC') // Client et Localité - { - ajax_init_destinataires_sms_adherent_suite_client_localite(); - return; - } - else - if(codeTypeDestinataireAdherent=='LOC') // Localité - { - ajax_init_destinataires_sms_adherent_suite_localite(); - return; - } -} - -function sms_recherche_adherent_client() -{ - nomClientAdherent=$("#nomClientAdherent").val(); - if(nomClientAdherent<=' ') - { - v_msg="Veuillez entrer un nom!"; - v_msgEng="Please enter a name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomClientAdherent").focus(); - return; - } - - donnees = 'nomClientAdherent='+nomClientAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclienliste/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $('#div_destinataire_adherent_client_liste').html(data); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite_client() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclient/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_adherent_client").html(data); - }, - complete: function() - { - $("#nomClientAdherent").focus(); - } - }); -} - -function ajax_afficher_destinataires_sms_adherent() -{ - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_final").html(data); - }, - complete: function() { - } - }); -} - -function ajax_init_destinataires_sms_adherent_client() -{ - numeroClientAdherent=$("#numeroClientAdherent").val(); - if(numeroClientAdherent<=' ') - { - v_msg="Veuillez sélectionner un client!"; - v_msgEng="Please select a customer type!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroClientAdherent").focus(); - return; - } - - donnees = 'numeroClientAdherent='+numeroClientAdherent; - - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/initenvoismsadherentclient/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - ajax_afficher_destinataires_sms_adherent(); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite_localite() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentlocalite/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_adherent_client").html(data); - }, - complete: function() - { - $("#codeVille").focus(); - } - }); -} - -function ajax_init_destinataires_sms_adherent_localite() -{ - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees = 'codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/initenvoismsadherentlocalite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - ajax_afficher_destinataires_sms_adherent(); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_suite_client_localite() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclientlocalite/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_destinataire_adherent_client").html(data); - }, - complete: function() - { - $("#nomClientAdherent").focus(); - } - }); -} - -function sms_recherche_adherent_client_localite() -{ - nomClientAdherent=$("#nomClientAdherent").val(); - if(nomClientAdherent<=' ') - { - v_msg="Veuillez entrer un nom!"; - v_msgEng="Please enter a name!"; - alert_ebene(v_msg, v_msgEng); - - $("#nomClientAdherent").focus(); - return; - } - - donnees = 'nomClientAdherent='+nomClientAdherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/adherentclientlocaliteliste/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - $('#div_destinataire_adherent_client_liste').html(data); - }, - complete: function() - { - } - }); -} - -function ajax_init_destinataires_sms_adherent_client_localite() -{ - numeroClientAdherent=$("#numeroClientAdherent").val(); - if(numeroClientAdherent<=' ') - { - v_msg="Veuillez sélectionner un client!"; - v_msgEng="Please select a customer type!"; - alert_ebene(v_msg, v_msgEng); - - $("#numeroClientAdherent").focus(); - return; - } - - donnees = 'numeroClientAdherent='+numeroClientAdherent; - - codePays = $("#codePays").val(); - codeVille = $("#codeVille").val(); - codeLocalite = $("#codeLocalite").val(); - - donnees += '&codePays=' + codePays; - donnees += '&codeVille=' + codeVille; - donnees += '&codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $("#div_destinataire_adherent_final").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdestinatairesms/initenvoismsadherentclientlocalite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - ajax_afficher_destinataires_sms_adherent(); - }, - complete: function() - { - } - }); -} - -function re_init_envoi_sms() -{ - window.location.assign($("#racineWeb" ).val()+"Envoisms/"); -} - -function afficher_adherents_localite() -{ - donnees_retour = ""; - donnees = ""; - - codeLocalite = $("#codeLocalite").val(); - - if(codeLocalite<=' ') - { - v_msg="Veuillez revoir la sélection!"; - v_msgEng="Please review the selection!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeVille").focus(); - return; - } - - donnees = 'codeLocalite=' + codeLocalite; - - $("#div_adherent").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocaliseradherent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_adherent").html(donnees_retour); - } - }); -} - -function ajaxListerLocaliteAdherent() -{ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocalite/filtreadherentlocalite/", - type : 'post', - data: "codePays="+$("#codePays").val()+"&codeVille="+$("#codeVille").val(), - error: function(errorData) { - }, - success: function(data) { - $("#listelocalite").html(data); - } - }); -} - -function ajouter_tous_adherents_localte() -{ - codeLocalite=$("#codeLocalite").val(); - if(codeLocalite<=' ') - { - v_msg="Veuillez sélectionner une localité!"; - v_msgEng="Please select a location!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeLocalite").focus(); - return; - } - - donnees = 'codeLocalite=' + codeLocalite; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocaliseradherent/ajouteradherentlocalitetous/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - afficher_adherents_localite(); - } - }); -} - -function ajouter_un_adherent_localte(idAherent) -{ - donnees = 'codeLocalite=' + codeLocalite; - donnees += '&idAherent='+idAherent; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlocaliseradherent/ajouterunadherentlocalite/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - afficher_adherents_localite(); - } - }); -} - -function exporter_adherents_localite() -{ - var div_export = $('#div_exporter'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterlocaliseradherent/", - // type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function ajax_init_composante_tarif_medicamant_cons() -{ - $('#div_compsante_tarif').html(""); - $("#libelleActe").focus(); -} - -function ajax_composante_tarif_medicaments_cons() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/affichercomposantetarifcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function rechercher_medicaments_param() -{ - libelleMedicament=$("#libelleMedicament").val(); - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - var div_attente = $('#div_detail_medicaments'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/listemedicaments/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_composante_tarif_medicaments_cons(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_medicaments_cons(); - } -} - -function ctrlkeypress_rechercher_medicaments_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_medicaments_param(); - } -} - -function modifier_un_medicament(idMedicament) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiermedicament/"+idMedicament+"/"); -} - -function retour_liste_medicaments() -{ - window.location.assign($("#racineWeb" ).val()+"Listemedicaments/"); -} - -function enregistrer_modif_un_medicament() -{ - idMedicament = $("#idMedicament").val(); - codeMedicament = $("#codeMedicament").val(); - - libelle = $("#libelle").val(); - unite = $("#unite").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - instructions = $("#instructions").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation!"; - v_msgEng="Please enter the designation!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(unite<=" ") - { - v_msg="Veuillez saisir l\'unité!"; - v_msgEng="Please enter the unit!"; - alert_ebene(v_msg, v_msgEng); - - $("#unite").focus(); - return; - } - - donnees = 'idMedicament='+idMedicament; - donnees += '&codeMedicament='+codeMedicament; - - donnees += '&libelle='+libelle; - donnees += '&unite='+unite; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&instructions='+instructions; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/enregistrermodifmedicament/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_medicaments(); - } - }); - } -} - -function exporter_liste_actes() -{ - codeTarifActe=$("#codeTarifActe").val(); - - if(codeTarifActe<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifActe="+codeTarifActe; - - // alert(donnees); - // return; - - var div_export = $('#div_export_acte'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarif/listeacte/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function exporter_liste_medicaments() -{ - var div_export = $('#div_export_medicament'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifmedicament/listemedicament/", - // type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrer_nouvel_medicament() -{ - libelle = $("#libelle").val(); - unite = $("#unite").val(); - - ententePrealable = $("#ententePrealable").val(); - exclu = $("#exclu").val(); - actif = $("#actif").val(); - instructions = $("#instructions").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation!"; - v_msgEng="Please enter the designation!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(unite<=" ") - { - v_msg="Veuillez saisir l\'unité!"; - v_msgEng="Please enter the unit!"; - alert_ebene(v_msg, v_msgEng); - - $("#unite").focus(); - return; - } - - donnees = 'libelle='+libelle; - donnees += '&unite='+unite; - - donnees += '&ententePrealable='+ententePrealable; - donnees += '&exclu='+exclu; - donnees += '&actif='+actif; - donnees += '&instructions='+instructions; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/enregistrernouveaumedicament/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_medicaments(); - } - }); - } -} - -function ctrlkeypress_composante_tarif_medicaments(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_medicaments(); - } -} - -function ajax_composante_tarif_medicaments() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/affichercomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_medicaments_libelle_au_tarif() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/ajoutertousmedicamentsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); - } -} - -function retirer_tous_medicaments_libelle_au_tarif() -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - libelleMedicament=$("#libelleMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - if(libelleMedicament<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleMedicament").focus(); - return; - } - - donnees = 'codeTarifMedicament='+codeTarifMedicament+'&libelleMedicament='+libelleMedicament; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/retirertousmedicamentsautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); - } -} - -function ajouter_un_medicament_au_tarif(idMedicament) -{ - codeTarifMedicament=$("#codeTarifMedicament").val(); - - if(codeTarifMedicament<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifMedicament").focus(); - return; - } - - donnees = 'idMedicament='+idMedicament+'&codeTarifMedicament='+codeTarifMedicament; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/ajouterunamedicamentautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); -} - -function retirer_un_medicament_du_tarif(idDetailtarifMedicament) -{ - donnees = 'idDetailtarifMedicament='+idDetailtarifMedicament; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/retirerunamedicamentutarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_medicaments(); - } - }); -} - -function maj_composante_tarif_medicament(idDetailtarifMedicament, prix) -{ - donnees = 'idDetailtarifMedicament='+idDetailtarifMedicament+"&prix="+prix; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifmedicament/majprix/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function(data) - { - } - }); -} - -function exporter_tarif_verre() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifOptique="+codeTarifOptique; - - alert(donnees); - return; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifmedicament/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function consulterfactureverres() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturecons/verres/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function consulterfactureverres_pop() -{ - idFacture = $("#idFacture").val(); - - $("#div_facture_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idFacture='+idFacture; - - if(isNaN(idFacture)) - { - v_msg="Valeur numérique exigée!"; - v_msgEng="Numeric value required!"; - alert_ebene(v_msg, v_msgEng); - - $("#idFacture").val("0"); - $("#idFacture").focus(); - return; - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfactureconspop/verres/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_facture_detail").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function exporter_tarif_verre() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifActe").focus(); - return; - } - - donnees = "codeTarifOptique="+codeTarifOptique; - - // alert(donnees); - // return; - - var div_export = $('#div_export_tarif'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter_tarif").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifverres/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - // $('#div_test_gabarit').html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function ctrlkeypress_rechercher_verres_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_verres_param(); - } -} - -function rechercher_verres_param() -{ - libelleVerre=$("#libelleVerre").val(); - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer la désigantion!"; - v_msgEng="Please enter the designation!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - var div_attente = $('#div_detail_verres'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/listeverres/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function modifier_un_verre(idVerre) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierverre/"+idVerre+"/"); -} - -function retour_liste_verres() -{ - window.location.assign($("#racineWeb" ).val()+"Listeverres/"); -} - -function enregistrer_modif_un_verre() -{ - idVerre = $("#idVerre").val(); - codeOptique = $("#codeOptique").val(); - - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - - actif = $("#actif").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation en français!"; - v_msgEng="Please enter the designation in french!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir la désignation en Anglais!"; - v_msgEng="Please enter the designation in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - donnees = 'idVerre='+idVerre; - donnees += '&codeOptique='+codeOptique; - - donnees += '&libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - - donnees += '&actif='+actif; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/enregistrermodifverre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_verres(); - } - }); - } -} - -function exporter_liste_verres() -{ - var div_export = $('#div_export_verres'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexportertarifverres/listeverres/", - // type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function enregistrer_nouveau_verre() -{ - libelle = $("#libelle").val(); - libelleEng = $("#libelleEng").val(); - actif = $("#actif").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir la désignation!"; - v_msgEng="Please enter the designation!!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - if(libelleEng<=" ") - { - v_msg="Veuillez saisir la désignation en Anglais!"; - v_msgEng="Please enter the designation in English!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleEng").focus(); - return; - } - - - donnees = 'libelle='+libelle; - donnees += '&libelleEng='+libelleEng; - - donnees += '&actif='+actif; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/enregistrernouveauverre/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_verres(); - } - }); - } -} - -function ajax_init_composante_tarif_verre_cons() -{ - $('#div_compsante_tarif').html(""); - $("#libelleVerre").focus(); -} - -function ctrlkeypress_composante_tarif_verre_cons(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_verre_cons(); - } -} - -function ajax_composante_tarif_verre_cons() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - /* - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - */ - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/affichercomposantetarifcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ctrlkeypress_composante_tarif_verres(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - ajax_composante_tarif_verres(); - } -} - -function ajax_composante_tarif_verres() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - var div_attente = $('#div_compsante_tarif'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/affichercomposantetarif/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_attente.html(data); - }, - complete: function() { - } - }); -} - - -function afficher_dernieres_factures_optique(idBeneficiaire) -{ - idFacture = $("#idFacture").val(); - - $("#div_dernieres_factures_optique").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'idBeneficiaire='+idBeneficiaire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdernieresfacturesoptique/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_dernieres_factures_optique").html(data); - }, - error: function(data) { - }, - complete: function() { - } - }); -} - -function ajouter_tous_verres_libelle_au_tarif() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/ajoutertousverressautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); - } -} - -function retirer_tous_verres_libelle_du_tarif() -{ - codeTarifOptique=$("#codeTarifOptique").val(); - libelleVerre=$("#libelleVerre").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - if(libelleVerre<=' ') - { - v_msg="Veuillez indiquer le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelleVerre").focus(); - return; - } - - donnees = 'codeTarifOptique='+codeTarifOptique+'&libelleVerre='+libelleVerre; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/retirertousverressautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); - } -} - -function ajouter_un_verre_au_tarif(idVerre) -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - donnees = 'idVerre='+idVerre+'&codeTarifOptique='+codeTarifOptique; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/ajouterunverreautarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); -} - -function retirer_un_verre_au_tarif(idDetailtarifOptique) -{ - codeTarifOptique=$("#codeTarifOptique").val(); - - if(codeTarifOptique<=' ') - { - v_msg="Veuillez sélectionner un tarif!"; - v_msgEng="Please select a rate!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTarifOptique").focus(); - return; - } - - donnees = 'idDetailtarifOptique='+idDetailtarifOptique+'&codeTarifOptique='+codeTarifOptique; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/retirerunverredutarif/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - ajax_composante_tarif_verres(); - } - }); -} - -function maj_composante_tarif_verres(idDetailtarifOptique, prix) -{ - donnees = 'idDetailtarifOptique='+idDetailtarifOptique+"&prix="+prix; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxcomposantetarifoptique/majprix/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function(data) - { - } - }); -} - -function exporterbons() -{ - codePrestataire=$("#codePrestataire").val(); - - codeTypeBon=$("#codeTypeBon").val(); - codeEtatBon=$("#codeEtatBon").val(); - - noDepart=$("#noDepart").val(); - noFin=$("#noFin").val(); - - if (noDepart=="") - { - noDepart="0"; - } - - if (noFin=="") - { - noFin="0"; - } - - noDepart = parseInt(noDepart); - noFin = parseInt(noFin); - - if (codePrestataire<=" ") - { - v_msg="Veuillez sélectionner un prestataire!"; - v_msgEng="Please select a provider!"; - alert_ebene(v_msg, v_msgEng); - - $("#codePrestataire").focus(); - return; - } - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeBon").focus(); - return; - } - - if (noFin  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterbons/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function consulter_remplacer_medicament() -{ - $("#div_liste_medicaments_remplaces").html('
  ' + 'Veuillez patienter...' + '
'); - - $('#btn_medicaments_remplaces').click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailprescription/consulterremplacement/", - type: 'POST', - success: function(data) { - $("#div_liste_medicaments_remplaces").html(data); - }, - error: function(data) { - }, - complete: function() - { - // $('#btn_medicaments_remplaces').click(); - } - }); -} - -function etat_prod_par_mois_eclate_client() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_prod_par_mois_eclate_client_export() -{ - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - $('#div_export_a').html(""); - - donnees_retour = ""; - donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - - $('#div_export_a').html(""); - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function exporter_modele_destinataire_sms() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_destinataires_sms'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterdestinatairesms/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function charger_fichier_modele_destinataire_sms() -{ - $('#div_exporter_destinataires_sms').html(""); - - $('#div_form_upload').show(); - - // return; -} - -function importer_destinataire_sms() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_destinataires_sms'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - cheminFichier=$("#cheminFichier").val(); - - donnees = 'cheminFichier='+cheminFichier; - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterdestinatairesms/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - alert("Actualisation..."); - reinitiliser_envois_sms_hors_systeme(); - } - }); -} - -function ajax_init_destinataires_sms_hos_systeme() -{ - etape3=$("#etape3").val(); - - if (etape3 != "1") - { - v_msg="Etape 3 incomplète!"; - v_msgEng="Incomplete step 3!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $("#div_envois_sms").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterdestinatairesms/init/", - error: function(errorData) { - }, - success: function(data) - { - $("#div_envois_sms").html(data); - }, - complete: function() - { - } - }); -} - -function reinitiliser_envois_sms_hors_systeme() -{ - window.location.assign($("#racineWeb" ).val()+"Importdestinatairesms/"); -} - -function histo_enrollement_empreinte() -{ - $("#div_detail_suppr_empreinte").html(""); - - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - donnees_retour = ""; - - $("#div_detail_suppr_empreinte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxhistsupprempreinteexport/historiqueenrollement/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_suppr_empreinte").html(donnees_retour); - } - }); -} - -function imprimer_limites_adherent_entete_contrat() -{ - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'idEntetecontrat='+idEntetecontrat; - - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimerlimite/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function afficher_garantiebeneficiaire_entete_contrat() -{ - var div_attente = $('#div_gar_exo'); - - idEntetecontrat=$("#idEntetecontrat").val(); - - if (idEntetecontrat<="0") - { - v_msg="Veuillez sélectionner une période!"; - v_msgEng="Please select a period!"; - alert_ebene(v_msg, v_msgEng); - - $("#idEntetecontrat").focus(); - - div_attente.html(''); - - return; - } - - donnees = 'idEntetecontrat='+idEntetecontrat; - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxplafondbeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajaxchanger_type_bon() -{ - $("#msgErreur").html(""); -} - -function changer_type_bon() -{ - $("#nbligne_info").val("0"); - afficherbon_vide(); -} - -function afficherbon_vide() -{ - $("#div_bonpecs").html(""); - - codeLangue = $("#codeLangue").val(); - if(codeLangue=="en_US") - { - $("#nbligne").val("Number of lines displayed : 0"); - } - else - { - $("#nbligne").val("Nombre de bons affichés : 0"); - } - - /* - codeTypeBon=$("#codeTypeBon").val(); - - if (codeTypeBon<=" ") - { - v_msg="Veuillez sélectionner un type de bon!"; - v_msgEng="Please select a form type!"; - alert_ebene(v_msg, v_msgEng); - $("#codeTypeBon").focus(); - return; - } - */ - - $("#div_bonpecs").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/vide/", - error: function(errorData) - { - }, - success: function(data) - { - $("#div_bonpecs").html(data); - }, - complete: function() - { - } - }); -} - -function date_inclus_mois_decompte() -{ - datejour = $("#datejour_C").val(); - dateFacture = $("#dateFacture").val(); - dateFactureReelle = dateFacture; - - libelledebutMoisDecompte = $("#debutMoisDecompte").val(); - debutMoisDecompte = $("#debutMoisDecompte").datepicker("getDate"); - var tddebut = new Date(debutMoisDecompte); - dddebut = Math.round(Date.parse(tddebut)/(1000*3600*24)); - - CalculerFinMoisDecompte(); - - libellefinMoisDecompte = $("#finMoisDecompte").val(); - finMoisDecompte = $("#finMoisDecompte").datepicker("getDate"); - var tfin = new Date(finMoisDecompte); - ddfin = Math.round(Date.parse(tfin)/(1000*3600*24)); - - var td1 = $("#dateFacture").datepicker("getDate"); - var tdj = new Date(datejour); - - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); - dtj=Math.round(Date.parse(tdj)/(1000*3600*24)); - - if ( (dt1ddfin) ) - { - v_msg="Attention! date hors du mois! => "+libelledebutMoisDecompte+" - "+libellefinMoisDecompte; - v_msgEng="Warning! date out of the month!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - - if (dt1>dtj) - { - v_msg="Attention! Revoir la date!"; - v_msgEng="Warning! Review the date!"; - alert_ebene(v_msg, v_msgEng); - - return false; - } - return true; -} - -function CalculerFinMoisDecompte() -{ - var typdate = $("#debutMoisDecompte").datepicker("getDate"); - typdate.addMonths(1); - $("#finMoisDecompte").datepicker( "setDate", typdate ); -} - -function supprimer_lien_parent_client(idClient) -{ - v_msg="Confirmez-vous la suppression de cette liaison?"; - v_msgEng="Do you confirm the deletion of this link?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxclientliaison/supprimerliaisonclient/", - type : 'post', - data: "idClient="+idClient, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Suppression terminée avec succès terminé!"; - v_msgEng="Deletion completed successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_client_liaison(); - } - }); - } -} - -function afficher_client_liaison() -{ - window.location.assign($("#racineWeb" ).val()+"Liaisonclients/"); -} - -function client_lier_a_un_parent(idClientP) -{ - idClient = $("#idClient").val(); - - // alert("idClient => "+idClient+" ; idClientP => "+idClientP); - // return; - - if (idClient<=" " || idClientP<=" ") - { - v_msg="Veuillez sélectionner le parent!"; - v_msgEng="Please select the parent!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch").focus(); - return; - } - - v_msg="Confirmez-vous cette liaison?"; - v_msgEng="Do you confirm this link?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idClient="+idClient+"&idClientP="+idClientP; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxclientliaison/clientlieraunparent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Liaison effectuée avec succès!"; - v_msgEng="Link successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_client_liaison(); - } - }); - } -} - -function client_ajouter_un_enfant(idClientE) -{ - idClient = $("#idClient").val(); - - if (idClient<=" " || idClientE<=" ") - { - v_msg="Veuillez sélectionner le parent!"; - v_msgEng="Please select the parent!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch_e").focus(); - return; - } - - v_msg="Confirmez-vous cette liaison?"; - v_msgEng="Do you confirm this link?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = "idClient="+idClientE+"&idClientP="+idClient; - - // alert(donnees) - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxclientliaison/clientlieraunparent/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - v_msg="Liaison effectuée avec succès!"; - v_msgEng="Link successfully completed!"; - alert_ebene(v_msg, v_msgEng); - }, - complete: function() - { - afficher_client_liaison(); - } - }); - } -} - -function ctrlkeypress_parent_client(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_parent_client(); - } -} - -function afficher_pop_recherche_parent_client() -{ - idClient = $("#idClient").val(); - numeroclientsearch = $("#numeroclientsearch").val(); - nomsearch = $("#nomsearch").val(); - - numeroclientsearch = convertir_en_entier(numeroclientsearch); - - if(numeroclientsearch+nomsearch<="0") - { - v_msg="Critères de recherche manquant!"; - v_msgEng="Missing search criteria!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch").focus(); - return; - } - - donnees = "numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&idClient="+idClient; - - // alert(donnees); - // return; - - $("#div_liste_clients_parents").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclientsparents/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_clients_parents").html(data); - } - }); -} - -function afficher_pop_recherche_enfants_client() -{ - idClient = $("#idClient").val(); - numeroclientsearch = $("#numeroclientsearch_e").val(); - nomsearch = $("#nomsearch_e").val(); - - numeroclientsearch = convertir_en_entier(numeroclientsearch); - - if(numeroclientsearch+nomsearch<="0") - { - v_msg="Critères de recherche manquant!"; - v_msgEng="Missing search criteria!"; - alert_ebene(v_msg, v_msgEng); - $("#nomsearch_e").focus(); - return; - } - - donnees = "numeroclientsearch="+numeroclientsearch+"&nomsearch="+nomsearch+"&idClient="+idClient; - - // alert(donnees); - // return; - - $("#div_liste_clients_enfants").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteclientsenfants/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_clients_enfants").html(data); - } - }); -} - -function ctrlkeypress_enfant_client(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_enfants_client(); - } -} - -function afficherbon_vide_sans_wait() -{ - $("#div_bonpecs").html(""); - - codeLangue = $("#codeLangue").val(); - if(codeLangue=="en_US") - { - $("#nbligne").val("Number of lines displayed : 0"); - } - else - { - $("#nbligne").val("Nombre de bons affichés : 0"); - } - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxafficherbons/vide/", - error: function(errorData) - { - }, - success: function(data) - { - $("#div_bonpecs").html(data); - }, - complete: function() - { - } - }); -} - -function listerderogations_vide() -{ - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogations/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function listerderogationbeneficiaire_vide() -{ - $("#div_derogations").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxderogationsbenficiaire/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_derogations").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealables_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealables/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listerententeprealablebeneficiaire_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesbenficiaire/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealablespha_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablespha/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealablesopt_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesopt/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function listeententeprealablesmont_vide() -{ - $("#div_ententeprealable").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxententeprealablesmont/vide/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - $("#div_ententeprealable").html(data); - }, - complete: function() { - } - }); -} - -function maj_plafond_adherent_additionnelle(idCollegeTemp, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&plafond="+plafond; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majplafondadherentadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function maj_prime_adherent_additionnelle(idCollegeTemp, prime, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&prime="+prime; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majprimeadherentadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college(); - controle.focus(); - } - }); - } -} - -function maj_plafond_beneficiaire_additionnelle(idCollegeTemp, plafond, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&plafond="+plafond; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majplafondbeneficiaireadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - controle.focus(); - } - }); - } -} - -function maj_prime_beneficiaire_additionnelle(idCollegeTemp, prime, controle) -{ - if(controle_numerique(controle)) - { - donnees = 'idCollegeTemp='+idCollegeTemp+"&prime="+prime; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxgarantiescollegeadd/majprimebeneficiaireadd/", - type: 'POST', - data: donnees, - success: function(data) { - $("#div_plafond_global").html(data); - }, - error: function(data) { - }, - complete: function() { - recapituler_limite_college(); - controle.focus(); - } - }); - } -} - -function afficher_attribution_gestion_bon() -{ - codeGestionBon=$("#codeGestionBon").val(); - - var div_attente = $('#div_gestion_bon'); - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un mode de gestion!"; - v_msgEng="Please select a management mode!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - div_attente.html(""); - return; - } - - donnees = 'codeGestionBon='+codeGestionBon; - - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairegestionbon/afficherattributiongestionbon/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); -} - -function ajouter_tous_prestataires_gestion_bon() -{ - codeGestionBon=$("#codeGestionBon").val(); - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un mode de gestion!"; - v_msgEng="Please select a management mode!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - return; - } - - donnees = 'codeGestionBon='+codeGestionBon; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm this operation?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairegestionbon/ajoutertousprestatairesgestionbon/", - type: 'POST', - data: donnees, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_gestion_bon(); - } - }); - } -} - -function ajouter_un_prestataire_gestion_bon(codePrestataire) -{ - codeGestionBon=$("#codeGestionBon").val(); - - if (codeGestionBon<=" ") - { - v_msg="Veuillez sélectionner un mode de gestion!"; - v_msgEng="Please select a management mode!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGestionBon").focus(); - return; - } - - donnees = 'codeGestionBon='+codeGestionBon+'&codePrestataire='+codePrestataire; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxprestatairegestionbon/ajouterunprestatairegestionbon/", - type: 'POST', - data: donnees, - success: function(data) { - }, - error: function(data) { - }, - complete: function() { - afficher_attribution_gestion_bon(); - } - }); -} - - -function requetes_factures_gc_export_gar() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeGcAssureur = $("#codeGcAssureur").val(); - if(codeGcAssureur<=" ") - { - v_msg="Veuillez sélectionner un assureur!"; - v_msgEng="Please select an insurer!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeGcAssureur").focus(); - return; - } - - dateFacture1 = $("#dateFacture1").val(); - dateFacture2 = $("#dateFacture2").val(); - - donnees += 'codeGcAssureur=' + codeGcAssureur; - donnees += '&dateFacture1=' + dateFacture1; - donnees += '&dateFacture2=' + dateFacture2; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - v_url = $("#racineWeb").val()+"Ajaxrequetefacturegcexport/avecgaranties/"; - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function charger_detail_facture_gc_xls_gar() -{ - donnees_retour = ""; - - var div_export = $('#div_export_b'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailfacturegcxls/avecgaranties/", - type : 'post', - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - div_export.html(donnees_retour); - } - }); -} - - - -function exporter_paiement_decompte() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterpaiementdecompte/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - }, - complete: function() { - } - }); -} - - -function exporter_decompte_non_payes() -{ - debut=$("#debut").val(); - fin=$("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - - $("#div_detail_paiement_decompte").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxexporterpaiementdecompte/impayes/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_detail_paiement_decompte").html(data); - }, - complete: function() { - } - }); -} - - -function etat_moy_categ_med_prestataire() -{ - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function etat_moy_categ_med_prestataire_export() -{ - // alert("etat_moy_moy_categ_med_prestataire_export"); - // return; - - var td0 = $("#debutExercice").datepicker("getDate"); - var td1 = $("#dateAnalyse").datepicker("getDate"); - var td2 = $("#debutStat").datepicker("getDate"); - var td3 = $("#finStat").datepicker("getDate"); - - dt0=Math.round(Date.parse(td0)/(1000*3600*24)); // debutExercice - dt1=Math.round(Date.parse(td1)/(1000*3600*24)); // dateAnalyse - dt2=Math.round(Date.parse(td2)/(1000*3600*24)); // debutStat - dt3=Math.round(Date.parse(td3)/(1000*3600*24)); // finStat - - if (dt2dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3dt1) - { - v_msg="Période a extraire hors de la période d\'analyse!"; - v_msgEng="Period to extract out of the analysis period!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (dt3  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// assurance maladie individuelle => 01/11/2020 -function rechercher_commercail_type_param() -{ - var div_detail = $('#div_detail_apporteur'); - - codeTypeApporteur=$("#codeTypeApporteur").val(); - libelleApporteur=$("#libelleApporteur").val(); - - /* - if(codeTypeApporteur<=' ') - { - v_msg="Veuillez sélectionner un type apporteur!"; - v_msgEng="Please select a type of trader!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeApporteur").focus(); - return; - } - */ - - donnees = 'codeTypeApporteur='+codeTypeApporteur+'&libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - - -function rechercher_commercail_type_param_tous() -{ - var div_detail = $('#div_detail_apporteur'); - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/tous/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function ctrlkeypress_rechercher_commercail_type_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_commercail_type_param(); - } -} - -function modifier_un_commercial(idApporteur) -{ - window.location.assign($("#racineWeb" ).val()+"Modifiercommercial/"+idApporteur+"/"); -} - -function retour_liste_commerciaux() -{ - window.location.assign($("#racineWeb" ).val()+"Commercial/"); -} - -function enregistrer_nouveau_commercial() -{ - codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(codeTypeApporteur<=" ") - { - v_msg="Veuillez sélectionner le type!"; - v_msgEng="Please select the type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeApporteur").focus(); - return; - } - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'codeTypeApporteur='+codeTypeApporteur; - donnees += '&libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/enregistrernouveaucommercial/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_commerciaux(); - } - }); - } -} - -function enregistrer_modif_un_commercial() -{ - idApporteur = $("#idApporteur").val(); - codeApporteur = $("#codeApporteur").val(); - - codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(codeTypeApporteur<=" ") - { - v_msg="Veuillez sélectionner le type!"; - v_msgEng="Please select the type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeApporteur").focus(); - return; - } - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idApporteur='+idApporteur; - donnees += '&codeApporteur='+codeApporteur; - donnees += '&codeTypeApporteur='+codeTypeApporteur; - donnees += '&libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/enregistrermodifcommercial/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_commerciaux(); - } - }); - } -} - -function exporter_liste_commercial() -{ - var div_export = $('#div_export_apporteur'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialparam/exporterlistecommercail/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -// Apporteurs / Courtiers -function rechercher_apporteur_param() -{ - var div_detail = $('#div_detail_apporteur'); - - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function ctrlkeypress_rechercher_apporteur_param(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_apporteur_param(); - } -} - -function enregistrer_nouvel_apporteur() -{ - // codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - // donnees = 'codeTypeApporteur='+codeTypeApporteur; - donnees = 'libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - // alert("enregistrer_nouvel_apporteur => "+donnees); - // return; - - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/enregistrernouvelapporteur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_apporteurs(); - } - }); - } -} - - -function modifier_un_apporteur(idApporteur) -{ - window.location.assign($("#racineWeb" ).val()+"Modifierapporteur/"+idApporteur+"/"); -} - -function enregistrer_modif_un_apporteur() -{ - - idApporteur = $("#idApporteur").val(); - codeApporteur = $("#codeApporteur").val(); - - // codeTypeApporteur = $("#codeTypeApporteur").val(); - libelle = $("#libelle").val(); - telephone = $("#telephone").val(); - email = $("#email").val(); - adresseGeo = $("#adresseGeo").val(); - adressePost = $("#adressePost").val(); - - if(libelle<=" ") - { - v_msg="Veuillez saisir le nom!"; - v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng); - - $("#libelle").focus(); - return; - } - - donnees = 'idApporteur='+idApporteur; - donnees += '&codeApporteur='+codeApporteur; - // donnees += '&codeTypeApporteur='+codeTypeApporteur; - donnees += '&libelle='+libelle; - donnees += '&telephone='+telephone; - donnees += '&email='+email; - donnees += '&adresseGeo='+adresseGeo; - donnees += '&adressePost='+adressePost; - - // alert(donnees); - // return; - - v_msg="Confirmez-vous ces modifications?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/enregistrermodifapporteur/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) - { - // $('#div_test_gabarit').html(data); - }, - complete: function() - { - retour_liste_apporteurs(); - } - }); - } -} - -function retour_liste_apporteurs() -{ - window.location.assign($("#racineWeb" ).val()+"Courtier/"); -} - -function exporter_liste_courtier() -{ - var div_export = $('#div_export_apporteur'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_exporter").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxapporteurparam/exporterlisteapporteur/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - - -function assurance_familiale() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if (codeTypeContrat!="F") - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); -} - -function ajax_init_parametres_echancier_temp() -{ - $("#div_echeancier_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfacturerpolice/getparametrestypeecheancier/", - type : 'post', - data: "codeTypeEcheancier="+$("#codeTypeEcheancier").val(), - error: function(errorData) { - }, - success: function(data) { - $("#infonbEcheance").html(data); - $('#div_test_gabarit').html(data); - }, - complete: function() { - $("#nbEcheance").val( $("#nbEcheance_info").val()); - $("#tauxInteret").val( $("#tauxInteretEcheancier_info").val()); - - ajax_maj_echancier_temp(); - } - }); -} - -function facturer_police_familiale() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Facturerpolicefamiliale/"); - } -} - -function creer_adherents_familiale() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creeradherentfamiliale/"); -} - -function ctrlkeypress_rechercher_commercail_type_familiale(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - rechercher_commercail_type_familiale(); - } -} - -function rechercher_commercail_type_familiale() -{ - var div_detail = $('#div_detail_apporteur'); - - codeTypeApporteur=$("#codeTypeApporteur").val(); - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'codeTypeApporteur='+codeTypeApporteur+'&libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialfamiliale/", - type: 'POST', - data: donnees, - success: function(data) - { - // $('#div_test_gabarit').html(data); - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function rechercher_commercail_type_familiale_tous() -{ - var div_detail = $('#div_detail_apporteur'); - libelleApporteur=$("#libelleApporteur").val(); - - donnees = 'libelleApporteur='+libelleApporteur; - - div_detail.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxacommercialfamiliale/tous/", - type: 'POST', - data: donnees, - success: function(data) - { - div_detail.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function() - { - } - }); -} - -function agent_commercial(idApporteur) -{ - if (idApporteur>" ") - { - window.location.assign($("#racineWeb" ).val()+"Agentcommercial/"+idApporteur+"/"); - } - else - { - v_msg="Aucun commercial!"; - v_msgEng="commercial!"; - alert_ebene(v_msg, v_msgEng); - } -} - -function retour_agent_commercial() -{ - idApporteur=$("#idApporteur").val(); - - // alert("idApporteur "+idApporteur); - - if (idApporteur>" ") - { - window.location.assign($("#racineWeb" ).val()+"Agentcommercial/"+idApporteur+"/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); - } -} - -function facturer_famille() -{ - if(est_ce_police_famille()) - { - if (codeTypeContrat!="F") - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idAdherent = $("#idAdherent_C" ).val(); - // if ($("#idPolice_C" ).val()>"") - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Facturerfamille/"); - } - } - else - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function aller_a_gestion_famille() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - if (codeTypeContrat=="F") - { - window.location.assign($("#racineWeb" ).val()+"Assuranceindividuelle/"); - return; - } -} - -function est_ce_police_famille() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - return (codeTypeContrat=="F"); -} - -function recap_prime_adherent_temp() -{ - idCollege = $("#idCollege").val(); - dateEntree = $("#dateEntree").val(); - primeBase = $("#primeBase").val(); - codeTypeEcheancier = $("#codeTypeEcheancier").val(); - - if (idCollege<=" ") - { - v_msg="Veuillez sélectionner un collège!"; - v_msgEng="Please select a college!"; - alert_ebene(v_msg, v_msgEng); - - $("#idCollege").focus(); - return; - } - - if (codeTypeEcheancier<=" ") - { - v_msg="Veuillez sélectionner un type échéancier!"; - v_msgEng="Please select a Sshedule type!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeTypeEcheancier").focus(); - return; - } - - donnees = 'idCollege='+idCollege; - donnees += '&dateEntree='+dateEntree; - donnees += '&primeBase='+primeBase; - donnees += '&codeTypeEcheancier='+codeTypeEcheancier; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecapprimeadherentfamiliale/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - } - }); -} - -function controle_bornes_primes_familiale() -{ - primeBase = $("#primeBase").val(); - primeMin = $("#primeMin").val(); - - - primeBase = parseInt(primeBase); - primeMin = parseInt(primeMin); - - if((primeMin>0) && (primeBase  ' + 'Veuillez patienter... / Please wait...' + ''); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteadherentfamiliale/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_adherent").html(data); - } - }); -} - -function afficher_adherents_police_familiale_export() -{ - debut = $("#debut").val(); - fin = $("#fin").val(); - - donnees = 'debut='+debut+'&fin='+fin; - - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $("#btn_pop").click(); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlisteadherentfamiliale/exporter/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_deatil_pop").html(data); - } - }); -} - -function afficher_adherent_familiale_id() -{ - idAdherent = $("#idAdherent_C" ).val(); - - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Ficheadherentfamiliale/"+idAdherent+"/"); - } -} - -function afficher_beneficiaire_familiale_() -{ - idBeneficiaire = $("#idBeneficiaire_C" ).val(); - if (idBeneficiaire>"") - { - window.location.assign($("#racineWeb" ).val()+"Fichebeneficiairefamiliale/"+idBeneficiaire+"/"); - } -} - -function facturer_beneficiaire() -{ - if(est_ce_police_famille()) - { - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - idAdherent = $("#idAdherent_C" ).val(); - // if ($("#idPolice_C" ).val()>"") - if (idAdherent>"0") - { - window.location.assign($("#racineWeb" ).val()+"Facturerbeneficiaire/"); - } - } - else - { - v_msg="Ce n\'est pas une police FAMILIALE!"; - v_msgEng="This is not a FAMILIY policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } -} - -function creer_beneficiaires_familiale() -{ - etat=$("#codeEtatPolice_C").val(); - - if (etat=="RE") - { - v_msg="Attention! Police résiliée!"; - v_msgEng="Warning! Terminated policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="SU") - { - v_msg="Attention! Police suspendue!"; - v_msgEng="Warning! Suspended policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - if (etat=="AN") - { - v_msg="Attention! Police annulée!"; - v_msgEng="Warning! Canceled policy!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - etatadh=$("#codeEtatAdherent_C").val(); - - if (etatadh != "V") - { - v_msg="Attention! cette famille n\'est pas en vigueur!"; - v_msgEng="Warning! this family is not in force!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - window.location.assign($("#racineWeb" ).val()+"Creerbeneficiairefamiliale/"); -} - - -function recap_prime_beneficiaire_temp() -{ - $("#btn_submit").disable(); - - $("#primeTtc").val("0"); - - primeTtc2 = $("#primeTtc").val(); - - $("#div_prime").empty(); - - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - codeLienParente=$("#codeLienParente").val(); - if (codeLienParente=="A" || codeLienParente<=" ") - { - v_msg="Veuillez revoir le lien de parenté!"; - v_msgEng="Please review the relationship"; - alert_ebene(v_msg, v_msgEng); - $("#codeLienParente").focus(); - return; - } - - dateEntree=$("#dateEntree").val(); - - codeProduit=$("#codeProduit").val(); - - donnees = 'idAvenant='+idAvenant; - donnees += '&codeLienParente='+codeLienParente; - donnees += '&dateEntree='+dateEntree; - donnees += '&codeProduit='+codeProduit; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxrecapprimebeneficiairefamiliale/", - - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_prime").html(data); - }, - complete: function() { - primeTtc_info = $("#primeTtc_info").val(); - $("#primeTtc").val(primeTtc_info); - - if(primeTtc_info>"0") - { - $("#btn_submit").enable(); - } - } - }); -} - -function changer_avenant_incorporation_beneficiaire_familiale() -{ - idAvenant = $("#idAvenant").val(); - - if(idAvenant<=" ") - { - v_msg="Veuillez sélectionner un avenant!"; - v_msgEng="Please select an Amendment!"; - alert_ebene(v_msg, v_msgEng); - - $("#idAvenant").focus(); - return; - } - - donnees = 'idAvenant='+idAvenant; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxavenant/getdateavenantbeneficiaire/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_date_avenant").html(data); - $(".datepicker" ).datepicker(); - }, - complete: function() - { - // prorater_prime_beneficiaire(); - } - }); -} - - -// Début Entrée Familiale -function stat_familiale_entree_detail() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_detail =>"+donnees); - // return; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_detail_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_detail_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function afficher_pop_recherche_commercial() -{ - codesearch = $("#codesearch").val(); - nomsearch = $("#nomsearch").val(); - - if(codesearch+nomsearch<=" ") - return; - - donnees = "valid=1&codeApporteur="+codesearch+"&nomsearch="+nomsearch; - - $("#div_liste_commerciaux").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecommercial/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_liste_commerciaux").html(data); - } - }); -} - -function reinitialiser_commercial() -{ - $("#codeApporteur").val(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecommercial/reinitialiser/", - type : 'post', - // data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - $("#close_pop").click(); - - codeLangue = $("#codeLangue").val(); - - if(codeLangue=="en_US") - { - $("#libelleApporteur").html("All / Search Trader..."); - - } - else - { - $("#libelleApporteur").html("Tous / Rechercher Commercial..."); - } - } - }); -} - -function ctrlkeypress_commercial(ev) -{ - var keycode = (ev.keyCode ? ev.keyCode : ev.which); - if(keycode == '13') - { - afficher_pop_recherche_commercial(); - } -} - -function selectionner_commercial(codeApporteur, libelleApporteur) -{ - $("#codeApporteur").val(codeApporteur); - $("#libelleApporteur").html(libelleApporteur); - - donnees = 'codeApporteur=' + codeApporteur; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxlistecommercial/mettreensession/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - // $('#div_test_gabarit').html(data); - }, - complete: function() { - $("#close_pop").click(); - } - }); - -} - -function stat_familiale_entree_grp_fam() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_grp_fam =>"+donnees); - // return; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_fam_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_grp_fam_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_com_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_com_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_com() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_com_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_per_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_per_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_entree_grp_per() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_per_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function stat_familiale_entree_grp_exe_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_exe_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_entree_grp_exe() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_exe_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_entree_grp_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_entree_grp_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} -// Fin Entree Familiale - -// - - -// Début Sortie Familiale -function stat_familiale_sortie_detail() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_sortie_detail =>"+donnees); - // return; - - alert(v_url); - return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_detail_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_detail_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_fam() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - alert("stat_familiale_entree_grp_fam =>"+donnees); - return; - - alert(v_url); - return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_fam_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert("stat_familiale_entree_grp_fam_export =>"+donnees); - // return; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_com_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_com_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_com() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_com_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_per_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_per_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function stat_familiale_sortie_grp_per() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_per_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - - -function stat_familiale_sortie_grp_exe_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_exe_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_sortie_grp_exe() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_exe_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -// - -function stat_familiale_sortie_grp_ech() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - -function stat_familiale_sortie_grp_ech_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner une requête!"; - v_msgEng="Please select a query!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajax"+codeEtat+"export/"; - - codeApporteur = $("#codeApporteur").val(); - debutPeriode = $("#debutPeriode").val(); - finPeriode = $("#finPeriode").val(); - - donnees += 'codeApporteur=' + codeApporteur; - donnees += '&debutPeriode=' + debutPeriode; - donnees += '&finPeriode=' + finPeriode; - - // alert(v_url); - // return; - - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} -// Fin Sortie Familiale - -// 22/11/2020 -function ajaxenteteetatprod() -{ - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - donnees = 'codeEtat='+codeEtat; - - v_url = $("#racineWeb").val()+"Ajaxentete"+codeEtat+"/"; - - $("#div_ente_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_ente_requete").html(data); - $(".datepicker" ).datepicker(); - } - }); -} - -function ajaxenteteetatassurancefamiliale() -{ - $("#div_ente_requete").html(""); - - codeEnteteEtat=$("#codeEnteteEtat").val(); - - if (codeEnteteEtat<=" ") - { - v_msg="Veuillez sélectionner un entête!"; - v_msgEng="Please select a header!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEnteteEtat").focus(); - return; - } - - donnees = 'codeEnteteEtat='+codeEnteteEtat; - - v_url = $("#racineWeb").val()+"Etatsassuranceindividuelle/enteteetatsassuranceindividuelle/"; - - $("#div_sous_etat").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - $("#div_sous_etat").html(data); - } - }); -} - -function afficher_liste_assures_a_importer() -{ - codeTypeContrat = $("#codeTypeContrat_C").val(); - - if (codeTypeContrat=="F") - { - window.location.assign($("#racineWeb" ).val()+"Listeimportassurefamiliale/"); - } - else - { - window.location.assign($("#racineWeb" ).val()+"Listeimportassure/"); - } -} - -function exporter_modele_assure_familiale() -{ - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/exportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -// - -function importer_modele_assure_familiale(idAvenant, dateEffet) -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - cheminFichier=$("#cheminFichier").val(); - - donnees = 'idAvenant='+idAvenant+'&cheminFichier='+cheminFichier; - donnees += '&dateEffet='+dateEffet; - - // alert(donnees); - // return; - - $("#div_erreur_excel").html(""); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/importermodele/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(''); - $("#div_erreur_excel").html(data); - - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - div_export.html(''); - - succes_impot_execl=$("#succes_impot_execl").val(); - - if (succes_impot_execl == "1") - { - maj_etape_3_import_assures(); - } - } - }); -} - -function init_importer_modele_assure_familiale() -{ - etape2=$("#etape2").val(); - - if (etape2 != "1") - { - v_msg="Etape 2 incomplète!"; - v_msgEng="Incomplete step 2!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - $('#div_form_upload').hide(); - - var div_export = $('#div_exporter_liste_assures'); - - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/initimportermodele/", - type: 'POST', - // data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function incorporer_assures_inmportes_familiale() -{ - nb_adh=$("#nb_adh").val(); - - if (nb_adh>"0") - { - v_msg="Veuillez revoir les collèges et relancer le calcul des primes!"; - v_msgEng="Please review the colleges and restart the premium calculation!!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - nb_ligne_ass=$("#nb_ligne_ass").val(); - - if (nb_ligne_ass=="0") - { - v_msg="Rien à importer!"; - v_msgEng="Nothing to import!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - /* - v_msg="Avez-vous fait l\'étape 2 => calcul des primes?"; - v_msgEng="Did you do step 2 => premium calculation?"; - - if(!confirm_ebene(v_msg, v_msgEng)) - { - return; - } - */ - - primeTtcTotal=$("#primeTtcTotal").val(); - - if (primeTtcTotal=="0") - { - v_msg="Pas de primes! souhaitez-vous recalculer les primes?"; - v_msgEng="No premiums! do you want to recalculate the premiums?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - return; - } - - v_msg="Notez que vous avez accepté l\'incorporation sans primes!"; - v_msgEng="Note that you accepted the incorporation without premium!"; - alert_ebene(v_msg, v_msgEng); - } - - v_msg="Confirmez-vous l\'incorporation de cette liste?"; - v_msgEng="Do you confirm the incorporation of this list?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - var div_attente = $('#div_liste_assure_importe'); - - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassurefamiliale/incorpoerassuresimportesfamiliale/", - type: 'POST', - // data: donnees, - success: function(data) { - v_msg="Incorporation terminée avec succès!"; - v_msgEng="Incorporation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - afficher_police_id(); - } - }); - } -} - - -function liberer_medicament(idDetailprescription) -{ - v_msg="Confirmez-vous cette opération?"; - v_msgEng="Do you confirm these modifications?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - donnees = 'idDetailprescription='+idDetailprescription; - - // alert(donnees); - // return; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxdetailprescription/liberermedicament/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - // $('#div_test_gabarit').html(data); - }, - error: function(data) { - }, - complete: function() - { - window.location.assign($("#racineWeb" ).val()+"Prescriptioncons/"); - } - }); - } -} - -// ajout du 07/01/2024 -function etat_rapport_sp_exercice_cat() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"/"; - - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $("#div_detail_requete").html(donnees_retour); - $("#nbligne").val("Lignes : "+$("#nbligne_info").val()); - } - }); -} - - -function etat_rapport_sp_exercice_cat_export() -{ - $('#div_export_a').html(""); - donnees = ""; - donnees_retour = ""; - - codeEtat=$("#codeEtat").val(); - - if (codeEtat<=" ") - { - v_msg="Veuillez sélectionner un état!"; - v_msgEng="Please select a state!"; - alert_ebene(v_msg, v_msgEng); - - $("#codeEtat").focus(); - return; - } - - v_url = $("#racineWeb").val()+"Ajaxetat"+codeEtat+"export/"; - - var div_export = $('#div_detail_requete'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - $.ajax({ - url: v_url, - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - donnees_retour = data; - }, - complete: function() { - $('#div_detail_requete').html(""); - $('#div_export_a').html(donnees_retour); - } - }); -} - -function imprimer_cp_fc(lienEtat) -{ - var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - - donnees = 'lienEtat='+lienEtat; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaximprimercp/", - type: 'POST', - data: donnees, - success: function(data) - { - div_export.html(data); - }, - error : function(resultat, statut, erreur) - { - }, - complete: function(data) - { - } - }); -} - -function supprimer_ged(idGed) -{ - v_msg="Confirmez-vous la suppression de ce document?"; - v_msgEng="Do you confirm the deletion of this document?"; - - if(confirm_ebene(v_msg, v_msgEng)) - { - motifSuppression = ""; - - v_msg="Supprimé pour quel motif?"; - v_msgEng="Deleted for what reason?"; - - motifSuppression = prompt_ebene(v_msg, v_msgEng, motifSuppression); - if (motifSuppression<=" ") - { - v_msg="Vous devez saisir un motif!"; - v_msgEng="You have to enter a reason!"; - alert_ebene(v_msg, v_msgEng); - - return; - } - - donnees = 'idGed='+idGed+'&motifSuppression='+motifSuppression; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxged/supprimerged/", - type: 'POST', - data: donnees, - success: function(data) { - v_msg="Document supprimé avec succès!"; - v_msgEng="Document successfully removed!"; - alert_ebene(v_msg, v_msgEng); - }, - error: function(data) { - }, - complete: function() { - window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); - } - }); - } -} diff --git a/radiantproduction/Modele/Acte.php b/radiantproduction/Modele/Acte.php deleted file mode 100644 index 2e85174..0000000 --- a/radiantproduction/Modele/Acte.php +++ /dev/null @@ -1,160 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeActe,$libelle)); - - return $actes->fetchAll(PDO::FETCH_ASSOC); - } - public function getActe($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeActe, A.libelle, A.codeFamille, - B.libelle as libelleFamille, caracteristiques - FROM acte A left join familleacte B on (B.codeFamille=A.codeFamille) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $acte = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $acte->fetch(PDO::FETCH_ASSOC); - } - public function getNombreActe() - { - $sql = 'select count(*) as nbActe FROM acte A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbActe']; - } - - public function ajouter($codeSociete, $codeActe, $libelle, $codeFamille, $caracteristiques) { - $sql = 'INSERT INTO acte (codeSociete, codeActe, libelle, codeFamille, caracteristiques) VALUES (?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeActe, $libelle, $codeFamille, $caracteristiques)); - } - - public function modifier($id, $codeActe, $libelle, $codeFamille, $caracteristiques) { - $sql = 'UPDATE acte SET codeActe=?, libelle=?, codeFamille=?, caracteristiques=? where (id=?)'; - $this->executerRequete($sql, array($codeActe, $libelle, $codeFamille, $caracteristiques, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM acte WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeActe) { - $sql = 'select id FROM acte WHERE (codeSociete=?) and (codeActe=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeActe)); - return ($resultat->rowCount() > 0); - } - - public function getcaracteristiquesacte($codeFamilleActe, $libelleActe) - { - $codeSociete = $_SESSION['codeSociete']; - $codeFamilleActe = contruireParamLike($codeFamilleActe); - $libelleActe = contruireParamLike($libelleActe); - - if (est_anglophone()) - { - $sql = 'call sp_afficher_caracteristiques_acte_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_afficher_caracteristiques_acte(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeFamilleActe, $libelleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getcaracteristiqueunsacte($idActe) - { - - $sql = 'call sp_afficher_caracteristiques_un_acte(?)'; - - $resultat = $this->executerRequete($sql, array($idActe)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifcaracteristiquesacte($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_caracteristiquesacte(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe, $user)); - } - - public function rechercheractesfamilleparam($codeTarifActe, $codeFamilleActe, $libelleActe) - { - $codeSociete = $_SESSION['codeSociete']; - $libelleActe = contruireParamLike($libelleActe); - - if (est_anglophone()) - { - $sql = 'call sp_rechercher_actes_famille_param_eng(?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_rechercher_actes_famille_param(?, ?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeTarifActe, $codeFamilleActe, $libelleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function rechercheractesfamilleparamtous($codeTarifActe, $libelleActe) - { - $codeSociete = $_SESSION['codeSociete']; - $libelleActe = contruireParamLike($libelleActe); - - if (est_anglophone()) - { - $sql = 'call sp_rechercher_actes_famille_param_tous_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_rechercher_actes_famille_param_tous(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeTarifActe, $libelleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrernouvelacte($libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouvel_acte(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe, $user)); - } - - public function enregistrermodifacte($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe) - { - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_modifier_un_acte(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idActe, $codeActe, $libelle, $libelleEng, $codeFamilleActe, $codeGarantie, - $codeTarifActe, $codeTypePrestation, $ententePrealable, $exclu, $actif, $alerte, $delaiCarenceActe, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Actes_temp.php b/radiantproduction/Modele/Actes_temp.php deleted file mode 100644 index a0c2030..0000000 --- a/radiantproduction/Modele/Actes_temp.php +++ /dev/null @@ -1,120 +0,0 @@ -executerRequete($sql, array($codeTypePrestation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - else - { - $sql = 'CALL sp_p_liste_famille_actes(?, ?);'; - - $liste = $this->executerRequete($sql, array($codeTarifActe, $codeTypePrestation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - } -*/ - - public function getListeFamille($codeTarifActe) - { - if (est_anglophone()) - { - $sql = 'SELECT codeFamilleActe as `code`, libelleEng as libelle FROM p_familleacte where (codeTarifActe=?) order by libelle'; - } - else - { - $sql = 'SELECT codeFamilleActe as `code`, libelle FROM p_familleacte where (codeTarifActe=?) order by libelle'; - } - - - $liste = $this->executerRequete($sql, array($codeTarifActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_prestations_ajoute_dec() - { - $idFacture = $_SESSION['idFacture_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_afficher_prestations_feuille_temp_aj_dec(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idFacture, $idSaisie, $user) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouteractedecompte($codeActe, $ententePrealable) - { - $idReglement = $_SESSION['idReglement_C']; - $idFacture = $_SESSION['idFacture_C']; - $codeTarifActe = $_SESSION['codeTarifActe_Dec'] ; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_ajouter_acte_decompte(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idReglement, $idFacture, $codeTarifActe, $codeActe, $user, $idSaisie, $ententePrealable)); - } - - public function retireractedecompte($idActe) - { - // $sql = 'call sp_p_retirer_examen_temp(?)'; - $sql = 'call sp_r_retirer_acte_decompte(?)'; - - $this->executerRequete($sql, array($idActe)); - } - - public function getListeFamilleComplet($codeTarifActe) - { - $actesHarmonises = $_SESSION['actesHarmonises']; - $hospitalisation = $_SESSION['hospitalisation_C']; - - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - if (est_anglophone()) - { - $sql = 'CALL sp_p_liste_actes_examens_harmonises_eng(?);'; - } - else - { - $sql = 'CALL sp_p_liste_actes_examens_harmonises(?);'; - } - - // $liste = $this->executerRequete($sql); - $liste = $this->executerRequete($sql, array($hospitalisation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - else - { - if (est_anglophone()) - { - $sql = 'CALL sp_p_liste_actes_examens_eng(?, ?)'; - } - else - { - $sql = 'CALL sp_p_liste_actes_examens(?, ?)'; - } - - // $liste = $this->executerRequete($sql, array($codeTarifActe)); - $liste = $this->executerRequete($sql, array($codeTarifActe, $hospitalisation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - } -} diff --git a/radiantproduction/Modele/Acteurtache.php b/radiantproduction/Modele/Acteurtache.php deleted file mode 100644 index 27bb599..0000000 --- a/radiantproduction/Modele/Acteurtache.php +++ /dev/null @@ -1,70 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'])); - - $codeTypeUtilisateur = $_SESSION['codeTypeUtilisateur']; - - if($codeTypeUtilisateur=='PR') - { - $codePrestataire = $_SESSION['codePrestataireUtilisateur']; - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) AND (codeTypeActeurTache!="PR" OR codeActeurTache=?) ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePrestataire)); - } - else - { - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - } - return $liste; - } - - public function getListe() - { - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) AND (codeTypeActeurTache!="AS") ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - $codeTypeUtilisateur = $_SESSION['codeTypeUtilisateur']; - - if($codeTypeUtilisateur=='PR') - { - $codePrestataire = $_SESSION['codePrestataireUtilisateur']; - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) AND (codeTypeActeurTache!="AS") AND (codeTypeActeurTache!="PR" OR codeActeurTache=?) ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePrestataire)); - } - else - { - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) AND (codeTypeActeurTache!="AS") ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - } - return $liste; - } - - public function getListe_adherent() - { - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) AND (codeTypeActeurTache="AS" OR codeActeurTache=?) ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $_SESSION['codeInitiateurTache'])); - return $liste; - } - - public function getListe_assure() - { - $sql = 'SELECT codeActeurTache AS code, acteur as libelle FROM vw_acteurtache WHERE (codeSociete=?) ORDER BY acteur'; - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste; - } - - public function getInfosActeurtache($codeActeurTache) - { - $sql = 'SELECT email FROM vw_acteurtache WHERE (codeSociete=?) AND (codeActeurTache=?)'; - - $acteurtache = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeActeurTache)); - return $acteurtache->fetch(); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Adherent.php b/radiantproduction/Modele/Adherent.php deleted file mode 100644 index 1f30ac8..0000000 --- a/radiantproduction/Modele/Adherent.php +++ /dev/null @@ -1,847 +0,0 @@ -executerRequete($sql, array($idAdherent)); - return $adherent->fetch(PDO::FETCH_ASSOC); - } - - public function getAdherents($noadherentsearch=null, $noPiecesearch=null, $emailsearch=null, - $nomsearch=null, $prenomsearch=null, $telsearch=null) { - - $noadherentsearch = contruireParamLike($noadherentsearch); - $noPiecesearch = contruireParamLike($noPiecesearch); - $emailsearch = contruireParamLike($emailsearch); - $nomsearch = contruireParamLike($nomsearch); - $prenomsearch = contruireParamLike($prenomsearch); - $telsearch = contruireParamLike($telsearch); - - $sql = 'SELECT A.id, A.codeSociete, numeroAdherent, nom, prenoms, B.libelle as Ville, telephonePortable - FROM adherent A left join ville B on (B.codeSociete=A.codeSociete AND B.codeVille=A.codeVille) - WHERE (A.codeSociete=? AND numeroAdherent LIKE ? AND telephonePortable LIKE ? AND email LIKE ? AND - nom LIKE ? AND prenoms LIKE ? AND telephonePortable LIKE ?)'; - - $adherent = $this->executerRequete($sql, array($_SESSION['codeSociete'], $noadherentsearch, $noPiecesearch, $emailsearch,$nomsearch, $prenomsearch, $telsearch)); - - return $adherent->fetchAll(PDO::FETCH_ASSOC); - } - - public function getAdherent($numeroAdherent) { - $sql = 'select A.*, C.libelle as produit,D.libelle as naturepiece, - E.libelle as situationfamille, F.libelle as pays, G.libelle as motifsortie, - H.libelle as etatadherent, Cl.libelleCollege, A.primeArchive - from adherent A - left join produit C on (C.codeSociete=A.codeSociete and C.codeProduit=A.codeProduit) - left join college Cl on (Cl.codeSociete=A.codeSociete and Cl.id=A.idCollege) - left join naturepiece D on (D.codeSociete=A.codeSociete and D.codeNaturePiece=A.codeNaturePiece) - left join situationfamille E on (E.codeSituationFamille=A.codeSituationFamille) - left join pays F on (F.codeSociete=A.codeSociete and F.codePays=A.codePays) - left join motifsortie G on (G.codeMotifSortie=A.codeMotifSortie) - left join etatpersonne H on (H.codeEtatPersonne=A.codeEtatAdherent) - WHERE (A.codeSociete=?) AND (A.numeroAdherent=?)'; - - $adherent = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent)); - return $adherent; - } - - public function getAdherentId($idAdherent) { - $sql = 'call sp_get_adherent_id(?);'; - $adherent = $this->executerRequete($sql, array($idAdherent)); - return $adherent->fetch(PDO::FETCH_ASSOC); - } - - public function getAdherentIdConso($idAdherent) - { - $sql = 'call sp_get_adherent_id_conso(?);'; - $adherent = $this->executerRequete($sql, array($idAdherent)); - return $adherent->fetch(PDO::FETCH_ASSOC); - } - - public function getNombreAdherents() - { - $sql = 'select count(*) as nbAdherents FROM adherent A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbAdherents']; - } - - public function getIdAdherent($numeroAdherent) { - $sql = 'SELECT id FROM adherent WHERE (codeSociete=?) AND (numeroAdherent=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - - public function getContexteAdherentId($idAdherent) { - - $sql = 'call sp_get_contexte_adherent_id(?);'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - - // $context = $resultat->fetch(PDO::FETCH_ASSOC); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLangueAdherent'] = $context['codeLangueAdherent']; - - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - - $_SESSION['idAdherent_C'] = $context['idAdherent']; - $_SESSION['numeroAdherent_C'] = $context['numeroAdherent']; - $_SESSION['nomAdherent_C'] = $context['nomAdherent']; - $_SESSION['adherent_C'] = $context['adherent']; - $_SESSION['codeProduit_C'] = $context['codeProduit']; - $_SESSION['idCollege_C'] = $context['idCollege']; - $_SESSION['rachatTmAdh_C'] = $context['rachatTm']; - - $_SESSION['codeEtatAdherent_C'] = $context['codeEtatAdherent']; - - $_SESSION['email_C'] = $context['email']; - $_SESSION['telephonePortable_C'] = $context['telephonePortable']; - - $_SESSION['garantieArchive_C'] = $context['garantieArchive']; - $_SESSION['exercieReference_C'] = $context['exercieReference']; - $_SESSION['idEntetecontrat'] = $context['idEntetecontrat']; - - $_SESSION['codeLocalite'] = $context['codeLocalite']; - - // 06/05/2020 - $_SESSION['codeTypeContrat'] = $context['codeTypeContrat']; - $_SESSION['idApporteur_C'] = $context['idApporteur']; - $_SESSION['codeTypeApporteur_C'] = $context['codeTypeApporteur']; - $_SESSION['codeApporteur_C'] = $context['codeApporteur']; - $_SESSION['libelleApporteur_C'] = $context['libelleApporteur']; - // Fin 06/05/2020 - - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['numeroBeneficiaire_C'] = ""; - $_SESSION['nomBeneficiaire_C'] = ""; - $_SESSION['lienPhoto_C'] = ""; - $_SESSION['beneficiaire_C'] = ""; - $_SESSION['enVigueur_C'] = ""; - - $_SESSION['decede_C'] = "0"; - $_SESSION['dateDeces_C'] = ""; - $_SESSION['fraisFuneraireDemande_C'] = "0"; - $_SESSION['fraisFunerairePaye_C'] = "0"; - - return $context; - } - - public function getContexteAdherentIdConso($idAdherent) { - - $sql = 'call sp_get_contexte_adherent_id_conso(?);'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLangueAdherent'] = $context['codeLangueAdherent']; - - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - - $_SESSION['idAdherent_C'] = $context['idAdherent']; - $_SESSION['numeroAdherent_C'] = $context['numeroAdherent']; - $_SESSION['nomAdherent_C'] = $context['nomAdherent']; - $_SESSION['codeProduit_C'] = $context['codeProduit']; - $_SESSION['idCollege_C'] = $context['idCollege']; - $_SESSION['rachatTmAdh_C'] = $context['rachatTm']; - - $_SESSION['codeEtatAdherent_C'] = $context['codeEtatAdherent']; - - $_SESSION['email_C'] = $context['email']; - $_SESSION['telephonePortable_C'] = $context['telephonePortable']; - $_SESSION['exercieReference_C'] = $context['exercieReference']; - $_SESSION['idEntetecontrat'] = $context['idEntetecontrat']; - - $_SESSION['codeLocalite'] = $context['codeLocalite']; - - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['numeroBeneficiaire_C'] = ""; - $_SESSION['nomBeneficiaire_C'] = ""; - $_SESSION['lienPhoto_C'] = ""; - $_SESSION['beneficiaire_C'] = ""; - $_SESSION['enVigueur_C'] = ""; - - $_SESSION['decede_C'] = "0"; - $_SESSION['dateDeces_C'] = ""; - $_SESSION['fraisFuneraireDemande_C'] = "0"; - $_SESSION['fraisFunerairePaye_C'] = "0"; - - return $context; - } - - public function existeligne($numeroAdherent) { - $sql = 'select id FROM adherent WHERE (codeSociete=?) and (numeroAdherent=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroAdherent)); - return ($resultat->rowCount() > 0); - } - - public function getDenierNumeroAdherent() - { - $sql = 'select dernierNumeroAdherent from numerotationadherent WHERE (codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - if ($resultat->rowCount() == 0) - { - $sql = 'INSERT INTO numerotationadherent (codeSociete, racineNoAdherent, dernierNumeroAdherent) values (?,?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], $_SESSION['racineNoAdherent'], "1")); - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroAdherent']; - } - } - - public function setDenierNumeroAdherent($numeroAdherent) - { - $sql = 'update numerotationadherent set dernierNumeroAdherent=? WHERE (codeSociete=?)'; - $this->executerRequete($sql, array($numeroAdherent, $_SESSION['codeSociete'])); - } - - public function ajouter($idCollege, $numeroAdherent, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, - $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $dateCre, $user, $idAvenant) - { - $dernierNumeroBeneficiaire = '1'; - $sql = 'insert into adherent ( - codeSociete, - idPolice, - numeroPolice, - idCollege, - codeProduit, - numeroAdherent, - nom, - prenoms, - codeNaturePiece, - numeroPiece, - sexe, - dateNaissance, - codeGroupeSanguin, - codeSituationFamille, - nombreEnfants, - adresseGeo, - adressePostale, - codePays, - telephonFixe, - telephonePortable, - email, - dateEntree, - dateCre, - user, - dernierNumeroBeneficiaire, - primeFamille, - primeBeneficiaire, - surprimeOption, - surprimeTm, - surprimeAnt, - commission, - commissionAutre, - primeNette, - primeNetteStat, - primeHt, - taxe, - fraisCarte, - primeTtc, - cplFuneraire, - primeCplFuneraire, - rachatTm, - deduireComm, - idAvenant, - ratioAvenant, - dateEffet, - delaiCarenceAdherent - ) - select - A.codeSociete, - A.idPolice, - A.numeroPolice, - A.id as idCollege, - A.codeProduit, - ? numeroAdherent, - ? nom, - ? prenoms, - ? codeNaturePiece, - ? numeroPiece, - ? sexe, - ? dateNaissance, - ? codeGroupeSanguin, - ? codeSituationFamille, - ? nombreEnfants, - ? adresseGeo, - ? adressePostale, - ? codePays, - ? telephonFixe, - ? telephonePortable, - ? email, - ? dateEntree, - - ? dateCre, - ? user, - "1" dernierNumeroBeneficiaire, - B.primeFamille, - A.primeBeneficiaire, - B.surprimeOption, - B.surprimeTm, - B.surprimeAnt, - - B.commission, - B.commissionAutre, - B.primeNette, - B.primeNetteStat, - B.primeHt, - B.taxe, - B.fraisCarte, - B.primeTtc, - - A.cplFuneraire, - B.primeCplFuneraire, - A.rachatTm, - A.deduireComm, - ?, - B.ratioAvenant, - B.dateEffet, - B.delaiCarenceAdherent - from college A - join adherent_temp B on (B.idCollege=A.id) - where (A.id=?) and (B.user=?)'; - - $this->executerRequete($sql, array($numeroAdherent, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, - $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $dateCre, $user, $idAvenant, $idCollege, $user)); - - $dernierId = $this->dernierId(); - - $sql = 'insert into garantieadherent (codeSociete, idPolice, idCollege, idAdherent, numeroAdherent, codeGarantie, garantie, - optionnelle, additionnelle, ordre, plafond, ratioAvenant, plafondAnnuel, plafondCollege, champApplication, exercieReference) - - select A.codeSociete, A.idPolice, A.idCollege, A.id as idAdherent, A.numeroAdherent, B.codeGarantie, B.garantie, - B.optionnelle, B.additionnelle, ordre, B.plafond, case when B.optionnelle="1" then "1" else A.ratioAvenant end as ratioAvenant, - B.plafond as plafondAnnuel, B.plafond as plafondCollege, B.champApplication, fn_exercice_adherent(A.id, A.dateEffet) AS exercieReference - from adherent A - join garantiecollege B on (B.idPolice=A.idPolice) and (B.idCollege=A.idCollege) - where A.id=?'; - - $this->executerRequete($sql, array($dernierId)); - - // On va prorater les limites des garanties de base - $sql = 'update garantieadherent set plafond = round(plafondAnnuel*ratioAvenant) - where (idAdherent=?) and (optionnelle!="1")'; - - $this->executerRequete($sql, array($dernierId)); - - // On va cumuler plafond frais funéraire et complément frais funéraire - $sql = 'call sp_maj_plafond_funeraire(?);'; - $this->executerRequete($sql, array($dernierId)); - // - $sql = 'delete from adherent_temp where (`user`=?)'; - $this->executerRequete($sql, array($user)); - - return $dernierId; - } - - public function modifier($id, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, $dateNaissance, $codeGroupeSanguin, - $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, $codePays, $telephonFixe, $telephonePortable, $email, $codeLocalite) - { - $sql = 'UPDATE adherent - SET - nom=?, - prenoms=?, - codeNaturePiece=?, - numeroPiece=?, - sexe=?, - dateNaissance=?, - codeGroupeSanguin=?, - codeSituationFamille=?, - nombreEnfants=?, - adresseGeo=?, - adressePostale=?, - codePays=?, - telephonFixe=?, - telephonePortable=?, - email=?, - codeLocalite=? - where (id=?)'; - - $this->executerRequete($sql, array($nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, $dateNaissance, $codeGroupeSanguin, - $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, $codePays, $telephonFixe, $telephonePortable, $email, $codeLocalite, $id)); - - $sql = 'UPDATE beneficiaire AS A - join adherent AS B on (A.idAdherent=B.id) - SET - A.idCollege=B.idCollege, - A.codeProduit=B.codeProduit, - - A.nomBeneficiaire=B.nom, - A.prenomsBeneficiaire=B.prenoms, - - A.codeNaturePiece=B.codeNaturePiece, - A.numeroPiece=B.numeroPiece, - A.sexe=B.sexe, - A.dateNaissance=B.dateNaissance, - A.codeGroupeSanguin=B.codeGroupeSanguin, - A.telephonePortable=B.telephonePortable, - A.dateEntree=B.dateEntree, - - A.primeFamille=B.primeFamille, - A.primeBeneficiaire=B.primeBeneficiaire, - A.surprimeOption=B.surprimeOption, - A.surprimeTm=B.surprimeTm, - A.surprimeAnt=B.surprimeAnt, - A.commission=B.commission, - A.primeNette=B.primeNette, - A.primeHt=B.primeHt, - A.taxe=B.taxe, - A.fraisCarte=B.fraisCarte, - A.primeTtc=B.primeTtc, - A.cplFuneraire=B.cplFuneraire, - A.primeCplFuneraire=B.primeCplFuneraire, - A.rachatTm=B.rachatTm - where (A.idAdherent=?) and (codeLienParente="A")'; - - $this->executerRequete($sql, array($id)); - } - - public function supprimer($idAdherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_adherent(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $user)); - - $idPolice = $_SESSION['idPolice_C']; - $this->getNbassure($idPolice); - } - - public function formaterNumeroAdherent($racineNoAdherent,$numeroAdherent) - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_formater_numero_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $adh = $resultat->fetch(PDO::FETCH_ASSOC); - - $numeroAdherent = $adh['numeroAdherent']; - - return $numeroAdherent; - } - - public function getAdherentsSimple($idPolice) - { - $sql = 'select A.*, C.libelle as produit, Cl.libelleCollege, Cl.garantieArchive - from adherent A - left join produit C on (C.codeSociete=A.codeSociete and C.codeProduit=A.codeProduit) - left join college Cl on (Cl.codeSociete=A.codeSociete and Cl.id=A.idCollege) - WHERE (A.codeSociete=?) AND (A.idPolice=?) and (A.supprime!="1") order by numeroAdherent'; - - $adherents = $this->executerRequete($sql, array($_SESSION['codeSociete'], $idPolice)); - return $adherents; - } - - public function getNbassure($idPolice) { - // nb famille et de dépendants - /* - $sql = 'select - ifnull(sum(case when codeLienParente="A" then "1" else "0" end), "0") as ndAdh, - ifnull(SUM(case when codeLienParente="A" then "0" else "1" end), "0") as ndDep, - ifnull(SUM(case when codeEtatBeneficiaire="V" then "1" else "0" end), "0") as ndActif - from beneficiaire where (codeSociete=?) AND (idPolice=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $idPolice)); - // $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - */ - - $sql = 'CALL sp_popoulation_police(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['ndAdh_C'] = $effectif['ndAdh']; - $_SESSION['ndDep_C'] = $effectif['ndDep']; - $_SESSION['ndActif_C'] = $effectif['ndActif']; - } - - public function getRapportSpAdherent($idAdherent, $dateReference) - { - $sql = 'call sp_rapport_sp_adherent(?, ?)'; - - $sppolice = $this->executerRequete($sql, array($idAdherent, $dateReference)); - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function changeretat($idAdherent, $codeEtatAdherent, $motifEtat, $dateEtat) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_etat_adherent(?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($idAdherent, $codeEtatAdherent, $motifEtat, $dateEtat, $user)); - } - - public function initLimiteAdditionnelle($idAdherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_init_limite_add_adherent(?, ?)'; - $this->executerRequete($sql, array($idAdherent, $user)); - } - - public function getGarAddCollege() - { - $user = $_SESSION['login']; - $sql = 'select A.*, B.plafond as plafondOld, B.plafond+A.plafond as plafondNew from garantieaddition_temp A - join garantie_temp B on (B.user=A.user) and (B.idCollegeTemp=A.idCollegeTemp) and (B.codeGarantie=A.codeGarantie) - where (A.user=?) order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($user)); - return $garanties; - } - - public function majplafondadd($idGarantie, $plafond) - { - $sql = 'update garantieaddition_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function changerlimite($idAdherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_changer_limite_adherent(?, ?)'; - $this->executerRequete($sql, array($idAdherent, $user)); - } - - public function recalculersoldefamille() - { - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_recalcul_solde_famille(?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $user)); - } - - public function initremplacementadherent($idPolice, $idAdherent, $dateSortie , $dateRemplacement, $user, - $motifavenant, $fraisCarte) - { - $sql = 'call sp_init_remplacement_adherent(?, ?, ?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $idAdherent, $dateSortie , $dateRemplacement, $user, $motifavenant, $fraisCarte)); - } - - public function getbeneficiairearemplacer() - { - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_get_beneficiaire_a_remplacer(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - - } - - public function getadherentremplacanttemp() - { - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_get_adherent_remplacant_temp(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - - public function getremplacementadherent_temp() - { - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_get_remplacementadherent_temp(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrerremplacementadherent($nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, - $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $fraisCarte) - { - $idPolice = $_SESSION['idPolice_C']; - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_remplacement_adherent(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPolice, $idAdherent, $user, $nom, $prenoms, $codeNaturePiece, $numeroPiece, - $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $fraisCarte)); - } - - public function getremplacementadherent($idAdherent) - { - $sql = 'call sp_get_remplacementadherent_id_remplace(?);'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getgarantieremplacementadherent($idAdherent) - { - $sql = 'call sp_get_garantieremplacementadherent(?);'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getbeneficiaireremplacementadherent($idRemplacementadherent) - { - $sql = 'call sp_get_beneficiairerremplacementadherent(?);'; - - $resultat = $this->executerRequete($sql, array($idRemplacementadherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getAdherentIdRempl($idAdherent) - { - $sql = 'call sp_get_adherent_id_rempl(?);'; - $adherent = $this->executerRequete($sql, array($idAdherent)); - return $adherent->fetch(PDO::FETCH_ASSOC); - } - - public function getlisteassuresexo($idPolice) - { - $sql = 'call sp_liste_assures_exo(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function reinitpaswd($idAdherent) - { - $sql = 'call sp_r_reinit_utilisateur_adh(?, ?)'; - - $this->executerRequete($sql, array($_SESSION['codeSociete'], $idAdherent)); - } - - public function desactiver($idAdherent) - { - $sql = 'call sp_r_desactiver_utilisateur_adh(?)'; - - $this->executerRequete($sql, array($idAdherent)); - } - - public function activer($idAdherent) - { - $sql = 'call sp_r_activer_utilisateur_adh(?)'; - - $this->executerRequete($sql, array($idAdherent)); - } - - public function ajouteradherent($idPolice, $idCollege, $nom, $prenoms, $codeNaturePiece, $numeroPiece, - $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $user, $idAvenant, $codeLocalite) - { - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouvel_adherent(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $idCollege, $nom, $prenoms, $codeNaturePiece, $numeroPiece, - $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $user, $idAvenant, $codeLocalite)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $dernierIdAdherent = $ligne['dernierIdAdherent']; - return $dernierIdAdherent; - } - - public function getlisteexo($idAdherent) - { - $sql = 'call sp_get_exercices_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getadherentlocalitein($codeLocalite) - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_r_get_adherent_localite_in(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeLocalite)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getadherentlocaliteout($codeLocalite) - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_r_get_adherent_localite_out(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeLocalite)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouteradherentlocalitetous($codeLocalite) - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_r_ajouter_adherent_localite_tous(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $codeLocalite)); - } - - public function ajouterunadherentlocalite($idAherent, $codeLocalite) - { - $sql = 'call sp_r_ajouter_un_adherent_localite(?, ?);'; - - $this->executerRequete($sql, array($idAherent, $codeLocalite)); - } - - public function getadherentlocaliteexport() - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_r_get_adherent_localite_export(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontrat($idAdherent) - { - $sql = 'call sp_get_entete_contrat_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontratadherent($idAdherent) - { - $sql = 'call sp_get_entete_contrat_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontratbeneficiaire($idBeneficiaire) - { - $sql = 'call sp_get_entete_contrat_beneficiaire(?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getentetecontrat($idEntetecontrat) - { - $sql = 'SELECT * FROM entetecontrat WHERE id=? limit 1;'; - - $resultat = $this->executerRequete($sql, array($idEntetecontrat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function controlerplafondadherentannuel($idAdherent) - { - $sql = 'select fn_control_plafond_adherent_courant(?) as controlerPlafondAdherent;'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['controlerPlafondAdherent'] = $ligne['controlerPlafondAdherent']; - } - - public function getAdherent_temp($idCollege, $dateEntree, $user, $prorata) - { - $sql = 'call sp_init_adherent_familiale(?, ?, ?, ?)'; - - $adherent_temp = $this->executerRequete($sql, array($idCollege, $dateEntree, $user, $prorata)); - return $adherent_temp->fetch(PDO::FETCH_ASSOC); - } - - public function initadherentfamilialie_temp() - { - $idCollege = $_SESSION['dernierIdCollege']; - $idAvenant = $_SESSION['dernierIdAvenant']; - $dateEntree = $_SESSION['dernierDateAvenant']; - $codeCommercial = $_SESSION['codeApporteur_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_init_adherent_familiale(?, ?, ?, ?)'; - - $adherent_temp = $this->executerRequete($sql, array($idCollege,$dateEntree, $codeCommercial, $user)); - - return $adherent_temp->fetch(PDO::FETCH_ASSOC); - } - - public function ajouteradherentfamilialie($idPolice, $idCollege, $nom, $prenoms, $codeNaturePiece, $numeroPiece, - $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $user, $idAvenant, $codeLocalite) - { - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouvel_adherent_famliale(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $idCollege, $nom, $prenoms, $codeNaturePiece, $numeroPiece, - $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, - $codePays, $telephonFixe, $telephonePortable, $email, $dateEntree, $user, $idAvenant, $codeLocalite)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $dernierIdAdherent = $ligne['dernierIdAdherent']; - return $dernierIdAdherent; - } - - public function getlisteassuresfamiliale($idPolice, $idApporteur, $debut, $fin) - { - $sql = 'call sp_liste_assures_familiale(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $idApporteur, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteassuresfamilialeexport($idPolice, $idApporteur, $debut, $fin) - { - $sql = 'call sp_liste_assures_familiale_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $idApporteur, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getrecapprimeadhrent($idAdherent) - { - $sql = 'CALL sp_recap_prime_adherent_familiale(?);'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Adherent_temp.php b/radiantproduction/Modele/Adherent_temp.php deleted file mode 100644 index ddb0837..0000000 --- a/radiantproduction/Modele/Adherent_temp.php +++ /dev/null @@ -1,25 +0,0 @@ -executerRequete($sql, array($idCollege, $dateEntree, $user, $prorata)); - return $adherent_temp->fetch(PDO::FETCH_ASSOC); - } - - public function recapadherentfamilialetemp($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier) - { - $codeCommercial = $_SESSION['codeApporteur_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_recap_prime_adherent_familiale_temp(?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier, - $codeCommercial, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Affection.php b/radiantproduction/Modele/Affection.php deleted file mode 100644 index 612e7b7..0000000 --- a/radiantproduction/Modele/Affection.php +++ /dev/null @@ -1,52 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeAffection,$libelle)); - return $affections; - } - public function getAffection($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeAffection, A.libelle, A.codeType, B.libelle as libelleType - FROM affection A left join typeaffection B on (B.codeSociete=A.codeSociete AND B.codeType=A.codeType) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $affection = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $affection->fetch(PDO::FETCH_ASSOC); - } - public function getnombreAffection() - { - $sql = 'select count(*) as nbAffection FROM affection A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbAffection']; - } - - public function ajouter($codeSociete, $codeAffection, $libelle, $codeType) { - $sql = 'INSERT INTO affection (codeSociete, codeAffection, libelle, codeType) VALUES (?,?,?,?)'; - $this->executerRequete($sql, array($codeSociete, $codeAffection, $libelle, $codeType)); - } - - public function modifier($id, $codeAffection, $libelle, $codeType) { - $sql = 'UPDATE affection SET codeAffection=?, libelle=?, codeType=? where (id=?)'; - $this->executerRequete($sql, array($codeAffection, $libelle, $codeType, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM affection WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeAffection) { - $sql = 'select id FROM affection WHERE (codeSociete=?) and (codeAffection=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeAffection)); - return ($resultat->rowCount() > 0); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Apporteur.php b/radiantproduction/Modele/Apporteur.php deleted file mode 100644 index 6227169..0000000 --- a/radiantproduction/Modele/Apporteur.php +++ /dev/null @@ -1,342 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $codeApporteur)); - - // return "9"; - - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['deduireComm']; - } - else - { - return "1"; - } - } - - public function getApporteurs($codeApporteur=null,$libelle=null,$bureau=null) { - $codeApporteur = contruireParamLike($codeApporteur); - $libelle = contruireParamLike($libelle); - $bureau = contruireParamLike($bureau); - - $sql = 'SELECT A.id, A.codeSociete, A.codeApporteur, A.libelle, A.codeTypeApporteur, B.libelle as libelleType, - A.telephone, A.email, A.adresseGeo, A.adressePost, A.nomResponsable, A.codeBureau, C.libelle as libelleBureau - FROM apporteur A - join typeapporteur B on (B.codeSociete=A.codeSociete AND B.codeTypeApporteur=A.codeTypeApporteur) - join bureau C on (C.codeSociete=A.codeSociete AND C.codeBureau=A.codeBureau) - WHERE (A.codeSociete=? AND A.codeApporteur LIKE ? AND A.libelle LIKE ? AND C.libelle LIKE ?) order by A.libelle'; - - $apporteurs = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeApporteur,$libelle,$bureau)); - return $apporteurs; - } - public function getApporteur($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeApporteur, A.libelle, A.codeTypeApporteur, B.libelle as libelleType, - A.telephone, A.email, A.adresseGeo, A.adressePost, A.nomResponsable, A.codeBureau, C.libelle as libelleBureau - FROM apporteur A - join typeapporteur B on (B.codeSociete=A.codeSociete AND B.codeTypeApporteur=A.codeTypeApporteur) - join bureau C on (C.codeSociete=A.codeSociete AND C.codeBureau=A.codeBureau) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $apporteur = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $apporteur->fetch(PDO::FETCH_ASSOC); - } - public function getnombreApporteur() - { - $sql = 'select count(*) as nbApporteur FROM apporteur A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbApporteur']; - } - - public function ajouter($codeSociete, $codeApporteur, $libelle, $codeTypeApporteur, - $telephone, $email, $adresseGeo, $adressePost, $nomResponsable, $codeBureau) { - $sql = 'INSERT INTO apporteur (codeSociete, codeApporteur, libelle, codeTypeApporteur, - telephone, email, adresseGeo, adressePost, nomResponsable, codeBureau) - VALUES (?,?,?,?,?,?,?,?,?,?)'; - $this->executerRequete($sql, array($codeSociete, $codeApporteur, $libelle, $codeTypeApporteur, - $telephone, $email, $adresseGeo, $adressePost, $nomResponsable, $codeBureau)); - } - - public function modifier($id, $codeApporteur, $libelle, $codeTypeApporteur, - $telephone, $email, $adresseGeo, $adressePost, $nomResponsable, $codeBureau) { - $sql = 'UPDATE apporteur SET codeApporteur=?, libelle=?, codeTypeApporteur=?, - telephone=?, email=?, adresseGeo=?, adressePost=?, nomResponsable=?, codeBureau=? - where (id=?)'; - $this->executerRequete($sql, array($codeApporteur, $libelle, $codeTypeApporteur, - $telephone, $email, $adresseGeo, $adressePost, $nomResponsable, $codeBureau, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM apporteur WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeApporteur) { - $sql = 'select id FROM apporteur WHERE (codeSociete=?) and (codeApporteur=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeApporteur)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeApporteur as `code`, libelle FROM apporteur WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeBroker() { - $sql = 'SELECT codeApporteur as `code`, libelle FROM apporteur WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeCommerciaux() { - $sql = 'SELECT codeApporteur as `code`, libelle FROM commercial WHERE (codeSociete=?) order by libelle;'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - // 01/11/2020 - // commercaial - public function recherchercommercaiauxtypeparam($codeTypeApporteur, $libelleApporteur) - { - $codeSociete = $_SESSION['codeSociete']; - $libelleApporteur = contruireParamLike($libelleApporteur); - - if (est_anglophone()) - { - $sql = 'call sp_rechercher_commerciaux_type_param_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_rechercher_commerciaux_type_param(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeTypeApporteur, $libelleApporteur)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function recherchercommercaiauxtypeparamtous($libelleApporteur) - { - $codeSociete = $_SESSION['codeSociete']; - $libelleApporteur = contruireParamLike($libelleApporteur); - - if (est_anglophone()) - { - $sql = 'call sp_rechercher_commerciaux_type_param_tous_eng(?, ?)'; - } - else - { - $sql = 'call sp_rechercher_commerciaux_type_param_tous(?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $libelleApporteur)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrernouveaucommercial($codeTypeApporteur, $libelle, $telephone, $email, $adresseGeo, $adressePost) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouveau_commercial(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeTypeApporteur, $libelle, $telephone, $email, $adresseGeo, $adressePost, $user)); - } - - public function afficheruncommercial($idApporteur) - { - if (est_anglophone()) - { - $sql = 'call sp_afficher_un_commercial_eng(?)'; - } - else - { - $sql = 'call sp_afficher_un_commercial(?)'; - } - - $resultat = $this->executerRequete($sql, array($idApporteur)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifcommercial($idApporteur, $codeApporteur, $codeTypeApporteur, $libelle, $telephone, - $email, $adresseGeo, $adressePost) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_commercial(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idApporteur, $codeApporteur, $codeTypeApporteur, $libelle, $telephone, - $email, $adresseGeo, $adressePost, $user)); - } - - - // Apporteur - public function rechercherapporteursparam($libelleApporteur) - { - $codeSociete = $_SESSION['codeSociete']; - $libelleApporteur = contruireParamLike($libelleApporteur); - - if (est_anglophone()) - { - $sql = 'call sp_rechercher_apporteurs_param_eng(?, ?)'; - } - else - { - $sql = 'call sp_rechercher_apporteurs_param(?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $libelleApporteur)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrernouvelapporteur($libelle, $telephone, $email, $adresseGeo, $adressePost) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouvel_apporteur(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $telephone, $email, $adresseGeo, $adressePost, $user)); - } - - public function afficherunapporteur($idApporteur) - { - if (est_anglophone()) - { - $sql = 'call sp_afficher_un_apporteur_eng(?)'; - } - else - { - $sql = 'call sp_afficher_un_apporteur(?)'; - } - - $resultat = $this->executerRequete($sql, array($idApporteur)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifapporteur($idApporteur, $codeApporteur, $libelle, $telephone, - $email, $adresseGeo, $adressePost) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_apporteur(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idApporteur, $codeApporteur, $libelle, $telephone, - $email, $adresseGeo, $adressePost, $user)); - } - - public function exporterlisteapporteur() - { - if (est_anglophone()) - { - $sql = 'CALL sp_exporter_listes_apporteurs_eng();'; - } - else - { - $sql = 'CALL sp_exporter_listes_apporteurs();'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function exporterlistecommercail() - { - if (est_anglophone()) - { - $sql = 'CALL sp_exporter_listes_commerciaux_eng();'; - } - else - { - $sql = 'CALL sp_exporter_listes_commerciaux();'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getContexteCommercialId($idApporteur) - { - $sql = 'call sp_get_contexte_commercial_id(?)'; - - $resultat = $this->executerRequete($sql, array($idApporteur)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idApporteur_C'] = $context['idApporteur']; - $_SESSION['codeTypeApporteur_C'] = $context['codeTypeApporteur']; - $_SESSION['codeApporteur_C'] = $context['codeApporteur']; - $_SESSION['libelleApporteur_C'] = $context['libelleApporteur']; - - return $context; - } - - public function getContexteCommercialCode($codeApporteur) - { - $sql = 'call sp_get_contexte_commercial_code(?)'; - - $resultat = $this->executerRequete($sql, array($codeApporteur)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idApporteur_C'] = $context['idApporteur']; - $_SESSION['codeTypeApporteur_C'] = $context['codeTypeApporteur']; - $_SESSION['codeApporteur_C'] = $context['codeApporteur']; - $_SESSION['libelleApporteur_C'] = $context['libelleApporteur']; - - return $context; - } - - public function getapporteursvide() - { - if (est_anglophone()) - { - $sql = 'call sp_r_apporteurs_vide_eng()'; - } - else - { - $sql = 'call sp_r_apporteurs_vide()'; - } - - $resultat = $this->executerRequete($sql); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getapporteurslike($codeApporteur, $nomsearch) - { - $nomsearch = contruireParamLike($nomsearch); - $codeApporteur = contruireParamLike($codeApporteur); - - if (est_anglophone()) - { - $sql = 'call sp_r_apporteurs_like_eng(?, ?)'; - } - else - { - $sql = 'call sp_r_apporteurs_like(?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeApporteur, $nomsearch)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Avenant.php b/radiantproduction/Modele/Avenant.php deleted file mode 100644 index 76730b9..0000000 --- a/radiantproduction/Modele/Avenant.php +++ /dev/null @@ -1,84 +0,0 @@ -executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getAvenantNonFactures($idPolice) - { - $sql = 'call sp_avenants_non_factures_police(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListe($idPolice) - { - $sql = 'SELECT A.id as `code`, concat(B.libelle, " du ",DATE_FORMAT(dateEffet, "%d/%m/%Y")) as libelle - from avenant A - join typeavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (idPolice=?) and (B.ajoutAliment="1") - order by numeroAvenant DESC'; - - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeToutes($idPolice) - { - $sql = 'SELECT A.id as `code`, concat(IFNULL(B.libelle, B.codeTypeAvenant), " du ",DATE_FORMAT(dateEffet, "%d/%m/%Y")) as libelle - from avenant A - left join typeavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (idPolice=?) order by numeroAvenant DESC'; - - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getdateavenant($idAvenant) - { - $sql = 'select fn_get_date_avenant(?) as dateAvenant'; - - $resultat = $this->executerRequete($sql, array($idAvenant)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dateAvenant']; - } - - public function getListeEnCours($idPolice) - { - if (est_anglophone()) - { - $sql = 'SELECT A.id AS `code`, CONCAT(B.libelleEng, " of ",DATE_FORMAT(A.dateEffet, "%d/%m/%Y")) AS libelle - FROM avenant A - JOIN typeavenant B ON (B.codeTypeAvenant=A.codeTypeAvenant) - JOIN police P ON (P.id=A.idPolice) - WHERE (A.idPolice=?) AND (B.ajoutAliment="1") - AND (A.dateEffet>=P.dateEffet) - ORDER BY A.numeroAvenant DESC;'; - } - else - { - $sql = 'SELECT A.id AS `code`, CONCAT(B.libelle, " du ",DATE_FORMAT(A.dateEffet, "%d/%m/%Y")) AS libelle - FROM avenant A - JOIN typeavenant B ON (B.codeTypeAvenant=A.codeTypeAvenant) - JOIN police P ON (P.id=A.idPolice) - WHERE (A.idPolice=?) AND (B.ajoutAliment="1") - AND (A.dateEffet>=P.dateEffet) - ORDER BY A.numeroAvenant DESC;'; - } - - - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Modele/Banque.php b/radiantproduction/Modele/Banque.php deleted file mode 100644 index 05bfa1f..0000000 --- a/radiantproduction/Modele/Banque.php +++ /dev/null @@ -1,67 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codebanque,$libelle)); - return $banques; - } - - public function getBanque($id) { - $sql = 'SELECT id, codeSociete, codebanque, libelle - FROM banque A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $banque = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $banque->fetch(PDO::FETCH_ASSOC); - } - public function getNombreBanque() - { - $sql = 'select count(*) as nbBanque FROM banque A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbBanque']; - } - - public function ajouter($codeSociete, $codebanque, $libelle) { - $sql = 'INSERT INTO banque (codeSociete, codebanque, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codebanque, $libelle)); - } - - public function modifier($id, $codebanque, $libelle) { - $sql = 'UPDATE banque SET codebanque=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codebanque, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM banque WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codebanque) { - $sql = 'select id FROM banque WHERE (codeSociete=?) and (codebanque=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codebanque)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeBanque as `code`, libelle FROM banque order by 2'; - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeSociete() { - $sql = 'SELECT codeBanque as `code`, libelle FROM banque where banqueSociete="1" order by 2'; - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Basetarification.php b/radiantproduction/Modele/Basetarification.php deleted file mode 100644 index 186f220..0000000 --- a/radiantproduction/Modele/Basetarification.php +++ /dev/null @@ -1,22 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Beneficiaire.php b/radiantproduction/Modele/Beneficiaire.php deleted file mode 100644 index d92f2d8..0000000 --- a/radiantproduction/Modele/Beneficiaire.php +++ /dev/null @@ -1,1625 +0,0 @@ -executerRequete($sql); - return $beneficiaire; - } - - public function getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email) - { - $nomBeneficiaire = contruireParamLike($nomBeneficiaire); - $prenomsBeneficiaire = contruireParamLike($prenomsBeneficiaire); - $telephonePortable = contruireParamLike($telephonePortable); - $email = contruireParamLike($email); - - $sql = 'call sp_get_beneficiaires(?, ?, ?, ?, ?);'; - - $adherent = $this->executerRequete($sql, array($_SESSION['codeSociete'], $nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email)); - return $adherent; - } - - public function getBeneficiairesAdh($numeroAdherent) { - $sql = 'call sp_r_recherche_beneficiaire_no_adh(?, ?);'; - - $beneficiaires = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent)); - return $beneficiaires; - } - - public function getBeneficiaire($numeroBeneficiaire) - { - - $sql = 'call sp_r_recherche_beneficiaire_no(?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBeneficiaire)); - return $beneficiaire; - } - - public function getBeneficiaireId($idBeneficiaire) - { - $sql = 'call sp_get_beneficiaire_id(?);'; - $beneficiaire = $this->executerRequete($sql, array($idBeneficiaire)); - return $beneficiaire->fetch(PDO::FETCH_ASSOC); - } - - - public function getPrimeBeneficiaire($idBeneficiaire) - { - $sql = 'call sp_get_prime_beneficiaire(?);'; - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getNombreBeneficiaires() - { - $sql = 'select count(*) as nbBeneficiaires FROM adherent A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbBeneficiaires']; - } - - public function getIdBeneficiaire($numeroBeneficiaire) { - $sql = 'SELECT id FROM beneficiaire WHERE (codeSociete=?) AND (numeroBeneficiaire=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBeneficiaire)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - - public function getIdPremierBeneficiaire($idAdherent) { - $sql = 'SELECT id FROM beneficiaire WHERE (idAdherent=?)'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - public function getContexteBeneficiaireId($id) - { - - $sql = 'call sp_r_get_beneficiaire_id(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLangueAdherent'] = $context['codeLangueAdherent']; - - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - - $_SESSION['idAdherent_C'] = $context['idAdherent']; - $_SESSION['numeroAdherent_C'] = $context['numeroAdherent']; - $_SESSION['nomAdherent_C'] = $context['nomAdherent']; - $_SESSION['idCollege_C'] = $context['idCollege']; - - $_SESSION['idBeneficiaire_C'] = $context['idBeneficiaire']; - $_SESSION['numeroBeneficiaire_C'] = $context['numeroBeneficiaire']; - $_SESSION['nomBeneficiaire_C'] = $context['nomBeneficiaire']; - $_SESSION['email_C'] = $context['email']; - $_SESSION['telephonePortable_C'] = $context['telephonePortable']; - $_SESSION['lienPhoto_C'] = $context['lienPhoto']; - $_SESSION['codeLienParente_C'] = $context['codeLienParente']; - - $_SESSION['codeEtatBeneficiaire_C'] = $context['codeEtatBeneficiaire']; - $_SESSION['codeEtatAdherent_C'] = $context['codeEtatAdherent']; - $_SESSION['exercieReference_C'] = $context['exercieReference']; - $_SESSION['idEntetecontrat'] = $context['idEntetecontrat']; - - $_SESSION['codeLocalite'] = $context['codeLocalite']; - - // 06/05/2020 - $_SESSION['codeTypeContrat'] = $context['codeTypeContrat']; - $_SESSION['idApporteur_C'] = $context['idApporteur']; - $_SESSION['codeTypeApporteur_C'] = $context['codeTypeApporteur']; - $_SESSION['codeApporteur_C'] = $context['codeApporteur']; - $_SESSION['libelleApporteur_C'] = $context['libelleApporteur']; - // Fin 06/05/2020 - - - // $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaire']; - if (est_anglophone()) - { - $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaireEng']; - } - else - { - $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaire']; - } - - $_SESSION['adherent_C'] = $context['nomAdherent']; - $_SESSION['beneficiaire_C'] = $context['nomBeneficiaire']; - $_SESSION['enVigueur_C'] = $context['enVigueur']; - - $_SESSION['decede_C'] = $context['decede']; - $_SESSION['dateDeces_C'] = $context['dateDeces']; - $_SESSION['fraisFuneraireDemande_C'] = $context['fraisFuneraireDemande']; - $_SESSION['fraisFunerairePaye_C'] = $context['fraisFunerairePaye']; - - $_SESSION['dateEcheancePolice_C'] = $context['dateEcheancePolice']; - - $_SESSION['garantieArchive_C'] = $context['garantieArchive']; - - $_SESSION['faceRegistered_C'] = $context['faceRegistered']; - - $photoFace = ""; - - if ($_SESSION['lienPhoto_C']>" ") - { - $photoFace = $_SESSION['dossierSociete'].$_SESSION['dossierSociete'].'/Photos/'.$_SESSION['lienPhoto_C']; - /* - if(!@fopen($photoFace, 'r')) - { - $_SESSION['lienPhoto_C'] = ""; - } - */ - } - - } - - public function getContexteBeneficiaireAssure($id) { - $sql = 'SELECT A.idAdherent, A.numeroAdherent, B.telephonePortable, - concat(B.prenomsAdherent," ",B.nomAdherent) as nomAdherent, - A.id as idBeneficiaire, A.numeroBeneficiaire, B.email, A.lienPhoto, - concat(A.prenomsBeneficiaire," ",A.nomBeneficiaire) as nomBeneficiaire, codeLienParente, Cl.garantieArchive - FROM beneficiaire A - JOIN adherent B ON (B.id=A.idAdherent) - left join college Cl on (Cl.id=A.idCollege) - WHERE (A.idAdherent=?) AND(A.id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['idAdherent_C'], $id)); - - if ($resultat->rowCount()==0) - { - $sql = 'SELECT A.idAdherent, A.numeroAdherent, B.telephonePortable, - concat(B.prenomsAdheren," ",B.nomAdherent) as nomAdherent, A.enVigueur, - A.id as idBeneficiaire, A.numeroBeneficiaire, B.email, A.lienPhoto, - concat(A.prenomsBeneficiaire," ",A.nomBeneficiaire) as nomBeneficiaire, codeLienParente, - A.decede, A.dateDeces, A.fraisFuneraireDemande, A.fraisFunerairePaye, Cl.garantieArchive - FROM beneficiaire A - JOIN adherent B ON (B.id=A.idAdherent) - left join college Cl on (Cl.id=A.idCollege) - WHERE (A.idAdherent=?) - AND (A.codeLienParente="A")'; - - $resultat = $this->executerRequete($sql, array($_SESSION['idAdherent_C'])); - } - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idBeneficiaire_C'] = $context['idBeneficiaire']; - $_SESSION['numeroBeneficiaire_C'] = $context['numeroBeneficiaire']; - $_SESSION['nomBeneficiaire_C'] = $context['nomBeneficiaire']; - $_SESSION['email_C'] = $context['email']; - $_SESSION['telephonePortable_C'] = $context['telephonePortable']; - $_SESSION['lienPhoto_C'] = $context['lienPhoto']; - $_SESSION['codeLienParente_C'] = $context['codeLienParente']; - $_SESSION['beneficiaire_C'] = $context['nomBeneficiaire']; - $_SESSION['enVigueur_C'] = $context['enVigueur']; - - $_SESSION['decede_C'] = $context['decede']; - $_SESSION['dateDeces_C'] = $context['dateDeces']; - $_SESSION['fraisFuneraireDemande_C'] = $context['fraisFuneraireDemande']; - $_SESSION['fraisFunerairePaye_C'] = $context['fraisFunerairePaye']; - $_SESSION['garantieArchive_C'] = $context['garantieArchive']; - - // vérifier que la photo du bénéficiaire existe - - $photoFace = ""; - - if ($_SESSION['lienPhoto_C']>" ") - { - $photoFace = $_SESSION['dossierSociete'].$_SESSION['dossierSociete'].'/Photos/'.$_SESSION['lienPhoto_C']; - /* - if(!@fopen($photoFace, 'r')) - { - $_SESSION['lienPhoto_C'] = ""; - } - */ - } - } - - public function getContexteAdherentId($id) { - $sql = 'SELECT A.id AS idAdherent, A.numeroAdherent, A.nom AS nomAdherent, A.prenoms AS prenomsAdherent, - CONCAT(A.nom," ",A.prenoms) AS nomCompletAdherent, telephonePortable, email, - codeProduit, idCollege, fn_exercice_adherent(A.id, A.dateEffet) AS exercieReference, - fn_id_entetecontrat_police(A.idPolice, A.dateEffet) AS idEntetecontrat - FROM adherent A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idAdherent_C'] = $context['idAdherent']; - $_SESSION['numeroAdherent_C'] = $context['numeroAdherent']; - $_SESSION['nomAdherent_C'] = $context['nomAdherent']; - $_SESSION['codeProduit_C'] = $context['codeProduit']; - $_SESSION['idCollege_C'] = $context['idCollege']; - - $_SESSION['adherent_C'] = $context['nomCompletAdherent']; - $_SESSION['exercieReference_C'] = $context['exercieReference']; - $_SESSION['idEntetecontrat'] = $context['idEntetecontrat']; - } - - public function existeligne($numeroAdherent) { - $sql = 'select id FROM adherent WHERE (codeSociete=?) and (numeroAdherent=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroAdherent)); - return ($resultat->rowCount() > 0); - } - - public function ajouter($idAdherent, $numeroBeneficiaire, $nomBeneficiaire, - $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, - $dateNaissance, $telephonePortable, $dateEntree, $dateCre, $user, $idAvenant, $fraisCarte) - { - $dernierNumeroBeneficiaire = '1'; - $sql = 'INSERT INTO beneficiaire ( - codeSociete, - idPolice, - numeroPolice, - codeProduit, - idCollege, - idAdherent, - numeroAdherent, - rachatTm, - deduireComm, - numeroBeneficiaire, - nomBeneficiaire, - prenomsBeneficiaire, - codeLienParente, - codeNaturePiece, - numeroPiece, - sexe, - codeGroupeSanguin, - dateNaissance, - telephonePortable, - dateEntree, - dateCre, - `user`, - cplFuneraire, - primeFamille, - primeBeneficiaire, - primeCplFuneraire, - surprimeOption, - surprimeTm, - surprimeAnt, - commission, - commissionAutre, - primeNette, - primeNetteStat, - accessoire, - primeHt, - taxe, - fraisCarte, - primeTtc, - idAvenant, - ratioAvenant, - dateEffet, - codeEtatFacturation, - delaiCarence - ) - - select - A.codeSociete, - A.idPolice, - A.numeroPolice, - A.codeProduit, - A.idCollege, - A.id as idAdherent, - A.numeroAdherent, - A.rachatTm, - A.deduireComm, - concat(A.numeroAdherent, fn_numordre(A.dernierNumeroBeneficiaire+1, 2)), - ?, - ?, - ?, - ?, - ?, - ?, - ?, - ?, - ?, - ?, - ?, - ?, - B.cplFuneraireBeneficiaire, - -- BN.primeFamille, - CASE WHEN BN.codeEtatFacturation="1" THEN 0 ELSE BN.primeFamille END as primeFamille, - BN.primeBeneficiaire, - BN.primeCplFuneraire, - BN.surprimeOption, - BN.surprimeTm, - BN.surprimeAnt, - BN.commission, - BN.commissionAutre, - BN.primeNette, - BN.primeNetteStat, - BN.accessoire, - BN.primeHt, - BN.taxe, - -- BN.fraisCarte, - ?, - BN.primeTtc, - ?, - BN.ratioAvenant, - BN.dateEffet, - BN.codeEtatFacturation, - BN.delaiCarence - from adherent A - join beneficiaire_temp BN on (BN.idAdherent=A.id) - join college B ON (B.id=A.idCollege) - WHERE (A.id=?) and (BN.user=?)'; - - $this->executerRequete($sql, array($nomBeneficiaire, $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, - $codeGroupeSanguin, $dateNaissance, $telephonePortable, $dateEntree, $dateCre, $user, $fraisCarte, $idAvenant, $idAdherent, $user)); - - $dernierId = $this->dernierId(); - - $sql = 'insert into beneficiaireprime - ( - codeSociete, - idPolice, - idAvenant, - dateEffet, - enVigueur, - idBeneficiaire, - numeroBeneficiaire, - primeNette, - primeCplFuneraire, - commission, - commissionAutre, - primeNetteStat, - accessoire, - primeHt, - taxe, - fraisCarte, - primeTtc, - dateSysteme, - codeUtilisateur, - idEmission, - numeroEmission, - idAdherent, - exercice, - exercieReference, - dateEffetPolice, - dateFinPolice, - dateEffetAdherent, - dateEffetBeneficiaire, - codeProduit, - codeLienParente, - idCollege, - codeEtatFacturation, - userFacturation, - dateFacturation, - idEntetecontrat - ) - select - A.codeSociete, - A.idPolice, - A.idAvenant, - A.dateEffet, - A.enVigueur, - A.id as idBeneficiaire, - A.numeroBeneficiaire, - A.primeNette, - A.primeCplFuneraire, - A.commission, - A.commissionAutre, - A.primeNetteStat, - A.accessoire, - A.primeHt, - A.taxe, - A.fraisCarte, - A.primeTtc, - now() as dateSysteme, - A.`user` as codeUtilisateur, - "0" idEmission, - "0" numeroEmission, - A.idAdherent, - year(A.dateEffet) as exercice, - year(B.dateEffet) as exercieReference, - B.dateEffet as dateEffetPolice, - B.dateFin as dateFinPolice, - Ad.dateEffet as dateEffetAdherent, - A.dateEffet as dateEffetBeneficiaire, - A.codeProduit, - A.codeLienParente, - A.idCollege, - A.codeEtatFacturation, - CASE WHEN A.codeEtatFacturation="1" THEN A.`user` ELSE "" END as userFacturation, - CASE WHEN A.codeEtatFacturation="1" THEN now() ELSE null END as dateFacturation, - fn_id_entetecontrat_police(A.idPolice, A.dateEffet) as idEntetecontrat - from beneficiaire A - join police B on (B.id=A.idPolice) - join adherent Ad on (Ad.id=A.idAdherent) - where (A.id=?);'; - - $this->executerRequete($sql, array($dernierId)); - - $sql = 'delete from beneficiaire_temp where (`user`=?)'; - $this->executerRequete($sql, array($user)); - - // On va cumuler plafond frais funéraire et complément frais funéraire - $sql = 'call sp_maj_plafond_funeraire(?);'; - $this->executerRequete($sql, array($idAdherent)); - // - - // return $this->dernierId(); - return $dernierId; - } - - public function modifier($id, $nomBeneficiaire, $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, - $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $dateEntree, $primeFamille, $primeBeneficiaire) - { - $sql = 'UPDATE beneficiaire SET nomBeneficiaire=?, prenomsBeneficiaire=?, codeLienParente=?, codeNaturePiece=?, numeroPiece=?, - sexe=?, codeGroupeSanguin=?, dateNaissance=?, telephonePortable=?, dateEntree=?, primeFamille=?, primeBeneficiaire=? where (id=?)'; - - $this->executerRequete($sql, array($nomBeneficiaire, $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, - $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $dateEntree, $primeFamille, $primeBeneficiaire, $id)); - } - - public function supprimer($idBeneficiaire) { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_beneficiaire(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $user)); - - $idPolice = $_SESSION['idPolice_C']; - $this->getNbassure($idPolice); - } - - public function supprimerempreinte($motif) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_supprimer_empreinte(?, ?, ?);'; - - $this->executerRequete($sql, array($idBeneficiaire, $user, $motif)); - } - - public function formaterNumeroAdherent($racineNoAdherent,$numeroAdherent) - { - $idPolice = $_SESSION['idPolice_C']; - /* - $numeroAdherent = "000000".$numeroAdherent; - $numeroAdherent = substr($numeroAdherent, -7); - $numeroAdherent = $racineNoAdherent.$numeroAdherent; - return $numeroAdherent; - */ - - $sql = 'call sp_formater_numero_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $adh = $resultat->fetch(PDO::FETCH_ASSOC); - - $numeroAdherent = $adh['numeroAdherent']; - - return $numeroAdherent; - - } - - public function ajouterAdherent($idAdherent) - { - $sql = 'call sp_enregistrer_premier_beneficiaire(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $dernierIdBeneficiaire = $ligne['dernierIdBeneficiaire']; - return $dernierIdBeneficiaire; - } - - public function getBeneficiairesId($id) - { - $sql = 'call sp_get_beneficiaires_adherent(?, ?);'; - - $beneficiaires = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getBeneficiairesAfacturer($idPolice) - { - $sql = 'call sp_beneficiaires_a_facturer(?)'; - - $beneficiaires = $this->executerRequete($sql, array($idPolice)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTotalAfacturer($idPolice) - { - $sql = 'call sp_total_beneficiaires_a_facturer(?)'; - - $totaafacturer = $this->executerRequete($sql, array($idPolice)); - - return $totaafacturer->fetch(PDO::FETCH_ASSOC); - } - - public function getNbAfacturer($idPolice) { - $sql = 'select count(*) as nb FROM beneficiaire A WHERE (A.idPolice=?) - AND (A.codeEtatFacturation ="9") AND (A.primeTtc!=0)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nb']; - } - - public function selectionfacturation($idBeneficiairePrime, $choix) - { - // $sql = 'update beneficiaire set codeEtatFacturation=? WHERE (id=?)'; - - $sql = 'call sp_select_un_beneficiaire_a_facturer(?, ?);'; - - $this->executerRequete($sql, array($idBeneficiairePrime, $choix)); - - } - - public function selectionnertout($idPolice, $choix) - { - $sql = 'call sp_select_beneficiaire_a_facturer(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $choix)); - } - - public function majEtatFacturation($idPolice, $numeroEmission, $idEmission) - { - /* - $sql = 'INSERT INTO beneficiairequittance (codeSociete, idEmission, numeroEmission, idBeneficiaire, - numeroBeneficiaire, primeNette, commission, primeHt, taxe, fraisCarte, primeTtc, idPolice) - - SELECT codeSociete, ? AS idEmission, ? AS numeroEmission, id AS idBeneficiaire, numeroBeneficiaire, - primeNette, commission, primeHt, taxe, fraisCarte, primeTtc, A.idPolice - FROM beneficiaire A WHERE (A.codeSociete=?) AND (A.idPolice=?) - AND (A.codeEtatFacturation ="9") AND (A.primeTtc!=0)'; - - $this->executerRequete($sql, array($idEmission, $numeroEmission, $_SESSION['codeSociete'], $idPolice)); - - $sql = 'update beneficiaire set codeEtatFacturation="1" WHERE (codeSociete=?) AND (idPolice=?) - AND (codeEtatFacturation="9") AND (primeTtc!=0)'; - - $this->executerRequete($sql, array($_SESSION['codeSociete'], $idPolice)); - */ - - $sql = 'call sp_maj_etat_facturation(?, ?, ?);'; - $this->executerRequete($sql, array($idPolice, $numeroEmission, $idEmission)); - } - - public function getDenierNumeroBeneficiaire($idAdherent) - { - $sql = 'select dernierNumeroBeneficiaire from adherent WHERE (id=?)'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroBeneficiaire']; - } - - public function setDenierNumeroBeneficiaire($idAdherent, $dernierNumeroBeneficiaire) - { - $sql = 'update adherent set dernierNumeroBeneficiaire=? WHERE (id=?)'; - $this->executerRequete($sql, array($dernierNumeroBeneficiaire, $idAdherent)); - } - - - public function changerPhoto($id, $nomImage) - { - $sql = 'update beneficiaire set lienPhoto=?, faceRegistered="1" WHERE (id=?)'; - $this->executerRequete($sql, array($nomImage, $id)); - } - - public function getListeAssure() { - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $sql = 'SELECT numeroBeneficiaire as `code`, prenomsBeneficiaire AS libelle - FROM beneficiaire WHERE numeroAdherent=? ORDER BY 2'; - - $liste = $this->executerRequete($sql, array($numeroAdherent)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function Rqlisteassure($numeroBeneficiaire1, $numeroBeneficiaire2, $nomBeneficiaire, - $prenomsBeneficiaire, $date1, $date2, $date3, $date4) - { - $nomBeneficiaire = contruireParamLike($nomBeneficiaire); - $prenomsBeneficiaire = contruireParamLike($prenomsBeneficiaire); - - If($numeroBeneficiaire1=="0") - { - $numeroBeneficiaire1=""; - } - - $sql = 'SELECT B.nomAdherent, B.prenomsAdherent, B.numeroAdherent, B.numeroPolice, - B.policeAssistance, A.numeroBeneficiaire, A.prenomsBeneficiaire, A.nomBeneficiaire, - A.codeLienParente, A.codeSexe, - DATE_FORMAT(A.dateNaissance, "%d/%m/%Y") AS dateNaissance_fr, - fn_age(A.dateNaissance) as age, - DATE_FORMAT(A.dateEntree, "%d/%m/%Y") AS dateEntree_fr, - DATE_FORMAT(A.dateSortie, "%d/%m/%Y") AS dateSortie_fr - FROM beneficiaire A - JOIN adherent B ON (B.id=A.idAdherent) - WHERE (A.numeroBeneficiaire BETWEEN ? AND ?) - AND (A.nomBeneficiaire LIKE ?) AND (A.prenomsBeneficiaire LIKE ?) - AND (A.dateNaissance BETWEEN ? AND ?) AND (A.dateEntree BETWEEN ? AND ?) - ORDER BY B.nomAdherent, B.prenomsAdherent, A.codeLienParente, - A.prenomsBeneficiaire, A.nomBeneficiaire'; - - $liste = $this->executerRequete($sql, array($numeroBeneficiaire1, $numeroBeneficiaire2, $nomBeneficiaire, - $prenomsBeneficiaire, $date1, $date2, $date3, $date4)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function imposerprime($idAdherent, $idBeneficiaire, $primeNette, $commission, $commissionAutre, $primeHt, $accessoire, - $taxe, $fraisCarte, $primeTtc, $primeNetteStat) - { - $user = $_SESSION['login']; - - $sql = 'call sp_imposer_prime_beneficiaire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idAdherent, $idBeneficiaire, $primeNette, $commission, $commissionAutre, $accessoire, $primeHt, - $taxe, $fraisCarte, $primeTtc, $primeNetteStat, $user)); - } - - public function getTotalBeneficiairesId($idAdherent) { - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, IFNULL(sum(primeBase),"0") as primeBase, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc - FROM beneficiaire A WHERE (idAdherent=?) and (A.supprime!="1")'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - // return $resultat->fetch(PDO::FETCH_ASSOC); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getNbassure($idPolice) { - // nb famille et de dépendants - /* - $sql = 'select - ifnull(sum(case when codeLienParente="A" then "1" else "0" end), "0") as ndAdh, - ifnull(SUM(case when codeLienParente="A" then "0" else "1" end), "0") as ndDep, - ifnull(SUM(case when codeEtatBeneficiaire="V" then "1" else "0" end), "0") as ndActif - from beneficiaire where (codeSociete=?) AND (idPolice=?) and (supprime!="1")'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - */ - - $sql = 'CALL sp_popoulation_police(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['ndAdh_C'] = $effectif['ndAdh']; - $_SESSION['ndDep_C'] = $effectif['ndDep']; - $_SESSION['ndActif_C'] = $effectif['ndActif']; - } - - public function getBeneficiairesAexporter($idPolice, $dateAnalyse) - { - if (est_anglophone()) - { - $sql = 'call sp_export_assure_eng(?, ?);'; - } - else - { - $sql = 'call sp_export_assure(?, ?);'; - } - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getBeneficiairesAexporterSansFormat($idPolice, $dateAnalyse) - { - if (est_anglophone()) - { - $sql = 'call sp_export_assure_sans_format_eng(?, ?);'; - } - else - { - $sql = 'call sp_export_assure_sans_format(?, ?);'; - } - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getBeneficiairesAimprimer($idPolice, $dateAnalyse) - { - if (est_anglophone()) - { - $sql = 'call sp_imprimer_assure_eng(?, ?);'; - } - else - { - $sql = 'call sp_imprimer_assure(?, ?);'; - } - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEnteteBeneficiairesAimprimer($idPolice) - { - $sql = 'call sp_entete_liste_assure(?);'; - - $entete = $this->executerRequete($sql, array($idPolice)); - return $entete->fetch(PDO::FETCH_ASSOC); - } - - public function changeretat($idbeneficiaire, $codeEtatbeneficiaire, $motifEtat, $dateEtat) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_etat_beneficiaire(?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($idbeneficiaire, $codeEtatbeneficiaire, $motifEtat, $dateEtat, $user)); - } - - public function majdatesortie($idbeneficiaire, $dateSortie, $motifSortie) - { - - $user = $_SESSION['login']; - - $sql = 'call sp_maj_date_sortie(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idbeneficiaire, $user, $dateSortie, $motifSortie)); - } - - public function getBeneficiairesActifs($dateAnalyse) - { - $sql = 'call sp_assures_actifs(?);'; - - $resultat = $this->executerRequete($sql, array($dateAnalyse)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getBeneficiairesActifsExport($dateAnalyse) - { - $sql = 'call sp_assures_actifs_export(?);'; - - $resultat = $this->executerRequete($sql, array($dateAnalyse)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getempreintesupprimers() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_empreintes_supprimees(?);'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethistoempreintesupprimers($debut, $fin) - { - $sql = 'call sp_histo_suppression_empreintes(?, ?);'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getModeleAssures() - { - $sql = 'CALL sp_export_modele_assure();'; - - $beneficiaires = $this->executerRequete($sql); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function initIinsererLigneModeleAssure() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_init_inserer_ligne_modele_assure(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function insererLigneModeleAssure($idAvenant, $categorie, $numeroAdherent, $noFamille, $nom, $prenoms, $codeLienParente, - $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $email) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_inserer_ligne_modele_assure(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idAvenant, $user, $idSaisie, $categorie, $numeroAdherent, $noFamille, $nom, $prenoms, $codeLienParente, - $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $email)); - } - - - public function getListeAssuresImportes() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'CALL sp_afficher_lignes_importees(?, ?);'; - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $user)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function gererIncorporationSurFamExistante() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_gerer_incorporation_sur_fam_existante(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - - public function calculerprimeimportee() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_calculer_prime_importee(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function enregistrerparamimportassure($nomOrigine, $nouveau_fichier, $taille) - { - $idPolice = $_SESSION['idPolice_C']; - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - //$cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - $cheminFichier = $nouveau_fichier; - - $sql = 'call sp_r_enregistrer_param_import_assure(?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $codeSociete, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getFichierImport() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_afficher_fichier_import(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function exclureligneimportee($idBeneficiairemodel, $exclure) - { - $sql = 'call sp_r_exclure_ligne_importee(?, ?)'; - - $this->executerRequete($sql, array($idBeneficiairemodel, $exclure)); - } - - public function getListeAdherentImportes($idCollege) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_afficher_adherents_importees(?, ?, ?)'; - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $user, $idCollege)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeAdherentImportesCollege($idCollege) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_afficher_adherents_importees_college(?, ?, ?)'; - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $user, $idCollege)); - - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouterunadherentaucollege($idBeneficiairemodel, $idCollege) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_adherent_importee_college(?, ?, ?)'; - - $this->executerRequete($sql, array($user, $idBeneficiairemodel, $idCollege)); - } - - - public function retirerunadherentaucollege($idBeneficiairemodel) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_adherent_importee_college(?, ?)'; - - $this->executerRequete($sql, array($user, $idBeneficiairemodel)); - } - - public function getnbadhimpsanscollege() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'SELECT fn_nb_adh_imp_sans_college(?, ?) AS nb_adh;'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['nb_adh']; - } - - public function incorpoerassuresimportes() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_incorporer_assures_importes(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function ajoutertousadherentaucollege($idCollege) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_adherent_importee_college(?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idCollege)); - } - - public function ajoutersanscollegeadherentaucollege($idCollege) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_adherent_sans_college_importee_college(?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idCollege)); - } - - // retirertousadherentaucollege - public function retirertousadherentaucollege($idCollege) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_tous_adherent_importee_college(?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idCollege)); - } - - public function majetape() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_r_maj_etape_3_import_assure(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getadhimpfamillesansadherent() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_adh_imp_famille_sans_adherent(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['noFamille']; - } - - public function getadhimpfamilleplusieursadherent() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_adh_imp_famille_plusieurs_adherent(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['noFamille']; - } - - public function getadhimpfamilleexistantsansadherent() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_adh_imp_famille_existant_sans_adherent(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['noFamille']; - } - - public function getBeneficiairesNonFature($idPolice) - { - $sql = 'call sp_beneficiaires_non_factures(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function afficherfacturationpolice($debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_afficher_facturation_police(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function initfacturationpolice() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'CALL sp_init_facturation_police(?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idSaisie)); - } - - public function selectionnertoutlignesafacturer($choix, $debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_select_tous_beneficiaire_a_facturer(?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin, $choix)); - } - - public function selectionnerunelignesafacturer($idBeneficiairePrimeTemp, $choix, $debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_select_un_beneficiaire_a_facturer(?, ?, ?, ?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin, $idBeneficiairePrimeTemp, $choix)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - - } - - public function affichertotalfacturationpolice($debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_recap_beneficiaire_a_facturer(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - - public function initecheancierfacturation($debut, $fin) - { - $codeSociete = $_SESSION['codeSociete']; - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_init_echeancier_facturation(?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idPolice, $user, $idSaisie, $debut, $fin, $_SESSION['lang'])); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['idEmission_temp']; - } - - public function majaccessoiresfacturation($fraisCarte, $debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - - $sql = 'call sp_maj_accessoires_facturation(?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin, $fraisCarte)); - } - - public function majprimesfacturation($idCollege, $old_primeNette, $nv_primeNette, $debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_maj_primes_facturation(?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin, $idCollege, $old_primeNette, $nv_primeNette)); - } - - public function gethistoenrollementempreinte($debut, $fin) - { - $sql = 'call sp_histo_enrollement_empreinte(?, ?);'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getentetecontrat($idEntetecontrat) - { - $sql = 'SELECT * FROM entetecontrat WHERE id=? limit 1;'; - - $resultat = $this->executerRequete($sql, array($idEntetecontrat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontratadherent($idAdherent) - { - $sql = 'call sp_get_entete_contrat_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontratbeneficiaire($idBeneficiaire) - { - $sql = 'call sp_get_entete_contrat_beneficiaire(?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function controlerplafondbeneficiaireannuel($idBeneficiaire) - { - $sql = 'select fn_control_plafond_beneficiaire_courant(?) as controlerPlafondBeneficiaire;'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['controlerPlafondBeneficiaire'] = $ligne['controlerPlafondBeneficiaire']; - - $idAdherent = $_SESSION['idAdherent_C']; - - $this->controlerplafondadherentannuel($idAdherent); - } - - public function controlerplafondadherentannuel($idAdherent) - { - $sql = 'select fn_control_plafond_adherent_courant(?) as controlerPlafondAdherent;'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['controlerPlafondAdherent'] = $ligne['controlerPlafondAdherent']; - } - - public function ajouterAdherentfamilialie($idAdherent) - { - $sql = 'call sp_enregistrer_premier_beneficiaire_famliale(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $dernierIdBeneficiaire = $ligne['dernierIdBeneficiaire']; - return $dernierIdBeneficiaire; - } - - public function ajouterfamiliale($idAdherent, $numeroBeneficiaire, $nomBeneficiaire, - $prenomsBeneficiaire, $codeLienParente, $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, - $dateNaissance, $telephonePortable, $dateEntree, $user, $idAvenant, $fraisCarte) - { - $sql = 'CALL sp_ajouter_beneficiaire_famliale(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - /* - $dernierId = $this->executerRequete($sql, array($idAdherent, $nomBeneficiaire, $prenomsBeneficiaire, $codeLienParente, - $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $dateEntree, $user, - $idAvenant, $fraisCarte)); - */ - - $resultat = $this->executerRequete($sql, array($idAdherent, $nomBeneficiaire, $prenomsBeneficiaire, $codeLienParente, - $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $dateEntree, $user, - $idAvenant, $fraisCarte)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $dernierIdBeneficiaire = $ligne['dernierIdBeneficiaire']; - return $dernierIdBeneficiaire; - } - - public function getModeleAssuresFamiliale() - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'CALL sp_export_modele_assure_familiale(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function initIinsererLigneModeleAssureFamiliale() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_init_inserer_ligne_modele_assure(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function insererLigneModeleAssureFamiliale($idAvenant, $categorie, $numeroAdherent, $noFamille, $nom, $prenoms, $codeLienParente, - $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $email, $codecommercial, $codeTypeEcheancier, - $primeBase, $dateEntree) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_inserer_ligne_modele_assure_familiale(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idAvenant, $user, $idSaisie, $categorie, $numeroAdherent, $noFamille, $nom, $prenoms, $codeLienParente, - $codeNaturePiece, $numeroPiece, $sexe, $codeGroupeSanguin, $dateNaissance, $telephonePortable, $email, $codecommercial, $codeTypeEcheancier, - $primeBase, $dateEntree)); - } - - public function recapitulerImportationAssuresFamliale() - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_recap_import_assures_familiale(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getListeAssuresImportesFamiliale() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'CALL sp_afficher_lignes_importees_familiale(?, ?);'; - - $beneficiaires = $this->executerRequete($sql, array($idPolice, $user)); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function incorpoerassuresimportesfamiliale() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_incorporer_assures_importes_familiale(?, ?);'; - - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function exporter_beneficiaire_a_facturer($debut, $fin) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_exporter_beneficiaire_a_facturer(?, ?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user, $idSaisie, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogreconnaissancefaciale($debut, $fin) - { - $sql = 'call sp_get_log_reconnaissance_faciale(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getlogreconnaissancefacialeexport($debut, $fin) - { - $sql = 'call sp_get_log_reconnaissance_faciale_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function re_init() - { - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['Patient_C'] = ""; - $_SESSION['beneficiaire_C'] = ""; - $_SESSION['adherent_C'] = ""; - $_SESSION['user_id_C'] = ""; - $_SESSION['finger_id_C'] = ""; - $_SESSION['faceRegistered_C'] = ""; - } - - public function getpatientlike($numeroBeneficiaire, $nomsearch) - { - $nomsearch = contruireParamLike($nomsearch); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_r_patients_like(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $numeroBeneficiaire, $nomsearch)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getpatientlikevide() - { - $sql = 'call sp_r_patients_vide()'; - $resultat = $this->executerRequete($sql); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getlogreregisterface($debut, $fin) - { - $sql = 'call sp_get_log_register_face(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getlogreregisterfaceexport($debut, $fin) - { - $sql = 'call sp_get_log_register_face_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogreremoveface($debut, $fin) - { - $sql = 'call sp_get_log_remove_face(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getlogreremovefaceexport($debut, $fin) - { - $sql = 'call sp_get_log_remove_face_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function registerface($numeroBeneficiaire) - { - $codePrestataire = ""; - $user = $_SESSION['login']; - - $sql = 'call sp_p_register_face(?, ?, ?)'; - - $this->executerRequete($sql, array($numeroBeneficiaire, $codePrestataire, $user)); - } - - public function unregisterface($numeroBeneficiaire, $motif) - { - $codePrestataire = ""; - $user = $_SESSION['login']; - - $sql = 'call sp_p_remove_face(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroBeneficiaire, $codePrestataire, $user, $motif)); - } - - // - public function init_reconnaitrelaface() - { - $codePrestataire = ""; - $user = $_SESSION['login']; - - $sql = 'call sp_init_reconnaitrelaface(?, ?);'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $user)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idLogapiface'] = $ligne['idLogapiface']; - } - - public function succes_reconnaitrelaface($username, $resultat) - { - $idLogapiface = $_SESSION['idLogapiface']; - - $sql = 'call sp_succes_reconnaitrelaface(?, ?, ?);'; - $this->executerRequete($sql, array($idLogapiface, $username, $resultat)); - } - - - public function echec_reconnaitrelaface($resultat) - { - $idLogapiface = $_SESSION['idLogapiface']; - - $sql = 'call sp_echec_reconnaitrelaface(?, ?);'; - $this->executerRequete($sql, array($idLogapiface, $resultat)); - } - - public function init_enregisterlaface() - { - $codePrestataire = ""; - $user = $_SESSION['login']; - $username = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_init_enregisterlaface(?, ?, ?);'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $user, $username)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idLogapiface'] = $ligne['idLogapiface']; - } - - public function init_supprimerlaface() - { - $codePrestataire = ""; - $user = $_SESSION['login']; - $username = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_init_supprimerlaface(?, ?, ?);'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $user, $username)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idLogapiface'] = $ligne['idLogapiface']; - } - - public function init_confirmerlaface($del) - { - $codePrestataire = ""; - $user = $_SESSION['login']; - $username = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_init_confirmerlaface(?, ?, ?, ?);'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $user, $username, $del)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idLogapiface'] = $ligne['idLogapiface']; - } - - public function supprimerface($motif) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_supprimer_face(?, ?, ?);'; - - $this->executerRequete($sql, array($idBeneficiaire, $user, $motif)); - } - - public function getfacesupprimers() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_faces_supprimees(?);'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getModeBiometrie() { - $sql = 'CALL sp_get_mode_biometrie(?);'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['codeModeBiometrie'] = $ligne['codeModeBiometrie']; - - $codeModeBiometrie = $_SESSION['codeModeBiometrie']; - if($codeModeBiometrie=='1' or $codeModeBiometrie=='3'){ - $_SESSION['fingerActif'] = '1'; - } - else{ - $_SESSION['fingerActif'] = '0'; - } - - if($codeModeBiometrie=='2' or $codeModeBiometrie=='3'){ - $_SESSION['faceActif'] = '1'; - } - else{ - $_SESSION['faceActif'] = '0'; - } - } - - public function init_traiterlaface($codeActionFace) - { - $codePrestataire = ''; - $user = $_SESSION['login']; - $username = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_init_traiterlaface(?, ?, ?, ?);'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $user, $username, $codeActionFace)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idLogapiface'] = $ligne['idLogapiface']; - } - - public function resultat_traitement_face($username, $success, $message) - { - $idLogapiface = $_SESSION['idLogapiface']; - - $sql = 'CALL sp_resultat_traitement_face(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idLogapiface, $username, $success, $message)); - } - - public function supprimerPhoto($id) - { - $sql = 'update beneficiaire set lienPhoto="", faceRegistered="0" WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function gethistofacesupprimees($debut, $fin) - { - $sql = 'call sp_histo_suppression_faces(?, ?);'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethistoenrollementface($debut, $fin) - { - $sql = 'call sp_histo_enrollement_face(?, ?);'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function prestationPossible($idBeneficiaire) - { - $sql = 'select fn_beneficiaire_prestation_possible(?) as prestationPossible'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['prestationPossible']; - } - - public function controlenopieceglobal($numeroPiece) - { - $sql = 'CALL sp_controle_no_piece_global(?);'; - - $resultat = $this->executerRequete($sql, array($numeroPiece)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Beneficiaire_temp.php b/radiantproduction/Modele/Beneficiaire_temp.php deleted file mode 100644 index e2a3c15..0000000 --- a/radiantproduction/Modele/Beneficiaire_temp.php +++ /dev/null @@ -1,130 +0,0 @@ -executerRequete($sql, array($idAdherent, $dateEntree, $user, $prorata, $fraisCarte)); - return $adherent_temp->fetch(PDO::FETCH_ASSOC); - } - - public function getListeBeneficiaire_temp() - { - $user = $_SESSION['login']; - - $sql = 'call sp_afficher_beneficiaire_resiliation(?);'; - - $beneficiaires = $this->executerRequete($sql, array($user)); - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeBeneficiaire_temp_Ren() - { - $user = $_SESSION['login']; - - $sql = 'call sp_afficher_beneficiaire_renouvellement(?);'; - - $beneficiaires = $this->executerRequete($sql, array($user)); - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeBeneficiaire_temp_Ret() - { - $user = $_SESSION['login']; - - $sql = 'call sp_afficher_beneficiaire_a_retirer(?);'; - - $beneficiaires = $this->executerRequete($sql, array($user)); - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeBeneficiaire_temp_Ret_Selection() - { - $user = $_SESSION['login']; - - $sql = 'call sp_afficher_beneficiaire_retrait(?);'; - - $beneficiaires = $this->executerRequete($sql, array($user)); - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - - public function recapitulerretrait() - { - $user = $_SESSION['login']; - - $sql = 'call sp_recapituler_retrait(?);'; - - $this->executerRequete($sql, array($user)); - } - - public function selectionretrait($idBeneficiaire, $choix) { - $sql = 'call sp_selection_retrait(?, ?)'; - $this->executerRequete($sql, array($idBeneficiaire, $choix)); - } - - public function selectionlimite($idBeneficiaire, $choix) { - $sql = 'update beneficiaire_temp set choix=? WHERE (id=?);'; - $this->executerRequete($sql, array($choix, $idBeneficiaire)); - } - - public function selectionlimitetout($idCollegeTemp, $choix) { - $sql = 'update beneficiaire_temp set choix=? WHERE (idCollegeTemp=?);'; - $this->executerRequete($sql, array($choix, $idCollegeTemp)); - } - - public function getListeBeneficiaire_temp_limite($id_college_temp) - { - $user = $_SESSION['login']; - - $sql = 'call sp_afficher_beneficiaire_limite(?, ?);'; - - $beneficiaires = $this->executerRequete($sql, array($id_college_temp, $user)); - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function appliquertauxristourne($tauxRistourne) - { - $user = $_SESSION['login']; - - $sql = 'call sp_appliquer_taux_ristourne(?, ?);'; - - $this->executerRequete($sql, array($user, $tauxRistourne)); - } - - public function get_frais_carte_college($idCollege) - { - // $idCollege = $_SESSION['idCollege_C']; - - $sql = 'select fn_get_frais_carte_college(?) as fraisCarte'; - - $resultat = $this->executerRequete($sql, array($idCollege)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['fraisCarte']; - } - - public function initbeneficiairefamilialie_temp($idAdherent, $dateEntree, $user) - { - $sql = 'call sp_init_beneficiaire_familiale(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateEntree, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function recapbeneficiciairefamilialetemp($codeLienParente, $dateEntre, $codeProduit) - { - $user = $_SESSION['login']; - - $sql = 'call sp_recap_prime_beneficiaire_familiale_temp(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeLienParente, $dateEntre, $user, $codeProduit)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Beneficiairecarte.php b/radiantproduction/Modele/Beneficiairecarte.php deleted file mode 100644 index 15bc110..0000000 --- a/radiantproduction/Modele/Beneficiairecarte.php +++ /dev/null @@ -1,42 +0,0 @@ -executerRequete($sql, array($numeroBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function creercarte($dateCarte, $montantCarte) - { - $user = $_SESSION['login']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_r_creer_carte(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $dateCarte, $montantCarte, $user)); - } - - public function supprimercarte($idBeneficiaireCarte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_supprimer_carte(?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaireCarte, $user)); - } - - public function modifiercarte($idGcCarte, $dateCarte, $montantCarte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_modifier_carte(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcCarte, $dateCarte, $montantCarte, $user)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Beneficiairequittance.php b/radiantproduction/Modele/Beneficiairequittance.php deleted file mode 100644 index b134168..0000000 --- a/radiantproduction/Modele/Beneficiairequittance.php +++ /dev/null @@ -1,28 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $idQuittance)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getBeneficiaireEmission($idEmission) { - $sql = 'SELECT A.id, A.idEmission, A.numeroEmission, A.idBeneficiaire, A.numeroBeneficiaire, nomBeneficiaire, - prenomsBeneficiaire, A.primeNette, A.commission, A.primeHt, A.taxe, A.fraisCarte, A.primeTtc - FROM beneficiairequittance A - JOIN beneficiaire B ON (B.codeSociete=A.codeSociete) AND (B.id=A.idBeneficiaire) - WHERE (B.codeSociete=?) AND (A.idEmission=?) ORDER BY A.numeroBeneficiaire'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $idEmission)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} diff --git a/radiantproduction/Modele/Beneficiairerequetes.php b/radiantproduction/Modele/Beneficiairerequetes.php deleted file mode 100644 index f14b839..0000000 --- a/radiantproduction/Modele/Beneficiairerequetes.php +++ /dev/null @@ -1,68 +0,0 @@ -executerRequete($sql, array($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesassuretotal($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient) - { - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $numeroPolice = contruireParamLike($numeroPolice); - $telephonePortableAdherent = contruireParamLike($telephonePortableAdherent); - $emailAdherent = contruireParamLike($emailAdherent); - $nomClient = contruireParamLike($nomClient); - - $sql = 'call sp_requetes_assure_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient) ); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesassureexport($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient) - { - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $numeroPolice = contruireParamLike($numeroPolice); - $telephonePortableAdherent = contruireParamLike($telephonePortableAdherent); - $emailAdherent = contruireParamLike($emailAdherent); - $nomClient = contruireParamLike($nomClient); - - $sql = 'call sp_requetes_assure_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroAdherent, $numeroBeneficiaire, $adherent, $beneficiaire, $numeroPolice, $codeProduit, $codeEtatPolice, - $codeLienParente, $telephonePortableAdherent, $emailAdherent, $sexe, $codeEtatBeneficiaire, $decede, $numeroClient1, $numeroClient2, $nomClient) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Billet.php b/radiantproduction/Modele/Billet.php deleted file mode 100644 index 3209b42..0000000 --- a/radiantproduction/Modele/Billet.php +++ /dev/null @@ -1,25 +0,0 @@ -executerRequete($sql); - return $billets; - } - public function getBillet($idBillet) { - $sql = 'select BIL_ID as id, BIL_DATE as date,' - . ' BIL_TITRE as titre, BIL_CONTENU as contenu from t_billet' - . ' where BIL_ID=?'; - $billet = $this->executerRequete($sql, array($idBillet)); - return $billet->fetch(PDO::FETCH_ASSOC); - } - public function getNombreBillets() - { - $sql = 'select count(*) as nbBillets from t_billet'; - $resultat = $this->executerRequete($sql); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbBillets']; - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Bonpec.php b/radiantproduction/Modele/Bonpec.php deleted file mode 100644 index 82fb1de..0000000 --- a/radiantproduction/Modele/Bonpec.php +++ /dev/null @@ -1,425 +0,0 @@ -executerRequete($sql, array($codePrestataire)); - return $bonpecs; - } - - public function afficherBonpecs($codePrestataire, $codeTypeBon, $codeEtatBon, $noDepart, $noFin) - { - $codeEtatBon = contruireParamLike($codeEtatBon); - - $sql = 'call sp_afficher_bonpecs(?, ?, ?, ?, ?, ?)'; - $bonpecs = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePrestataire, $codeTypeBon, $codeEtatBon, $noDepart, $noFin)); - - return $bonpecs->fetchAll(PDO::FETCH_ASSOC); - } - - public function getBonId($id) { - $sql = 'select A.*, A.id as IdBon, B.libelle as typeBon, C.libelle as etatBon , - IFNULL(concat(nomBeneficiaire, " ",prenomsBeneficiaire),"") as beneficiaire - from p_bonpec A - left join typebon B on (B.codeTypeBon=A.codeTypeBon) - left join etatbon C on (C.codeEtatBon=A.codeEtatBon) - left join beneficiaire D on (D.numeroBeneficiaire=A.numeroBeneficiaire) - WHERE (A.id=?)'; - - $bonpec = $this->executerRequete($sql, array($id)); - return $bonpec->fetch(PDO::FETCH_ASSOC); - } - - public function getBonNumeroBon($numeroBon) { - $sql = 'select A.*, A.id as IdBon, B.libelle as typeBon, C.libelle as etatBon , - IFNULL(concat(nomBeneficiaire, " ",prenomsBeneficiaire),"") as beneficiaire - from p_bonpec A - left join typebon B on (B.codeTypeBon=A.codeTypeBon) - left join etatbon C on (C.codeEtatBon=A.codeEtatBon) - left join beneficiaire D on (D.numeroBeneficiaire=A.numeroBeneficiaire) - WHERE (A.numeroBon=?)'; - - $bonpec = $this->executerRequete($sql, array($numeroBon)); - return $bonpec->fetch(PDO::FETCH_ASSOC); - } - - public function genererBon($codePrestataire, $codeTypeBon, $noDepart, $noFin, $receptionnaire) - { - $dj = date('Y-m-d'); - - $sql = 'insert into p_generartionbon (codeSociete, codeTypeBon, codePrestataire, noDepart, noFin, dateGeneration, codeUtilisateur, receptionnaire) - values (?, ?, ?, ?, ?, ?, ?, ?);'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon, $codePrestataire, $noDepart, $noFin, $dj, $_SESSION['login'], $receptionnaire)); - - $idgenerartionbon = $this->dernierId(); - $_SESSION['idgenerartionbon_C'] = $idgenerartionbon; - - $numeroBon = "0"; - for ($numeroBon = $noDepart; $numeroBon <= $noFin; $numeroBon++) - { - $sql = 'insert into p_bonpec (codeSociete, codeTypeBon, codePrestataire, numeroBon, dateGeneration, codeUtilisateurGeneration, idgenerartionbon) - values (?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon, $codePrestataire, $numeroBon, $dj, $_SESSION['login'], $idgenerartionbon)); - } - - $sql = 'call sp_set_dernier_numero_pec(?, ?, ?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon, $numeroBon-1)); - } - - public function plageLibre($codeTypeBon, $noDepart, $noFin) { - $sql = 'select id FROM p_bonpec WHERE (codeSociete=?) and (codeTypeBon=?) and (numeroBon between ? and ?) limit 1'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon, $noDepart, $noFin)); - - return ($resultat->rowCount() == 0); - } - - public function getDenierNumeroBon($codeTypeBon) - { - $sql = 'select fn_getDenierNumeroBon(?, ?) as denierNumeroBon'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['denierNumeroBon']; - } - - public function receptionnerBon($codePrestataire, $noDepart, $noFin) { - $dateReception = date('Y-m-d'); - $codeUtilisateurReception = $_SESSION['login']; - $sql = 'UPDATE p_bonpec SET codeEtatBon="1", dateReception=?, codeUtilisateurReception=? - WHERE (codePrestataire=? AND numeroBon between ? and ? AND codeEtatBon="0" )'; - $this->executerRequete($sql, array($dateReception, $codeUtilisateurReception, $codePrestataire, $noDepart, $noFin)); - } - - public function supprimerBon($noDepart, $noFin) { - $sql = 'DELETE FROM p_bonpec WHERE (numeroBon between ? and ? AND codeEtatBon="0" )'; - $this->executerRequete($sql, array($noDepart, $noFin)); - } - - public function annulerBonId($idBon, $motifAnnulation) { - $dateAnnulation = date('Y-m-d'); - $codeUtilisateurAnnulation = $_SESSION['login']; - - $sql = 'UPDATE p_bonpec SET codeEtatBon="3", motifAnnulation=?, dateAnnulation=?, codeUtilisateurAnnulation=? WHERE (id=?)'; - $this->executerRequete($sql, array($motifAnnulation, $dateAnnulation, $codeUtilisateurAnnulation, $idBon)); - } - - public function demanderAnnulationBonId($id, $motifAnnulation) { - $dateDemandeAnnulation = date('Y-m-d'); - - $sql = 'UPDATE p_bonpec SET codeEtatBon="9", motifAnnulation=?, dateDemandeAnnulation=? WHERE (id=?)'; - $this->executerRequete($sql, array($motifAnnulation, $dateDemandeAnnulation, $id)); - } - - public function annulerBonNo($numeroBon, $motifAnnulation) { - $dateAnnulation = date('Y-m-d'); - $codeUtilisateurAnnulation = $_SESSION['login']; - - $sql = 'UPDATE p_bonpec SET codeEtatBon="3", motifAnnulation=?, dateAnnulation=?, codeUtilisateurAnnulation=? WHERE (numeroBon=?)'; - $this->executerRequete($sql, array($motifAnnulation, $dateAnnulation, $codeUtilisateurAnnulation, $numeroBon)); - } - - public function estdisponible($codePrestataire, $numeroBon) { - $sql = 'select id FROM p_bonpec WHERE (codeEtatBon="1") AND (codePrestataire=?) AND (numeroBon=?)'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $numeroBon)); - return ($resultat->rowCount() == 1); - } - - public function etatbon($codePrestataire, $numeroBon) - { - $sql = 'select A.codeEtatBon, B.libelle from p_bonpec A join etatbon B on (B.codeEtatBon=A.codeEtatBon) - WHERE (codePrestataire=?) AND (numeroBon=?)'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $numeroBon)); - if($resultat->rowCount() > 0) - { - return $resultat->fetch(PDO::FETCH_ASSOC); - } - else - return array('9','Introuvable'); - } - - - public function imrimerBon($numeroBon) { - $sql = 'SELECT A.numeroBon, A.numeroBeneficiaire, BN.numeroAdherent, A.codeActe, C.codeActeVisible, - BN.codeSexe, BN.dateNaissance, B.libelle AS prestataire, C.libelle AS acte, - IFNULL(CONCAT("Dr ", D.nom, " ", D.prenoms),"") AS medecin, A.montantacte, A.tauxCouverture, - A.montantTm, A.fichierBon, NOW() AS dateCourante, AD.numeroPolice, - CONCAT(BN.nomBeneficiaire, " ", BN.prenomsBeneficiaire) AS beneficiaire, - CONCAT(AD.nomAdherent, " ", AD.prenomsAdherent) AS assure, IFNULL(DM.dureeHospitAccordee,"No duree") AS dureeHospitAccordee, - CONCAT(CL.nom, " ", IFNULL(CL.prenoms,"")) AS souscripteur - FROM p_bonpec A - JOIN beneficiaire BN ON (BN.numeroBeneficiaire=A.numeroBeneficiaire) - JOIN adherent AD ON (AD.numeroAdherent=BN.numeroAdherent) - JOIN police P ON (P.numeroPolice=AD.numeroPolice) - JOIN client CL ON (CL.numeroClient=P.numeroClient) - JOIN prestataire B ON (B.codePrestataire=A.codePrestataire) - JOIN acte_bon C ON (C.codeActe=A.codeActe) - LEFT JOIN demandepec DM ON (DM.numeroBon=A.numeroBon) - LEFT JOIN medecin D ON (D.codeMedecin=A.codeMedecin) - Where (A.numeroBon=?)'; - - $bonpec = $this->executerRequete($sql, array($numeroBon)); - return $bonpec->fetch(PDO::FETCH_ASSOC); - } - - - public function imrimerBonVierge($numeroDossier, $montantacte, $tauxCouverture) { - $sql = 'SELECT A.id AS numeroDossier, A.numeroBeneficiaire, BN.numeroAdherent, A.codeActe, C.codeActeVisible, - BN.codeSexe, BN.dateNaissance, B.libelle AS prestataire, C.libelle AS acte, - IFNULL(CONCAT("Dr ", D.nom, " ", D.prenoms),"") AS medecin, ? AS montantacte, - ? AS tauxCouverture, "0" AS montantTm, "" AS fichierBon, NOW() AS dateCourante, AD.numeroPolice, - CONCAT(BN.nomBeneficiaire, " ", BN.prenomsBeneficiaire) AS beneficiaire, - CONCAT(AD.nomAdherent, " ", AD.prenomsAdherent) AS assure, - CONCAT(CL.nom, " ", IFNULL(CL.prenoms,"")) AS souscripteur - FROM dossier A - JOIN beneficiaire BN ON (BN.numeroBeneficiaire=A.numeroBeneficiaire) - JOIN adherent AD ON (AD.numeroAdherent=BN.numeroAdherent) - JOIN police P ON (P.numeroPolice=AD.numeroPolice) - JOIN client CL ON (CL.numeroClient=P.numeroClient) - JOIN prestataire B ON (B.codePrestataire=A.codePrestataire) - JOIN acte_bon C ON (C.codeActe=A.codeActe) - LEFT JOIN demandepec DM ON (DM.numeroBon=A.numeroBon) - LEFT JOIN medecin D ON (D.codeMedecin=A.codeMedecin) - Where (A.id=?)'; - - $bonpec = $this->executerRequete($sql, array($montantacte, $tauxCouverture, $numeroDossier)); - return $bonpec->fetch(PDO::FETCH_ASSOC); - } - - public function majfichierBon($numeroBon, $fichierBon) { - $sql = 'UPDATE p_bonpec SET fichierBon=? WHERE (numeroBon=?)'; - $this->executerRequete($sql, array($fichierBon, $numeroBon)); - } - - public function majBonAImprimer($numeroDemande, $numeroBon) { - $dateSysteme = date('Y-m-d'); - $codeUtilisateur = $_SESSION['login']; - - $sql = 'UPDATE p_bonpec , demandepec SET p_bonpec.codeEtatBon="2", p_bonpec.numeroBeneficiaire=demandepec.numeroBeneficiaire, - p_bonpec.numeroDossier=demandepec.numeroDossier, p_bonpec.codeActe=demandepec.codeActe, p_bonpec.codeMedecin=demandepec.codeMedecin, - demandepec.numeroBon=p_bonpec.numeroBon, demandepec.bonImprime="1", - tauxCouverture="100", montantTm="0", montantacte="0", p_bonpec.dateImpression=?, p_bonpec.codeUtilisateurImpression=? - WHERE (p_bonpec.numeroBon=?) AND (demandepec.id=?)'; - - $this->executerRequete($sql, array($dateSysteme, $codeUtilisateur, $numeroBon, $numeroDemande)); - } - - public function getBonpecsAssure($codePrestataire, $codeActe, $numeroBeneficiaire) { - $numeroAdherent = $_SESSION['numeroAdherent_C']; - - $codePrestataire = contruireParamLike($codePrestataire); - $codeActe = contruireParamLike($codeActe); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - - $sql = 'SELECT numeroBon, A.codePrestataire, P.libelle AS prestataire, A.numeroBeneficiaire, - CONCAT(BN.prenomsBeneficiaire, " ", BN.nomBeneficiaire) AS beneficiaire, - A.dateImpression, A.codeActe, AB.libelle AS acte, A.tauxCouverture - FROM p_bonpec A - LEFT JOIN beneficiaire BN ON (BN.numeroBeneficiaire=A.numeroBeneficiaire) - JOIN prestataire P ON (P.codePrestataire=A.codePrestataire) - JOIN acte_bon AB ON (AB.codeActe=A.codeActe) - WHERE (BN.numeroAdherent=?) AND (A.codeEtatBon="2") - AND (A.codePrestataire LIKE ?) AND (A.codeActe LIKE ?) - AND (A.numeroBeneficiaire LIKE ?) - ORDER BY A.dateImpression DESC'; - - $bonpecs = $this->executerRequete($sql, array($numeroAdherent, $codePrestataire, $codeActe, $numeroBeneficiaire)); - return $bonpecs; - } - - public function Rqacte($codePrestataire, $codeActe, $date1, $date2, $noDepart, $noFin, $nomBeneficiaire, - $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeActe = contruireParamLike($codeActe); - $nomBeneficiaire = contruireParamLike($nomBeneficiaire); - $prenomsBeneficiaire = contruireParamLike($prenomsBeneficiaire); - - If($numeroBeneficiaire1=="0") - { - $numeroBeneficiaire1=""; - } - - if($noDepart>0 || $noFin>0) - { - $sql = 'SELECT P.libelle AS prestataire, DATE_FORMAT(A.dateImpression, "%d/%m/%Y") AS dateImpression, numeroBon, - BN.nomBeneficiaire, BN.prenomsBeneficiaire, AB.libelle AS acte, A.tauxCouverture - FROM p_bonpec A - JOIN beneficiaire BN ON (BN.numeroBeneficiaire=A.numeroBeneficiaire) - JOIN prestataire P ON (P.codePrestataire=A.codePrestataire) - JOIN acte_bon AB ON (AB.codeActe=A.codeActe) - WHERE (A.codeEtatBon="2") AND (A.codePrestataire LIKE ?) - AND (A.codeActe LIKE ?) AND (A.numeroBon BETWEEN ? AND ?) - AND (A.dateImpression BETWEEN ? AND ?) AND (BN.nomBeneficiaire LIKE ?) - AND (BN.prenomsBeneficiaire LIKE ?) AND (A.numeroBeneficiaire BETWEEN ? AND ?) '; - - $typeuseur = $_SESSION['codeTypeUtilisateur']; - switch ($typeuseur) - { - case "AS": /* ASSURE*/ - { - $sql .= ' AND (BN.numeroAdherent=?) ORDER BY A.dateImpression DESC, numeroBon'; - $liste = $this->executerRequete($sql, array($codePrestataire, $codeActe, $noDepart, $noFin, $date1, $date2, - $nomBeneficiaire, $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2, $_SESSION["numeroAdherent_C"])); - break; - } - case "PR": /* PRESTATAIRE*/ - { - $sql .= ' AND (A.codePrestataire=?) ORDER BY A.dateImpression DESC, numeroBon'; - $liste = $this->executerRequete($sql, array($codePrestataire, $codeActe, $noDepart, $noFin, $date1, $date2, - $nomBeneficiaire, $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2, $_SESSION["codePrestataireUtilisateur"])); - break; - } - default: /* Dans tous les autres cas */ - { - $sql .= ' ORDER BY A.dateImpression DESC, numeroBon'; - - $liste = $this->executerRequete($sql, array($codePrestataire, $codeActe, $noDepart, $noFin, $date1, $date2, - $nomBeneficiaire, $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2)); - } - } - } else - { - $sql = 'SELECT P.libelle AS prestataire, DATE_FORMAT(A.dateImpression, "%d/%m/%Y") AS dateImpression, numeroBon, - BN.nomBeneficiaire, BN.prenomsBeneficiaire, AB.libelle AS acte, A.tauxCouverture - FROM p_bonpec A - JOIN beneficiaire BN ON (BN.numeroBeneficiaire=A.numeroBeneficiaire) - JOIN prestataire P ON (P.codePrestataire=A.codePrestataire) - JOIN acte_bon AB ON (AB.codeActe=A.codeActe) - WHERE (A.codeEtatBon="2") AND (A.codePrestataire LIKE ?) - AND (A.codeActe LIKE ?) AND (A.dateImpression BETWEEN ? AND ?) - AND (BN.nomBeneficiaire LIKE ?) AND (BN.prenomsBeneficiaire LIKE ?) - AND (A.numeroBeneficiaire BETWEEN ? AND ?) '; - - $typeuseur = $_SESSION['codeTypeUtilisateur']; - switch ($typeuseur) - { - case "AS": /* ASSURE*/ - { - $sql .= ' AND (BN.numeroAdherent=?) ORDER BY A.dateImpression DESC, numeroBon'; - $liste = $this->executerRequete($sql, array($codePrestataire, $codeActe, $date1, $date2, $nomBeneficiaire, - $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2, $_SESSION["numeroAdherent_C"])); - break; - } - case "PR": /* PRESTATAIRE*/ - { - $sql .= ' AND (A.codePrestataire=?) ORDER BY A.dateImpression DESC, numeroBon'; - $liste = $this->executerRequete($sql, array($codePrestataire, $codeActe, $date1, $date2, $nomBeneficiaire, - $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2, $_SESSION["codePrestataireUtilisateur"])); - break; - } - default: /* Dans tous les autres cas */ - { - $sql .= ' ORDER BY A.dateImpression DESC, numeroBon'; - $liste = $this->executerRequete($sql, array($codePrestataire, $codeActe, $date1, $date2, $nomBeneficiaire, - $prenomsBeneficiaire, $numeroBeneficiaire1, $numeroBeneficiaire2)); - } - } - } - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesbonpec($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeTypeBon = contruireParamLike($codeTypeBon); - $codeEtatBon = contruireParamLike($codeEtatBon); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_bonpec(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesbonpectotal($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeTypeBon = contruireParamLike($codeTypeBon); - $codeEtatBon = contruireParamLike($codeEtatBon); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_bonpec_total(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesbonpecexport($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeTypeBon = contruireParamLike($codeTypeBon); - $codeEtatBon = contruireParamLike($codeEtatBon); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_bonpec_export(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeTypeBon, $codeEtatBon, - $numeroAdherent, $numeroBeneficiaire, $numeroBon1, $numeroBon2, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function exporterBonpecs($codePrestataire, $codeTypeBon, $codeEtatBon, $noDepart, $noFin) - { - $codeEtatBon = contruireParamLike($codeEtatBon); - - if (est_anglophone()) - { - $sql = 'call sp_exporter_bonpecs_eng(?, ?, ?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_exporter_bonpecs(?, ?, ?, ?, ?, ?)'; - } - - - $bonpecs = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePrestataire, $codeTypeBon, $codeEtatBon, $noDepart, $noFin)); - - return $bonpecs->fetchAll(PDO::FETCH_ASSOC); - } - - public function getInfos($codeTypeBon) - { - if (est_anglophone()) - { - $sql = 'select libelleEng as libelle from p_typebon where (codeTypeBon=?)'; - } - else - { - $sql = 'select libelle from p_typebon where (codeTypeBon=?)'; - } - - $resultat = $this->executerRequete($sql, array($codeTypeBon)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Bureau.php b/radiantproduction/Modele/Bureau.php deleted file mode 100644 index eac3a66..0000000 --- a/radiantproduction/Modele/Bureau.php +++ /dev/null @@ -1,63 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeBureau,$libelle)); - return $bureaux; - } - public function getBureau($id) { - $sql = 'SELECT id, codeSociete, codeBureau, libelle, - nomRespon, prenomRespon, telephoneFixe, telephonePortable, email - FROM bureau A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $bureau = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $bureau->fetch(PDO::FETCH_ASSOC); - } - public function getNombreBureau() - { - $sql = 'select count(*) as nbBureau FROM bureau A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbBureau']; - } - - public function ajouter($codeSociete, $codeBureau, $libelle, - $nomRespon, $prenomRespon, $telephoneFixe, $telephonePortable, $email) { - $sql = 'INSERT INTO bureau (codeSociete, codeBureau, libelle, - nomRespon, prenomRespon, telephoneFixe, telephonePortable, email) VALUES (?, ?, ?, ?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeBureau, $libelle, - $nomRespon, $prenomRespon, $telephoneFixe, $telephonePortable, $email)); - } - - public function modifier($id, $codeBureau, $libelle, $nomRespon, $prenomRespon, $telephoneFixe, $telephonePortable, $email) { - $sql = 'UPDATE bureau SET codeBureau=?, libelle=?, nomRespon=?, prenomRespon=?, telephoneFixe=?, - telephonePortable=?, email=? where (id=?)'; - $this->executerRequete($sql, array($codeBureau, $libelle, $nomRespon, $prenomRespon, $telephoneFixe, $telephonePortable, $email, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM bureau WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeBureau) { - $sql = 'select id FROM bureau WHERE (codeSociete=?) and (codeBureau=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeBureau)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeBureau as `code`, libelle - FROM bureau WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Carteassure.php b/radiantproduction/Modele/Carteassure.php deleted file mode 100644 index baea643..0000000 --- a/radiantproduction/Modele/Carteassure.php +++ /dev/null @@ -1,233 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeStatut() { - - if (est_anglophone()){ - $sql = 'SELECT `codeLienParente` AS `code`, - `libelleEng` - FROM `lienparente`'; - }else{ - $sql = 'SELECT `codeLienParente` AS `code`, - `libelle` - FROM `lienparente`'; - } - - $resultat = $this->executerRequete($sql); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeEtatCarte() { - - if (est_anglophone()){ - $sql = 'SELECT `codeEtatCarte` AS `code`, - `libelleEng` - FROM `etatcarte` - WHERE codeEtatCarte="EDI" - OR codeEtatCarte="NED"'; - }else{ - $sql = 'SELECT `codeEtatCarte` AS `code`, - `libelle` - FROM `etatcarte` - WHERE codeEtatCarte="EDI" - OR codeEtatCarte="NED"'; - - } - - $resultat = $this->executerRequete($sql); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getCarteAssure($codeLienParente, $codeEtatCarte, $debut, $fin) { - - $numeroPolice = $_SESSION['numeroPolice_C']; - - if($codeEtatCarte =="EDI"){ - $codeEtatCarte = "edite"; - }elseif($codeEtatCarte=="NED"){ - $codeEtatCarte = "1"; - }else{ - $codeEtatCarte = ""; - } - - $sql = 'CALL sp_getlisecarteassure_edition(?, ?, ?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice, $codeLienParente, $codeEtatCarte, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function notificationnocartegroupesociete() - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_notification_no_carte_groupe_societe(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $user)); - - } - - public function notificationnocartegroupepolice() - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'CALL sp_notification_no_carte_groupe_police(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $user, $idPolice)); - - } - - public function notificationnocartegroupeadherent() - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idAdherent = $_SESSION['idAdherent_C']; - - $sql = 'CALL sp_notification_no_carte_groupe_adherent(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $user, $idAdherent)); - - } - - public function notificationnocarte() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'CALL sp_notification_no_carte(?);'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - } - - public function initListeEdition($idPolice, $idCollege) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'CALL sp_init_edition_carte(?, ?, ?, ?, ?);'; - - - $this->executerRequete($sql, array($codeSociete, $idPolice, $idCollege, $user, $idSaisie)); - } - - - public function getListeEdition($idPolice) - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'CALL sp_afficher_edition_carte_temp(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user, $idSaisie)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEditionsChoisies() - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = "CALL sp_filtre_edition_carte_temp(?, ?);"; - - $liste = $this->executerRequete($sql, array($user,$idSaisie)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getNbreEditionsChoisies() - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'SELECT fn_nombre_edition_carte_choisi(?, ?) AS nbreChoisi;'; - - $resultat = $this->executerRequete($sql, array($user, $idSaisie))->fetch(PDO::FETCH_ASSOC); - - return $resultat['nbreChoisi']; - - } - - public function getChoixToute() - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'SELECT fn_choix_toute_edition_carte(?, ?) AS choixToute;'; - - $resultat = $this->executerRequete($sql, array($user, $idSaisie))->fetch(PDO::FETCH_ASSOC); - - return $resultat['choixToute']; - } - - public function reinitedition($idPolice) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'CALL sp_reinit_edition_carte(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $idPolice, $user, $idSaisie)); - } - - public function getListeEditionCarteAssure($idPolice) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'CALL sp_liste_edition_carte_assure(?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idPolice, $user, $idSaisie)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majtouteliste($choix) - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = "CALL sp_maj_toute_liste_edition_carte(?, ?, ?);"; - - $this->executerRequete($sql, array($user, $idSaisie, $choix)); - } - - public function selectionnerUnAssure($id,$choix){ - $sql = "CALL sp_selectionner_un_assure_editer_carte(?, ?);"; - $this->executerRequete($sql, array($id,$choix)); - } - - public function confirmedition($idPolice){ - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'CALL sp_confirmer_liste_carte_editee(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $idPolice, $user, $idSaisie)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Client.php b/radiantproduction/Modele/Client.php deleted file mode 100644 index 2de56de..0000000 --- a/radiantproduction/Modele/Client.php +++ /dev/null @@ -1,290 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $nomsearch, $prenomsearch, $telsearch)); - return $clients; - } - - public function getClientsearch($numeroClient) - { - $sql = 'call sp_getClientsearch(?, ?);'; - - $clients = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $clients; - } - - public function getClientsearchPol($numeroPolice) { - $sql = 'SELECT A.id, A.codeSociete, A.numeroClient, nom, prenoms, B.libelle as Ville, telephonePortable - FROM clients A left join ville B on (B.codeSociete=A.codeSociete AND B.codeVille=A.codeVille) - join police P on (P.idClient=A.id) WHERE (A.codeSociete=?) AND (P.numeroPolice=?)'; - - $clients = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - return $clients; - } - - public function getClientVide() - { - - $sql = 'call sp_getClientVide();'; - - $clients = $this->executerRequete($sql); - return $clients; - } - - - public function getClient($numeroClient) { - $sql = 'SELECT A.id, A.codeSociete, numeroClient, A.typeClient, D.libelle as libelleTypeClient, A.codeTitre, - E.libelle as libelleTitre, A.nom, A.prenoms, adresseGeo, boitepostale, A.codeVille, C.libelle as Ville, - A.codeLocalite, L.libelle as localite, A.codePays, F.libelle as pays, A.telephoneBureau, A.telephonedomicile, - A.telephonePortable, A.fax, A.email, A.sexe, A.dateNaissance, A.codeSecteur, B.libelle as libelleSecteur, B.libelleEng as libelleSecteurEng, - A.codeGestionnaire, concat(G.nom," ", G.prenoms) as gestionnaire, A.nomMandataire, A.telephoneFixemandataire, - A.telephonePortablemandataire, - A.emailMandataire, A.dateCre, A.user, A.registreCommerce, A.codeLangueClient - FROM clients A - left join secteuractivite B on (B.codeSecteur=A.codeSecteur) - left join pays F on (F.codeSociete=A.codeSociete AND F.codePays=A.codePays) - left join ville C on (C.codeSociete=A.codeSociete AND C.codeVille=A.codeVille) - left join localite L on (L.codeSociete=A.codeSociete AND L.codeLocalite=A.codeLocalite) - left join typeclient D on (D.codeTypeClient=A.typeClient) - left join titre E on (E.codeTitre=A.codeTitre) - left join gestionnaire G on (G.codeSociete=A.codeSociete AND G.codeGestionnaire=A.codeGestionnaire) - WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - - $client = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $client; - } - - public function getClientId($id) - { - $sql = 'call sp_get_client_id(?);'; - - $client = $this->executerRequete($sql, array($id)); - return $client->fetch(PDO::FETCH_ASSOC); - } - - public function getNombreClients() - { - $sql = 'select count(*) as nbClients FROM clients A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbClients']; - } - - public function getIdClient($numeroClient) { - $sql = 'SELECT id FROM clients WHERE (codeSociete=?) AND (numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - - public function getContexteClientId($id) { - $sql = 'SELECT A.id as idClient, A.numeroClient, concat(A.nom," ",A.prenoms) as nomClient, A.codeLangueClient, A.codeLocalite - FROM clients A WHERE (A.codeSociete=?) AND (A.id=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['idClientAjax'] = $context['idClient']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLocalite'] = $context['codeLocalite']; - - $_SESSION['codeTypeContrat'] = ""; - - $_SESSION['idPolice_C'] = ""; - $_SESSION['numeroPolice_C'] = ""; - - $_SESSION['ndAdh_C'] = "0"; - $_SESSION['ndDep_C'] = "0"; - $_SESSION['ndActif_C'] = "0"; - - $_SESSION['idAdherent_C'] = ""; - $_SESSION['numeroAdherent_C'] = ""; - $_SESSION['nomAdherent_C'] = ""; - - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['numeroBeneficiaire_C'] = ""; - $_SESSION['nomBeneficiaire_C'] = ""; - $_SESSION['lienPhoto_C'] = ""; - } - - public function existeligne($numeroClient) { - $sql = 'select id FROM clients WHERE (codeSociete=?) and (numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroClient)); - return ($resultat->rowCount() > 0); - } - - public function getDenierNumeroClient() - { - $sql = 'select dernierNumeroClient from numerotationclient WHERE (codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - if ($resultat->rowCount() == 0) - { - $sql = 'INSERT INTO numerotationclient (codeSociete, dernierNumeroClient) values (?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], "1")); - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroClient']; - } - } - - public function setDenierNumeroClient($numeroClient) - { - $sql = 'update numerotationclient set dernierNumeroClient=? WHERE (codeSociete=?)'; - $this->executerRequete($sql, array($numeroClient, $_SESSION['codeSociete'])); - } - - public function ajouter($codeSociete, $numeroClient, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $dateCre, $user, $codeLocalite, $registreCommerce, $codeLangueClient) - { - $sql = 'INSERT INTO clients (codeSociete, numeroClient, typeClient, codeTitre, nom, prenoms, adresseGeo, - boitepostale, codeVille, codePays, telephoneBureau, telephonedomicile, telephonePortable, fax, email, - sexe, dateNaissance, codeSecteur, codeGestionnaire, nomMandataire, telephoneFixemandataire, - telephonePortablemandataire, emailMandataire, dateCre, user, codeLocalite, registreCommerce, codeLangueClient) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $numeroClient, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $dateCre, $user, $codeLocalite, $registreCommerce, $codeLangueClient)); - - return $this->dernierId(); - } - - public function modifier($id, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $codeLocalite, $registreCommerce, $codeLangueClient) - { - $sql = 'UPDATE clients SET typeClient=?, codeTitre=?, nom=?, prenoms=?, adresseGeo=?, - boitepostale=?, codeVille=?, codePays=?, telephoneBureau=?, telephonedomicile=?, telephonePortable=?, fax=?, - email=?, sexe=?, dateNaissance=?, codeSecteur=?, codeGestionnaire=?, nomMandataire=?, telephoneFixemandataire=?, - telephonePortablemandataire=?, emailMandataire=?, codeLocalite=? , registreCommerce=? , codeLangueClient=? - where (id=?)'; - - $this->executerRequete($sql, array($typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $codeLocalite, $registreCommerce, $codeLangueClient, $id)); - } - - public function supprimer($idClient) { - $sql = 'select id from police where (idClient=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idClient)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM clients WHERE (id=?)'; - $this->executerRequete($sql, array($idClient)); - return true; - } - else - { - return false; - } - } - - public function getContexteAjaxClient($id) - { - $sql = 'SELECT A.id as idClient FROM clients A WHERE (A.id=?)'; - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idClientAjax'] = $context['idClient']; - } - - public function getListeClients() - { - $sql = 'call sp_get_liste_clients(?);'; - - $clients = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $clients; - } - - public function getListeClientsExport() - { - $sql = 'call sp_get_liste_clients_export(?);'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getClientParent($id) - { - $sql = 'call sp_get_client_parent(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getClientEnfants($id) - { - $sql = 'call sp_get_client_enfants(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getClientFreres($id) - { - $sql = 'call sp_get_client_freres(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function supprimer_liaison_client($idClient) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_liaison_client(?, ?)'; - - $this->executerRequete($sql, array($idClient, $user)); - } - - public function getclientslike($numeroclientsearch, $nomsearch, $idClient) - { - $nomsearch = contruireParamLike($nomsearch); - - $sql = 'call sp_r_clients_parents_like(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroclientsearch, $nomsearch, $idClient)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function client_lier_a_un_parent($idClient, $idClientP) - { - $user = $_SESSION['login']; - - $sql = 'call sp_lier_client(?, ?, ?)'; - - $this->executerRequete($sql, array($idClientP, $idClient, $user)); - } - - public function getclientsEnfantslike($numeroclientsearch, $nomsearch, $idClient) - { - $nomsearch = contruireParamLike($nomsearch); - - $sql = 'call sp_r_clients_enfants_like(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroclientsearch, $nomsearch, $idClient)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Client_d.php b/radiantproduction/Modele/Client_d.php deleted file mode 100644 index aaf67df..0000000 --- a/radiantproduction/Modele/Client_d.php +++ /dev/null @@ -1,211 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $nomsearch, $prenomsearch, $telsearch)); - return $clients; - } - - public function getClientsearch($numeroClient) - { - $sql = 'SELECT A.id, A.codeSociete, numeroClient, nom, prenoms, B.libelle as Ville, telephonePortable - FROM d_clients A left join ville B on (B.codeSociete=A.codeSociete AND B.codeVille=A.codeVille) - WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - - $clients = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $clients; - } - - public function getClientsearchPol($numeroPolice) { - $sql = 'SELECT A.id, A.codeSociete, A.numeroClient, nom, prenoms, B.libelle as Ville, telephonePortable - FROM d_clients A left join ville B on (B.codeSociete=A.codeSociete AND B.codeVille=A.codeVille) - join d_police P on (P.idClient=A.id) WHERE (A.codeSociete=?) AND (P.numeroPolice=?)'; - - $clients = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - return $clients; - } - - public function getClientVide() - { - /* mis en commentaire le 09/09/2018 pour ne pas afficher des clients non recherchés - $sql = 'SELECT A.id, A.codeSociete, numeroClient, nom, prenoms, B.libelle as Ville, telephonePortable - FROM d_clients A left join ville B on (B.codeSociete=A.codeSociete AND B.codeVille=A.codeVille) - order by nom, prenoms'; - */ - - $sql = 'SELECT A.id, A.codeSociete, numeroClient, nom, prenoms, B.libelle as Ville, telephonePortable - FROM d_clients A left join ville B on (B.codeSociete=A.codeSociete AND B.codeVille=A.codeVille) - where 0;'; - - $clients = $this->executerRequete($sql); - return $clients; - } - - - public function getClient($numeroClient) { - $sql = 'SELECT A.id, A.codeSociete, numeroClient, A.typeClient, D.libelle as libelleTypeClient, A.codeTitre, - E.libelle as libelleTitre, A.nom, A.prenoms, adresseGeo, boitepostale, A.codeVille, C.libelle as Ville, A.codeLocalite, - L.libelle as localite, A.codePays, F.libelle as pays, A.telephoneBureau, A.telephonedomicile, A.telephonePortable, A.fax, - A.email, A.sexe, A.dateNaissance, A.codeSecteur, B.libelle as libelleSecteur, B.libelleEng as libelleSecteurEng, A.codeGestionnaire, - concat(G.nom," ", G.prenoms) as gestionnaire, A.nomMandataire, A.telephoneFixemandataire, A.telephonePortablemandataire, - A.emailMandataire, A.dateCre, A.user, A.registreCommerce, A.codeLangueClient - FROM d_clients A - left join secteuractivite B on (B.codeSecteur=A.codeSecteur) - left join pays F on (F.codeSociete=A.codeSociete AND F.codePays=A.codePays) - left join ville C on (C.codeSociete=A.codeSociete AND C.codeVille=A.codeVille) - left join localite L on (L.codeSociete=A.codeSociete AND L.codeLocalite=A.codeLocalite) - left join typeclient D on (D.codeTypeClient=A.typeClient) - left join titre E on (E.codeTitre=A.codeTitre) - left join gestionnaire G on (G.codeSociete=A.codeSociete AND G.codeGestionnaire=A.codeGestionnaire) - WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - - $client = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $client; - } - - public function getClientId($id) - { - $sql = 'call sp_get_d_client_id(?);'; - - $client = $this->executerRequete($sql, array($id)); - return $client->fetch(PDO::FETCH_ASSOC); - } - - public function getNombreClients() - { - $sql = 'select count(*) as nbClients FROM d_clients A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbClients']; - } - - public function getIdClient($numeroClient) { - $sql = 'SELECT id FROM d_clients WHERE (codeSociete=?) AND (numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - - public function getContexteClientId($id) { - $sql = 'SELECT A.id as idClient, A.numeroClient, concat(A.nom," ",A.prenoms) as nomClient FROM d_clients A WHERE (A.codeSociete=?) AND (A.id=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idClient_d_C'] = $context['idClient']; - $_SESSION['numeroClient_d_C'] = $context['numeroClient']; - $_SESSION['nomClient_d_C'] = $context['nomClient']; - $_SESSION['idClient_d_Ajax'] = $context['idClient']; - - $_SESSION['idPolice_d_C'] = ""; - $_SESSION['numeroPolice_d_C'] = ""; - } - - public function existeligne($numeroClient) { - $sql = 'select id FROM d_clients WHERE (codeSociete=?) and (numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroClient)); - return ($resultat->rowCount() > 0); - } - - public function getDenierNumeroClient() - { - $sql = 'select dernierNumeroClient from d_numerotationclient WHERE (codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - if ($resultat->rowCount() == 0) - { - $sql = 'INSERT INTO d_numerotationclient (codeSociete, dernierNumeroClient) values (?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], "1")); - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroClient']; - } - } - - public function setDenierNumeroClient($numeroClient) - { - $sql = 'update d_numerotationclient set dernierNumeroClient=? WHERE (codeSociete=?)'; - $this->executerRequete($sql, array($numeroClient, $_SESSION['codeSociete'])); - } - - public function ajouter($codeSociete, $numeroClient, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $dateCre, $user, $codeLocalite, $registreCommerce, $codeLangueClient) - { - $sql = 'INSERT INTO d_clients (codeSociete, numeroClient, typeClient, codeTitre, nom, prenoms, adresseGeo, - boitepostale, codeVille, codePays, telephoneBureau, telephonedomicile, telephonePortable, fax, email, - sexe, dateNaissance, codeSecteur, codeGestionnaire, nomMandataire, telephoneFixemandataire, - telephonePortablemandataire, emailMandataire, dateCre, user, codeLocalite, registreCommerce, codeLangueClient) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $numeroClient, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $dateCre, $user, $codeLocalite, $registreCommerce, $codeLangueClient)); - - return $this->dernierId(); - } - - public function modifier($id, $typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $codeLocalite, $registreCommerce, $codeLangueClient) - { - $sql = 'UPDATE d_clients SET typeClient=?, codeTitre=?, nom=?, prenoms=?, adresseGeo=?, - boitepostale=?, codeVille=?, codePays=?, telephoneBureau=?, telephonedomicile=?, telephonePortable=?, fax=?, - email=?, sexe=?, dateNaissance=?, codeSecteur=?, codeGestionnaire=?, nomMandataire=?, telephoneFixemandataire=?, - telephonePortablemandataire=?, emailMandataire=?, codeLocalite=?, registreCommerce=? , codeLangueClient=? - where (id=?)'; - - $this->executerRequete($sql, array($typeClient, $codeTitre, $nom, $prenoms, $adresseGeo, - $boitepostale, $codeVille, $codePays, $telephoneBureau, $telephonedomicile, $telephonePortable, $fax, - $email, $sexe, $dateNaissance, $codeSecteur, $codeGestionnaire, $nomMandataire, $telephoneFixemandataire, - $telephonePortablemandataire, $emailMandataire, $codeLocalite, $registreCommerce, $codeLangueClient, $id)); - } - - public function supprimer($idClient) { - $sql = 'select id from d_police where (idClient=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idClient)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM d_clients WHERE (id=?)'; - $this->executerRequete($sql, array($idClient)); - return true; - } - else - { - return false; - } - } - - public function getContexteAjaxClient($id) - { - $sql = 'SELECT A.id as idClient FROM d_clients A WHERE (A.id=?)'; - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idClient_d_Ajax'] = $context['idClient']; - } - - public function getListeClients() - { - $sql = 'call sp_get_liste_clients_d(?);'; - - $clients = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $clients; - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/College_temp.php b/radiantproduction/Modele/College_temp.php deleted file mode 100644 index 23326b0..0000000 --- a/radiantproduction/Modele/College_temp.php +++ /dev/null @@ -1,710 +0,0 @@ -executerRequete($sql, array($idCollegeTemp, $codeGarantie)); - } - - public function getCollegeTemp($idCollegeTemp) - { - $sql = 'call sp_afficher_college_temp(?)'; - - $collegeTemp = $this->executerRequete($sql, array($idCollegeTemp)); - - return $collegeTemp->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegeTempPolice($idPolice, $user) - { - $sql = 'select * from college_temp where (idPolice=?) and (user=?)'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getCollegeTempPoliceRen($idPolice, $user) - { - $sql = 'select * from college_ren_temp where (idPolice=?) and (user=?) order by codeProduit, libelleCollege'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarAddCollege($idCollegeTemp) - { - $sql = 'select A.*, B.garantieEng, B.plafond as plafondOld, B.plafond+A.plafond as plafondNew - from garantieaddition_temp A - join garantie_temp B on (B.user=A.user) and (B.idCollegeTemp=A.idCollegeTemp) and (B.codeGarantie=A.codeGarantie) - where (A.idCollegeTemp=?) order by A.ordre'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp)); - // return $resultat; - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarBaseCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle!="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarOptCollege($idCollegeTemp) - { - $sql = 'CALL sp_get_gar_opt_college(?);'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarOptCollegeAcq($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getPrestation($idCollegeTemp) - { - $sql = 'call sp_get_prestation_temp(?)'; - /* - $sql = 'select A.*, B.libelle as reseausoin from prestation_temp A - join reseausoins B on (B.codeReseau=A.codeReseau) - where (A.idCollegeTemp=?) order by A.tmBase, A.tm'; - */ - - $prestations = $this->executerRequete($sql, array($idCollegeTemp)); - return $prestations; - } - - public function supprimer($idCollegeTemp) { - $sql = 'DELETE FROM college_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - - $sql = 'DELETE FROM garantie_temp WHERE (idCollegeTemp=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function supprimergarantie($idGarantie) { - $sql = 'DELETE FROM garantie_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function initCollege($idPolice, $user) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_init_college(?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $codeSociete, $user)); - - $resultat = $this->executerRequete($sql, array($idPolice, $codeSociete, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - } - - - public function initModifCollege($idCollege, $user) - { - $this->viderCollegTemp($user); - - $sql = 'CALL sp_init_modifier_college(?, ?);'; - - $this->executerRequete($sql, array($idCollege, $user)); - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - } - - public function recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond) - { - $sql = 'call sp_recapituller_college_temp(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond)); - } - - public function maj($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm) - { - $sql = 'call sp_maj_college_temp(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm)); - } - - public function enregistrer($idCollegeTemp) - { - $sql = 'insert into college (codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, fraisCarteBeneficiaire, - primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, tauxPrimeRachatTm, imposerPlafond, primeParTete, - accesoireTotal, taxeAccesoireTotal, ttcAccesoireTotal, delaiCarenceCollege) - - select codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, fraisCarteBeneficiaire, - primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, tauxPrimeRachatTm, imposerPlafond, primeParTete, - accesoireTotal, taxeAccesoireTotal, ttcAccesoireTotal, delaiCarenceCollege - from college_temp where id=?'; - - $this->executerRequete($sql, array($idCollegeTemp)); - - $idCollege = $this->dernierId(); - - $this->ajouterGarantieCollege($idCollege, $idCollegeTemp); - - $this->ajouterTableauPrestation($idCollege, $idCollegeTemp); - - $user = $_SESSION['login']; - - $this->viderCollegTemp($user); - - } - - public function modifiercollege($idCollegeTemp, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_college(?, ?, ?)'; - $this->executerRequete($sql, array($idCollegeTemp, $idCollege, $user)); - } - - - public function ajouterGarantieCollege($idCollege, $idCollegeTemp) - { - $sql = 'delete from garantiecollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into garantiecollege (codeSociete, idCollege, idPolice, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication) - - select codeSociete, ? as idCollege, idPolice, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication - from garantie_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function ajouterTableauPrestation($idCollege, $idCollegeTemp) - { - $sql = 'delete from prestationcollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into prestationcollege ( - codeSociete, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - ) - - select - codeSociete, - ? as idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - from prestation_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function initGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - user, - plafond, - ordre, - plafondLettre, - champApplication - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.libelle as garantie, - A.libelleEng as garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - B.user, - ROUND((B.primeFamille*A.tauxPlafond),0)+A.forfaitPlafond as plafond, - A.ordre, A.plafondLettre, - A.champApplication - from garantie A - join college_temp B on (B.codeSociete=A.codeSociete) - Where (B.id=?) and optionnelle!="1"'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initPrestationCollege($idCollegeTemp) - { - $user = $_SESSION['login']; - $codeProduitBase = $_SESSION['codeProduitBase']; - - $sql = 'call sp_init_prestation_college(?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduitBase, $user)); - } - - public function initModifGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollege, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - primeOption, - user, - plafond, - ordre, - plafondLettre, - primeFamille, - champApplication - ) - select - A.codeSociete, - A.idCollege, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.garantie, - A.garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - A.primeOption, - B.user, - A.plafond, - A.ordre, A.plafondLettre, - A.primeFamille, - A.champApplication - from garantiecollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initModifPrestation($idCollegeTemp) - { - $sql = 'insert into prestation_temp ( - codeSociete, - idCollegeTemp, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - user, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm, - tauxPrimeRachatTm - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idCollege, - B.idPolice, - B.numeroPolice, - A.codeProduit, - A.codeReseau, - A.tm, - B.user, - now() as dateSysteme, - A.tmBase, - B.rachatTm, - B.tauxRachatTm, - B.tauxPrimeRachatTm - from prestationcollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function majtauxplafond($idGarantie, $tauxPlafond) - { - $sql = 'update garantie_temp set tauxPlafond=? where (id=?)'; - $this->executerRequete($sql, array($tauxPlafond, $idGarantie)); - - $sql = 'update garantie_temp set plafond= ROUND((primeFamille*tauxPlafond),0)+forfaitPlafond where (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function imposerplafond($idGarantie, $plafond) - { - $sql = 'update garantie_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majtm($idPrestation, $tm) - { - $sql = 'update prestation_temp set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function majtmprestatairenplus($idPrestation, $tm) - { - $sql = 'update prestationcollegeplus set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function retirerprestatairenplus($idPrestation) - { - $sql = 'delete from prestationcollegeplus where (id=?)'; - $this->executerRequete($sql, array($idPrestation)); - } - - public function ajouterunprestataireenplus($codePrestataire) - { - $idCollege = $_SESSION['idCollege']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouterprestataireenplus(?, ?, ?)'; - $this->executerRequete($sql, array($idCollege, $codePrestataire, $user)); - } - - public function ajouterunprestataireenmoins($codePrestataire) - { - $idCollege = $_SESSION['idCollege']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouterprestataireenmoins(?, ?, ?)'; - $this->executerRequete($sql, array($idCollege, $codePrestataire, $user)); - } - - public function retirerprestatairenmoins($idPrestation) - { - $sql = 'delete from prestationcollegemoins where (id=?)'; - $this->executerRequete($sql, array($idPrestation)); - } - - // ajouterunprestatairetm - public function ajouterunprestatairetm($codePrestataire) - { - $idCollege = $_SESSION['idCollege']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouterprestatairetm(?, ?, ?)'; - $this->executerRequete($sql, array($idCollege, $codePrestataire, $user)); - } - - public function retirerprestatairetm($idPrestation) - { - $sql = 'delete from prestationcollegetm where (id=?)'; - $this->executerRequete($sql, array($idPrestation)); - } - - public function majtmprestatairetm($idPrestation, $tm) - { - $sql = 'update prestationcollegetm set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function majPrimeOpt($idGarantie, $primeOption) - { - $sql = 'call sp_maj_prime_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $primeOption)); - } - - public function majPlafondOpt($idGarantie, $plafondOption) - { - $sql = 'call sp_maj_plafond_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $plafondOption)); - } - - public function majlibgar($idGarantie, $libellegarantie) - { - $sql = 'update garantie_temp set garantie=? where (id=?)'; - $this->executerRequete($sql, array($libellegarantie, $idGarantie)); - } - - public function viderCollegTemp($user) - { - $sql = 'DELETE FROM college_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM garantie_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM prestation_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - } - - public function init_changement_college($idAdherent) - { - $user = $_SESSION['login']; - $sql = 'call sp_init_changement_college(?, ?)'; - - $college_temp = $this->executerRequete($sql, array($idAdherent, $user)); - return $college_temp->fetch(PDO::FETCH_ASSOC); - } - - public function changer_college_temp($idAdherent, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_college_temp(?, ?, ?)'; - - $college_temp = $this->executerRequete($sql, array($idAdherent, $idCollege, $user)); - return $college_temp->fetch(PDO::FETCH_ASSOC); - } - - public function changer_college($idAdherent) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_college(?, ?)'; - $this->executerRequete($sql, array($idAdherent, $user)); - } - - public function getCollegesPolice() - { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM college_temp WHERE (user=?) order by libelleCollege'; - $college = $this->executerRequete($sql, array($user)); - return $college; - } - - public function getTotaldcollege($idPolice) { - $user = $_SESSION['login']; - $sql = 'call sp_totalcollege_temp(?, ?)'; - $totalcollege = $this->executerRequete($sql, array($idPolice, $user)); - return $totalcollege->fetch(PDO::FETCH_ASSOC); - } - - public function selectioncollegetemp($idCollegeTemp, $choix) { - $sql = 'update college_temp set choix=? WHERE (id=?)'; - $this->executerRequete($sql, array($choix, $idCollegeTemp)); - } - - public function majplafondadd($idGarantie, $plafond) - { - $sql = 'update garantieaddition_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majprimeadd($idGarantie, $primeOption) - { - $sql = 'update garantieaddition_temp set primeOption=? where (id=?)'; - $this->executerRequete($sql, array($primeOption, $idGarantie)); - } - - public function recapituler_maj_limite_college($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_recapituller_maj_limite_college(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function modifierlimitecollegetemp($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_limite_college_temp(?)'; - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function getCollegepoliceId($idCollege) { - $sql = 'SELECT A.id AS idCollege, A.*, B.libelle as produit - from college A - join produit B on (B.codeSociete=A.codeSociete) AND (B.codeProduit=A.codeProduit) - where A.id=?'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetch(PDO::FETCH_ASSOC); - } - - public function getprestatairehorsreseau($idCollege) { - $sql = 'call sp_getprestatairehorsreseau(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestataireenplus($idCollege) { - $sql = 'call sp_getprestataireenplus(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - // Prestataires en moins - public function getprestatairereseau($idCollege) { - $sql = 'call sp_getprestatairereseau(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestataireenmoins($idCollege) { - $sql = 'call sp_getprestataireenmoins(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeCollege($idPolice) { - $sql = 'SELECT id as `code`, CONCAT(codeProduit, " : ", libelleCollege) as libelle FROM college - where (idPolice=?) order by 2'; - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - // return $liste->fetch(PDO::FETCH_ASSOC); - } - - // Prestataires dérogation TM - public function getprestatairereseautm($idCollege) { - $sql = 'call sp_getprestatairereseau_tm(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestatairetm($idCollege) { - $sql = 'call sp_getprestataire_tm(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - - public function majchampapplicationplafond($idGarantie, $choix) - { - $sql = 'update garantie_temp set champApplication=?, primeParTete=? where (id=?)'; - $this->executerRequete($sql, array($choix, $choix, $idGarantie)); - } - - public function changecategorie($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - // $user = $_SESSION['login']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $sql = 'CALL sp_modifier_categorie_college_temp(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp, $codeSociete, $codeProduit)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function maj_libelle_college($idCollegeTemp, $nouvLibelleCollege) - { - $sql = 'CALL sp_maj_libelle_college(?, ?);'; - - $this->executerRequete($sql, array($idCollegeTemp, $nouvLibelleCollege)); - } - - public function getLimiteAddCollege($idCollegeTemp) - { - $sql = 'select * from limitebeneficiaireaddition_temp where (idCollegeTemp=?) limit 1'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function majplafondadherentadd($idCollegeTemp, $plafond) - { - $sql = 'call sp_maj_plafond_adherent_add(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $plafond)); - } - - public function majprimeadherentadd($idCollegeTemp, $prime) - { - $sql = 'call sp_maj_prime_adherent_add(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $prime)); - } - - public function majplafondbeneficiaireadd($idCollegeTemp, $plafond) - { - $sql = 'call sp_maj_plafond_beneficiaire_add(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $plafond)); - } - - public function majprimebeneficiaireadd($idCollegeTemp, $prime) - { - $sql = 'call sp_maj_prime_beneficiaire_add(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $prime)); - } -} diff --git a/radiantproduction/Modele/College_temp_d.php b/radiantproduction/Modele/College_temp_d.php deleted file mode 100644 index b22fef4..0000000 --- a/radiantproduction/Modele/College_temp_d.php +++ /dev/null @@ -1,519 +0,0 @@ -executerRequete($sql, array($idCollegeTemp, $codeGarantie)); - } - - public function getCollegeTemp($idCollegeTemp) - { - $sql = 'call sp_afficher_college_temp(?)'; - - $collegeTemp = $this->executerRequete($sql, array($idCollegeTemp)); - - return $collegeTemp->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegeTempPolice($idPolice, $user) - { - $sql = 'select * from college_temp where (idPolice=?) and (user=?)'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getCollegeTempPoliceRen($idPolice, $user) - { - $sql = 'select * from college_ren_temp where (idPolice=?) and (user=?) order by codeProduit, libelleCollege'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarAddCollege($idCollegeTemp) - { - $sql = 'select A.*, B.plafond as plafondOld, B.plafond+A.plafond as plafondNew from garantieaddition_temp A - join garantie_temp B on (B.user=A.user) and (B.idCollegeTemp=A.idCollegeTemp) and (B.codeGarantie=A.codeGarantie) - where (A.idCollegeTemp=?) order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarBaseCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle!="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarOptCollege($idCollegeTemp) - { - $sql = 'CALL sp_get_gar_opt_college(?);'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarOptCollegeAcq($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getPrestation($idCollegeTemp) - { - $sql = 'select A.*, B.libelle as reseausoin from prestation_temp A - join reseausoins B on (B.codeReseau=A.codeReseau) - where (A.idCollegeTemp=?) order by A.tmBase, A.tm'; - - $prestations = $this->executerRequete($sql, array($idCollegeTemp)); - return $prestations; - } - - public function supprimer($idCollegeTemp) { - $sql = 'DELETE FROM college_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - - $sql = 'DELETE FROM garantie_temp WHERE (idCollegeTemp=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function supprimergarantie($idGarantie) { - $sql = 'DELETE FROM garantie_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function initCollege($idPolice, $user) - { - $codeSociete = $_SESSION['codeSociete']; - $numeroOptionTarif = $_SESSION['numeroOptionTarif']; - - $sql = 'CALL sp_init_college_d(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $codeSociete, $numeroOptionTarif, $user)); - - $resultat = $this->executerRequete($sql, array($idPolice, $codeSociete, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - } - - public function initModifCollege($idCollege, $user) - { - $sql = 'CALL sp_init_modifier_college_d(?, ?);'; - - $this->executerRequete($sql, array($idCollege, $user)); - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - - } - - public function recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond, $numeroOptionTarif) - { - $sql = 'call sp_recapituller_college_temp_d(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond, $numeroOptionTarif)); - } - - public function maj($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm) - { - $sql = 'call sp_maj_college_temp(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm)); - } - - public function enregistrer($idCollegeTemp) - { - $sql = 'insert into d_college (codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, fraisCarteBeneficiaire, - primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, tauxPrimeRachatTm, imposerPlafond, - idOptionTarif, numeroOptionTarif, accesoireTotal, taxeAccesoireTotal, ttcAccesoireTotal, delaiCarenceCollege) - - select codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, fraisCarteBeneficiaire, - primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, tauxPrimeRachatTm, imposerPlafond, - idOptionTarif, numeroOptionTarif, accesoireTotal, taxeAccesoireTotal, ttcAccesoireTotal, delaiCarenceCollege - from college_temp where id=?'; - - $this->executerRequete($sql, array($idCollegeTemp)); - - $idCollege = $this->dernierId(); - - $this->ajouterGarantieCollege($idCollege, $idCollegeTemp); - - $this->ajouterTableauPrestation($idCollege, $idCollegeTemp); - - $user = $_SESSION['login']; - - $this->viderCollegTemp($user); - } - - public function modifiercollege($idCollegeTemp, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_college_d(?, ?, ?)'; - $this->executerRequete($sql, array($idCollegeTemp, $idCollege, $user)); - } - - public function ajouterGarantieCollege($idCollege, $idCollegeTemp) - { - $sql = 'delete from d_garantiecollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into d_garantiecollege (codeSociete, idCollege, idPolice, numeroPolice, codeGarantie, garantie, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication) - - select codeSociete, ? as idCollege, idPolice, numeroPolice, codeGarantie, garantie, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication - from garantie_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function ajouterTableauPrestation($idCollege, $idCollegeTemp) - { - $sql = 'delete from d_prestationcollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into d_prestationcollege ( - codeSociete, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - ) - - select - codeSociete, - ? as idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - from prestation_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function initGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - user, - plafond, - ordre, - plafondLettre, - champApplication - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.libelle as garantie, - A.libelleEng as garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - B.user, - ROUND((B.primeFamille*A.tauxPlafond),0)+A.forfaitPlafond as plafond, - A.ordre, A.plafondLettre, - A.champApplication - from garantie A - join college_temp B on (B.codeSociete=A.codeSociete) - Where (B.id=?) and optionnelle!="1"'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initPrestationCollege($idCollegeTemp) - { - $user = $_SESSION['login']; - $codeProduitBase = $_SESSION['codeProduitBase']; - - $sql = 'call sp_init_prestation_college(?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduitBase, $user)); - } - - public function initModifGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollege, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - primeOption, - user, - plafond, - ordre, - plafondLettre, - primeFamille, - champApplication - ) - select - A.codeSociete, - A.idCollege, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.garantie, - A.garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - A.primeOption, - B.user, - A.plafond, - A.ordre, A.plafondLettre, - A.primeFamille, - A.champApplication - from d_garantiecollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initModifPrestation($idCollegeTemp) - { - $sql = 'insert into prestation_temp ( - codeSociete, - idCollegeTemp, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - user, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm, - tauxPrimeRachatTm - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idCollege, - B.idPolice, - B.numeroPolice, - A.codeProduit, - A.codeReseau, - A.tm, - B.user, - now() as dateSysteme, - A.tmBase, - B.rachatTm, - B.tauxRachatTm, - B.tauxPrimeRachatTm - from d_prestationcollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function majtauxplafond($idGarantie, $tauxPlafond) - { - $sql = 'update garantie_temp set tauxPlafond=? where (id=?)'; - $this->executerRequete($sql, array($tauxPlafond, $idGarantie)); - - $sql = 'update garantie_temp set plafond= ROUND((primeFamille*tauxPlafond),0)+forfaitPlafond where (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function imposerplafond($idGarantie, $plafond) - { - $sql = 'update garantie_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majtm($idPrestation, $tm) - { - $sql = 'update prestation_temp set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function majPrimeOpt($idGarantie, $primeOption) - { - $sql = 'call sp_maj_prime_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $primeOption)); - } - - public function majPlafondOpt($idGarantie, $plafondOption) - { - $sql = 'call sp_maj_plafond_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $plafondOption)); - } - - public function majlibgar($idGarantie, $libellegarantie) - { - $sql = 'update garantie_temp set garantie=? where (id=?)'; - $this->executerRequete($sql, array($libellegarantie, $idGarantie)); - } - - public function viderCollegTemp($user) - { - $sql = 'DELETE FROM college_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM garantie_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM prestation_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - } - - public function changer_college_temp($idAdherent, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_college_temp_d(?, ?, ?)'; - - $college_temp = $this->executerRequete($sql, array($idAdherent, $idCollege, $user)); - return $college_temp->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegesPolice() - { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM college_temp WHERE (user=?) order by libelleCollege'; - $college = $this->executerRequete($sql, array($user)); - return $college; - } - - public function getTotaldcollege($idPolice) { - $user = $_SESSION['login']; - $sql = 'call sp_totalcollege_temp_d(?, ?)'; - $totalcollege = $this->executerRequete($sql, array($idPolice, $user)); - return $totalcollege->fetch(PDO::FETCH_ASSOC); - } - - public function selectioncollegetemp($idCollegeTemp, $choix) { - $sql = 'update college_temp set choix=? WHERE (id=?)'; - $this->executerRequete($sql, array($choix, $idCollegeTemp)); - } - - public function majplafondadd($idGarantie, $plafond) - { - $sql = 'update garantieaddition_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majprimeadd($idGarantie, $primeOption) - { - $sql = 'update garantieaddition_temp set primeOption=? where (id=?)'; - $this->executerRequete($sql, array($primeOption, $idGarantie)); - } - - public function recapituler_maj_limite_college($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_recapituller_maj_limite_college(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function modifierlimitecollegetemp($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_limite_college_temp(?)'; - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function getoptionstarif($idPolice) { - $sql = 'SELECT numeroOptionTarif as `code`, libelleOptionTarif as libelle from d_optionstarif where (idPolice=?) order by 1'; - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function nouvelleoptiontarif() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_d_C']; - - $sql = 'call sp_d_nouvelle_option_tarif(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $user)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['numeroOptionTarif'] = $ligne['numeroOptionTarif']; - } -} diff --git a/radiantproduction/Modele/Collegepolice.php b/radiantproduction/Modele/Collegepolice.php deleted file mode 100644 index f2ea9a3..0000000 --- a/radiantproduction/Modele/Collegepolice.php +++ /dev/null @@ -1,181 +0,0 @@ -executerRequete($sql, array($idCollege)); - return $college->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegesPolice($idPolice) - { - $sql = 'call sp_get_colleges_police(?);'; - - $college = $this->executerRequete($sql, array($idPolice)); - - return $college->fetchAll(PDO::FETCH_ASSOC); - - } - - public function getTotaldcollege($idPolice) { - $sql = 'call sp_totalcollege(?)'; - $totalcollege = $this->executerRequete($sql, array($idPolice)); - return $totalcollege->fetch(PDO::FETCH_ASSOC); - } - - public function supprimer($idCollege) - { - $sql = 'select id from adherent where (idCollege=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idCollege)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM college WHERE (id=?)'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'DELETE FROM garantiecollege WHERE (idCollege=?)'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'DELETE FROM prestationcollege WHERE (idCollege=?)'; - $this->executerRequete($sql, array($idCollege)); - } - } - - public function archiverGarntie($idCollege) - { - $user = $_SESSION['login']; - - $sql = 'call sp_archiver_garantie(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - } - - public function desarchiverGarntie($idCollege) - { - $user = $_SESSION['login']; - - $sql = 'call sp_de_archiver_garantie(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - } - - public function getPrimeTtcFamille($idCollege) - { - $sql = 'SELECT IFNULL(primeTtcAdherent,"0") AS primeTtc FROM college where (id=?)'; - $resultat = $this->executerRequete($sql, array($idCollege)); - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['primeTtc']; - } - else - { - return 0; - } - } - - public function getListe($idPolice) { - if($_SESSION['codeTypeAvenant_C']=="REN") - { - $sql = 'SELECT id as `code`, libelleCollege as libelle FROM college - where (idPolice=?) order by 2'; - } else - { - $sql = 'SELECT id as `code`, libelleCollege as libelle FROM college - where (idPolice=?) and (garantieArchive="1") order by 2'; - } - - $liste = $this->executerRequete($sql, array($idPolice)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeToutes($idPolice) { - $sql = 'SELECT id as `code`, libelleCollege as libelle FROM college where (idPolice=?) order by 2'; - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getRapportSpCollege($idCollege, $dateReference) - { - $sql = 'call sp_rapport_sp_college(?, ?)'; - - $sppolice = $this->executerRequete($sql, array($idCollege, $dateReference)); - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function refuserderogationmedicament($idCollege) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_derogation_medicament(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - } - - public function accorderderogationmedicament($idCollege) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accorder_derogation_medicament(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - } - - public function archiveradherent($idAherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_archiver_adherent(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAherent, $user)); - } - - public function desarchiveradherent($idAherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_de_archiver_adherent(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAherent, $user)); - } - - public function archiverbeneficiaire($idBeneficiaire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_archiver_beneficiaire(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $user)); - } - - public function desarchiverbeneficiaire($idBeneficiaire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_de_archiver_beneficiaire(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $user)); - } - - public function fn_get_college_familiale($idPolice) - { - $sql = 'SELECT fn_get_college_familiale(?) AS dernierIdCollege;'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $dernierIdCollege = $ligne['dernierIdCollege']; - - $_SESSION['dernierIdCollege'] = $dernierIdCollege; - - return $dernierIdCollege; - } - -} diff --git a/radiantproduction/Modele/Collegepolice_d.php b/radiantproduction/Modele/Collegepolice_d.php deleted file mode 100644 index bdb592f..0000000 --- a/radiantproduction/Modele/Collegepolice_d.php +++ /dev/null @@ -1,89 +0,0 @@ -executerRequete($sql, array($idCollege)); - // return $college->fetch(PDO::FETCH_ASSOC); - return $college->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegesPolice($idPolice, $numeroOptionTarif) - { - $sql = 'call sp_d_get_colleges_police(?, ?);'; - - $college = $this->executerRequete($sql, array($idPolice, $numeroOptionTarif)); - // return $college; - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTotaldcollege($idPolice, $numeroOptionTari) - { - $sql = 'call sp_totalcollege_d(?, ?)'; - $totalcollege = $this->executerRequete($sql, array($idPolice, $numeroOptionTari)); - return $totalcollege->fetch(PDO::FETCH_ASSOC); - } - - public function supprimer($idCollege) - { - $sql = 'DELETE from d_college WHERE (id=?)'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'DELETE FROM d_garantiecollege WHERE (idCollege=?)'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'DELETE FROM d_prestationcollege WHERE (idCollege=?)'; - $this->executerRequete($sql, array($idCollege)); - } - - public function getPrimeTtcFamille($idCollege) - { - $sql = 'SELECT IFNULL(primeTtcAdherent,"0") AS primeTtc from d_college where (id=?)'; - $resultat = $this->executerRequete($sql, array($idCollege)); - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['primeTtc']; - } - else - { - return 0; - } - } - - public function getListe($idPolice) { - $sql = 'SELECT id as `code`, libelleCollege as libelle from d_college - where (idPolice=?) order by 2'; - $liste = $this->executerRequete($sql, array($idPolice)); - // return $liste->fetchAll(PDO::FETCH_ASSOC); - return $liste->fetch(PDO::FETCH_ASSOC); - } - - public function getListeToutes($idPolice) { - $sql = 'SELECT id as `code`, libelleCollege as libelle from d_college where (idPolice=?) order by 2'; - $liste = $this->executerRequete($sql, array($idPolice)); - // return $liste->fetchAll(PDO::FETCH_ASSOC); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getoptionstarif($idPolice) { - $sql = 'SELECT numeroOptionTarif as `code`, libelleOptionTarif as libelle from d_optionstarif where (idPolice=?) order by 1'; - $liste = $this->executerRequete($sql, array($idPolice)); - // return $liste->fetchAll(PDO::FETCH_ASSOC); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function supprimeroption($idPolice, $numeroOptionTarif) - { - $sql = 'call sp_d_supprimer_option_tarif(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $numeroOptionTarif)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['numeroOptionTarif'] = $ligne['numeroOptionTarif']; - } -} diff --git a/radiantproduction/Modele/Commentaire.php b/radiantproduction/Modele/Commentaire.php deleted file mode 100644 index 7ba9677..0000000 --- a/radiantproduction/Modele/Commentaire.php +++ /dev/null @@ -1,25 +0,0 @@ -executerRequete($sql, array($idBillet)); - return $commentaires; - } - public function ajouterCommentaire($auteur, $contenu, $idBillet) { - $sql = 'insert into t_commentaire(COM_DATE, COM_AUTEUR, COM_CONTENU, BIL_ID)' - . ' values(?, ?, ?, ?)'; - $date = date("Y-m-d"); - $this->executerRequete($sql, array($date, $auteur, $contenu, $idBillet)); - } - public function getNombreCommentaires() - { - $sql = 'select count(*) as nbCommentaires from t_commentaire'; - $resultat = $this->executerRequete($sql); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbCommentaires']; - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Contrat.php b/radiantproduction/Modele/Contrat.php deleted file mode 100644 index e948cdc..0000000 --- a/radiantproduction/Modele/Contrat.php +++ /dev/null @@ -1,26 +0,0 @@ -executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListe($idPolice) { - $sql = 'SELECT A.id AS `code`, exercice AS libelle - FROM entetecontrat A WHERE (idPolice=?) - ORDER BY A.exercice;'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Modele/Demandebonpec.php b/radiantproduction/Modele/Demandebonpec.php deleted file mode 100644 index b1c0346..0000000 --- a/radiantproduction/Modele/Demandebonpec.php +++ /dev/null @@ -1,15 +0,0 @@ -executerRequete($sql, array($codeSociete, $codePrestataire, $codeTypeBon, $d1, $d2)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Demandedecompte.php b/radiantproduction/Modele/Demandedecompte.php deleted file mode 100644 index ceac496..0000000 --- a/radiantproduction/Modele/Demandedecompte.php +++ /dev/null @@ -1,47 +0,0 @@ -executerRequete($sql, array($codePrestataire, $codeExercice, $codeMois)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdemandedecompte($idDemandeDecompte) - { - $sql = 'call sp_p_get_demandedecompte(?)'; - - $resultat = $this->executerRequete($sql, array($idDemandeDecompte)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['numeroDemandeDecompte_C'] = $ligne['numeroDemandeDecompte']; - - return $ligne; - } - - public function getdetaildemandedecompteid($idDemandeDecompte) - { - $sql = 'call sp_p_get_detail_demandedecompte_id(?)'; - - $resultat = $this->executerRequete($sql, array($idDemandeDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildemandedecompte($numeroDemandeDecompte) - { - $sql = 'call sp_p_get_detail_demandedecompte(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDemandeDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Derogation.php b/radiantproduction/Modele/Derogation.php deleted file mode 100644 index 8fe0c9f..0000000 --- a/radiantproduction/Modele/Derogation.php +++ /dev/null @@ -1,205 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerrefusderogation($idDemandederogation, $motifReel, $motifRefusAssure) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_derogation(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandederogation, $motifReel, $motifRefusAssure, $user)); - } - - - public function enregistreraccordderogation($idDemandederogation, $motifReel, $debut, $fin, $codeDerogation, $tmDerogation) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accepter_derogation(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandederogation, $motifReel, $debut, $fin, $user, $codeDerogation, $tmDerogation)); - } - - public function getderogationsbenficiaire($idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_get_derogations_beneficiaire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getDerogationId($idDemandederogation) - { - if (est_anglophone()) - { - $sql = 'call sp_get_derogation_id_simple_eng(?)'; - } - else - { - $sql = 'call sp_get_derogation_id_simple(?)'; - } - - $resultat = $this->executerRequete($sql, array($idDemandederogation)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - - public function getDerogationIdCOnsultation($idDemandederogation) - { - if (est_anglophone()) - { - $sql = 'call sp_get_derogation_id_eng(?)'; - } - else - { - $sql = 'call sp_get_derogation_id(?)'; - } - - $resultat = $this->executerRequete($sql, array($idDemandederogation)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getinfosDerogation($idDemandederogation) - { - $sql = 'call sp_get_infos_derogation(?)'; - - $resultat = $this->executerRequete($sql, array($idDemandederogation)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getderogations($codePrestataire, $codeDerogation, $codeReponseDerogation, $debut, $fin) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeDerogation = contruireParamLike($codeDerogation); - $codeReponseDerogation = contruireParamLike($codeReponseDerogation); - - if (est_anglophone()) - { - $sql = 'call sp_get_derogations_eng(?, ?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_get_derogations(?, ?, ?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeDerogation, $codeReponseDerogation, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesdemandederogation($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeDerogation = contruireParamLike($codeDerogation); - $codeReponseDerogation = contruireParamLike($codeReponseDerogation); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_demande_derogation(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesdemandederogationtotal($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeDerogation = contruireParamLike($codeDerogation); - $codeReponseDerogation = contruireParamLike($codeReponseDerogation); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_demande_derogation_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesdemandederogationexport($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeDerogation = contruireParamLike($codeDerogation); - $codeReponseDerogation = contruireParamLike($codeReponseDerogation); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - if (est_anglophone()) - { - $sql = 'call sp_requetes_demande_derogation_export_eng(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_requetes_demande_derogation_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroDerogation1, $numeroDerogation2, $codeDerogation, $codeReponseDerogation, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getderogationpermanente($idBeneficiaire) - { - $sql = 'call sp_get_derogations_permanente(?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function desactiverderogationpermanente($idBeneficiaire, $observations) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_desactiver_derogation_permananente(?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $observations, $user)); - } - - public function activerderogationpermanente($idBeneficiaire, $observations) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_activer_derogation_permananente(?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $observations, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailencaissement.php b/radiantproduction/Modele/Detailencaissement.php deleted file mode 100644 index 636272f..0000000 --- a/radiantproduction/Modele/Detailencaissement.php +++ /dev/null @@ -1,44 +0,0 @@ -executerRequete($sql, array($idEncaissement)); - return $detailencaissement; - } - - public function supprimer($id) { - $sql = 'DELETE FROM detailencaissement WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getDetailEncaissementsId($idQuittance) { - $sql = 'SELECT B.dateEncaissement, C.libelle AS modepaiement, B.referencePaiement, A.* - FROM detailencaissement A - JOIN encaissement B ON (B.codeSociete=A.codeSociete) AND (B.id=A.idEncaissement) - LEFT JOIN modepaiement C ON (C.codeModePaiement=B.codeModePaiement) - WHERE (A.idQuittance=?) ORDER BY A.numeroEncaissement DESC'; - - $detailencaissements = $this->executerRequete($sql, array($idQuittance)); - return $detailencaissements; - } - - public function getTotalEncaissement($idQuittance) { - $sql = 'SELECT IFNULL(SUM(primeNette),"0") AS primeNette, IFNULL(SUM(commission),"0") AS commission, - IFNULL(SUM(primeHt),"0") AS primeHt, IFNULL(SUM(taxe),"0") AS taxe, - IFNULL(SUM(fraisCarte),"0") AS fraisCarte, IFNULL(SUM(primeTtc),"0") AS primeTtc - FROM detailencaissement A WHERE (A.idQuittance=?)'; - - $totalencaissement = $this->executerRequete($sql, array($idQuittance)); - return $totalencaissement->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailencaissement_temp.php b/radiantproduction/Modele/Detailencaissement_temp.php deleted file mode 100644 index d4dede9..0000000 --- a/radiantproduction/Modele/Detailencaissement_temp.php +++ /dev/null @@ -1,45 +0,0 @@ -executerRequete($sql, array($idEncaissementTemp)); - return $encaissement; - } - - - public function supprimer($id) { - $sql = 'DELETE FROM detailencaissement_temp WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getTotaldetailencaissement($idEncaissementTemp) { - $sql = 'select - B.id as idEncaissement, IFNULL(A.primeNette,"0") AS primeNette, IFNULL(A.commission,"0") AS commission, - IFNULL(A.primeHt,"0") AS primeHt, IFNULL(A.taxe,"0") AS taxe, - IFNULL(A.fraisCarte,"0") AS fraisCarte, IFNULL(A.montant_selection,"0") AS montant_selection, - B.montant as montant_boredereau, (B.montant-IFNULL(A.montant_selection,"0")) as montant_ecart from - ( - SELECT A.idEncaissement, SUM(primeNette) AS primeNette, SUM(commission) AS commission, - SUM(primeHt) AS primeHt, SUM(taxe) AS taxe, SUM(fraisCarte) AS fraisCarte, SUM(primeTtc) AS montant_selection - FROM detailencaissement_temp A - WHERE (A.idEncaissement=?) - group by A.idEncaissement - ) A right join encaissement_temp B on (B.id=A.idEncaissement)'; - - $totaldetailencaissement = $this->executerRequete($sql, array($idEncaissementTemp)); - return $totaldetailencaissement->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailoptique.php b/radiantproduction/Modele/Detailoptique.php deleted file mode 100644 index 9e5f48b..0000000 --- a/radiantproduction/Modele/Detailoptique.php +++ /dev/null @@ -1,76 +0,0 @@ -executerRequete($sql, array($numeroOptique)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerverre($codeOptique) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_enregistrer_verre(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $numeroFeuilleMaladie, $user, $codeOptique)); - } - - - public function getdetailoptiquefeuille() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $sql = 'call sp_p_get_detail_optique(?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie)); - - // return $resultat; - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetailoptique_opt($numeroBonOptique) - { - $sql = 'call sp_p_get_detail_optique_opt(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBonOptique)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouteroptique($codeOptique) - { - $codeTarifOptique = $_SESSION['codeTarifOptique_C']; - $numeroOptique = $_SESSION['numeroOptique_C']; - $user = $_SESSION['login']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_ajouter_optique(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeTarifOptique, $numeroOptique, $codeOptique, $user, $tm)); - } - - public function majquantite($idMedicament, $quantite) - { - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_maj_quantite_medicament(?, ?, ?)'; - - $this->executerRequete($sql, array($idMedicament, $quantite, $tm)); - } - - public function supprimerverre($idOptique) - { - $sql = 'call sp_p_supprimer_verre_prescription(?)'; - - $this->executerRequete($sql, array($idOptique)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailprescription.php b/radiantproduction/Modele/Detailprescription.php deleted file mode 100644 index 0483539..0000000 --- a/radiantproduction/Modele/Detailprescription.php +++ /dev/null @@ -1,53 +0,0 @@ -executerRequete($sql, array($numeroPrescription)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetailprescription_pha($numeroBonOrdonnance) - { - $sql = 'call sp_p_get_detail_prescription_pha(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBonOrdonnance)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getmedicamentsremplaces($numeroBonOrdonnance) - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - - $sql = 'call sp_p_get_medicaments_remplaces(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBonOrdonnance)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function liberermedicament($idDetailprescription) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_liberer_medicament(?, ?)'; - - $this->executerRequete($sql, array($idDetailprescription, $user)); - } - - public function consultermedicamentliberes($numeroBonOrdonnance) - { - $sql = 'call sp_r_get_medicaments_liberes(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBonOrdonnance)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailtarifacte.php b/radiantproduction/Modele/Detailtarifacte.php deleted file mode 100644 index de8c930..0000000 --- a/radiantproduction/Modele/Detailtarifacte.php +++ /dev/null @@ -1,178 +0,0 @@ -executerRequete($sql, array($codeTarifActe, $libelleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majPrix($idDetail, $prix) - { - $user = $_SESSION['login']; - - // $sql = 'call sp_p_maj_tarifacte(?, ?)'; - - $sql = 'call sp_maj_un_acte_du_tarif(?, ?, ?)'; - - $this->executerRequete($sql, array($idDetail, $prix, $user)); - } - - public function getactesout($codeTarifActe, $codeFamilleActe) - { - $actesHarmonises = $_SESSION['actesHarmonises']; - - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - if (est_anglophone()) - { - $sql = 'CALL sp_afficher_acte_famille_sans_tarif_harmonise_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_afficher_acte_famille_sans_tarif_harmonise(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe, $codeFamilleActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - else - { - if (est_anglophone()) - { - $sql = 'CALL sp_afficher_acte_famille_sans_tarif_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_afficher_acte_famille_sans_tarif(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe, $codeFamilleActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - } - - public function getactesin($codeTarifActe, $codeFamilleActe) - { - if (est_anglophone()) - { - $sql = 'CALL sp_afficher_detailtarifacte_famille_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_afficher_detailtarifacte_famille(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe, $codeFamilleActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutertousactsautarif($codeTarifActe, $codeFamilleActe) - { - $user = $_SESSION['login']; - $actesHarmonises = $_SESSION['actesHarmonises']; - - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - $sql = 'CALL sp_ajouter_tous_actes_au_tarif_harmonise(?, ?, ?, ?);'; - } - else - { - $sql = 'CALL sp_ajouter_tous_actes_au_tarif(?, ?, ?, ?);'; - } - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTarifActe, $codeFamilleActe, $user)); - } - - public function retirertousactsautarif($codeTarifActe, $codeFamilleActe) - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_retirer_tous_actes_du_tarif(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTarifActe, $codeFamilleActe, $user)); - } - - public function ajouterunacteautarif($idActe, $codeTarifActe) - { - $user = $_SESSION['login']; - - $sql = 'call sp_ajouter_un_acte_au_tarif(?, ?, ?)'; - - $this->executerRequete($sql, array($idActe, $codeTarifActe, $user)); - } - - public function retirerunactedutarif($idDetailtarifacte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_retirer_un_acte_du_tarif(?, ?)'; - - $this->executerRequete($sql, array($idDetailtarifacte, $user)); - } - - public function exportertarifactes($codeTarifActe) - { - if (est_anglophone()) - { - $sql = 'CALL sp_exporter_tarifacte_actes_eng(?);'; - } - else - { - $sql = 'CALL sp_exporter_tarifacte_actes(?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getentetetarifacte($codeTarifActe) - { - if (est_anglophone()) - { - $sql = 'SELECT codeTarifActe, libelleEng AS libelleTarif FROM p_tarifacte WHERE (codeTarifActe=?) LIMIT 1;'; - } - else - { - $sql = 'SELECT codeTarifActe, libelle AS libelleTarif FROM p_tarifacte WHERE (codeTarifActe=?) LIMIT 1;'; - } - - $resultat = $this->executerRequete($sql, array($codeTarifActe)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function exporterlisteactes($codeTarifActe) - { - if (est_anglophone()) - { - $sql = 'CALL sp_exporter_listes_actes_eng(?);'; - } - else - { - $sql = 'CALL sp_exporter_listes_actes(?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailtarifactedec.php b/radiantproduction/Modele/Detailtarifactedec.php deleted file mode 100644 index 4b66cd5..0000000 --- a/radiantproduction/Modele/Detailtarifactedec.php +++ /dev/null @@ -1,22 +0,0 @@ -executerRequete($sql, array($idFacture, $codeTarifActe, $codeFamilleActe, $codePrestataire, $idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailtarifmedicament.php b/radiantproduction/Modele/Detailtarifmedicament.php deleted file mode 100644 index 2a129ef..0000000 --- a/radiantproduction/Modele/Detailtarifmedicament.php +++ /dev/null @@ -1,171 +0,0 @@ -executerRequete($sql, array($codeTarifMedicament, $libelleMedicament)); - return $resultat; - } - - public function majPrix($idDetail, $prix) - { - $user = $_SESSION['login']; - - // $sql = 'call sp_p_maj_tarifmedicament(?, ?)'; - - $sql = 'call sp_maj_un_medicament_du_tarif(?, ?, ?)'; - - $this->executerRequete($sql, array($idDetail, $prix, $user)); - } - - public function activermedicament($idDetail, $actif) - { - $sql = 'call sp_p_activer_medicament(?, ?)'; - $this->executerRequete($sql, array($idDetail, $actif)); - } - - public function exportertarifmedicament($codeTarifMedicament) - { - $sql = 'call sp_exporter_tarifmedicament(?)'; - - $resultat = $this->executerRequete($sql, array($codeTarifMedicament)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getentetetarif($codeTarifMedicament) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'select libelleEng AS libelleTarif from p_tarifmedicament where (codeSociete=? and codeTarifMedicament=?)'; - } - else - { - $sql = 'select libelle AS libelleTarif from p_tarifmedicament where (codeSociete=? and codeTarifMedicament=?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeTarifMedicament)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getmedicamentsin($codeTarifMedicament, $libelleMedicament) - { - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'CALL sp_afficher_detailtarifmedicament_libelle(?, ?);'; - - $liste = $this->executerRequete($sql, array($codeTarifMedicament, $libelleMedicament)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getmedicamentsout($codeTarifMedicament, $libelleMedicament) - { - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'CALL sp_afficher_medicament_sans_tarif_libelle(?, ?);'; - - $liste = $this->executerRequete($sql, array($codeTarifMedicament, $libelleMedicament)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlistemedicaments($libelleMedicament) - { - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'CALL sp_liste_medicaments_libelle(?);'; - - $liste = $this->executerRequete($sql, array($libelleMedicament)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunmedicament($idMedicament) - { - $sql = 'call sp_afficher_un_medicament(?)'; - - $resultat = $this->executerRequete($sql, array($idMedicament)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function exporterlistemedicament() - { - $sql = 'call sp_exporter_liste_medicament()'; - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrermodifmedicament($idMedicament, $codeMedicament, $libelle, $unite, $ententePrealable, $exclu, $actif, $instructions) - { - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_modifier_un_medicament(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idMedicament, $codeMedicament, $libelle, $unite, $ententePrealable, $exclu, $actif, $instructions, $user)); - } - - public function enregistrernouveaumedicament($libelle, $unite, $ententePrealable, $exclu, $actif, $instructions) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouveau_medicament(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $unite, $ententePrealable, $exclu, $actif, $instructions, $user)); - } - - public function ajoutertousmedicamentsautarif($codeTarifMedicament, $libelleMedicament) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'CALL sp_ajouter_tous_medicaments_au_tarif(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $codeTarifMedicament, $libelleMedicament, $user)); - } - - public function retirertousmedicamentsautarif($codeTarifMedicament, $libelleMedicament) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'CALL sp_retirer_tous_medicaments_du_tarif(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $codeTarifMedicament, $libelleMedicament, $user)); - } - - public function ajouterunamedicamentautarif($idMedicament, $codeTarifMedicament) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouter_un_medicament_au_tarif(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idMedicament, $codeTarifMedicament, $user)); - } - - public function retirerunamedicamentutarif($idDetailtarifMedicament) - { - $user = $_SESSION['login']; - - $sql = 'call sp_retirer_un_medicament_du_tarif(?, ?)'; - - $this->executerRequete($sql, array($idDetailtarifMedicament, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Detailtarifoptique.php b/radiantproduction/Modele/Detailtarifoptique.php deleted file mode 100644 index cd1b38b..0000000 --- a/radiantproduction/Modele/Detailtarifoptique.php +++ /dev/null @@ -1,216 +0,0 @@ -executerRequete($sql, array($numeroOptique)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getDetailtarifoptique($codeTarifOptique, $libelleOptique) - { - $libelleOptique = contruireParamLike($libelleOptique); - - $sql = 'call sp_afficher_detailtarifoptique(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeTarifOptique, $libelleOptique)); - return $resultat; - } - - public function majPrix($idDetail, $prix) - { - // $sql = 'call sp_p_maj_tarifoptique(?, ?)'; - - $user = $_SESSION['login']; - - $sql = 'call sp_maj_un_verre_du_tarif(?, ?, ?)'; - - $this->executerRequete($sql, array($idDetail, $prix, $user)); - } - - public function getentetetarif($codeTarifOptique) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'select libelleEng AS libelleTarif from p_tarifoptique where (codeSociete=? and codeTarifOptique=?)'; - } - else - { - $sql = 'select libelle AS libelleTarif from p_tarifoptique where (codeSociete=? and codeTarifOptique=?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeTarifOptique)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function exportertarifverre($codeTarifOptique) - { - if (est_anglophone()) - { - $sql = 'call sp_exporter_tarifverre_eng(?)'; - } - else - { - $sql = 'call sp_exporter_tarifverre(?)'; - } - - $resultat = $this->executerRequete($sql, array($codeTarifOptique)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteverress($libelleVerre) - { - $libelleVerre = contruireParamLike($libelleVerre); - - $sql = 'CALL sp_liste_verres_libelle(?);'; - - $liste = $this->executerRequete($sql, array($libelleVerre)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunverre($idVerre) - { - $sql = 'call sp_afficher_un_verre(?)'; - - $resultat = $this->executerRequete($sql, array($idVerre)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifverre($idVerre, $codeOptique, $libelle, $libelleEng, $actif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_modifier_un_verre(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idVerre, $codeOptique, $libelle, $libelleEng, $actif, $user)); - } - - public function exporterlisteverres() - { - if (est_anglophone()) - { - $sql = 'call sp_exporter_liste_verres_eng()'; - } - else - { - $sql = 'call sp_exporter_liste_verres()'; - } - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrernouveauverre($libelle, $libelleEng, $actif) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_enregistrer_nouveau_verres(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $actif, $user)); - } - - public function getverresin($codeTarifOptique, $libelleVerre) - { - $libelleVerre = contruireParamLike($libelleVerre); - - if (est_anglophone()) - { - $sql = 'call sp_afficher_detailtarifverre_libelle_eng(?, ?);'; - } - else - { - $sql = 'call sp_afficher_detailtarifverre_libelle(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifOptique, $libelleVerre)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getverresout($codeTarifOptique, $libelleVerre) - { - $libelleVerre = contruireParamLike($libelleVerre); - - if (est_anglophone()) - { - $sql = 'call sp_afficher_verres_sans_tarif_libelle_eng(?, ?);'; - } - else - { - $sql = 'call sp_afficher_verres_sans_tarif_libelle(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeTarifOptique, $libelleVerre)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutertousverressautarif($codeTarifOptique, $libelleVerre) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $libelleVerre = contruireParamLike($libelleVerre); - - if (est_anglophone()) - { - $sql = 'CALL sp_ajouter_tous_verres_au_tarif_eng(?, ?, ?, ?);'; - } - else - { - $sql = 'CALL sp_ajouter_tous_verres_au_tarif(?, ?, ?, ?);'; - } - - $this->executerRequete($sql, array($codeSociete, $codeTarifOptique, $libelleVerre, $user)); - } - - public function retirertousverressautarif($codeTarifOptique, $libelleVerre) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $libelleVerre = contruireParamLike($libelleVerre); - - if (est_anglophone()) - { - $sql = 'CALL sp_retirer_tous_verres_au_tarif_eng(?, ?, ?, ?);'; - } - else - { - $sql = 'CALL sp_retirer_tous_verres_au_tarif(?, ?, ?, ?);'; - } - - $this->executerRequete($sql, array($codeSociete, $codeTarifOptique, $libelleVerre, $user)); - } - - public function ajouterunverreautarif($idVerre, $codeTarifOptique) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouter_un_verre_au_tarif(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idVerre, $codeTarifOptique, $user)); - } - - public function retirerunverredutarif($idDetailtarifOptique) - { - $user = $_SESSION['login']; - - $sql = 'call sp_retirer_un_verre_du_tarif(?, ?)'; - - $this->executerRequete($sql, array($idDetailtarifOptique, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Echeancier_temp.php b/radiantproduction/Modele/Echeancier_temp.php deleted file mode 100644 index ac5763a..0000000 --- a/radiantproduction/Modele/Echeancier_temp.php +++ /dev/null @@ -1,80 +0,0 @@ -executerRequete($sql, array($idEmission_temp)); - - return $entete_echeancier->fetch(PDO::FETCH_ASSOC); - } - - public function majEcheancier_temp($idEmission_temp, $codeTypeEcheancier, $nbEcheance, $tauxInteret) - { - $sql = 'call sp_init_ventil_echeancier_temp(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEmission_temp, $codeTypeEcheancier, $nbEcheance, $tauxInteret)); - } - - public function enregistrer($debut, $fin) - { - $codeSociete = $_SESSION['codeSociete']; - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - $idEmission_temp = $_SESSION['idEmission_temp']; - - $sql = 'call sp_enregistrer_echeancier(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idPolice, $user, $idSaisie, $debut, $fin, $idEmission_temp)); - } - - - public function majlibelle($idEcheancier, $libelleEcheance) - { - $sql = 'update echeancier_temp set libelleEcheance=? where (id=?)'; - $this->executerRequete($sql, array($libelleEcheance, $idEcheancier)); - } - - public function majdatepaiement($idEcheancier, $datePaiement) - { - $sql = 'update echeancier_temp set datePaiement=? where (id=?)'; - $this->executerRequete($sql, array($datePaiement, $idEcheancier)); - } - - public function majtauxecheance($idEcheancier, $tauxEcheance, $nbEcheance) - { - $sql = 'call sp_maj_ventil_echeancier(?, ?, ?);'; - $resultat = $this->executerRequete($sql, array($idEcheancier, $tauxEcheance, $nbEcheance)); - } - - public function getEcheancier_temp() - { - $idEmission_temp = $_SESSION['idEmission_temp']; - - $sql = 'select * from echeancier_temp where (idEmission_temp=?) order by ordreEcheance;'; - - $resultat = $this->executerRequete($sql, array($idEmission_temp)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // public function getTotalEcheancier_temp($user) - public function getTotalEcheancier_temp() - { - $idEmission_temp = $_SESSION['idEmission_temp']; - - $sql = 'select sum(primeTtcInitial) as primeTtcInitial, SUM(interet) as interet, - ROUND(SUM(tauxEcheance), 3) as tauxEcheance, SUM(primeTtc) as primeTtc - from echeancier_temp where (idEmission_temp=?);'; - - $resultat = $this->executerRequete($sql, array($idEmission_temp)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Emission.php b/radiantproduction/Modele/Emission.php deleted file mode 100644 index c8df672..0000000 --- a/radiantproduction/Modele/Emission.php +++ /dev/null @@ -1,131 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$numeroEmission)); - return ($resultat->rowCount() > 0); - } - - public function facturer($idPolice, $numeroEmission, $numeroQuittance) - { - $sql = 'call sp_init_echeancier(?, ?, ?, ?, ?)'; - $resultat = $this->executerRequete($sql, array($idPolice, $numeroEmission, $numeroQuittance, $_SESSION['login'], $_SESSION['codeSociete'])); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idEmission']; - } - - public function getDenierNumeroEmission() - { - $sql = 'select dernierNumeroEmission from numerotationemission WHERE (codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - if ($resultat->rowCount() == 0) - { - $sql = 'INSERT INTO numerotationemission (codeSociete, dernierNumeroEmission) values (?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], "1")); - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroEmission']; - } - } - - public function setDenierNumeroEmission($numeroEmission) - { - $sql = 'update numerotationemission set dernierNumeroEmission=? WHERE (codeSociete=?)'; - $this->executerRequete($sql, array($numeroEmission, $_SESSION['codeSociete'])); - } - - public function getEmissionId($idEmission) - { - $sql = 'CALL sp_get_emission_id(?);'; - - $resultat = $this->executerRequete($sql, array($idEmission)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function supprimer($id) { - $sql = 'DELETE FROM Emission WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getEmissionsId($idPolice) { - $sql = 'SELECT id, numeroEmission, numeroAvenant, codeTypeOperation, codeTypeAvenant, - dateEffet, dateEcheance, dateEmission, primeNette, commission, primeHt, taxe, fraisCarte, - primeTtc, encaisse, (primeTtc-encaisse) AS solde, nbAliment FROM emission WHERE (idPolice=?) - ORDER BY numeroEmission DESC'; - - $emissions = $this->executerRequete($sql, array($idPolice)); - return $emissions; - } - - public function getTotalEmission($idPolice) { - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc, - IFNULL(sum(encaisse),"0") as encaisse, IFNULL(sum(primeTtc-encaisse),"0") as solde - FROM emission A WHERE (A.idPolice=?)'; - - $totalemission = $this->executerRequete($sql, array($idPolice)); - return $totalemission->fetch(PDO::FETCH_ASSOC); - } - - public function getEmissionNo($numeroEmission) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_get_emission_no(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $numeroEmission)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getbeneficiaireprimeemission($idEmission) - { - $sql = 'CALL sp_get_beneficiaire_prime_emission(?);'; - - $resultat = $this->executerRequete($sql, array($idEmission)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getbeneficiaireprimeadherent($idAdherent, $debutPeriode, $finPeriode) - { - if (est_anglophone()) - { - $sql = 'call sp_get_beneficiaire_prime_adherent_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_get_beneficiaire_prime_adherent(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($idAdherent, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getbeneficiaireprimebeneficiaire($idBeneficiaire, $debutPeriode, $finPeriode) - { - if (est_anglophone()) - { - $sql = 'call sp_get_beneficiaire_prime_beneficiaire_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_get_beneficiaire_prime_beneficiaire(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Encaissement.php b/radiantproduction/Modele/Encaissement.php deleted file mode 100644 index 79e1de3..0000000 --- a/radiantproduction/Modele/Encaissement.php +++ /dev/null @@ -1,208 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$numeroEncaissement)); - return ($resultat->rowCount() > 0); - } - - public function getDenierNumeroEncaissement() - { - $sql = 'select dernierNumeroEncaissement from numerotationencaissement WHERE (codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - if ($resultat->rowCount() == 0) - { - $sql = 'INSERT INTO numerotationencaissement (codeSociete, dernierNumeroEncaissement) values (?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], "1")); - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroEncaissement']; - } - } - - public function setDenierNumeroEncaissement($numeroEncaissement) - { - $sql = 'update numerotationencaissement set dernierNumeroEncaissement=? WHERE (codeSociete=?)'; - $this->executerRequete($sql, array($numeroEncaissement, $_SESSION['codeSociete'])); - } - - public function EnregistrerDepot($idEncaissementTemp, $numeroEncaissement) { - - $sql = 'insert into encaissement (codeSociete, sens, numeroEncaissement, codeApporteur, codeModePaiement, codeMoyenPaiement, - referencePaiement, nomTireur, banquePayeur, numeroBordereau, dateBordereau, montant, libelleOperation, dateEncaissement, - dateComptable, ecart, codeEcart, dateCre, user, affecte) - select codeSociete, sens, ? as numeroEncaissement, codeApporteur, codeModePaiement, codeMoyenPaiement, - referencePaiement, nomTireur, banquePayeur, numeroBordereau, dateBordereau, montant, libelleOperation, dateEncaissement, - dateComptable, ecart, codeEcart, dateCre, user, 0 as affecte from encaissement_temp - where id=?'; - - $encaissement = $this->executerRequete($sql, array($numeroEncaissement, $idEncaissementTemp)); - $dernierId = $this->dernierId(); - - $user = $_SESSION['login']; - - $sql = 'DELETE FROM encaissement_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - return $dernierId; - } - - public function EnregistrerBordereau($idEncaissementTemp, $numeroEncaissement) - { - $sql = 'insert into encaissement (codeSociete, sens, numeroEncaissement, codeApporteur, codeModePaiement, codeMoyenPaiement, - referencePaiement, nomTireur, banquePayeur, numeroBordereau, dateBordereau, montant, libelleOperation, dateEncaissement, - dateComptable, ecart, codeEcart, dateCre, user, affecte) - select codeSociete, sens, ? as numeroEncaissement, codeApporteur, codeModePaiement, codeMoyenPaiement, - referencePaiement, nomTireur, banquePayeur, numeroBordereau, dateBordereau, montant, libelleOperation, dateEncaissement, - dateComptable, ecart, codeEcart, dateCre, user, montantSelection as affecte - from encaissement_temp where id=?'; - - $this->executerRequete($sql, array($numeroEncaissement, $idEncaissementTemp)); - $dernierId = $this->dernierId(); - - $idEncaissement = $dernierId; - $_SESSION['idEncaissement'] = $idEncaissement; - - $sql = 'insert into detailencaissement (codeSociete, idEncaissement, numeroEncaissement, idQuittance, numeroQuittance, - primeNette, primeNetteCie, accessoireCie, assesoireApporteur, accessoire, primeHt, taxe, fraisCarte, - commission, commissionAutre, primeTtc, dateCre, user, regle, anc_solde, deduireComm, idPolice) - - select codeSociete, ? as idEncaissement, ? as numeroEncaissement, idQuittance, numeroQuittance, - primeNette, primeNetteCie, accessoireCie, assesoireApporteur, accessoire, primeHt, taxe, fraisCarte, - commission, commissionAutre, primeTtc, dateCre, user, regle, anc_solde, deduireComm, idPolice - from detailencaissement_temp where idEncaissement=?'; - - $this->executerRequete($sql, array($idEncaissement, $numeroEncaissement, $idEncaissementTemp)); - - $sql = 'update quittance A - join detailencaissement_temp B on (B.idQuittance=A.id) - set A.encaisse = (A.encaisse+B.primeTtc), A.regle=B.regle - where (B.idEncaissement=?)'; - $this->executerRequete($sql, array($idEncaissementTemp)); - - $sql = 'update quittance A - join detailencaissement_temp B on (B.idQuittance=A.id) - set A.regle="1" where (B.idEncaissement=?) and (A.primeTtc=A.encaisse)'; - $this->executerRequete($sql, array($idEncaissementTemp)); - - $user = $_SESSION['login']; - - $sql = 'DELETE FROM encaissement_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM detailencaissement_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - return $dernierId; - } - - public function EncaisserQuittance($montant, $primeTtc_Q, $idQuittance, $numeroEncaissement, $codeModePaiement, $codeMoyenPaiement, - $referencePaiement, $nomTireur, $banquePayeur, $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $anc_solde) - { - $user = $_SESSION['login']; - $rapport = 0; - if($primeTtc_Q!=0) - { - $rapport =($montant/$primeTtc_Q); - } - - $sql = 'insert into encaissement (codeSociete, numeroEncaissement, codeApporteur, codeModePaiement, codeMoyenPaiement, - referencePaiement, nomTireur, banquePayeur, numeroBordereau, dateBordereau, montant, libelleOperation, dateEncaissement, - dateComptable, ecart, codeEcart, dateCre, user, affecte, idClient, idPolice) - - select A.codeSociete, ? as numeroEncaissement, B.codeApporteur, ? as codeModePaiement, ? as codeMoyenPaiement, - ? as referencePaiement, ? as nomTireur, ? as banquePayeur, ? as numeroBordereau, ? as dateBordereau, ? as montant, ? as libelleOperation, - ? as dateEncaissement, ? as dateComptable, "0" as ecart, "0" as codeEcart, ? as dateCre, ? as user, ? as affecte, A.idClient, A.idPolice - from quittance A join police B on (B.id=A.idPolice) where A.id=?'; - - $this->executerRequete($sql, array($numeroEncaissement, $codeModePaiement, $codeMoyenPaiement, $referencePaiement, $nomTireur, $banquePayeur, - $numeroEncaissement, $dateEncaissement, $montant, $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $user, $montant, $idQuittance)); - - $dernierId = $this->dernierId(); - - $idEncaissement = $dernierId; - $_SESSION['idEncaissement'] = $idEncaissement; - - $sql = 'insert into detailencaissement (codeSociete, idEncaissement, numeroEncaissement, idQuittance, numeroQuittance, - primeNette, primeNetteCie, accessoireCie, assesoireApporteur, accessoire, primeHt, taxe, fraisCarte, - commission, commissionAutre, primeTtc, dateCre, user, anc_solde, deduireComm, idPolice) - - select codeSociete, ? as idEncaissement, ? as numeroEncaissement, id as idQuittance, numeroQuittance, - primeNette*?, primeNetteCie*?, accessoireCie*?, assesoireApporteur*?, accessoire*?, primeHt*?, taxe*?, fraisCarte*?, - commission*?, commissionAutre*?, primeTtc*?, ? as dateCre, ? as user, (primeTtc-encaisse) as anc_solde, deduireComm, idPolice - from quittance where id=?'; - - $this->executerRequete($sql, array($idEncaissement, $numeroEncaissement, $rapport, $rapport, $rapport, $rapport, $rapport, - $rapport, $rapport, $rapport, $rapport, $rapport, $rapport, $dateCre, $user, $idQuittance)); - - $sql = 'update quittance set encaisse = (encaisse+?) where (id=?)'; - $this->executerRequete($sql, array($montant, $idQuittance)); - - if($anc_solde==$montant) - { - $sql = 'update quittance set regle="1" where (id=?)'; - $this->executerRequete($sql, array($idQuittance)); - } - - return $dernierId; - } - - - public function getEncaissementId($idEncaissement) - { - $sql = 'SELECT A.id AS idEncaissement, A.*, B.libelle as apporteur, C.libelle as modepaiement, - D.libelle as moyenpaiement, D.numeroCompte, (A.montant-A.affecte) As montantEcart - from encaissement A - left join apporteur B on (B.codeSociete=A.codeSociete) AND (B.codeApporteur=A.codeApporteur) - left join modepaiement C on (C.codeModePaiement=A.codeModePaiement) - left join moyenpaiement D on (D.codeSociete=A.codeSociete) AND (D.codeMoyenPaiement=A.codeMoyenPaiement) - where A.id=?'; - - $encaissement = $this->executerRequete($sql, array($idEncaissement)); - return $encaissement->fetch(PDO::FETCH_ASSOC); - } - - public function supprimer($id) { - $sql = 'DELETE FROM encaissement WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getEncaissementsPolice($idPolice) { - $sql = 'SELECT id, numeroQuittance, numeroAvenant, codeTypeOperation, codeTypeAvenant, - dateEffet, dateEcheance, dateEmission, primeNette, commission, commissionAutre, accessoire, primeHt, taxe, fraisCarte, - primeTtc, encaisse, (primeTtc-encaisse) AS solde, nbAliment FROM quittance WHERE (idPolice=?) - ORDER BY numeroQuittance DESC'; - - $quittances = $this->executerRequete($sql, array($idPolice)); - return $quittances; - } - - public function getTotalENcaissementPolice($idPolice) { - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(commissionAutre),"0") as commissionAutre, IFNULL(sum(accessoire),"0") as accessoire, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc, - IFNULL(sum(encaisse),"0") as encaisse, IFNULL(sum(primeTtc-encaisse),"0") as solde - FROM quittance A WHERE (A.idPolice=?)'; - - $totalquittance = $this->executerRequete($sql, array($idPolice)); - return $totalquittance->fetch(PDO::FETCH_ASSOC); - } - - public function getEncaissementNo($numeroEncaissement) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_get_ancaissement_no(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $numeroEncaissement)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Encaissement_temp.php b/radiantproduction/Modele/Encaissement_temp.php deleted file mode 100644 index 7a20310..0000000 --- a/radiantproduction/Modele/Encaissement_temp.php +++ /dev/null @@ -1,115 +0,0 @@ -executerRequete($sql, array($user)); - - $sql = 'DELETE FROM detailencaissement_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'INSERT INTO encaissement_temp (codeSociete, codeApporteur, codeModePaiement, codeMoyenPaiement, referencePaiement, - nomTireur, banquePayeur, numeroBordereau, dateBordereau, montant, libelleOperation, - dateEncaissement, dateComptable, dateCre, user) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeApporteur, $codeModePaiement, $codeMoyenPaiement, - $referencePaiement, $nomTireur, $banquePayeur, $numeroBordereau, $dateBordereau, $montant, - $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $user)); - - $idEncaissementTemp = $this->dernierId(); - $_SESSION['idEncaissementTemp'] = $idEncaissementTemp; - $_SESSION['codeApporteur'] = $codeApporteur; - - return $idEncaissementTemp; - } - - - public function initEncaissementClient($codeSociete, $idClient, $codeModePaiement, $codeMoyenPaiement, $referencePaiement, - $nomTireur, $banquePayeur, $montant, $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $user) - { - $sql = 'DELETE FROM encaissement_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM detailencaissement_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'INSERT INTO encaissement_temp (codeSociete, idClient, codeModePaiement, codeMoyenPaiement, referencePaiement, - nomTireur, banquePayeur, montant, libelleOperation, dateEncaissement, dateComptable, dateCre, user) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idClient, $codeModePaiement, $codeMoyenPaiement, $referencePaiement, - $nomTireur, $banquePayeur, $montant, $libelleOperation, $dateEncaissement, $dateComptable, $dateCre, $user)); - - $idEncaissementTemp = $this->dernierId(); - $_SESSION['idEncaissementTemp'] = $idEncaissementTemp; - - return $idEncaissementTemp; - } - - public function getEncaissementTemp($user) - { - $sql = 'SELECT A.id AS idEncaissementTemp, A.*, B.libelle as apporteur, C.libelle as modepaiement, - D.libelle as moyenpaiement, D.numeroCompte - from encaissement_temp A - left join apporteur B on (B.codeSociete=A.codeSociete) AND (B.codeApporteur=A.codeApporteur) - left join modepaiement C on (C.codeModePaiement=A.codeModePaiement) - left join moyenpaiement D on (D.codeSociete=A.codeSociete) AND (D.codeMoyenPaiement=A.codeMoyenPaiement) - where A.codeSociete=? AND A.user=? limit 1'; - - $encaissement = $this->executerRequete($sql, array($_SESSION['codeSociete'], $user)); - return $encaissement->fetch(PDO::FETCH_ASSOC); - } - - public function getEncaissementTempClient($user, $idClient) - { - $sql = 'SELECT A.id AS idEncaissementTemp, A.*, C.libelle as modepaiement, - D.libelle as moyenpaiement, D.numeroCompte - from encaissement_temp A - left join modepaiement C on (C.codeModePaiement=A.codeModePaiement) - left join moyenpaiement D on (D.codeSociete=A.codeSociete) AND (D.codeMoyenPaiement=A.codeMoyenPaiement) - where (A.codeSociete=?) AND (A.user=?) AND (A.idClient=?) limit 1'; - - $encaissement = $this->executerRequete($sql, array($_SESSION['codeSociete'], $user, $idClient)); - return $encaissement->fetch(PDO::FETCH_ASSOC); - } - - public function getEncaissementTempId($idEncaissementTemp) { - $sql = 'SELECT A.id AS idEncaissementTemp, A.*, B.libelle as apporteur, C.libelle as modepaiement, - D.libelle as moyenpaiement, D.numeroCompte - from encaissement_temp A - left join apporteur B on (B.codeSociete=A.codeSociete) AND (B.codeApporteur=A.codeApporteur) - left join modepaiement C on (C.codeModePaiement=A.codeModePaiement) - left join moyenpaiement D on (D.codeSociete=A.codeSociete) AND (D.codeMoyenPaiement=A.codeMoyenPaiement) - where A.id=?'; - - $encaissement = $this->executerRequete($sql, array($idEncaissementTemp)); - return $encaissement->fetch(PDO::FETCH_ASSOC); - } - - public function majTotalEncaissement($idEncaissementTemp) - { - $sql = 'select IFNULL(SUM(primeTtc),"0") as montant_selection from detailencaissement_temp where idEncaissement=?'; - $resultat = $this->executerRequete($sql, array($idEncaissementTemp)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $montant_selection = $ligne['montant_selection']; - - $sql = 'update encaissement_temp set montantSelection = ?, montantEcart = (montant-?) where (id=?)'; - $this->executerRequete($sql, array($montant_selection, $montant_selection, $idEncaissementTemp)); - - $sql = 'update encaissement_temp set ecart = "1", codeEcart = "1" where (id=?) and (montantEcart>0)'; - $this->executerRequete($sql, array($idEncaissementTemp)); - - $sql = 'update encaissement_temp set ecart = "1", codeEcart = "2" where (id=?) and (montantEcart<0)'; - $this->executerRequete($sql, array($idEncaissementTemp)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM encaissement_temp WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } -} diff --git a/radiantproduction/Modele/Ententeprealable.php b/radiantproduction/Modele/Ententeprealable.php deleted file mode 100644 index e0afdbe..0000000 --- a/radiantproduction/Modele/Ententeprealable.php +++ /dev/null @@ -1,386 +0,0 @@ -executerRequete($sql, array($numeroFeuilleMaladie)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealables($codePrestataire, $codeReponseEntentePrealable, $debut, $fin) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealables_eng(?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_get_ententeprealables(?, ?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeReponseEntentePrealable, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getActesExclus($codePrestataire, $codeReponseAutorisation, $debut, $fin) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeReponseAutorisation = contruireParamLike($codeReponseAutorisation); - - $sql = 'call sp_get_actes_exclus(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeReponseAutorisation, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealableId($idDemandeententeprealable) - { - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealable_id_simple_eng(?)'; - } - else - { - $sql = 'call sp_get_ententeprealable_id_simple(?)'; - } - - - $resultat = $this->executerRequete($sql, array($idDemandeententeprealable)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getActeExcluId($idDemandeautorisation) - { - $sql = 'call sp_get_acte_exclu_id_simple(?)'; - - $resultat = $this->executerRequete($sql, array($idDemandeautorisation)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrerrefusententeprealable($idDemandeententeprealable, $motifReel, $motifRefusAssure) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_ententeprealable(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user)); - } - - public function enregistreraccordententeprealable($idDemandeententeprealable, $motifReel) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accepter_ententeprealable(?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $user)); - } - - public function getententeprealablesbenficiaire($idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_get_ententeprealables_beneficiaire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getacteexclusbenficiaire($idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_get_autorisations_beneficiaire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerrefusacteexclu($idDemandeautorisation, $motifReel, $motifRefusAssure) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_autorisation(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeautorisation, $motifReel, $motifRefusAssure, $user)); - } - - public function enregistreraccordacteexclu($idDemandeautorisation, $motifReel, $valeurActe) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accepter_autorisation(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeautorisation, $motifReel, $user, $valeurActe)); - } - - public function requetesententeprealable($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleActe = contruireParamLike($libelleActe); - $libelleFamilleActe = contruireParamLike($libelleFamilleActe); - - $sql = 'call sp_requetes_ententeprealable(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesententeprealabletotal($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleActe = contruireParamLike($libelleActe); - $libelleFamilleActe = contruireParamLike($libelleFamilleActe); - - $sql = 'call sp_requetes_ententeprealable_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesententeprealableexport($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleActe = contruireParamLike($libelleActe); - $libelleFamilleActe = contruireParamLike($libelleFamilleActe); - - $sql = 'call sp_requetes_ententeprealable_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire, - $numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealablespha($codeReponseEntentePrealable, $debut, $fin) - { - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealables_pha_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_get_ententeprealables_pha(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeReponseEntentePrealable, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealablephaId($idDemandeententeprealable) - { - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealable_pha_id_simple_eng(?)'; - } - else - { - $sql = 'call sp_get_ententeprealable_pha_id_simple(?)'; - } - - $resultat = $this->executerRequete($sql, array($idDemandeententeprealable)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistreraccordententeprealablepha($idDemandeententeprealable, $motifReel, $prixAccorde, $quantiteAccorde) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accepter_ententeprealable_pha(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $prixAccorde, $quantiteAccorde, $user)); - } - - public function enregistrerrefusententeprealablepha($idDemandeententeprealable, $motifReel, $motifRefusAssure) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_ententeprealable_pha(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user)); - } - - public function requetesententeprealablepha($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - - $sql = 'call sp_requetes_ententeprealable_pha(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesententeprealablephaexport($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - - $sql = 'call sp_requetes_ententeprealable_pha_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealablesopt($codeReponseEntentePrealable, $debut, $fin) - { - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealables_opt_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_get_ententeprealables_opt(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeReponseEntentePrealable, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealableoptId($idDemandeententeprealable) - { - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealable_opt_id_simple_eng(?)'; - } - else - { - $sql = 'call sp_get_ententeprealable_opt_id_simple(?)'; - } - - $resultat = $this->executerRequete($sql, array($idDemandeententeprealable)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - // - public function enregistreraccordententeprealableopt($idDemandeententeprealable, $motifReel, $prixAccorde) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accepter_ententeprealable_opt(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $prixAccorde, $user)); - } - - public function enregistrerrefusententeprealableopt($idDemandeententeprealable, $motifReel, $motifRefusAssure) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_ententeprealable_opt(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user)); - } - - // Ententeprealablesmont - - public function getEntenteprealablesmont($codeReponseEntentePrealable, $debut, $fin) - { - $codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable); - - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealables_mont_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_get_ententeprealables_mont(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeReponseEntentePrealable, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getEntenteprealablemontId($idDemandeententeprealable) - { - if (est_anglophone()) - { - $sql = 'call sp_get_ententeprealable_mont_id_simple_eng(?)'; - } - else - { - $sql = 'call sp_get_ententeprealable_mont_id_simple(?)'; - } - - $resultat = $this->executerRequete($sql, array($idDemandeententeprealable)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - // - public function enregistreraccordententeprealablemont($idDemandeententeprealable, $motifReel, $prixAccorde) - { - $user = $_SESSION['login']; - - $sql = 'call sp_accepter_ententeprealable_mont(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $prixAccorde, $user)); - } - - public function enregistrerrefusententeprealablemont($idDemandeententeprealable, $motifReel, $motifRefusAssure) - { - $user = $_SESSION['login']; - - $sql = 'call sp_refuser_ententeprealable_mont(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user)); - } - - public function getdernieresfacturesoptiques($idBeneficiaire) - { - if (est_anglophone()) - { - $sql = 'call sp_get_derniereres_factures_optique_eng(?)'; - } - else - { - $sql = 'call sp_get_derniereres_factures_optique(?)'; - } - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Entete_echeancier_temp.php b/radiantproduction/Modele/Entete_echeancier_temp.php deleted file mode 100644 index 095c5c8..0000000 --- a/radiantproduction/Modele/Entete_echeancier_temp.php +++ /dev/null @@ -1,11 +0,0 @@ -executerRequete($sql, array($_SESSION['login'])); - return $entete_echeancier->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Envoimail.php b/radiantproduction/Modele/Envoimail.php deleted file mode 100644 index 4c5942b..0000000 --- a/radiantproduction/Modele/Envoimail.php +++ /dev/null @@ -1,130 +0,0 @@ -executerRequete($sql, array($typeMail, $codeTypeBon, $noDepart, $noFin, $receptionnaire, $codePrestataire, $user)); - } - - public function ajouterrefusderogation($typeMail, $idDemandederogation, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandederogation, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandederogation, $codePrestataire, $user)); - } - - public function ajouteraccordderogation($typeMail, $idDemandederogation, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandederogation, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandederogation, $codePrestataire, $user)); - } - -// - - public function ajouterrefusententeprealable($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function ajouteraccordententeprealable($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function ajouterdemandefraisfuneraire($typeMail, $idBeneficiaire, $montantApayer) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idBeneficiaire, montant, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idBeneficiaire, $montantApayer, $user)); - } - - public function ajouterrefusacteexclu($typeMail, $idDemandeautorisation) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeautorisation, codeUtilisateur) values(?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeautorisation, $user)); - } - - public function ajouteraccordacteexclu($typeMail, $idDemandeautorisation) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeautorisation, codeUtilisateur) values(?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeautorisation, $user)); - } - - // - public function ajouteraccordententeprealablepha($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function ajouterrefusententeprealablepha($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - // - - public function ajouteraccordententeprealableopt($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function ajouterrefusententeprealableopt($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function ajouteraccordententeprealablemont($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function ajouterrefusententeprealablemont($typeMail, $idDemandeententeprealable, $codePrestataire) - { - $user = $_SESSION['login']; - $sql = 'insert into envoimail (typeMail, idDemandeententeprealable, codePrestataire, codeUtilisateur) values(?, ?, ?, ?)'; - $this->executerRequete($sql, array($typeMail, $idDemandeententeprealable, $codePrestataire, $user)); - } - - public function logenvoisms($destinataires, $message) - { - $user = $_SESSION['login']; - $sql = 'insert into logenvoisms (destinataires, message, codeUtilisateur) values(?, ?, ?)'; - $sortie = $this->executerRequete($sql, array($destinataires, $message, $user)); - } - - public function ajoutersms($destinataires, $message) - { - $user = $_SESSION['login']; - $sql = 'insert into envoisms (destinataires, message, codeUtilisateur) values(?, ?, ?)'; - $sortie = $this->executerRequete($sql, array($destinataires, $message, $user)); - } - - public function ajoutermailadherent($email, $objet, $message) - { - $user = $_SESSION['login']; - $sql = 'INSERT INTO p_envoimailadherent (email, objet, message, codeUtilisateur) values(?, ?, ?, ?)'; - $sortie = $this->executerRequete($sql, array($email, $objet, $message, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etatadherent.php b/radiantproduction/Modele/Etatadherent.php deleted file mode 100644 index 1dcd974..0000000 --- a/radiantproduction/Modele/Etatadherent.php +++ /dev/null @@ -1,17 +0,0 @@ -executerRequete($sql, array($idAdherent)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etatbeneficiaire.php b/radiantproduction/Modele/Etatbeneficiaire.php deleted file mode 100644 index d7ea9c2..0000000 --- a/radiantproduction/Modele/Etatbeneficiaire.php +++ /dev/null @@ -1,18 +0,0 @@ -executerRequete($sql, array($idBeneficiaire)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etatbon.php b/radiantproduction/Modele/Etatbon.php deleted file mode 100644 index 4f9a4e8..0000000 --- a/radiantproduction/Modele/Etatbon.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etatcp.php b/radiantproduction/Modele/Etatcp.php deleted file mode 100644 index 6dcf092..0000000 --- a/radiantproduction/Modele/Etatcp.php +++ /dev/null @@ -1,17 +0,0 @@ -executerRequete($sql, array($codeSociete)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} diff --git a/radiantproduction/Modele/Etatdecompte.php b/radiantproduction/Modele/Etatdecompte.php deleted file mode 100644 index fd1b7e8..0000000 --- a/radiantproduction/Modele/Etatdecompte.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etatdevis.php b/radiantproduction/Modele/Etatdevis.php deleted file mode 100644 index 689a4ef..0000000 --- a/radiantproduction/Modele/Etatdevis.php +++ /dev/null @@ -1,17 +0,0 @@ -executerRequete($sql, array($codeSociete)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} diff --git a/radiantproduction/Modele/Etatpersonne.php b/radiantproduction/Modele/Etatpersonne.php deleted file mode 100644 index 654d649..0000000 --- a/radiantproduction/Modele/Etatpersonne.php +++ /dev/null @@ -1,61 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeSuiteFam($oldcodeEtatPersonne) - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtatPersonne as `code`, etatpossibleEng as libelle - FROM vw_suiteetatpersonne where (oldcodeEtatPersonne=?) - and (famille="1") order by etatpossible;'; - } - else - { - $sql = 'SELECT codeEtatPersonne as `code`, etatpossible as libelle - FROM vw_suiteetatpersonne where (oldcodeEtatPersonne=?) - and (famille="1") order by etatpossible;'; - } - - $liste = $this->executerRequete($sql, array($oldcodeEtatPersonne)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeSuiteDep($oldcodeEtatPersonne) - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtatPersonne as `code`, etatpossibleEng as libelle - FROM vw_suiteetatpersonne where (oldcodeEtatPersonne=?) - and (dependant="1") order by etatpossible;'; - } - else - { - $sql = 'SELECT codeEtatPersonne as `code`, etatpossible as libelle - FROM vw_suiteetatpersonne where (oldcodeEtatPersonne=?) - and (dependant="1") order by etatpossible;'; - } - - $liste = $this->executerRequete($sql, array($oldcodeEtatPersonne)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Modele/Etatpolice.php b/radiantproduction/Modele/Etatpolice.php deleted file mode 100644 index 10eb059..0000000 --- a/radiantproduction/Modele/Etatpolice.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etatproduit.php b/radiantproduction/Modele/Etatproduit.php deleted file mode 100644 index ef613b0..0000000 --- a/radiantproduction/Modele/Etatproduit.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Etattachesante.php b/radiantproduction/Modele/Etattachesante.php deleted file mode 100644 index ff6c46c..0000000 --- a/radiantproduction/Modele/Etattachesante.php +++ /dev/null @@ -1,12 +0,0 @@ -executerRequete($sql); - return $liste; - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Exclusion.php b/radiantproduction/Modele/Exclusion.php deleted file mode 100644 index 6dc94e1..0000000 --- a/radiantproduction/Modele/Exclusion.php +++ /dev/null @@ -1,49 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeExclusion,$libelle)); - return $exclusions; - } - public function getExclusion($id) { - $sql = 'SELECT id, codeSociete, codeExclusion, libelle - FROM exclusion A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $exclusion = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $exclusion->fetch(PDO::FETCH_ASSOC); - } - public function getNombreExclusion() - { - $sql = 'select count(*) as nbExclusion FROM exclusion A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbExclusion']; - } - - public function ajouter($codeSociete, $codeExclusion, $libelle) { - $sql = 'INSERT INTO exclusion (codeSociete, codeExclusion, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeExclusion, $libelle)); - } - - public function modifier($id, $codeExclusion, $libelle) { - $sql = 'UPDATE exclusion SET codeExclusion=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codeExclusion, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM exclusion WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeExclusion) { - $sql = 'select id FROM exclusion WHERE (codeSociete=?) and (codeExclusion=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeExclusion)); - return ($resultat->rowCount() > 0); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Exclusioncollege.php b/radiantproduction/Modele/Exclusioncollege.php deleted file mode 100644 index 7ebc168..0000000 --- a/radiantproduction/Modele/Exclusioncollege.php +++ /dev/null @@ -1,58 +0,0 @@ -executerRequete($sql, array($id_exclusioncollege)); - } - else - { - $sql = 'insert into exclusioncollege ( - codeSociete, - idCollege, - idPolice, - numeroPolice, - codeActe, - user - ) - select - codeSociete, - id as idCollege, - idPolice, - numeroPolice, - ?, - ? - from college where (id=?)'; - - $this->executerRequete($sql, array($codeActe, $codeUtilisateur, $idCollege)); - } - } - - public function getExclusionCollege($idCollege) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_exclusions_college(?, ?);'; - - $exclusions = $this->executerRequete($sql, array($codeSociete, $idCollege)); - - return $exclusions->fetchAll(PDO::FETCH_ASSOC); - } - - public function getExclusionFamille($idCollege) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_exclusions_famille(?, ?);'; - - $exclusions = $this->executerRequete($sql, array($codeSociete, $idCollege)); - - return $exclusions->fetchAll(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Modele/Exercice.php b/radiantproduction/Modele/Exercice.php deleted file mode 100644 index 3c3954d..0000000 --- a/radiantproduction/Modele/Exercice.php +++ /dev/null @@ -1,12 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Facture.php b/radiantproduction/Modele/Facture.php deleted file mode 100644 index 19c551c..0000000 --- a/radiantproduction/Modele/Facture.php +++ /dev/null @@ -1,763 +0,0 @@ -executerRequete($sql, array($idFacture)); - - $ligne = $facture->fetch(PDO::FETCH_ASSOC); - - return $ligne; - } - - public function getfacturesprestataire($codePrestataire, $idBeneficiaire, $d1, $d2) - { - // $sql = 'call sp_p_get_feuilles_maladie(?, ?, ?, ?)'; - $sql = 'call sp_r_get_facture_prestataire(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getfactures($idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_r_get_factures(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getfacturesfamille($idAdherent, $d1, $d2) - { - $sql = 'call sp_r_get_factures_adherent(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_liste_factures($codePrestataire, $d1, $d2) - { - $codePrestataire = contruireParamLike($codePrestataire); - - $sql = 'call sp_r_get_liste_factures(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getContexteAjaxFacture($numeroFacture) - { - $_SESSION['numeroFacture_C'] = $numeroFacture; - } - - public function facturer() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - $user = $_SESSION['login']; - - $user_id = $_SESSION['user_id_C']; - - $sql = 'call sp_p_facturer_feuille_maladie(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire, $user, $user_id)); - } - - public function requetesfacture($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_factures(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturetotal($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - /* - $hospitalisation = contruireParamLike($hospitalisation); - $numeroChambre = contruireParamLike($numeroChambre); - $chirurgie = contruireParamLike($chirurgie); - */ - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_factures_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesfacturenew($codePrestataire, $dateFacture1, $dateFacture2, $chrono) - { - if ($chrono=="1") - { - $sql = 'call sp_requetes_factures_new_chrono(?, ?, ?)'; - } - else - { - $sql = 'call sp_requetes_factures_new(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfactureexport($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - /* - $hospitalisation = contruireParamLike($hospitalisation); - $numeroChambre = contruireParamLike($numeroChambre); - $chirurgie = contruireParamLike($chirurgie); - */ - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_factures_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfactureexportnew($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_export_new(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfactureclient($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_factures_client(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfactureclientexport($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - /* - $hospitalisation = contruireParamLike($hospitalisation); - $numeroChambre = contruireParamLike($numeroChambre); - $chirurgie = contruireParamLike($chirurgie); - */ - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - $sql = 'call sp_requetes_factures_client_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2, $numeroAdherent, $numeroBeneficiaire, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, - $codeTypePrestataire, $numeroDecompte1, $numeroDecompte2, $hospitalisation, $numeroChambre, $chirurgie, $adherent, $beneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getfacturesclassiquebenficiaire($idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_r_get_factures_classiques_beneficiaire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function vider_garantieadherent_temp() - { - $idAdherent = $_SESSION['idAdherent_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_vider_garantieadherent_temp(?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $idSaisie, $user)); - } - - public function getfactureclassique_temp() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_facture_classique_temp(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $idSaisie, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function init_facture_classique() - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $idDossierClassique = $_SESSION['idDossierClassique'] ; - - $sql = 'call sp_r_init_facture_classique(?, ?, ?)'; - - $this->executerRequete($sql, array($idDossierClassique, $idSaisie, $user)); - } - - public function getprestationsclassiques_temp() - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_prestation_classique_temp(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function afficher_garantieadherent_temp() - { - $idAdherent = $_SESSION['idAdherent_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_garantieadherent_temp(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majprix($idPrestation, $valeurActe) - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_prix_facture_classique(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $idBeneficiaire, $idSaisie, $user, $idPrestation, $valeurActe)); - } - - public function majtm($tm) - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_tm_facture_classique(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $idBeneficiaire, $idSaisie, $user, $tm)); - } - - public function enregistrerfacturetemp($prestataire, $dateFacture, $hospitalisation, $observations, $tm, $numeroFacture) - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_enregistrer_facture_classique_temp(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $idBeneficiaire, $idSaisie, $user, $prestataire, $dateFacture, $hospitalisation, $observations, $tm, $numeroFacture)); - } - - - public function validerfactureclassique() - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $idDossierClassique = $_SESSION['idDossierClassique'] ; - - $sql = 'call sp_r_valider_facture_classique(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idDossierClassique, $idAdherent, $idBeneficiaire, $idSaisie, $user)); - } - - public function getfactureclassique() - { - $idFacture = $_SESSION['idFacture_C']; - - $sql = 'call sp_r_get_facture_classique(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getprestationsclassiques() - { - $idFacture = $_SESSION['idFacture_C']; - - $sql = 'call sp_r_get_prestation_classique(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerpaiementfactureclassique($dateComptable, $codeModePaiement, $referencePaiement) - { - $idFacture = $_SESSION['idFacture_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_payer_factureclassique(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idFacture, $dateComptable, $codeModePaiement, $referencePaiement, $user)); - - } - - public function requetesfactureleger($dateFacture1, $dateFacture2) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - - // $sql = 'call sp_requetes_factures_client(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - $sql = 'call sp_requetes_factures_leger(?, ?)'; - - $resultat = $this->executerRequete($sql, array($dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturelegerexport($dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_leger_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturelegertotal($dateFacture1, $dateFacture2) - { - // $sql = 'call sp_requetes_factures_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - $sql = 'call sp_requetes_factures_leger_total(?, ?)'; - - $resultat = $this->executerRequete($sql, array($dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getfacturesouscripteur($idFacture) - { - $sql = 'call sp_r_get_facture_souscr(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesfacturemois($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_mois(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturejour($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_jour(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturejourexport($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_jour_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturemoisexport($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_mois_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturepolice($numeroPolice, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_police(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroPolice, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturepoliceexport($numeroPolice, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_police_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroPolice, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturepolicegar($numeroPolice, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_police_gar(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroPolice, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportsppdfenteteid($idPolice, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_rentete_police(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function detailrapportsppdfentetenumero($numeroPolice, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_rentete_police_numero(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroPolice, $dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function entete_facture_adherent_id($idAdherent, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_rentete_police_adherent(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function entete_facture_adherent_numero($numeroAdherent, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_rentete_police_adherent_numero(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroAdherent, $dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesfactureadherentexport($numeroAdherent, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_adherent_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroAdherent, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfactureadherentgar($numeroAdherent, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_adherent_gar(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroAdherent, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // factures beneficiaire - public function entete_facture_beneficiaire_id($idBeneficiaire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_rentete_police_beneficiaire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function entete_facture_beneficiaire_numero($numeroBeneficiaire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_rentete_police_beneficiaire_numero(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroBeneficiaire, $dateFacture1, $dateFacture2)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesfacturebeneficiaireexport($numeroBeneficiaire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_beneficiaire_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroBeneficiaire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturebeneficiairegar($numeroBeneficiaire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_beneficiaire_gar(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroBeneficiaire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesaccidents($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_accidents(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesaccidentsexport($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_factures_accidents_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerdossierclassique($demandeur, $codeLienDemandeur, $beneficiaireReglement, $codeLienBeneficiaire, $observations, - $codeBanqueBeneficiaire, $numeroCompteBeneficiaire, $codeModePaiementDemande, $prestataireConsultation, $dateConsultation, - $codeRaisonConsultation, $hospitalisation) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_r_enregistrer_dossier_classique(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idBeneficiaire, $user, $demandeur, $codeLienDemandeur, $beneficiaireReglement, - $codeLienBeneficiaire, $observations, $codeBanqueBeneficiaire, $numeroCompteBeneficiaire, $codeModePaiementDemande, - $prestataireConsultation, $dateConsultation, $codeRaisonConsultation, $hospitalisation)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idDossierClassique']; - } - } - - public function getdossierclassique($idDossierClassique) - { - $sql = 'call sp_r_get_dossier_classique(?)'; - - $resultat = $this->executerRequete($sql, array($idDossierClassique)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getdossiersclassiques($idBeneficiaire, $d1, $d2) - { - // $sql = 'call sp_r_get_factures_classiques_beneficiaire(?, ?, ?)'; - $sql = 'call sp_r_get_dossiers_classiques_beneficiaire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function enregistrermodificationsdossierclassique($idDossierClassique, $demandeur, $codeLienDemandeur, $beneficiaireReglement, - $codeLienBeneficiaire, $observations, $codeBanqueBeneficiaire, $numeroCompteBeneficiaire, $codeModePaiementDemande, - $prestataireConsultation, $dateConsultation, $codeRaisonConsultation, $hospitalisation) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_modifier_dossier_classique(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $idDossierClassique, $demandeur, $codeLienDemandeur, $beneficiaireReglement, - $codeLienBeneficiaire, $observations, $codeBanqueBeneficiaire, $numeroCompteBeneficiaire, $codeModePaiementDemande, - $prestataireConsultation, $dateConsultation, $codeRaisonConsultation, $hospitalisation, $user)); - } - - public function getfacturesdossierclassique($idDossierClassique) - { - $sql = 'call sp_r_get_factures_dossier_classique(?)'; - - $resultat = $this->executerRequete($sql, array($idDossierClassique)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerpaiementdossierclassique($idDossierClassique, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur) - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_payer_dossier_classique(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $idBeneficiaire, $idDossierClassique, $dateComptable, $montantPaye, - $codeModePaiement, $referencePaiement, $codeBanquePayeur, $user)); - } - - public function get_id_dossier_by_numerodecompte($numeroDecompte) - { - $sql = 'select fn_get_id_dossier_classique_by_numerodecompte(?) as idDossierClassique'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idDossierClassique']; - } - - public function demanderreglement($idDossierClassique) - { - $user = $_SESSION['login']; - $sql = 'call sp_r_demander_reglement_dossier_classique(?, ?)'; - $this->executerRequete($sql, array($idDossierClassique, $user)); - } - - public function consulterfacturefacture($idFacture) - { - $sql = 'call sp_r_consulter_facture_facture(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function consulterfacturefeuillemaladie($idFacture) - { - $sql = 'call sp_r_consulter_facture_feuillemaladie(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function consulterfactureprestationactes($idFacture) - { - $sql = 'call sp_r_consulter_facture_prestationactes(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function consulterfacturemedicaments($idFacture) - { - $sql = 'call sp_r_consulter_facture_medicaments(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getgedfacture($idFacture) - { - $sql = 'call sp_r_get_ged_facture(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedfacture($nomOrigine, $nouveau_fichier, $taille) - { - $idFacture = $_SESSION['idFacture_C']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_ged_facture(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idFacture, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function consulterfacturediagnostics($idFacture) - { - $sql = 'call sp_r_consulter_facture_diagnostics(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function consulterfactureverres($idFacture) - { - $codeActeOptique = $_SESSION['codeActeOptique_C']; - - if (est_anglophone()) - { - $sql = 'call sp_r_consulter_facture_verres_eng(?)'; - } - else - { - $sql = 'call sp_r_consulter_facture_verres(?)'; - } - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Familleacte.php b/radiantproduction/Modele/Familleacte.php deleted file mode 100644 index 366ed62..0000000 --- a/radiantproduction/Modele/Familleacte.php +++ /dev/null @@ -1,199 +0,0 @@ -executerRequete($sql, array($codeTypePrestation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - else - { - $sql = 'CALL sp_p_liste_famille_actes(?, ?);'; - - $liste = $this->executerRequete($sql, array($codeTarifActe, $codeTypePrestation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - } - - public function getListeComplet() - { - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $actesHarmonises = $_SESSION['actesHarmonises']; - $hospitalisation = $_SESSION['hospitalisation_C']; - - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - if (est_anglophone()) - { - $sql = 'CALL sp_p_liste_actes_examens_harmonises_eng(?);'; - } - else - { - $sql = 'CALL sp_p_liste_actes_examens_harmonises(?);'; - } - - $liste = $this->executerRequete($sql, array($hospitalisation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - else - { - if (est_anglophone()) - { - $sql = 'CALL sp_p_liste_actes_examens_eng(?, ?)'; - } - else - { - $sql = 'CALL sp_p_liste_actes_examens(?, ?)'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe, $hospitalisation)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - } - - public function getListeCode() - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_p_liste_famille_actes_code_eng(?)'; - } - else - { - $sql = 'CALL sp_p_liste_famille_actes_code(?)'; - } - - $liste = $this->executerRequete($sql, array($codeSociete)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeFamilleActeTarif($codeTarifActe) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_liste_famille_actes_tarif_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_liste_famille_actes_tarif(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeSociete, $codeTarifActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function creerfamillectes($libelle, $libelleEng, $codeGarantie, $codeTypePrestation, $codeTarifActe, $hospitalisation) - { - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_famille_actes(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $codeGarantie, $codeTypePrestation, $codeTarifActe, $hospitalisation, $user)); - } - - public function supprimer($idFamilleacte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_famille_acte(?, ?)'; - - $this->executerRequete($sql, array($idFamilleacte, $user)); - } - - public function getunefamilleacte($idFamilleacte) - { - $sql = 'call sp_afficher_une_famille_acte(?)'; - - $resultat = $this->executerRequete($sql, array($idFamilleacte)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodiffamilleactes($idFamilleacte, $libelle, $libelleEng, $codeGarantie, $codeTypePrestation, $codeTarifActe, $hospitalisation) - { - $_SESSION['codeTarifActe_C'] = $codeTarifActe; - - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_famille_acte(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idFamilleacte, $libelle, $libelleEng, $codeGarantie, $codeTypePrestation, $codeTarifActe, $hospitalisation, $user)); - } - - public function getListeFamilleActeTarifCombo($codeTarifActe) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_liste_famille_actes_tarif_combo_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_liste_famille_actes_tarif_combo(?, ?);'; - } - - $liste = $this->executerRequete($sql, array($codeSociete, $codeTarifActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeComposanteTarif() - { - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $actesHarmonises = $_SESSION['actesHarmonises']; - - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - if (est_anglophone()) - { - $sql = 'CALL sp_liste_famille_actes_harmonises_eng();'; - } - else - { - $sql = 'CALL sp_liste_famille_actes_harmonises();'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - else - { - if (est_anglophone()) - { - $sql = 'CALL sp_liste_famille_actes_eng(?)'; - } - else - { - $sql = 'CALL sp_liste_famille_actes(?)'; - } - - $liste = $this->executerRequete($sql, array($codeTarifActe)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Feuillemaladie.php b/radiantproduction/Modele/Feuillemaladie.php deleted file mode 100644 index 273dc9f..0000000 --- a/radiantproduction/Modele/Feuillemaladie.php +++ /dev/null @@ -1,256 +0,0 @@ -executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $dateSurvenance,$numeroBon, - $observations, $prixActe, $montantTm, $aRembourser, $user, $codeMedecin, $codeActe, $codeRaisonConsultation, $tm, - $idAdherent, $numeroAdherent, $numeroBeneficiaire, $numeroDerogation, $numeroDerogationFinger)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['numeroFeuilleMaladie_C'] = $ligne['numeroFeuilleMaladie']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $_SESSION['numeroPrescription_C'] = $ligne['numeroPrescription']; - - return $numeroFeuilleMaladie; - } - } - - - public function getfeuillemaladie($numeroFeuilleMaladie) - { - $sql = 'call sp_p_get_feuille_maladie(?)'; - - $feuillemaladie = $this->executerRequete($sql, array($numeroFeuilleMaladie)); - - $ligne = $feuillemaladie->fetch(PDO::FETCH_ASSOC); - - $_SESSION['numeroFeuilleMaladie_C'] = $ligne['numeroFeuilleMaladie']; - $_SESSION['idFacture_C'] = $ligne['idFacture']; - - $_SESSION['numeroBonConsultation_C'] = $ligne['numeroBonConsultation']; - $_SESSION['numeroBonHospitalisation_C'] = $ligne['numeroBonHospitalisation']; - - $_SESSION['numeroBonOrdonnance_C'] = $ligne['numeroBonOrdonnance']; - $_SESSION['numeroBonOptique_C'] = $ligne['numeroBonOptique']; - $_SESSION['numeroBonExamen_C'] = $ligne['numeroBonExamen']; - $_SESSION['numeroBonKine_C'] = $ligne['numeroBonKine']; - - $_SESSION['numeroPrescription_C'] = $ligne['numeroPrescription']; - $_SESSION['numeroOptique_C'] = $ligne['numeroOptique']; - $_SESSION['numeroExamen_C'] = $ligne['numeroExamen']; - $_SESSION['numeroPrescriptionKine_C'] = $ligne['numeroPrescriptionKine']; - - $_SESSION['codePrestataire_C'] = $ligne['codePrestataire']; - $_SESSION['prestataire_C'] = $ligne['prestataire']; - - $_SESSION['hospitalisation_C'] = $ligne['hospitalisation']; - $_SESSION['chirurgie_C'] = $ligne['chirurgie']; - - return $ligne; - } - - public function getinfosfeuillemaladie($numeroFeuilleMaladie) - { - $sql = 'call sp_p_get_infos_feuille_maladie(?)'; - - $feuillemaladie = $this->executerRequete($sql, array($numeroFeuilleMaladie)); - - return $feuillemaladie->fetch(PDO::FETCH_ASSOC); - - } - - public function getfeuillesmaladieprestataire($codePrestataire, $idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_p_get_feuilles_maladie(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getfeuillesmaladie($idBeneficiaire, $d1, $d2) - { - $sql = 'call sp_r_get_feuilles_maladie(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdossiers($codePrestataire, $d1, $d2) - { - $codePrestataire = contruireParamLike($codePrestataire); - - $sql = 'call sp_r_get_dossiers(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getContexteAjaxFeuilleMaladie($numeroFeuilleMaladie) - { - $_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie; - } - - public function facturer() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - $user = $_SESSION['login']; - - $user_id = $_SESSION['user_id_C']; - - $sql = 'call sp_p_facturer_feuille_maladie(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire, $user, $user_id)); - } - - public function enregistrerhospitalisation($numeroBon) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_enregistrer_hospitalisation(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $numeroFeuilleMaladie, $numeroBon, $user)); - } - - public function requetesfeuillesmaladie($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_feuilles_maladie(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfeuillesmaladieexport($codePrestataire, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_requetes_feuilles_maladie_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getnotesfeuillemaladie($numeroFeuilleMaladie) - { - $sql = 'call sp_p_get_notes_feuille(?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function creernote($numeroFeuilleMaladie, $notesNew) - { - $user = $_SESSION['login']; - $source = "A"; - - $sql = 'call sp_p_creer_note_feuille_maladie(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($numeroFeuilleMaladie, $notesNew, $user, $source)); - } - - public function getfeuillemaladieimpression($numeroFeuilleMaladie) - { - $sql = 'call sp_p_imprimer_feuille_maladie(?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - - } - - public function getDiagnostics($numeroFeuilleMaladie) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_p_get_diagnostics_feuille(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $numeroFeuilleMaladie) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getreposmedicalfeuillemaladie($numeroFeuilleMaladie) - { - $sql = 'call sp_p_get_repos_medical_feuille(?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function creerreposmedical($numeroFeuilleMaladie, $notesNew, $nbJour) - { - $user = $_SESSION['login']; - - $sql = 'call sp_p_creer_reposmedical_feuille_maladie(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($numeroFeuilleMaladie, $notesNew, $user, $nbJour)); - } - - public function getnotesBeneficiaire($idBeneficiaire) - { - $sql = 'call sp_p_get_notes_beneficiaire(?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getDiagnosticsBeneficiaire($idBeneficiaire) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_p_get_diagnostics_beneficiaire(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idBeneficiaire) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getfacturesfeuille($numeroFeuilleMaladie) - { - $sql = 'call sp_r_get_factures_feuille(?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getfacturesfeuilleconsultation($numeroBonConsultation) - { - $sql = 'call sp_r_get_factures_consultation(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBonConsultation)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Fractionnement.php b/radiantproduction/Modele/Fractionnement.php deleted file mode 100644 index 41cb26e..0000000 --- a/radiantproduction/Modele/Fractionnement.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Fraisfuneraire.php b/radiantproduction/Modele/Fraisfuneraire.php deleted file mode 100644 index 46e512f..0000000 --- a/radiantproduction/Modele/Fraisfuneraire.php +++ /dev/null @@ -1,91 +0,0 @@ -executerRequete($sql, array($idAdherent)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['montant_fraisfuneraire']; - } - - public function enregistrerdemandefraisfuneraire($fraisReel, $montantApayer, $demandeur, $codeLienDemandeur, - $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces, $codeBanqueBeneficiaire, - $numeroCompteBeneficiaire, $codeModePaiementDemande) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_r_demander_fraisfuneraire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idBeneficiaire, $fraisReel, $montantApayer, $user, $demandeur, - $codeLienDemandeur, $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces, $codeBanqueBeneficiaire, - $numeroCompteBeneficiaire, $codeModePaiementDemande)); - - $_SESSION['fraisFuneraireDemande_C'] = "1"; - } - - public function enregistrermodificationsfraisfuneraire($idFraisfuneraire, $montantApayer, $demandeur, $codeLienDemandeur, - $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces, $codeBanqueBeneficiaire, - $numeroCompteBeneficiaire, $codeModePaiementDemande) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_modifier_fraisfuneraire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $idFraisfuneraire, $montantApayer, $user, $demandeur, - $codeLienDemandeur, $beneficiaireReglement, $codeLienBeneficiaire, $observations, $dateDeces, $causeDeces, $codeBanqueBeneficiaire, - $numeroCompteBeneficiaire, $codeModePaiementDemande)); - } - - - public function enregistrerpaiementfraisfuneraire($idFraisfuneraire, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur) - { - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_payer_fraisfuneraire(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $idBeneficiaire, $idFraisfuneraire, $dateComptable, $montantPaye, - $codeModePaiement, $referencePaiement, $codeBanquePayeur, $user)); - - $_SESSION['fraisFunerairePaye_C'] = "1"; - - } - - public function getfraisfuneraire($idBeneficiaire) - { - $sql = 'call sp_r_get_fraisfuneraire(?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getfraisfuneraires($d1, $d2) - { - $sql = 'call sp_p_get_derogations_beneficiaire(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function demanderreglement($idFraisfuneraire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_demander_reglement_fraisfuneraire(?, ?)'; - - $this->executerRequete($sql, array($idFraisfuneraire, $user)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Garantie.php b/radiantproduction/Modele/Garantie.php deleted file mode 100644 index 32f6bf0..0000000 --- a/radiantproduction/Modele/Garantie.php +++ /dev/null @@ -1,38 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListePourActe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeGarantie AS `code`, libelleEng as libelle FROM garantie where garantieAssureur!="1" ORDER BY libelle'; - } - else - { - $sql = 'SELECT codeGarantie AS `code`, libelle FROM garantie where garantieAssureur!="1" ORDER BY libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Garantieadherent.php b/radiantproduction/Modele/Garantieadherent.php deleted file mode 100644 index c7716ed..0000000 --- a/radiantproduction/Modele/Garantieadherent.php +++ /dev/null @@ -1,170 +0,0 @@ -executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - // return $resultat->fetchAll(); - } - - public function getGarantieBeneficiaire($idBeneficiaire) - { - if (est_anglophone()) - { - $sql = 'call sp_afficher_garantiebeneficiaire_eng(?);'; - } - else - { - $sql = 'call sp_afficher_garantiebeneficiaire(?);'; - } - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTotalGarantieAdherent($idAdherent) - { - $sql = 'select - ifnull(sum(plafondAnnuel),"0") as plafondAnnuel, - ifnull(sum(plafond),"0") as plafond, - ifnull(sum(consommation),"0") as consommation, - ifnull(sum(ifnull(plafond-consommation,"0")),"0") as solde - from garantieadherent A Where (A.idAdherent=?)'; - - $garanties = $this->executerRequete($sql, array($idAdherent)); - return $garanties->fetch(PDO::FETCH_ASSOC); - } - - public function getPlafondAvantFacture() - { - $idFacture = $_SESSION['idFacture_C']; - - $sql = 'call sp_p_get_plafond_avant_facture_id(?);'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getPlafondAvantFactureId($idFacture) - { - $sql = 'call sp_p_get_plafond_avant_facture_id(?);'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantieAdherentExo($idAdherent, $exo) - { - if (est_anglophone()) - { - $sql = 'call sp_afficher_garantieadherent_exo_eng(?, ?);'; - } - else - { - $sql = 'call sp_afficher_garantieadherent_exo(?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($idAdherent, $exo)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantieAdherentEnteteContrat($idAdherent, $idEntetecontrat) - { - if (est_anglophone()) - { - $sql = 'call sp_afficher_garantieadherent_entete_contrat_eng(?, ?);'; - } - else - { - $sql = 'call sp_afficher_garantieadherent_entete_contrat(?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($idAdherent, $idEntetecontrat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantieBeneficiaireEnteteContrat($idBeneficiaire, $idEntetecontrat) - { - if (est_anglophone()) - { - $sql = 'call sp_afficher_garantiebeneficiaire_entete_contrat_eng(?, ?);'; - } - else - { - $sql = 'call sp_afficher_garantiebeneficiaire_entete_contrat(?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $idEntetecontrat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getentetecontrat($idEntetecontrat) - { - $sql = 'SELECT * FROM entetecontrat WHERE id=? limit 1;'; - - $resultat = $this->executerRequete($sql, array($idEntetecontrat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontrat($idAdherent) - { - $sql = 'call sp_get_entete_contrat_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontratadherent($idAdherent) - { - $sql = 'call sp_get_entete_contrat_adherent(?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlisteentetecontratbeneficiaire($idBeneficiaire) - { - $sql = 'call sp_get_entete_contrat_beneficiaire(?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getLimitesBeneficiaire($idBeneficiaire) - { - $sql = 'call sp_p_afficher_limites_beneficiaire(?);'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getLimitesAdherent($idAdherent) - { - $sql = 'call sp_p_afficher_limites_adherent(?);'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} diff --git a/radiantproduction/Modele/Garantiecollege.php b/radiantproduction/Modele/Garantiecollege.php deleted file mode 100644 index f76cd0b..0000000 --- a/radiantproduction/Modele/Garantiecollege.php +++ /dev/null @@ -1,60 +0,0 @@ -executerRequete($sql, array($idCollege)); - return $garanties; - } - - - public function getGarOptCollege($idCollege) - { - $sql = 'select A.*, IFNULL(B.idCollege,"0") as idCollege - from garantie A - left join garantiecollege B on (B.idCollege=?) and (B.codeSociete=A.codeSociete) and (B.codeGarantie=A.codeGarantie) - Where (A.optionnelle="1") order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollege)); - return $garanties; - } - - - public function getGarOptCollegeAcq($idCollege) - { - $sql = 'select B.*, B.id as idGarantie - from garantie A - join garantiecollege B on (B.codeSociete=A.codeSociete) and (B.codeGarantie=A.codeGarantie) - Where (B.idCollege=?) and (A.optionnelle="1") order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollege)); - return $garanties; - } - - public function ajouter($idCollege, $codeGarantie) - { - $sql = 'insert into garantiecollege (codeSociete, idCollege, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, ordre, plafondLettre, champApplication) - - select A.codeSociete, B.id as idCollege, B.numeroPolice, A.codeGarantie, A.libelle, A.libelleEng, A.optionnelle, - A.additionnelle, A.tauxPlafond, - A.forfaitPlafond, A.ordre, A.plafondLettre, A.champApplication - from garantie A - join police B on (B.codeSociete=A.codeSociete) - where (B.id=?) and (A.codeGarantie=?)'; - - $this->executerRequete($sql, array($idCollege, $codeGarantie)); - } - - public function supprimer($id) - { - $sql = 'DELETE FROM garantiecollege WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } -} diff --git a/radiantproduction/Modele/Garantiecollege_d.php b/radiantproduction/Modele/Garantiecollege_d.php deleted file mode 100644 index 0d42147..0000000 --- a/radiantproduction/Modele/Garantiecollege_d.php +++ /dev/null @@ -1,60 +0,0 @@ -executerRequete($sql, array($idCollege)); - return $garanties; - } - - - public function getGarOptCollege($idCollege) - { - $sql = 'select A.*, IFNULL(B.idCollege,"0") as idCollege - from garantie A - left join garantiecollege B on (B.idCollege=?) and (B.codeSociete=A.codeSociete) and (B.codeGarantie=A.codeGarantie) - Where (A.optionnelle="1") order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollege)); - return $garanties; - } - - - public function getGarOptCollegeAcq($idCollege) - { - $sql = 'select B.*, B.id as idGarantie - from garantie A - join garantiecollege B on (B.codeSociete=A.codeSociete) and (B.codeGarantie=A.codeGarantie) - Where (B.idCollege=?) and (A.optionnelle="1") order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollege)); - return $garanties; - } - - public function ajouter($idCollege, $codeGarantie) - { - $sql = 'insert into garantiecollege (codeSociete, idCollege, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, ordre, plafondLettre, champApplication) - - select A.codeSociete, B.id as idCollege, B.numeroPolice, A.codeGarantie, A.libelle, A.libelleEng, A.optionnelle, - A.additionnelle, A.tauxPlafond, - A.forfaitPlafond, A.ordre, A.plafondLettre, A.champApplication - from garantie A - join police B on (B.codeSociete=A.codeSociete) - where (B.id=?) and (A.codeGarantie=?)'; - - $this->executerRequete($sql, array($idCollege, $codeGarantie)); - } - - public function supprimer($id) - { - $sql = 'DELETE FROM garantiecollege WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } -} diff --git a/radiantproduction/Modele/Garantiepolice.php b/radiantproduction/Modele/Garantiepolice.php deleted file mode 100644 index fc20d34..0000000 --- a/radiantproduction/Modele/Garantiepolice.php +++ /dev/null @@ -1,59 +0,0 @@ -executerRequete($sql, array($idPolice)); - return $garanties; - } - - - public function getGarOptPolice($idPolice) - { - $sql = 'select A.*, IFNULL(B.idPolice,"0") as idPolice - from garantie A - left join garantiepolice B on (B.idPolice=?) and (B.codeSociete=A.codeSociete) and (B.codeGarantie=A.codeGarantie) - Where (A.optionnelle="1") order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idPolice)); - return $garanties; - } - - - public function getGarOptPoliceAcq($idPolice) - { - $sql = 'select B.*, B.id as idGarantie - from garantie A - join garantiepolice B on (B.codeSociete=A.codeSociete) and (B.codeGarantie=A.codeGarantie) - Where (B.idPolice=?) and (A.optionnelle="1") order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idPolice)); - return $garanties; - } - - public function ajouter($idPolice, $codeGarantie) - { - $sql = 'insert into garantiepolice (codeSociete, idPolice, numeroPolice, codeGarantie, garantie, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, ordre, plafondLettre) - select A.codeSociete, B.id as idPolice, B.numeroPolice, A.codeGarantie, A.libelle, A.optionnelle, - A.additionnelle, A.tauxPlafond, - A.forfaitPlafond, A.ordre, A.plafondLettre - from garantie A - join police B on (B.codeSociete=A.codeSociete) - where (B.id=?) and (A.codeGarantie=?)'; - - $this->executerRequete($sql, array($idPolice, $codeGarantie)); - } - - public function supprimer($id) - { - $sql = 'DELETE FROM garantiepolice WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } -} diff --git a/radiantproduction/Modele/Ged.php b/radiantproduction/Modele/Ged.php deleted file mode 100644 index 44835a8..0000000 --- a/radiantproduction/Modele/Ged.php +++ /dev/null @@ -1,219 +0,0 @@ -executerRequete($sql, array($numeroFeuilleMaladie, $d1, $d2, $nomOrigine)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedfeuillemaladie($nomOrigine, $nouveau_fichier, $taille) - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_feuillemaladie(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroFeuilleMaladie, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function enregistrergedbeneficiaireprest($nomOrigine, $nouveau_fichier, $taille) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_beneficiaire_prest(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getgedbeneficiaireprest($d1, $d2, $nomOrigine) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_r_get_ged_beneficiaire_prest(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2, $nomOrigine)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedbeneficiaireprod($nomOrigine, $nouveau_fichier, $taille) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_beneficiaire_prod(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getgedbeneficiaireprod($d1, $d2, $nomOrigine) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_r_get_ged_beneficiaire_prod(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2, $nomOrigine)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getgedadherent($d1, $d2, $nomOrigine) - { - $idAdherent = $_SESSION['idAdherent_C']; - - $sql = 'call sp_r_get_ged_adherent(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $d1, $d2, $nomOrigine)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedadherent($nomOrigine, $nouveau_fichier, $taille) - { - $idAdherent = $_SESSION['idAdherent_C']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_adherent(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idAdherent, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getgedpolice($d1, $d2, $nomOrigine) - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_r_get_ged_police(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $d1, $d2, $nomOrigine)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedpolice($nomOrigine, $nouveau_fichier, $taille) - { - $idPolice = $_SESSION['idPolice_C']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_police(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPolice, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getged($d1, $d2, $nomOrigine) - { - $sql = 'call sp_r_get_ged(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($d1, $d2, $nomOrigine)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerged($nomOrigine, $nouveau_fichier, $taille) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getgedpharmacie() - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - - $sql = 'call sp_r_get_ged_pharmacie(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBonOrdonnance)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedpharmacie($nomOrigine, $nouveau_fichier, $taille) - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_pharmacie(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroBonOrdonnance, $idSaisie, $user, $nomOrigine, $cheminFichier, $taille)); - } - - public function enregistrergedprescription($nomOrigine, $nouveau_fichier, $taille) - { - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - - $sql = 'call sp_r_ajouter_ged_prescription(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroBonOrdonnance, $idSaisie, $user, $nomOrigine, $cheminFichier, $taille)); - } - - public function getgedfacture($idFacture) - { - $sql = 'call sp_r_get_ged_facture(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedfacture($nomOrigine, $nouveau_fichier, $taille) - { - $idFacture = $_SESSION['idFacture_C']; - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_ged_facture(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idFacture, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getgedfichepolice($idPolice) - { - $sql = 'call sp_r_get_ged_fiche_police(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrergedfichepolice($idPolice, $nomOrigine, $nouveau_fichier, $taille) - { - $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_ged_fiche_police(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPolice, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function supprimerged($idGed, $motifSuppression) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_ged(?, ?, ?);'; - - $this->executerRequete($sql, array($idGed, $motifSuppression, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Generartionbon.php b/radiantproduction/Modele/Generartionbon.php deleted file mode 100644 index 428bb96..0000000 --- a/radiantproduction/Modele/Generartionbon.php +++ /dev/null @@ -1,29 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $codePrestataire, $codeTypeBon, $d1, $d2)); - - return $bonpecs->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailgenerationbon($idgenerationbon) - { - $sql = 'call sp_detailgenerationbon(?)'; - $bonpecs = $this->executerRequete($sql, array($idgenerationbon)); - - return $bonpecs->fetchAll(PDO::FETCH_ASSOC); - } - - public function unegenerationbon($idgenerationbon) - { - $sql = 'call sp_afficher_genererationbon(?)'; - $generationbon = $this->executerRequete($sql, array($idgenerationbon)); - - return $generationbon->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Gestionconfiee.php b/radiantproduction/Modele/Gestionconfiee.php deleted file mode 100644 index f40a74e..0000000 --- a/radiantproduction/Modele/Gestionconfiee.php +++ /dev/null @@ -1,1130 +0,0 @@ -executerRequete($sql, array($codeGcAssureur)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['codeGcAssureur_C'] = $context['codeGcAssureur']; - $_SESSION['GcAssureur_C'] = $context['libelle']; - return $context; - } - - public function getGcAssureurId($idGc) - { - $sql = "SELECT A.*, B.libelle AS gestioncarte FROM gc_assureur A - LEFT JOIN gc_gestioncarte B ON (B.codeGestionCarte=A.codeGestionCarte) WHERE A.id=?;"; - - // $sql = "SELECT * FROM gc_assureur WHERE id=?"; - $resultat = $this->executerRequete($sql, array($idGc)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['codeGcAssureur_C'] = $context['codeGcAssureur']; - $_SESSION['GcAssureur_C'] = $context['libelle']; - return $context; - } - - public function getListe() - { - $sql = 'SELECT codeGcAssureur as `code`, libelle FROM gc_assureur order by libelle'; - $resultat = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGcAssureurs() - { - $sql = "SELECT A.*, B.libelle AS gestioncarte FROM gc_assureur A - LEFT JOIN gc_gestioncarte B ON (B.codeGestionCarte=A.codeGestionCarte) ORDER BY A.libelle;"; - $resultat = $this->executerRequete($sql); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGcPolices() - { - $sql = "select * from vw_gc_police_potentiel order by souscripteur, idPolice;"; - $resultat = $this->executerRequete($sql); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouter($codeGcAssureur, $libelle, $email, $gcTauxFraisReel, $gcTauxRedressement, $gcTauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $fraisGestion, $codeGestionCarte) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_gcassureur(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $codeGcAssureur, $libelle, $email, $gcTauxFraisReel, $gcTauxRedressement, $gcTauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $user, $fraisGestion, $codeGestionCarte)); - } - - public function enregistrermodif($idGc, $codeGcAssureur, $libelle, $email, $gcTauxFraisReel, $gcTauxRedressement, $gcTauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $fraisGestion, $codeGestionCarte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_gcassureur(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idGc, $codeGcAssureur, $libelle, $email, $gcTauxFraisReel, $gcTauxRedressement, $gcTauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $user, $fraisGestion, $codeGestionCarte)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM gc_assureur WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeGcAssureur) { - $sql = 'select id FROM gc_assureur WHERE(codeGcAssureur=?)'; - $resultat = $this->executerRequete($sql, array($codeGcAssureur)); - return ($resultat->rowCount() > 0); - } - - public function getEmailGcAssureur($codeGcAssureur) - { - $sql = 'SELECT ifnull(email, "kanelazeni@gmail.com") as email, - libelle FROM gc_assureur WHERE (codeGcAssureur=?)'; - - $resultat = $this->executerRequete($sql, array( $codeGcAssureur)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getGcAssureurslike($codeGcAssureur, $nomsearch) - { - $nomsearch = contruireParamLike($nomsearch); - $codeGcAssureur = contruireParamLike($codeGcAssureur); - - $sql = 'call sp_r_gc_assureurs_like(?, ?)'; - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $nomsearch)); - $resultat = $this->executerRequete($sql); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getGcAssureursvide() - { - $sql = 'CALL sp_r_gc_assureurs_vide();'; - $prestataires = $this->executerRequete($sql); - - return $prestataires; - } - - public function listemailGcAssureur() - { - $sql = "SELECT codeGcAssureur, libelle, email FROM gc_assureur WHERE (email>' ') ORDER BY codeGcAssureur;"; - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function sp_getGcPoliceId($idPolice) - { - $sql = 'call sp_getGcPoliceId(?)'; - - $resultat = $this->executerRequete($sql, array( $idPolice)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getInfoGcAssureur($codeGcAssureur) - { - $sql = 'call sp_get_infos_gc_assureur(?)'; - - $resultat = $this->executerRequete($sql, array( $codeGcAssureur)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - - - public function creerpolicegc($idPolice, $codeGcAssureur, $tauxFraisReel, $tauxRedressement, $tauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp) - { - $user = $_SESSION['login']; - - $sql = 'call sp_creer_gc_police(?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $codeGcAssureur, $tauxFraisReel, $tauxRedressement, $tauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $user)); - } - - public function modifierpolicegc($idPolice, $tauxFraisReel, $tauxRedressement, $tauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_gc_police(?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idPolice, $tauxFraisReel, $tauxRedressement, $tauxTva, - $fraisCarteAfn, $fraisCarteRen, $fraisCarteImp, $user)); - } - - public function requetesfacturegc($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_gc(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturegcexport($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_gc_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdecomptesgc($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_get_decompte_gc(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gcinittempreglement() - { - $codeGcAssureur = $_SESSION['codeGcAssureur']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_gc_init_temp_reglement(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $idSaisie, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $idGcTempReglement = $ligne['idGcTempReglement']; - return $idGcTempReglement; - } - - - public function confirminitreglement($observations) - { - $codeSociete = $_SESSION['codeSociete']; - $idGcTempReglement = $_SESSION['idGcTempReglement']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_gc_init_reglement(?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idGcTempReglement, $user, $observations)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idGcReglement'] = $context['idGcReglement']; - } - - public function getGcNewFactureId() - { - $idGcTempReglement = $_SESSION['idGcTempReglement']; - - $sql = "select * from vw_r_temp_reglement_gc where (idGcTempReglement=?);"; - - $resultat = $this->executerRequete($sql, array($idGcTempReglement)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getGcContextById($idGcReglement) - { - $sql = "SELECT gcNumeroDecompte FROM gc_reglement WHERE id=?"; - $resultat = $this->executerRequete($sql, array($idGcReglement)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idGcReglement'] = $idGcReglement; - $_SESSION['gcNumeroDecompte'] = $context['gcNumeroDecompte']; - } - - public function getGcContextByNo($gcNumeroDecompte) - { - $sql = "SELECT id AS idGcReglement FROM gc_reglement WHERE (codeSociete=?) AND (gcNumeroDecompte=?);"; - $resultat = $this->executerRequete($sql, array($gcNumeroDecompte)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['gcNumeroDecompte'] = $context['gcNumeroDecompte']; - $_SESSION['idGcReglement'] = $context['idGcReglement']; - } - - public function recapgcreglement() - { - $idGcReglement = $_SESSION['idGcReglement']; - $sql = 'call sp_r_recap_gc_reglement(?)'; - $this->executerRequete($sql, array($idGcReglement)); - } - - public function getgcreglement($idGcReglement) - { - $sql = 'call sp_r_get_gc_reglement(?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function get_factures_gc_non_sel($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $idGcReglement = $_SESSION['idGcReglement']; - $gcNumeroDecompte = $_SESSION['gcNumeroDecompte']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_get_factures_gc_non_sel(?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $gcNumeroDecompte, $idGcReglement, $dateFacture1, $dateFacture2, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_factures_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_factures_gc_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeCompsanteReglement() - { - if (est_anglophone()) - { - $sql = 'SELECT codeComposante as `code`, libelleEng as libelle - FROM gc_composante_reglement order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeComposante as `code`, libelle - FROM gc_composante_reglement order by ordre, libelle'; - } - - /* - $sql = 'SELECT codeComposante as `code`, libelle - FROM gc_composante_reglement order by ordre, libelle'; - */ - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeCompsanteReglementCons() - { - if (est_anglophone()) - { - $sql = 'SELECT codeComposante as `code`, libelleEng as libelle - FROM gc_composante_reglement - where (valide="1") order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeComposante as `code`, libelle - FROM gc_composante_reglement - where (valide="1") order by ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function valider_factures_gc_non_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_selection_factures_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - } - - public function selectionner_facture_gc($idFactureTemp) - { - $sql = 'call sp_r_selectionner_facture_gc(?)'; - $this->executerRequete($sql, array($idFactureTemp)); - } - - public function de_selectionner_facture_gc($idFactureTemp) - { - $sql = 'call sp_r_de_selectionner_facture_gc(?)'; - $this->executerRequete($sql, array($idFactureTemp)); - } - - public function re_afficher_factures_gc_non_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_factures_gc_non_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function re_afficher_factures_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_factures_gc_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function valider_factures_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_de_selection_factures_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - } - - public function selectionner_facture_gc_sel($idFactureTemp) - { - $sql = 'call sp_r_selectionner_facture_gc_sel(?)'; - $this->executerRequete($sql, array($idFactureTemp)); - } - - public function de_selectionner_facture_gc_sel($idFactureTemp) - { - $sql = 'call sp_r_de_selectionner_facture_gc_sel(?)'; - $this->executerRequete($sql, array($idFactureTemp)); - } - - public function requetescartegc($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_cartes_gc(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetescartegcexport($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_cartes_gc_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_cartes_gc_non_sel($codeGcAssureur) - { - $idGcReglement = $_SESSION['idGcReglement']; - $gcNumeroDecompte = $_SESSION['gcNumeroDecompte']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_get_cartes_gc_non_sel(?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $gcNumeroDecompte, $idGcReglement, $dateFacture1, $dateFacture2, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function re_afficher_cartes_gc_non_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_cartes_gc_non_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function de_selectionner_carte_gc($idCarteTemp) - { - $sql = 'call sp_r_de_selectionner_carte_gc(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function selectionner_carte_gc($idCarteTemp) - { - $sql = 'call sp_r_selectionner_carte_gc(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function valider_cartes_gc_non_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_selection_cartes_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - } - - public function get_cartes_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_cartes_gc_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function de_selectionner_carte_gc_sel($idCarteTemp) - { - $sql = 'call sp_r_de_selectionner_carte_gc_sel(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function selectionner_carte_gc_sel($idCarteTemp) - { - $sql = 'call sp_r_selectionner_carte_gc_sel(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function re_afficher_cartes_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_cartees_gc_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function valider_cartes_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_de_selection_cartes_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - } - - - public function selectionner_carte_gc_sel_tout($choix) - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_carte_gc_sel_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user, $choix)); - } - - public function selectionner_carte_gc_tout($choix) - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_carte_gc_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user, $choix)); - } - - // facture - public function selectionner_facture_gc_sel_tout($choix) - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_facture_gc_sel_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user, $choix)); - } - - public function selectionner_facture_gc_tout($choix) - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_facture_gc_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user, $choix)); - } - - public function enregistrermodificationgcreglement($observations) - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_gc_modif_reglement(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $user, $observations)); - } - - public function validerdecomptepremier() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_reglement_gc_premier(?, ?)'; - $this->executerRequete($sql, array($idGcReglement, $user)); - } - - public function validerdecompte() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_reglement_gc(?, ?)'; - $this->executerRequete($sql, array($idGcReglement, $user)); - } - - public function get_factures_gc_cons() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_factures_gc_cons(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_cartes_gc_cons() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_cartes_gc_cons(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrerencaissementgc($codeModePaiement, $referencePaiement, $nomTireur, $banquePayeur, $dateComptable) - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_encaisser_gc(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $codeModePaiement, $referencePaiement, $nomTireur, $banquePayeur, $dateComptable, $user)); - } - - - public function getbeneficiairecartegc($numeroBeneficiaire) - { - $sql = 'call sp_r_get_beneficiaire_carte_gc(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getcartesbeneficiairegc($numeroBeneficiaire) - { - $sql = 'call sp_r_get_cartes_beneficiaire_gc(?)'; - - $resultat = $this->executerRequete($sql, array($numeroBeneficiaire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function creercartegc($idBeneficiaire, $dateCarte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_creer_carte_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $dateCarte, $user)); - } - - public function supprimercarte($idGcCarte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_supprimer_carte_gc(?, ?)'; - - $this->executerRequete($sql, array($idGcCarte, $user)); - } - - - public function modifiercarte($idGcCarte, $dateCarte, $montantCarte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_modifier_carte_gc(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcCarte, $dateCarte, $montantCarte, $user)); - } - - public function get_factures_gc_xls() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_factures_gc_sel_xls(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_cartes_gc_sel_xls() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_cartes_gc_sel_xls(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturegccumul($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_gc_cumul(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfacturegccumulexport($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_gc_cumul_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // 29/03/2019 => factures GC vérifiées - - public function requetesfactureverifgc($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_verif_gc(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesfactureverifgcexport($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_verif_gc_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // 25/05/2019 => frais de gestion - public function get_idEnteteGcFraisgestion($codeGcAssureur, $codeExercice, $codeMois) - { - $sql = 'select fn_get_idEnteteGcFraisgestion(?, ?, ?) as idEnteteGcFraisgestion'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $codeExercice, $codeMois)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idEnteteGcFraisgestion']; - } - - - public function initiergcfraisgestion($codeGcAssureur) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $codeExercice = $_SESSION['codeExercice_C']; - $codeMois = $_SESSION['codeMois_C']; - - $sql = 'call sp_r_init_gc_frais_gestion(?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $codeGcAssureur, $user, $codeExercice, $codeMois)); - } - - public function getinfosdecompte($idEnteteGcFraisgestion) - { - $sql = 'call sp_r_get_infos_gc_fraisgestion(?)'; - - $resultat = $this->executerRequete($sql, array($idEnteteGcFraisgestion)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function recapfraisgestion($idEnteteGcFraisgestion) - { - $sql = 'call sp_r_recap_fraisgestion(?)'; - - $this->executerRequete($sql, array($idEnteteGcFraisgestion)); - } - - public function getentetefraisgestion($idEnteteGcFraisgestion) - { - $sql = 'call sp_r_get_gc_entetefraisgestion(?)'; - - $resultat = $this->executerRequete($sql, array($idEnteteGcFraisgestion)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getdetailfraisgestioncumul($idEnteteGcFraisgestion) - { - $sql = 'call sp_r_get_detail_fraisgestion_cumul(?)'; - - $resultat = $this->executerRequete($sql, array($idEnteteGcFraisgestion)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetailfraisgestion($idEnteteGcFraisgestion) - { - $sql = 'call sp_r_get_detail_fraisgestion(?)'; - - $resultat = $this->executerRequete($sql, array($idEnteteGcFraisgestion)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function rechargergcfraisgestion($idEnteteGcFraisgestion, $codeGcAssureur, $codeExercice, $codeMois) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_recharger_fraisgestion(?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idEnteteGcFraisgestion, $codeGcAssureur, $codeExercice, $codeMois, $user)); - } - - public function listeentetegcfraisgestion($codeGcAssureur, $codeExercice) - { - $sql = 'call sp_r_lister_entete_gc_fraisgestion(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $codeExercice)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_frais_gestion_gc_non_sel($codeGcAssureur) - { - $idGcReglement = $_SESSION['idGcReglement']; - $gcNumeroDecompte = $_SESSION['gcNumeroDecompte']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - // $sql = 'call sp_r_get_cartes_gc_non_sel(?, ?, ?, ?, ?, ?, ?)'; - $sql = 'call sp_r_get_frais_gestion_gc_non_sel(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $gcNumeroDecompte, $idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function selectionner_frais_gestion_gc_tout($choix) - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_frais_gestion_gc_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user, $choix)); - } - - public function re_afficher_frais_gestion_gc_non_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_frais_gestion_gc_non_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function de_selectionner_frais_gestion_gc($idCarteTemp) - { - $sql = 'call sp_r_de_selectionner_frais_gestion_gc(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function selectionner_frais_gestion_gc($idCarteTemp) - { - $sql = 'call sp_r_selectionner_frais_gestion_gc(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function valider_frais_gestion_gc_non_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_selection_frais_gestion_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - } - - public function get_frais_gestion_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_frais_gestion_gc_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function re_afficher_frais_gestion_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_frais_gestion_gc_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function selectionner_frais_gestion_gc_sel_tout($choix) - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_frais_gestion_gc_sel_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user, $choix)); - } - - public function de_selectionner_frais_gestion_gc_sel($idCarteTemp) - { - $sql = 'call sp_r_de_selectionner_frais_gestion_gc_sel(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function selectionner_frais_gestion_gc_sel($idCarteTemp) - { - $sql = 'call sp_r_selectionner_frais_gestion_gc_sel(?)'; - $this->executerRequete($sql, array($idCarteTemp)); - } - - public function valider_frais_gestion_gc_sel() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_de_selection_frais_gestion_gc(?, ?, ?)'; - - $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - } - - public function get_frais_gestion_gc_sel_xls() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_frais_gestion_gc_sel_xls(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_frais_gestion_gc_souscripteur() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $sql = 'call sp_r_get_frais_gestion_gc_souscripteur(?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_frais_gestion_gc_souscripteur_xls() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $sql = 'call sp_r_get_frais_gestion_gc_souscripteur_xls(?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_frais_gestion_gc_detail() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $sql = 'call sp_r_get_frais_gestion_gc_detail(?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_frais_gestion_gc_detail_xls() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $sql = 'call sp_r_get_frais_gestion_gc_detail_xls(?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_synthese_gc() - { - $idGcReglement = $_SESSION['idGcReglement']; - - $sql = 'call sp_r_get_frais_gestion_gc_synthese(?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getusersgc($codeGcAssureur) - { - $sql = 'call sp_get_users_gc(?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function reinitpaswd($codeUtilisateur) - { - $sql = 'call sp_r_reinit_utilisateur_gc(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function desactiver($codeUtilisateur) - { - $sql = 'call sp_r_desactiver_utilisateur_gc(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function activer($codeUtilisateur) - { - $sql = 'call sp_r_activer_utilisateur_gc(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function gereraccesactes($codeUtilisateur, $actVisible) - { - $sql = 'call sp_r_gerer_accesactes_gc(?, ?)'; - - $this->executerRequete($sql, array($codeUtilisateur, $actVisible)); - } - - public function getunusergc($idUtilisateur) - { - $sql = 'call sp_un_user_gc(?)'; - - $resultat = $this->executerRequete($sql, array($idUtilisateur)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifusergc($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_user_gc(?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible, $user)); - } - // $_SESSION['codeGcAssureur_C'] - - public function existelogin($codeUtilisateur) { - $sql = 'select id FROM gc_utilisateur WHERE (codeUtilisateur=?)'; - $resultat = $this->executerRequete($sql, array($codeUtilisateur)); - return ($resultat->rowCount() > 0); - } - - public function creerusergc($codeGcAssureur, $codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $hash = password_hash($motPass, PASSWORD_DEFAULT); - - $sql = 'call sp_creer_user_gc(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeGcAssureur, $codeUtilisateur, $nom, $prenoms, $telephone, - $email, $hash, $codeLangue, $actVisible, $user)); - } - - public function gereraccesaffection($codeUtilisateur, $AffectionVisible) - { - $sql = 'call sp_r_gerer_accesaffection_gc(?, ?)'; - - $this->executerRequete($sql, array($codeUtilisateur, $AffectionVisible)); - } - - public function requetesfacturegcexportgar($codeGcAssureur, $dateFacture1, $dateFacture2) - { - $sql = 'call sp_gc_requetes_factures_gc_export_gar(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeGcAssureur, $dateFacture1, $dateFacture2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_factures_gc_xls_gar() - { - $idGcReglement = $_SESSION['idGcReglement']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_get_factures_gc_sel_xls_gar(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idGcReglement, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeGestioncarte() - { - $sql = 'SELECT codeGestionCarte as `code`, libelle FROM gc_gestioncarte order by libelle'; - $resultat = $this->executerRequete($sql); - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Gestionnaire.php b/radiantproduction/Modele/Gestionnaire.php deleted file mode 100644 index 7c3236c..0000000 --- a/radiantproduction/Modele/Gestionnaire.php +++ /dev/null @@ -1,64 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeGestionnaire,$nom,$prenoms)); - return $gestionnaires; - } - public function getGestionnaire($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeGestionnaire, A.nom, A.prenoms, A.codeService, - A.telephone, A.email, B.libelle as libelleService - FROM gestionnaire A left join service B on (B.codeSociete=A.codeSociete AND B.codeService=A.codeService) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $gestionnaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $gestionnaire->fetch(PDO::FETCH_ASSOC); - } - public function getnombreGestionnaire() - { - $sql = 'select count(*) as nbGestionnaire FROM gestionnaire A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbGestionnaire']; - } - - public function ajouter($codeSociete, $codeGestionnaire, $nom, $prenoms, $codeService, $telephone, $email) { - $sql = 'INSERT INTO gestionnaire (codeSociete, codeGestionnaire, nom, prenoms, codeService, telephone, email) VALUES (?,?,?,?,?,?,?)'; - $this->executerRequete($sql, array($codeSociete, $codeGestionnaire, $nom, $prenoms, $codeService, $telephone, $email)); - } - - public function modifier($id, $codeGestionnaire, $nom, $prenoms, $codeService, $telephone, $email) { - $sql = 'UPDATE gestionnaire SET codeGestionnaire=?, nom=?, prenoms=?, codeService=?, telephone=?, email=? where (id=?)'; - $this->executerRequete($sql, array($codeGestionnaire, $nom, $prenoms, $codeService, $telephone, $email, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM gestionnaire WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeGestionnaire) { - $sql = 'select id FROM gestionnaire WHERE (codeSociete=?) and (codeGestionnaire=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeGestionnaire)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeGestionnaire as `code`, concat(nom, " ",prenoms) as libelle - FROM gestionnaire WHERE (codeSociete=?) order by nom, prenoms'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Groupesanguin.php b/radiantproduction/Modele/Groupesanguin.php deleted file mode 100644 index 7402135..0000000 --- a/radiantproduction/Modele/Groupesanguin.php +++ /dev/null @@ -1,12 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Langue.php b/radiantproduction/Modele/Langue.php deleted file mode 100644 index fb56bfa..0000000 --- a/radiantproduction/Modele/Langue.php +++ /dev/null @@ -1,14 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Lienbeneficiaire.php b/radiantproduction/Modele/Lienbeneficiaire.php deleted file mode 100644 index 0f0eced..0000000 --- a/radiantproduction/Modele/Lienbeneficiaire.php +++ /dev/null @@ -1,23 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Lienparente.php b/radiantproduction/Modele/Lienparente.php deleted file mode 100644 index 6e04382..0000000 --- a/radiantproduction/Modele/Lienparente.php +++ /dev/null @@ -1,85 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeConsultation() - { - if (est_anglophone()) - { - $sql = 'SELECT codeLienParente as `code`, libelleEng as libelle FROM lienparente order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeLienParente as `code`, libelle FROM lienparente order by ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeSubstitut() - { - if (est_anglophone()) - { - $sql = 'SELECT codeLienParente as `code`, libelleEng as libelle FROM liensubstitut order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeLienParente as `code`, libelle FROM liensubstitut order by ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeDependant() - { - if (est_anglophone()) - { - $sql = 'SELECT codeLienParente AS `code`, libelleEng as libelle FROM lienparente WHERE codeLienParente!="A" ORDER BY ordre, libelle'; - } - else - { - $sql = 'SELECT codeLienParente AS `code`, libelle FROM lienparente WHERE codeLienParente!="A" ORDER BY ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeAdherent() - { - if (est_anglophone()) - { - $sql = 'SELECT codeLienParente AS `code`, libelleEng as libelle FROM lienparente WHERE codeLienParente="A" ORDER BY ordre, libelle'; - } - else - { - $sql = 'SELECT codeLienParente AS `code`, libelle FROM lienparente WHERE codeLienParente="A" ORDER BY ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Localite.php b/radiantproduction/Modele/Localite.php deleted file mode 100644 index f7e57ab..0000000 --- a/radiantproduction/Modele/Localite.php +++ /dev/null @@ -1,68 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeLocalite,$libelle,$ville)); - return $localite; - } - public function getLocalite($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeLocalite, A.libelle, A.codePays, A.codeVille, - B.libelle as pays, C.libelle as libelleVille - FROM localite A left join pays B on (B.codeSociete=A.codeSociete AND B.codePays=A.codePays) - left join ville C on (C.codeSociete=A.codeSociete AND C.codeVille=A.codeVille) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $localite = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $localite->fetch(PDO::FETCH_ASSOC); - } - public function getNombreLocalite() - { - $sql = 'select count(*) as nbLocalite FROM localite A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbLocalite']; - } - - public function ajouter($codeSociete, $codeLocalite, $libelle, $codePays, $codeVille) { - $sql = 'INSERT INTO localite (codeSociete, codeLocalite, libelle, codePays, codeVille) VALUES (?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeLocalite, $libelle, $codePays, $codeVille)); - } - - public function modifier($id, $codeLocalite, $libelle, $codePays, $codeVille) { - $sql = 'UPDATE localite SET codeLocalite=?, libelle=?, codePays=?, codeVille=? where (id=?)'; - $this->executerRequete($sql, array($codeLocalite, $libelle, $codePays, $codeVille, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM localite WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeLocalite) { - $sql = 'select id FROM localite WHERE (codeSociete=?) and (codeLocalite=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeLocalite)); - return ($resultat->rowCount() > 0); - } - - public function getListe($codePays=null, $codeVille=null) { - $codePays = contruireParam($codePays); - $codeVille = contruireParam($codeVille); - $sql = 'SELECT codeLocalite as `code`, libelle FROM localite - WHERE (codeSociete=? AND codePays=? AND codeVille=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePays, $codeVille)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Logconnexion.php b/radiantproduction/Modele/Logconnexion.php deleted file mode 100644 index d57756a..0000000 --- a/radiantproduction/Modele/Logconnexion.php +++ /dev/null @@ -1,307 +0,0 @@ -executerRequete($sql, array($login, $heureConnexion, $ipConnexion, $idSaisie)); - - return $this->dernierId(); - } - - public function succesconnexion($idConnexion) - { - $sql = 'UPDATE logconnexion SET success="1" where (id=?)'; - - $this->executerRequete($sql, array($idConnexion)); - } - - public function suivisaisies($login, $idSaisie, $codeLangue) - { - $sql = 'CALL sp_p_init_suivisaisies(?, ?, ?);'; - - $this->executerRequete($sql, array($login, $idSaisie, $codeLangue)); - } - - public function bannirconnexion($login, $ipConnexion, $nbTentativeConnexion) - { - // $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_bannir_connexion(?, ?, ?);'; - - $this->executerRequete($sql, array($login, $ipConnexion, $nbTentativeConnexion)); - } - - public function ipbanni($ipConnexion) - { - $sql = 'select fn_ip_banni(?) as ipbanni;'; - - $resultat = $this->executerRequete($sql, array($ipConnexion)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['ipbanni']; - } - - public function userbanni($login) - { - $sql = 'select fn_user_banni(?) as userbanni;'; - - $resultat = $this->executerRequete($sql, array($login)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['userbanni']; - } - - public function logvisitepages() - { - $user = $_SESSION['login']; - $codeApplication = "0"; - $ipConnexion = $_SERVER['REMOTE_ADDR']; - $vue = $_SESSION['vue']; - - $sql = 'CALL sp_insert_logvisitepages(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($user, $ipConnexion, $codeApplication, $vue)); - } - - public function getlogconnexion($login, $ipConnexion, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_logconnexion(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogconnexioncumul($login, $ipConnexion, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_logconnexion_cumul(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogconnexionexport($login, $ipConnexion, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_logconnexion_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogpagesvisitcumul($login, $ipConnexion, $vue, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - $vue = contruireParamLike($vue); - - $sql = 'call sp_get_logvisitepages_cumul(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $vue, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogpagesvisitdetail($login, $ipConnexion, $vue, $codeApplication, $debut, $fin) - { - $sql = 'call sp_get_logvisitepages_detail(?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $vue, $codeApplication, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getlogpagesvisitcumulexport($login, $ipConnexion, $vue, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - $vue = contruireParamLike($vue); - - $sql = 'call sp_get_logvisitepages_cumul_export(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $vue, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getipbann($ipConnexion, $debut, $fin) - { - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_ipbann(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getipbannexport($ipConnexion, $debut, $fin) - { - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_ipbann_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethsitoriquebannissementip($ipConnexion) - { - $sql = 'call sp_get_hsitorique_bannissement_ip(?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethsitoriquereactivationip($ipConnexion) - { - $sql = 'call sp_get_hsitorique_reactivation_ip(?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function reactiverip($ipConnexion, $motif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_reactiver_ip_bann(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion, $user, $motif)); - } - - public function getloginbann($login, $debut, $fin) - { - $login = contruireParamLike($login); - - $sql = 'call sp_get_loginbann(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getloginbannexport($login, $debut, $fin) - { - $login = contruireParamLike($login); - - $sql = 'call sp_get_loginbann_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethsitoriquebannissementlogin($login) - { - $sql = 'call sp_get_hsitorique_bannissement_login(?)'; - - $resultat = $this->executerRequete($sql, array($login)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethsitoriquereactivationlogin($login) - { - $sql = 'call sp_get_hsitorique_reactivation_login(?)'; - - $resultat = $this->executerRequete($sql, array($login)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // - public function reactiverlogin($login, $motif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_reactiver_user_bann(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $user, $motif)); - } - - public function gethistobannissement($login, $ipConnexion, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_hsitorique_bannissements(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gethistobannissementexport($login, $ipConnexion, $debut, $fin) - { - $login = contruireParamLike($login); - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_hsitorique_bannissements_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getreactivationip($ipConnexion, $debut, $fin) - { - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_reactivation_ip(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getreactivationipexport($ipConnexion, $debut, $fin) - { - $ipConnexion = contruireParamLike($ipConnexion); - - $sql = 'call sp_get_reactivation_ip_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($ipConnexion, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // login - public function getreactivationlogin($login, $debut, $fin) - { - $login = contruireParamLike($login); - - $sql = 'call sp_get_reactivation_login(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getreactivationloginexport($login, $debut, $fin) - { - $login = contruireParamLike($login); - - $sql = 'call sp_get_reactivation_login_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($login, $debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Medecin.php b/radiantproduction/Modele/Medecin.php deleted file mode 100644 index ae10fe9..0000000 --- a/radiantproduction/Modele/Medecin.php +++ /dev/null @@ -1,151 +0,0 @@ -executerRequete($sql, array($codePrestataire, $nomsearch, $noOrdreMedecin)); - - return $medecins; - } - - public function getmedecinsvide() - { - $sql = 'call sp_p_medecins_vide()'; - $medecins = $this->executerRequete($sql); - return $medecins; - } - - public function getMedecins($codeMedecin=null,$nom=null,$prenoms=null) { - $codeMedecin = contruireParamLike($codeMedecin); - $nom = contruireParamLike($nom); - $prenoms = contruireParamLike($prenoms); - - $sql = 'SELECT A.*, B.libelle as specialite FROM p_medecin A left join specialite B on (B.codeSpecialite=A.codeSpecialite) - WHERE (A.codeMedecin LIKE ? AND A.nom LIKE ? AND A.prenoms LIKE ?) - order by A.nom, A.prenoms'; - - $medecins = $this->executerRequete($sql, array($codeMedecin,$nom,$prenoms)); - return $medecins; - } - - public function getMedecin($id) { - $sql = 'SELECT A.*, B.libelle as specialite FROM p_medecin A - left join specialite B on (B.codeSpecialite=A.codeSpecialite) - WHERE (A.id=?)'; - - $medecin = $this->executerRequete($sql, array($id)); - return $medecin->fetch(PDO::FETCH_ASSOC); - } - public function ajouter($codeMedecin, $nom, $prenoms, $telephone, $email, $noOrdreMedecin, $codeSpecialite) { - $sql = 'INSERT INTO p_medecin (codeMedecin, nom, prenoms, telephone, email, noOrdreMedecin, codeSpecialite) - VALUES (?, ?, ?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeMedecin, $nom, $prenoms, $telephone, $email, $noOrdreMedecin, $codeSpecialite)); - } - - public function modifier($id, $codeMedecin, $nom, $prenoms, $telephone, $email, $noOrdreMedecin, $codeSpecialite) { - $sql = 'UPDATE p_medecin SET codeMedecin=? , nom=?, prenoms=?, telephone=?, email=?, noOrdreMedecin=? , codeSpecialite=? where (id=?)'; - $this->executerRequete($sql, array($codeMedecin, $nom, $prenoms, $telephone, $email, $noOrdreMedecin, $codeSpecialite, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM p_medecin WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeMedecin) { - $sql = 'select id FROM p_medecin WHERE (codeMedecin=?)'; - $resultat = $this->executerRequete($sql, array($codeMedecin)); - return ($resultat->rowCount() > 0); - } - - public function getListe($codePrestataire) - { - $sql = 'SELECT codeUtilisateur as `code`, concat(B.nom," ",B.prenom) as libelle - FROM tacutilisateur A - JOIN metabase B on (B.nomutilisateur=A.codeUtilisateur) - WHERE (codeSociete=?) order by B.nom, B.prenom'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getmedecinparametrage($codeSpecialite, $nom, $prenoms, $noOrdreMedecin) - { - $codeSpecialite = contruireParamLike($codeSpecialite); - $nom = contruireParamLike($nom); - $prenoms = contruireParamLike($prenoms); - $noOrdreMedecin = contruireParamLike($noOrdreMedecin); - - $sql = 'call sp_liste_medecins_parametrage(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSpecialite, $nom, $prenoms, $noOrdreMedecin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function creermedecin($nom, $prenoms, $telephone, $email, $codeSpecialite, $noOrdreMedecin, $sexe) - { - $user = $_SESSION['login']; - - $sql = 'call sp_creer_medecin(?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($nom, $prenoms, $telephone, $email, $codeSpecialite, $noOrdreMedecin, $sexe, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idMedecin']; - } - - public function getunmedecin($idMedecin) - { - $sql = 'call sp_afficher_un_medecin(?)'; - - $resultat = $this->executerRequete($sql, array($idMedecin)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function existelignenoordremedecin($noOrdreMedecin) { - $sql = 'select noOrdreMedecin FROM p_medecin WHERE (noOrdreMedecin=?) and (noOrdreMedecin>" ")'; - $resultat = $this->executerRequete($sql, array($noOrdreMedecin)); - return ($resultat->rowCount() > 0); - } - - public function enregistrermodifmedecin($idMedecin, $nom, $prenoms, $telephone, $email, $codeSpecialite, $noOrdreMedecin, $sexe) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_medecin(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idMedecin, $nom, $prenoms, $telephone, $email, $codeSpecialite, $noOrdreMedecin, $sexe, $user)); - } - - public function getmedecinparametrageexport($codeSpecialite, $nom, $prenoms, $noOrdreMedecin) - { - $codeSpecialite = contruireParamLike($codeSpecialite); - $nom = contruireParamLike($nom); - $prenoms = contruireParamLike($prenoms); - $noOrdreMedecin = contruireParamLike($noOrdreMedecin); - - if (est_anglophone()) - { - $sql = 'call sp_liste_medecins_export_eng(?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_liste_medecins_export(?, ?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSpecialite, $nom, $prenoms, $noOrdreMedecin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Menu.php b/radiantproduction/Modele/Menu.php deleted file mode 100644 index 45125ba..0000000 --- a/radiantproduction/Modele/Menu.php +++ /dev/null @@ -1,24 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $menu->fetchAll(); - - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Menuutilisateur.php b/radiantproduction/Modele/Menuutilisateur.php deleted file mode 100644 index 9e3eb2e..0000000 --- a/radiantproduction/Modele/Menuutilisateur.php +++ /dev/null @@ -1,33 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $menusutilisateur; - } - - public function ajouterMenu($id_menuutilisateur,$codeProfil,$codeMenu,$choix) { - - $id_menuutilisateur = contruireParam($id_menuutilisateur); - $codeProfil = contruireParam($codeProfil); - $codeMenu = contruireParam($codeMenu); - $choix = contruireParam($choix); - - if ($choix=='0') - { - $sql = 'DELETE FROM menuutilisateur WHERE (id=?)'; - $this->executerRequete($sql, array($id_menuutilisateur)); - } else - { - $sql = 'INSERT INTO menuutilisateur (codeSociete, codeMenu, codeProfil) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeMenu, $codeProfil)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Menuvueutilisateur.php b/radiantproduction/Modele/Menuvueutilisateur.php deleted file mode 100644 index 52969d7..0000000 --- a/radiantproduction/Modele/Menuvueutilisateur.php +++ /dev/null @@ -1,98 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $_SESSION['codeProfil'], $vue)); - - $_SESSION['menu'.$vue] = $menuvue->fetchAll(); - } - // ajouté le 30/07/2019 - $_SESSION['vue'] = $vue; - } - - public function getMenuGestionnaire() - { - if (!isset($_SESSION['menuGestionnairetables'])) - { - $sql = "SELECT '0' as id, 'modifier' as codeMenu, CAST('3' as UNSIGNED) as ordre, 'Afficher' as libeleMenu, - 'Modifier' as descriptionMenu, 'javascript:afficher_Tb();' as lienMenu, 'btn' as typeLien - UNION SELECT '0' as id, 'retour' as codeMenu, CAST('1' as UNSIGNED) as ordre, 'Retour' as libeleMenu, - 'Retour' as descriptionMenu, 'Utilitaires/' as lienMenu, 'link' as typeLien"; - - $menuvue = $this->executerRequete($sql); - $_SESSION['menuGestionnairetables'] = $menuvue->fetchAll(); - } - } - - public function getMenuGestionTatbles($nomTable) - { - $sql = "SELECT A.id, A.codeMenu, CAST(B.ordre as UNSIGNED) as ordre, B.libeleMenu, B.descriptionMenu, case when B.codeMenu='tb_modifier' then B.lienMenu else concat('Tbajouter',?,'/') end as lienMenu, B.typeLien - FROM menuvueutilisateur A join menuvue B on (B.codeMenu=A.codeMenu AND B.vue=A.vue) - WHERE (A.codeSociete=?) AND (A.codeProfil=?) AND (A.vue='Tbliste') - UNION SELECT '0' as id, 'retour' as codeMenu, CAST('2' as UNSIGNED) as ordre, 'Retour' as libeleMenu, - 'Retour' as descriptionMenu, 'Gestionnairetables/' as lienMenu, 'link' as typeLien"; - - $menuvue = $this->executerRequete($sql, array($nomTable, $_SESSION['codeSociete'], $_SESSION['codeProfil'])); - - $_SESSION['menuTbliste'] = $menuvue->fetchAll(); - } - - public function getMenuTbajout($nomTable) - { - $sql = "SELECT '0' as id, 'retour' as codeMenu, CAST('2' as UNSIGNED) as ordre, 'Retour' as libeleMenu, - 'Retour' as descriptionMenu, concat('Tbliste',?,'/') as lienMenu, 'link' as typeLien"; - - $menuvue = $this->executerRequete($sql, array($nomTable)); - - $_SESSION['menuTbajout'] = $menuvue->fetchAll(); - $_SESSION['menuTbmodif'] = $_SESSION['menuTbajout']; - } - - - public function getMenusvueProfil($codeProfil, $vue) { - $codeProfil = contruireParam($codeProfil); - $vue = contruireParam($vue); - - $sql = "SELECT case when ISNULL(B.codeProfil) then '0' else '1' end as choix, - IFNULL(B.id,0) as id_menuvueutilisateur, A.codeMenu, A.libeleMenu, A.vue, CAST(A.ordre as UNSIGNED) as ordre - FROM menuvue A left join menuvueutilisateur B on - (B.vue=A.vue and B.codeMenu=A.codeMenu and B.codeSociete=? and B.codeProfil=?) - where (A.vue=?) and (?>' ') order by 1 DESC, CAST(A.ordre as UNSIGNED), libeleMenu"; - - $menusutilisateur = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeProfil, $vue, $codeProfil)); - return $menusutilisateur; - } - - public function ajouterMenu($id_menuvueutilisateur,$codeProfil,$codeMenu,$vue,$choix) { - $id_menuvueutilisateur = contruireParam($id_menuvueutilisateur); - $codeProfil = contruireParam($codeProfil); - $vue = contruireParam($vue); - $codeMenu = contruireParam($codeMenu); - $choix = contruireParam($choix); - - if ($choix=='0') - { - $sql = 'DELETE FROM menuvueutilisateur WHERE (id=?)'; - $this->executerRequete($sql, array($id_menuvueutilisateur)); - } else - { - $sql = 'INSERT INTO menuvueutilisateur (codeSociete, codeProfil, vue, codeMenu) VALUES (?, ?, ?, ?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil, $vue, $codeMenu)); - } - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Messagerie.php b/radiantproduction/Modele/Messagerie.php deleted file mode 100644 index 08f3820..0000000 --- a/radiantproduction/Modele/Messagerie.php +++ /dev/null @@ -1,399 +0,0 @@ -executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function countmessagesnonlus() - { - $sql = 'call sp_r_count_messages_non_lus()'; - - $resultat = $this->executerRequete($sql); - - $donnees = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['nbMessagesNonLus_C'] = $donnees['nbMessagesNonLus']; - - return $_SESSION['nbMessagesNonLus_C']; - } - - public function creermessage($codePrestataire, $textMessage, $idParent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_creer_messagerie(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codePrestataire, $textMessage, $user, $idParent)); - } - - public function marquercommelu($idMessagerie) - { - $user = $_SESSION['login']; - - $sql = 'call sp_p_marquer_messagerie_lu(?, ?);'; - - $this->executerRequete($sql, array($idMessagerie, $user)); - } - - public function getmessages($date1, $date2, $messageLu, $textMessage, $codePrestataire) - { - $sql = 'call sp_r_messages(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($date1, $date2, $messageLu, $textMessage, $codePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function repondremessage($idMessagerie, $idParent, $textMessage) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_repondre_messagerie(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idMessagerie, $idParent, $textMessage, $user)); - } - - public function getmessageriesimple($idMessagerie, $idParent) - { - $sql = 'call sp_p_get_messagerie_simple(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idMessagerie, $idParent)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getmessageriehistorique($idParent) - { - $sql = 'call sp_r_messages_historique(?)'; - - $resultat = $this->executerRequete($sql, array($idParent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function creermessagecommun($objet, $textMessage) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_creer_messagerie_commun(?, ?, ?);'; - - $this->executerRequete($sql, array($objet,$textMessage, $user)); - } - - public function getmessagescommun($date1, $date2) - { - $sql = 'call sp_r_messages_commun(?, ?)'; - - $resultat = $this->executerRequete($sql, array($date1, $date2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // initmessagecommun() - public function initmessagecommun() - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_init_messagerie_commun(?);'; - - $this->executerRequete($sql, array($user)); - } - - public function getprestatairesmessagerienonselectionnes($codeTypePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_prestataires_messagerie_non_selectionnes(?, ?)'; - - $resultat = $this->executerRequete($sql, array($user, $codeTypePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestatairesmessagerieselectionnes($codeTypePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_prestataires_messagerie_selectionnes(?, ?)'; - - $resultat = $this->executerRequete($sql, array($user, $codeTypePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouterprestaire($idPrestataire) - { - $sql = 'call sp_r_ajouter_prestataire_messagerie(?);'; - - $this->executerRequete($sql, array($idPrestataire)); - } - - public function retirerprestaire($idPrestataire) - { - $sql = 'call sp_r_retirer_prestataire_messagerie(?);'; - - $this->executerRequete($sql, array($idPrestataire)); - } - - public function ajouterprestairetous($codeTypePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_prestataire_messagerie_tous(?, ?);'; - - $this->executerRequete($sql, array($user, $codeTypePrestataire)); - } - - public function retirerprestairetous($codeTypePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_prestataire_messagerie_tous(?, ?);'; - - $this->executerRequete($sql, array($user, $codeTypePrestataire)); - } - - public function listemailprestatairemessagecommun() - { - $user = $_SESSION['login']; - - $sql = "call sp_r_liste_prestataires_messagerie_selectionnes(?);"; - - $resultat = $this->executerRequete($sql, array($user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getmessagescommunall($date1, $date2, $textMessage) - { - $sql = 'call sp_r_messages_commun_all(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($date1, $date2, $textMessage)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function initenvoisms($codeTypeDestinataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_init_envoi_sms(?, ?);'; - - $this->executerRequete($sql, array($user, $codeTypeDestinataire)); - } - - public function videdestainairesms() - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_vider_envoi_sms(?);'; - - $this->executerRequete($sql, array($user)); - } - - public function getdestinatairesnonselectionnes() - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_destinataires_sms_non_selectionnes(?)'; - - $resultat = $this->executerRequete($sql, array($user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdestinatairesselectionnes() - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_destinataires_sms_selectionnes(?)'; - - $resultat = $this->executerRequete($sql, array($user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouterdestinatairesmstous() - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_destinataires_sms_tous(?);'; - - $this->executerRequete($sql, array($user)); - } - - public function retirerdestinatairesmstous() - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_destinataires_sms_tous(?);'; - - $this->executerRequete($sql, array($user)); - } - - public function ajouterundestinatairesms($idDestinataire) - { - $sql = 'call sp_r_ajouter_un_destinataire_sms(?);'; - - $this->executerRequete($sql, array($idDestinataire)); - } - - public function retirerundestinatairesms($idDestinataire) - { - $sql = 'call sp_r_retirer_un_destinataire_sms(?);'; - - $this->executerRequete($sql, array($idDestinataire)); - } - - public function mettresmscommeunattente($textMessage) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_envoisms_groupe(?, ?);'; - - $this->executerRequete($sql, array($user,$textMessage)); - } - - public function mettresmscommeunattentelibre($noDestination, $textMessage) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_envoisms_libre(?, ?, ?);'; - - $this->executerRequete($sql, array($user, $noDestination, $textMessage)); - } - - public function getenvoisms($date1, $date2) - { - $sql = 'call sp_get_envois_sms(?, ?)'; - - $resultat = $this->executerRequete($sql, array($date1, $date2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getenvoismsencours($date1, $date2) - { - $sql = 'call sp_get_envois_sms_enc_cours(?, ?)'; - - $resultat = $this->executerRequete($sql, array($date1, $date2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function smsrechercheclient($nomClientAdherent) - { - $nomClientAdherent = contruireParamLike($nomClientAdherent); - - $sql = 'call sp_sms_rechercher_client(?)'; - - $resultat = $this->executerRequete($sql, array($nomClientAdherent)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function initenvoismsadherentclient($numeroClientAdherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_init_envoi_sms_adherent_client(?, ?);'; - - $this->executerRequete($sql, array($user, $numeroClientAdherent)); - } - - public function initenvoismsadherentlocalite($codePays, $codeVille ,$codeLocalite) - { - $codePays = contruireParamLike($codePays); - $codeVille = contruireParamLike($codeVille); - $codeLocalite = contruireParamLike($codeLocalite); - - $user = $_SESSION['login']; - - $sql = 'call sp_r_init_envoi_sms_adherent_localite(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($user, $codePays, $codeVille ,$codeLocalite)); - } - - public function initenvoismsadherentclientlocalite($numeroClientAdherent, $codePays, $codeVille ,$codeLocalite) - { - $codePays = contruireParamLike($codePays); - $codeVille = contruireParamLike($codeVille); - $codeLocalite = contruireParamLike($codeLocalite); - - $user = $_SESSION['login']; - - $sql = 'call sp_r_init_envoi_sms_adherent_client_localite(?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($user, $numeroClientAdherent, $codePays, $codeVille ,$codeLocalite)); - } - - public function enregistrerparamimportdestinatairesms($nomOrigine, $nouveau_fichier, $taille) - { - $idPolice = $_SESSION['idPolice_C']; - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - //$cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; - $cheminFichier = $nouveau_fichier; - - $sql = 'call sp_r_enregistrer_param_import_destinataire_sms(?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $nomOrigine, $cheminFichier, $taille, $user)); - } - - public function getFichierImportSms() - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_afficher_fichier_import_sms(?);'; - - $resultat = $this->executerRequete($sql, array($user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getModeleDestinataireSms() - { - $sql = 'CALL sp_export_modele_destinataire_sms();'; - - $beneficiaires = $this->executerRequete($sql); - - return $beneficiaires->fetchAll(PDO::FETCH_ASSOC); - } - - public function initIinsererLigneDestinataireSms() - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_init_inserer_ligne_destinataire_sms(?);'; - - $this->executerRequete($sql, array($user)); - } - - public function insererLigneDestinataireSms($idDestintaire, $libelleDestinataire, $destination) - { - $user = $_SESSION['login']; - - $sql = 'call sp_inserer_ligne_destinataire_sms(?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($user, $idDestintaire, $libelleDestinataire, $destination)); - } - - public function majetape() - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_r_maj_etape_3_import_destinataire_sms(?);'; - - $this->executerRequete($sql, array($user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Modepaiement.php b/radiantproduction/Modele/Modepaiement.php deleted file mode 100644 index 5ee9a69..0000000 --- a/radiantproduction/Modele/Modepaiement.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Moyenpaiement.php b/radiantproduction/Modele/Moyenpaiement.php deleted file mode 100644 index a0cc430..0000000 --- a/radiantproduction/Modele/Moyenpaiement.php +++ /dev/null @@ -1,75 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeMoyenPaiement,$libelle)); - return $moyenpaiements; - } - public function getMoyenpaiement($id) { - $sql = 'SELECT * FROM moyenpaiement A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $moyenpaiement = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $moyenpaiement->fetch(PDO::FETCH_ASSOC); - } - - public function ajouter($codeSociete, $codeMoyenPaiement, $libelle, $codeTypePaiement, $numeroCompte) { - $sql = 'INSERT INTO moyenpaiement (codeSociete, codeMoyenPaiement, libelle, codeTypePaiement, numeroCompte) VALUES (?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeMoyenPaiement, $libelle, $codeTypePaiement, $numeroCompte)); - } - - public function modifier($id, $codeSociete, $codeMoyenPaiement, $libelle, $codeTypePaiement, $numeroCompte) { - $sql = 'UPDATE moyenpaiement SET ccodeMoyenPaiement=?, libelle=?, codeTypePaiement=?, numeroCompte=? where (id=?)'; - $this->executerRequete($sql, array($codeSociete, $codeMoyenPaiement, $libelle, $codeTypePaiement, $numeroCompte, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM moyenpaiement WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeMoyenPaiement) { - $sql = 'select id FROM moyenpaiement WHERE (codeSociete=?) and (codeMoyenPaiement=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeMoyenPaiement)); - return ($resultat->rowCount() > 0); - } - - public function getListe($codeModePaiement) - { - $sql = 'SELECT codeMoyenPaiement as `code`, moyenpaiement AS libelle FROM vw_moyenpaiement - WHERE (codeSociete=?) AND (codeModePaiement=?) ORDER BY 2'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeModePaiement)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getNumeroCompte($codeModePaiement, $codeMoyenPaiement) { - $sql = 'SELECT numeroCompte FROM vw_moyenpaiement WHERE (codeSociete=?) - AND (codeModePaiement=?) AND (codeMoyenPaiement=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeModePaiement, $codeMoyenPaiement)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['numeroCompte']; - - /* - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['numeroCompte']; - } - else - { - return ""; - } - */ - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Naturepiece.php b/radiantproduction/Modele/Naturepiece.php deleted file mode 100644 index fb6fa8d..0000000 --- a/radiantproduction/Modele/Naturepiece.php +++ /dev/null @@ -1,68 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeNaturePiece,$libelle)); - return $banques; - } - public function getNaturepiece($id) { - $sql = 'SELECT id, codeSociete, codeNaturePiece, libelle - FROM naturepiece A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $naturepiece = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $naturepiece->fetch(PDO::FETCH_ASSOC); - } - public function getNombreNaturepiece() - { - $sql = 'select count(*) as nbNaturepiece FROM naturepiece A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbNaturepiece']; - } - - public function ajouter($codeSociete, $codeNaturePiece, $libelle) { - $sql = 'INSERT INTO naturepiece (codeSociete, codeNaturePiece, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeNaturePiece, $libelle)); - } - - public function modifier($id, $codeNaturePiece, $libelle) { - $sql = 'UPDATE naturepiece SET codeNaturePiece=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codeNaturePiece, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM naturepiece WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeNaturePiece) { - $sql = 'select id FROM naturepiece WHERE (codeSociete=?) and (codeNaturePiece=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeNaturePiece)); - return ($resultat->rowCount() > 0); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeNaturePiece as `code`, libelleEng as libelle FROM naturepiece WHERE (codeSociete=?) order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeNaturePiece as `code`, libelle FROM naturepiece WHERE (codeSociete=?) order by ordre, libelle'; - } - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Natureprestataire.php b/radiantproduction/Modele/Natureprestataire.php deleted file mode 100644 index 5415953..0000000 --- a/radiantproduction/Modele/Natureprestataire.php +++ /dev/null @@ -1,12 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Opticiens.php b/radiantproduction/Modele/Opticiens.php deleted file mode 100644 index 3fff35c..0000000 --- a/radiantproduction/Modele/Opticiens.php +++ /dev/null @@ -1,71 +0,0 @@ -executerRequete($sql, array($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesoptiquetotal($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codePrestatairePrescription = contruireParamLike($codePrestatairePrescription); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleOptique = contruireParamLike($libelleOptique); - - $sql = 'call sp_requetes_optique_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique) ); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesoptiqueexport($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codePrestatairePrescription = contruireParamLike($codePrestatairePrescription); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleOptique = contruireParamLike($libelleOptique); - - $sql = 'call sp_requetes_optique_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOptique1, $numeroBonOptique2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleOptique) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Optique.php b/radiantproduction/Modele/Optique.php deleted file mode 100644 index 08bc50b..0000000 --- a/radiantproduction/Modele/Optique.php +++ /dev/null @@ -1,37 +0,0 @@ -executerRequete($sql, array($numeroOptique)); - - return $optique->fetch(PDO::FETCH_ASSOC); - } - - public function getoptique_opt($numeroBonOptique, $codePrestataireLivraison) - { - $sql = 'call sp_r_get_optique_opt(?, ?)'; - - $optique = $this->executerRequete($sql, array($numeroBonOptique, $codePrestataireLivraison)); - - return $optique->fetch(PDO::FETCH_ASSOC); - } - - public function getdetailoptique_opt($numeroBonOptique, $codePrestataireLivraison) - { - $sql = 'call sp_r_get_detail_optique_opt(?, ?)'; - - $optique = $this->executerRequete($sql, array($numeroBonOptique, $codePrestataireLivraison)); - - return $optique->fetchAll(PDO::FETCH_ASSOC); - } - - public function getContexteAjaxOptique($numeroOptique) - { - $_SESSION['numeroOptique_C'] = $numeroOptique; - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Optique_temp.php b/radiantproduction/Modele/Optique_temp.php deleted file mode 100644 index 60328e5..0000000 --- a/radiantproduction/Modele/Optique_temp.php +++ /dev/null @@ -1,227 +0,0 @@ -executerRequete($sql, array($numeroFeuilleMaladie, $idSaisie, $user)); - - return $optique->fetch(PDO::FETCH_ASSOC); - } - - public function getoptique($numeroOptique) - { - $sql = 'call sp_p_get_optique(?)'; - - $optique = $this->executerRequete($sql, array($numeroOptique)); - - return $optique->fetch(PDO::FETCH_ASSOC); - } - - public function getContexteAjaxOptique($numeroOptique) - { - $_SESSION['numeroOptique_C'] = $numeroOptique; - } - - public function enregistreroptique($numeroBonOptique, $codeMedecin) - { - $codeSociete = $_SESSION['codeSociete']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'call sp_p_enregistrer_optique(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idBeneficiaire, $numeroFeuilleMaladie, $numeroBonOptique, $codeMedecin, $user, $idSaisie)); - } - - public function getoptique_opt($numeroBonOptique) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_optique_temp_opt(?, ?, ?)'; - - $prescription = $this->executerRequete($sql, array($numeroBonOptique, $idSaisie, $user)); - - $ligne = $prescription->fetch(PDO::FETCH_ASSOC); - $_SESSION['numeroOptique_C'] = $ligne['numeroOptique']; - $_SESSION['numeroFeuilleMaladie_C'] = $ligne['numeroFeuilleMaladie']; - - return $ligne; - } - - public function initoptique_cso() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeActeOptique = $_SESSION['codeActeOptique_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_init_optique_cso(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeActeOptique, $idSaisie, $numeroFeuilleMaladie, $user)); - } - - public function initoptique_opt() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeActeOptique = $_SESSION['codeActeOptique_C']; - $numeroBonOptique = $_SESSION['numeroBonOptique_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $codeTarifOptique = $_SESSION['codeTarifOptique_C']; - $codeActeMonture = $_SESSION['codeActeMonture_C']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_init_optique_opt(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeActeOptique, $codeActeMonture, $idSaisie, $numeroBonOptique, $user, $codeTarifOptique, $tm)); - } - - public function getContexteAjaxPrescription($numeroPrescription) - { - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - } - - public function getContexteAjaxOrdonnance($numeroBonOrdonnance) - { - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - } - - public function enregistrerprescription($numeroBon, $codeMedecin) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_enregistrer_prescription(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $numeroFeuilleMaladie, $numeroPrescription, $numeroBon, $codeMedecin, $user)); - } - - public function getdetailnonlivre() - { - $numeroOptique = $_SESSION['numeroOptique_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_detail_non_livre_opt(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroOptique, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaillivre() - { - $numeroOptique = $_SESSION['numeroOptique_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_detail_livre_opt(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroOptique, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouterverre($idOptique) - { - $sql = 'call sp_p_ajouter_verre_temp(?)'; - - $this->executerRequete($sql, array($idOptique)); - } - - public function ajouterverretous() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_ajouter_verre_temp_tous(?, ?, ?)'; - - $this->executerRequete($sql, array($numeroFeuilleMaladie, $idSaisie, $user)); - } - - public function retirerverre($idOptique) - { - $sql = 'call sp_p_retirer_verre_temp(?)'; - - $this->executerRequete($sql, array($idOptique)); - } - - public function retirerverretous() - { - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_retirer_verre_temp_tous(?, ?, ?)'; - - $this->executerRequete($sql, array($numeroFeuilleMaladie, $idSaisie, $user)); - } - - public function enregistrerpharmacie() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $idAdherent = $_SESSION['idAdherent_C']; - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_p_enregistrer_pharmacie_cso(?, ?, ? , ? , ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user, $idAdherent, $numeroAdherent, $idBeneficiaire, $numeroBeneficiaire)); - } - - public function factureropotique() - { - $numeroOptique = $_SESSION['numeroOptique_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $user_id = $_SESSION['user_id_C']; - - $idAdherent = $_SESSION['idAdherent_C']; - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_p_enregistrer_optique_opt(?, ?, ?, ?, ? , ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroOptique, $idSaisie, $user, $user_id, $idAdherent, $numeroAdherent, $idBeneficiaire, $numeroBeneficiaire)); - } - - public function videroptiquetemp() - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_p_vider_optique_temp(?, ?)'; - - $this->executerRequete($sql, array($user, $idSaisie)); - } - - public function majmonturetemp($idOptique, $monture) - { - $codeActeMonture = $_SESSION['codeActeMonture_C']; - - $sql = 'call sp_p_maj_monture_temp(?, ?, ?)'; - $this->executerRequete($sql, array($idOptique, $monture, $codeActeMonture)); - } - -} diff --git a/radiantproduction/Modele/Ouinon.php b/radiantproduction/Modele/Ouinon.php deleted file mode 100644 index b4727d6..0000000 --- a/radiantproduction/Modele/Ouinon.php +++ /dev/null @@ -1,20 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Pays.php b/radiantproduction/Modele/Pays.php deleted file mode 100644 index 3b46a63..0000000 --- a/radiantproduction/Modele/Pays.php +++ /dev/null @@ -1,59 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codePays,$libelle)); - return $payss; - } - public function getPays($id) { - $sql = 'SELECT id, codeSociete, codePays, libelle - FROM pays A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $pays = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $pays->fetch(PDO::FETCH_ASSOC); - } - public function getNombrePays() - { - $sql = 'select count(*) as nbPays FROM pays A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbPays']; - } - - public function ajouter($codeSociete, $codePays, $libelle) { - $sql = 'INSERT INTO pays (codeSociete, codePays, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codePays, $libelle)); - } - - public function modifier($id, $codePays, $libelle) { - $sql = 'UPDATE pays SET codePays=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codePays, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM pays WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codePays) { - $sql = 'select id FROM pays WHERE (codeSociete=?) and (codePays=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codePays)); - return ($resultat->rowCount() > 0); - } - - public function getListe($codePaysDefault=null) { - $codePaysDefault = contruireParam($codePaysDefault); - $sql = 'SELECT case when codePays = ? then "0" else "1" end as ordre, codePays as `code`, libelle - FROM pays WHERE (codeSociete=?) order by 1, libelle'; - - $liste = $this->executerRequete($sql, array($codePaysDefault, $_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Pbeneficiaire.php b/radiantproduction/Modele/Pbeneficiaire.php deleted file mode 100644 index 4e74ff9..0000000 --- a/radiantproduction/Modele/Pbeneficiaire.php +++ /dev/null @@ -1,631 +0,0 @@ -executerRequete($sql); - return $beneficiaire; - } - - public function getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email) - { - $nomBeneficiaire = contruireParamLike($nomBeneficiaire); - $prenomsBeneficiaire = contruireParamLike($prenomsBeneficiaire); - $telephonePortable = contruireParamLike($telephonePortable); - $email = contruireParamLike($email); - - $sql = 'call sp_p_get_beneficiaires(?, ?, ?, ?, ?);'; - - $adherent = $this->executerRequete($sql, array($_SESSION['codeSociete'], $nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email)); - return $adherent; - } - - public function getBeneficiairesAdh($numeroAdherent) { - $sql = 'SELECT * from vw_p_beneficiaire A WHERE (A.codeSociete=?) AND (A.numeroAdherent=?) order by A.numeroBeneficiaire'; - - $beneficiaires = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent)); - return $beneficiaires; - } - - public function getBeneficiaire($numeroBeneficiaire) - { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_no(?, ?, ?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBeneficiaire, $codeReseau, $codePrestataire)); - return $beneficiaire; - } - - public function getBeneficiaireConsultation($numeroBonConsultation) - { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_consultation(?, ?, ?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBonConsultation, $codeReseau, $codePrestataire)); - return $beneficiaire; - } - - public function getBeneficiaireConsultationCso($numeroBonConsultation) - { - $sql = 'call sp_r_get_beneficiaire_consultation(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonConsultation)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - - return $context; - } - - public function getBeneficiaireOrdonnance($numeroBonOrdonnance) - { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_ordonnance(?, ?, ?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBonOrdonnance, $codeReseau, $codePrestataire)); - return $beneficiaire; - } - - public function getBeneficiaireOptique($numeroBonOptique) - { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_optique(?, ?, ?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBonOptique, $codeReseau, $codePrestataire)); - return $beneficiaire; - } - - public function getBeneficiaireOrdonnanceCso($numeroBonOrdonnance) - { - $sql = 'call sp_r_get_beneficiaire_ordonnance_cso(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonOrdonnance)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - public function getBeneficiaireOptiqueCso($numeroBonOptique) - { - $sql = 'call sp_r_get_beneficiaire_optique_cso(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonOptique)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - public function getBeneficiaireExamenCso($numeroBonExamen) - { - $sql = 'call sp_r_get_beneficiaire_examen_cso(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonExamen)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - public function getBeneficiaireKineCso($numeroBonKine) - { - $sql = 'call sp_r_get_beneficiaire_kine_cso(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonKine)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - public function getBeneficiaireSeanceKine($numeroBonSeance) - { - $sql = 'call sp_r_get_beneficiaire_seance_kine(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonSeance)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - public function getBeneficiaireOrdonnancePha($numeroBonOrdonnance) - { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_ordonnance(?, ?, ?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBonOrdonnance, $codeReseau, $codePrestataire)); - return $beneficiaire->fetch(PDO::FETCH_ASSOC); - } - - public function getBeneficiaireOrdonnanceOpt($numeroBonOptique) - { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_optique(?, ?, ?, ?);'; - - $beneficiaire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBonOptique, $codeReseau, $codePrestataire)); - return $beneficiaire->fetch(PDO::FETCH_ASSOC); - } - - public function getBeneficiaireHospit($numeroBonHospitalisation) - { - $sql = 'call sp_r_get_beneficiaire_hospit(?);'; - - $resultat = $this->executerRequete($sql, array($numeroBonHospitalisation)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - public function getIdBeneficiaire($numeroBeneficiaire) { - $sql = 'SELECT idBeneficiaire FROM vw_p_beneficiaire WHERE (codeSociete=?) AND (numeroBeneficiaire=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBeneficiaire)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idBeneficiaire']; - } - - public function getIdPremierBeneficiaire($idAdherent) { - $sql = 'SELECT idBeneficiaire FROM vw_p_beneficiaire WHERE (idAdherent=?)'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idBeneficiaire']; - } - - public function getContexteBeneficiaireId($idBeneficiaire) { - $codeReseau = $_SESSION['codeReseauPrestataire_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_p_get_beneficiaire_id(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $codeReseau, $codePrestataire)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idBeneficiaire_C'] = $context['idBeneficiaire']; - $_SESSION['idBeneficiaire_sav'] = $_SESSION['idBeneficiaire_C']; - - $_SESSION['user_id_C'] = $context['user_id']; - $_SESSION['finger_id_C'] = $context['finger_id']; - $_SESSION['faceRegistered_C'] = $context['faceRegistered']; - - $_SESSION['idSubstitut_C'] = $context['idSubstitut']; - $_SESSION['substitutnonassure_C'] = $context['substitutnonassure']; - $_SESSION['substitutenVigueur_C'] = $context['substitutenVigueur']; - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['adresseGeoClient_C'] = $context['adresseGeoClient']; - $_SESSION['boitepostaleClient_C'] = $context['boitepostaleClient']; - $_SESSION['telephoneBureauClient_C'] = $context['telephoneBureauClient']; - $_SESSION['telephonePortableClient_C'] = $context['telephonePortableClient']; - $_SESSION['faxClient_C'] = $context['faxClient']; - $_SESSION['emailClient_C'] = $context['emailClient']; - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - $_SESSION['dateEffetPolice_C'] = $context['dateEffetPolice']; - $_SESSION['dateFinPolice_C'] = $context['dateFinPolice']; - $_SESSION['dateEcheancePolice_C'] = $context['dateEcheancePolice']; - $_SESSION['codeEtatPolice_C'] = $context['codeEtatPolice']; - $_SESSION['idCollege_C'] = $context['idCollege']; - $_SESSION['codeProduit_C'] = $context['codeProduit']; - $_SESSION['idAdherent_C'] = $context['idAdherent']; - $_SESSION['numeroAdherent_C'] = $context['numeroAdherent']; - $_SESSION['numeroBeneficiaire_C'] = $context['numeroBeneficiaire']; - $_SESSION['nomBeneficiaire_C'] = $context['nomBeneficiaire']; - $_SESSION['prenomsBeneficiaire_C'] = $context['prenomsBeneficiaire']; - $_SESSION['codeLienParente_C'] = $context['codeLienParente']; - $_SESSION['numeroPiece_C'] = $context['numeroPiece']; - $_SESSION['sexe_C'] = $context['sexe']; - $_SESSION['codeGroupeSanguin_C'] = $context['codeGroupeSanguin']; - $_SESSION['dateNaissance_C'] = $context['dateNaissance']; - $_SESSION['telephonePortableBeneficiaire_C'] = $context['telephonePortableBeneficiaire']; - $_SESSION['dateEntreeBeneficiaire_C'] = $context['dateEntreeBeneficiaire']; - $_SESSION['dateSortieBeneficiaire_C'] = $context['dateSortieBeneficiaire']; - $_SESSION['codeMotifSortie_C'] = $context['codeMotifSortie']; - $_SESSION['codeEtatBeneficiaire_C'] = $context['codeEtatBeneficiaire']; - $_SESSION['lienPhoto_C'] = $context['lienPhoto']; - $_SESSION['dateEffetBeneficiaire_C'] = $context['dateEffetBeneficiaire']; - $_SESSION['dateEffetCouvert'] = $context['dateEffetCouvert']; - $_SESSION['enVigueur_C'] = $context['enVigueur']; - $_SESSION['nomAdherent_C'] = $context['nomAdherent']; - $_SESSION['prenomsAdherent_C'] = $context['prenomsAdherent']; - $_SESSION['adresseGeoAdherent_C'] = $context['adresseGeoAdherent']; - $_SESSION['adressePostaleAdherent_C'] = $context['adressePostaleAdherent']; - $_SESSION['paysAdherent_C'] = $context['paysAdherent']; - $_SESSION['telephonePortableAdherent_C'] = $context['telephonePortableAdherent']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLangueAdherent'] = $context['codeLangueAdherent']; - $_SESSION['telephonFixeAdherent_C'] = $context['telephonFixeAdherent']; - $_SESSION['emailAdherent_C'] = $context['emailAdherent']; - $_SESSION['produit_C'] = $context['produit']; - $_SESSION['naturepiece_C'] = $context['naturepiece']; - $_SESSION['lienparente_C'] = $context['lienparente']; - $_SESSION['motifsortie_C'] = $context['motifsortie']; - $_SESSION['exercieReference_C'] = $context['exercieReference']; - $_SESSION['idEntetecontrat'] = $context['idEntetecontrat']; - - $_SESSION['codeLocalite'] = $context['codeLocalite']; - - // $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaire']; - if (est_anglophone()) - { - $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaireEng']; - } - else - { - $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaire']; - } - - $_SESSION['libelleCollege_C'] = $context['libelleCollege']; - $_SESSION['ageBeneficiaire_C'] = $context['ageBeneficiaire']; - $_SESSION['college_couvert_C'] = $context['college_couvert']; - $_SESSION['derogation_en_cours_C'] = $context['derogation_en_cours']; - $_SESSION['derogation_finger_en_cours_C'] = $context['derogation_finger_en_cours']; - $_SESSION['tm_C'] = $context['tm']; - $_SESSION['numeroFeuilleMaladie_C'] = "0"; - $_SESSION['numeroPrescription_C'] = "0"; - - - $_SESSION['beneficiaire_C'] = $context['beneficiaire']; - $_SESSION['adherent_C'] = $context['adherent']; - - $_SESSION['decede_C'] = $context['decede']; - $_SESSION['dateDeces_C'] = $context['dateDeces']; - $_SESSION['fraisFuneraireDemande_C'] = $context['fraisFuneraireDemande']; - $_SESSION['fraisFunerairePaye_C'] = $context['fraisFunerairePaye']; - - // vérifier que la photo du bénéficiaire existe - if ($_SESSION['lienPhoto_C']>" ") - { - if(!file_exists($_SESSION['dossierSociete'].'/Photos/'.$_SESSION['lienPhoto_C'])) - { - $_SESSION['lienPhoto_C'] = ""; - } - } - - return $context; - } - - public function getBeneficiairesId($idAdherent) { - $sql = 'SELECT * FROM vw_p_beneficiaire WHERE (idAdherent=?)'; - - $beneficiaires = $this->executerRequete($sql, array($idAdherent)); - return $beneficiaires; - } - - - public function getContexteBeneficiaireIdPrest($idBeneficiaire) { - - $sql = 'call sp_r_get_beneficiaire_id_prest(?);'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idBeneficiaire_C'] = $context['idBeneficiaire']; - $_SESSION['idBeneficiaire_sav'] = $_SESSION['idBeneficiaire_C']; - - $_SESSION['user_id_C'] = $context['user_id']; - $_SESSION['finger_id_C'] = $context['finger_id']; - - $_SESSION['idSubstitut_C'] = $context['idSubstitut']; - $_SESSION['substitutnonassure_C'] = $context['substitutnonassure']; - $_SESSION['substitutenVigueur_C'] = $context['substitutenVigueur']; - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['adresseGeoClient_C'] = $context['adresseGeoClient']; - $_SESSION['boitepostaleClient_C'] = $context['boitepostaleClient']; - $_SESSION['telephoneBureauClient_C'] = $context['telephoneBureauClient']; - $_SESSION['telephonePortableClient_C'] = $context['telephonePortableClient']; - $_SESSION['faxClient_C'] = $context['faxClient']; - $_SESSION['emailClient_C'] = $context['emailClient']; - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - $_SESSION['dateEffetPolice_C'] = $context['dateEffetPolice']; - $_SESSION['dateFinPolice_C'] = $context['dateFinPolice']; - $_SESSION['dateEcheancePolice_C'] = $context['dateEcheancePolice']; - $_SESSION['codeEtatPolice_C'] = $context['codeEtatPolice']; - $_SESSION['idCollege_C'] = $context['idCollege']; - $_SESSION['codeProduit_C'] = $context['codeProduit']; - $_SESSION['idAdherent_C'] = $context['idAdherent']; - $_SESSION['numeroAdherent_C'] = $context['numeroAdherent']; - $_SESSION['numeroBeneficiaire_C'] = $context['numeroBeneficiaire']; - $_SESSION['nomBeneficiaire_C'] = $context['nomBeneficiaire']; - $_SESSION['prenomsBeneficiaire_C'] = $context['prenomsBeneficiaire']; - $_SESSION['codeLienParente_C'] = $context['codeLienParente']; - $_SESSION['numeroPiece_C'] = $context['numeroPiece']; - $_SESSION['sexe_C'] = $context['sexe']; - $_SESSION['codeGroupeSanguin_C'] = $context['codeGroupeSanguin']; - $_SESSION['dateNaissance_C'] = $context['dateNaissance']; - $_SESSION['telephonePortableBeneficiaire_C'] = $context['telephonePortableBeneficiaire']; - $_SESSION['dateEntreeBeneficiaire_C'] = $context['dateEntreeBeneficiaire']; - $_SESSION['dateSortieBeneficiaire_C'] = $context['dateSortieBeneficiaire']; - $_SESSION['codeMotifSortie_C'] = $context['codeMotifSortie']; - $_SESSION['codeEtatBeneficiaire_C'] = $context['codeEtatBeneficiaire']; - $_SESSION['lienPhoto_C'] = $context['lienPhoto']; - $_SESSION['dateEffetBeneficiaire_C'] = $context['dateEffetBeneficiaire']; - $_SESSION['dateEffetCouvert'] = $context['dateEffetCouvert']; - $_SESSION['enVigueur_C'] = $context['enVigueur']; - $_SESSION['nomAdherent_C'] = $context['nomAdherent']; - $_SESSION['prenomsAdherent_C'] = $context['prenomsAdherent']; - $_SESSION['adresseGeoAdherent_C'] = $context['adresseGeoAdherent']; - $_SESSION['adressePostaleAdherent_C'] = $context['adressePostaleAdherent']; - $_SESSION['paysAdherent_C'] = $context['paysAdherent']; - $_SESSION['telephonePortableAdherent_C'] = $context['telephonePortableAdherent']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLangueAdherent'] = $context['codeLangueAdherent']; - $_SESSION['telephonFixeAdherent_C'] = $context['telephonFixeAdherent']; - $_SESSION['emailAdherent_C'] = $context['emailAdherent']; - $_SESSION['produit_C'] = $context['produit']; - $_SESSION['naturepiece_C'] = $context['naturepiece']; - $_SESSION['lienparente_C'] = $context['lienparente']; - $_SESSION['motifsortie_C'] = $context['motifsortie']; - $_SESSION['exercieReference_C'] = $context['exercieReference']; - - $_SESSION['codeLocalite'] = $context['codeLocaliteClient']; - - // $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaire']; - if (est_anglophone()) - { - $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaireEng']; - } - else - { - $_SESSION['etatbeneficiaire_C'] = $context['etatbeneficiaire']; - } - $_SESSION['libelleCollege_C'] = $context['libelleCollege']; - $_SESSION['ageBeneficiaire_C'] = $context['ageBeneficiaire']; - $_SESSION['college_couvert_C'] = $context['college_couvert']; - $_SESSION['derogation_en_cours_C'] = $context['derogation_en_cours']; - $_SESSION['derogation_finger_en_cours_C'] = $context['derogation_finger_en_cours']; - $_SESSION['tm_C'] = $context['tm']; - $_SESSION['numeroFeuilleMaladie_C'] = "0"; - $_SESSION['numeroPrescription_C'] = "0"; - - $_SESSION['beneficiaire_C'] = $context['beneficiaire']; - $_SESSION['adherent_C'] = $context['adherent']; - - $_SESSION['decede_C'] = $context['decede']; - $_SESSION['dateDeces_C'] = $context['dateDeces']; - $_SESSION['fraisFuneraireDemande_C'] = $context['fraisFuneraireDemande']; - $_SESSION['fraisFunerairePaye_C'] = $context['fraisFunerairePaye']; - - // vérifier que la photo du bénéficiaire existe - if ($_SESSION['lienPhoto_C']>" ") - { - if(!file_exists($_SESSION['dossierSociete'].'/Photos/'.$_SESSION['lienPhoto_C'])) - { - $_SESSION['lienPhoto_C'] = ""; - } - } - - return $context; - } - - public function getEffectifPolice($idPolice) { - // nb famille et de dépendants - $sql = 'select - ifnull(sum(case when codeLienParente="A" then "1" else "0" end), "0") as ndAdh, - ifnull(SUM(case when codeLienParente="A" then "0" else "1" end), "0") as ndDep, - ifnull(SUM(case when codeEtatBeneficiaire="V" then "1" else "0" end), "0") as ndActif - from beneficiaire where (idPolice=?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - // $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['ndAdh_C'] = $effectif['ndAdh']; - $_SESSION['ndDep_C'] = $effectif['ndDep']; - $_SESSION['ndActif_C'] = $effectif['ndActif']; - } - - public function controlerplafondbeneficiaireannuel($idBeneficiaire) - { - $sql = 'select fn_control_plafond_beneficiaire_courant(?) as controlerPlafondBeneficiaire;'; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['controlerPlafondBeneficiaire'] = $ligne['controlerPlafondBeneficiaire']; - - $idAdherent = $_SESSION['idAdherent_C']; - - $this->controlerplafondadherentannuel($idAdherent); - } - - public function controlerplafondadherentannuel($idAdherent) - { - $sql = 'select fn_control_plafond_adherent_courant(?) as controlerPlafondAdherent;'; - - $resultat = $this->executerRequete($sql, array($idAdherent)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['controlerPlafondAdherent'] = $ligne['controlerPlafondAdherent']; - } - - public function re_init() - { - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['idBeneficiaire_sav'] = ""; - $_SESSION['Patient_C'] = ""; - $_SESSION['beneficiaire_C'] = ""; - $_SESSION['adherent_C'] = ""; - $_SESSION['user_id_C'] = ""; - $_SESSION['finger_id_C'] = ""; - $_SESSION['faceRegistered_C'] = ""; - } - - public function getModeBiometrie() { - $sql = 'CALL sp_get_mode_biometrie(?);'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['codeModeBiometrie'] = $ligne['codeModeBiometrie']; - - $codeModeBiometrie = $_SESSION['codeModeBiometrie']; - if($codeModeBiometrie=='1' or $codeModeBiometrie=='3'){ - $_SESSION['fingerActif'] = '1'; - } - else{ - $_SESSION['fingerActif'] = '0'; - } - - if($codeModeBiometrie=='2' or $codeModeBiometrie=='3'){ - $_SESSION['faceActif'] = '1'; - } - else{ - $_SESSION['faceActif'] = '0'; - } - } - - public function init_traiterlaface($codeActionFace) - { - $codePrestataire = ''; - $user = $_SESSION['login']; - $username = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_init_traiterlaface(?, ?, ?, ?);'; - $resultat = $this->executerRequete($sql, array($codePrestataire, $user, $username, $codeActionFace)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idLogapiface'] = $ligne['idLogapiface']; - } - - public function resultat_traitement_face($username, $success, $message) - { - $idLogapiface = $_SESSION['idLogapiface']; - - $sql = 'CALL sp_resultat_traitement_face(?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idLogapiface, $username, $success, $message)); - } - - public function supprimerPhoto($id) - { - $sql = 'update beneficiaire set lienPhoto="", faceRegistered="0" WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function registerface($numeroBeneficiaire) - { - $codePrestataire = ""; - $user = $_SESSION['login']; - - $sql = 'call sp_p_register_face(?, ?, ?)'; - - $this->executerRequete($sql, array($numeroBeneficiaire, $codePrestataire, $user)); - } - - public function unregisterface($numeroBeneficiaire, $motif) - { - $codePrestataire = ""; - $user = $_SESSION['login']; - - $sql = 'call sp_p_remove_face(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroBeneficiaire, $codePrestataire, $user, $motif)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Periode.php b/radiantproduction/Modele/Periode.php deleted file mode 100644 index 8d3d954..0000000 --- a/radiantproduction/Modele/Periode.php +++ /dev/null @@ -1,20 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Periodecommissionrendement.php b/radiantproduction/Modele/Periodecommissionrendement.php deleted file mode 100644 index e9e9f4a..0000000 --- a/radiantproduction/Modele/Periodecommissionrendement.php +++ /dev/null @@ -1,20 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Periodicite.php b/radiantproduction/Modele/Periodicite.php deleted file mode 100644 index ced4a98..0000000 --- a/radiantproduction/Modele/Periodicite.php +++ /dev/null @@ -1,22 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Pharmacie.php b/radiantproduction/Modele/Pharmacie.php deleted file mode 100644 index 52c190c..0000000 --- a/radiantproduction/Modele/Pharmacie.php +++ /dev/null @@ -1,71 +0,0 @@ -executerRequete($sql, array($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetespharmacietotal($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codePrestatairePrescription = contruireParamLike($codePrestatairePrescription); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'call sp_requetes_pharmacie_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament) ); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetespharmacieexport($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codePrestatairePrescription = contruireParamLike($codePrestatairePrescription); - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleMedicament = contruireParamLike($libelleMedicament); - - $sql = 'call sp_requetes_pharmacie_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $dateLivraison1, $dateLivraison2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroFeuilleMaladie1, $numeroFeuilleMaladie2, - $codePrestatairePrescription, $adherent, $beneficiaire, $libelleMedicament) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Pmodepaiement.php b/radiantproduction/Modele/Pmodepaiement.php deleted file mode 100644 index 6cee8d8..0000000 --- a/radiantproduction/Modele/Pmodepaiement.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Police.php b/radiantproduction/Modele/Police.php deleted file mode 100644 index ee8e60f..0000000 --- a/radiantproduction/Modele/Police.php +++ /dev/null @@ -1,864 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $polices; - } - - public function getPolicesId($id) - { - $sql = 'SELECT A.id, A.codeSociete, A.idClient, A.numeroClient, numeroPolice, numeroPoliceSociete, numeroDevis, - B.libelle As typeAvenant, dateEffet, dateFin, dateEcheance, numeroAvenant, dateAvenant, ADDDATE(A.dateEcheance, +1) as DateRenouvellement, - D.libelle as etatPolice, A.codeFractionnement, T.libelle As typeContrat, IFNULL(A.primeFamille,"0") as primeFamille, - IFNULL(A.primeBeneficiaire,"0") as primeBeneficiaire, rachatTm, rachatTm, TM.libelle as rachattm, garantieArchive, collegeArchive, A.gestionConfiee - FROM police A - left join typecontrat T on (T.codeTypeContrat=A.codeTypeContrat) - left join typeavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - left join etatpolice D on (D.codeEtatPolice=A.codeEtatPolice) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.idClient=?) order by A.id'; - - $polices = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $polices; - } - - public function getPolice($numeroPolice) - { - $sql = 'call sp_getPoliceNo(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - - return $police->fetch(PDO::FETCH_ASSOC); - } - - public function getPoliceId($id) - { - $sql = 'call sp_getPoliceId(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - return $police->fetch(PDO::FETCH_ASSOC); - } - - public function getPoliceIdSimple($id) - { - $idPolice = $_SESSION['idPolice_C'] ; - $sql2 = 'select count(0) as nbCollege from college where (idPolice=?);'; - $resultat2 = $this->executerRequete($sql2, array($idPolice)); - $effectif2 = $resultat2->fetch(PDO::FETCH_ASSOC); - $_SESSION['nbCollege_C'] = $effectif2['nbCollege']; - - $sql = 'SELECT A.*, 1 as prestationPossible FROM police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $police->fetch(PDO::FETCH_ASSOC); - } - - - public function getTextecp($id) { - $sql = 'select texteCp from police where (id=?)'; - $textecp = $this->executerRequete($sql, array($id)); - return $textecp->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrertexteCp($texteCp, $idPolice) { - $sql = 'update police set texteCp=? where (id=?)'; - $this->executerRequete($sql, array($texteCp, $idPolice)); - } - - public function getNombrePolices($numeroClient) - { - $sql = 'select count(*) as nbPolices FROM polices A WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbPolices']; - } - - public function getNombrePolicesId($id) - { - $sql = 'select count(*) as nbPolices FROM police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbPolices']; - } - - public function getContextePoliceId($id) - { - $sql = 'SELECT - A.idClient, - A.numeroClient, - A.id AS idPolice, - A.numeroPolice, - IFNULL(B.tauxTaxe,"0") AS tauxTaxe, - A.codeEtape, - IFNULL(A.tauxCommission,"0") AS tauxCommission, - IFNULL(A.tauxCommissionAutre,"0") AS tauxCommissionAutre, - IFNULL(A.primeFamille,"0") AS primeFamille, - IFNULL(A.primeBeneficiaire,"0") AS primeBeneficiaire, - rachatTm, - TM.libelle AS rachattm, - garantieArchive, - collegeArchive, - A.codeTypeAvenant, - ADDDATE(A.dateEcheance, +1) AS DateRenouvellement, - A.dateEffet, - A.dateFin, - A.dateEcheance, - dateAvenant, - A.deduireComm, - A.codeEtatPolice, - A.gestionConfiee, - A.codeTypeContrat, - fn_id_entetecontrat_police_en_cours(A.id) AS idEntetecontratPolice, - fn_dernier_avenant_incorporation(A.id) AS dernierIdAvenant, - fn_derniere_date_avenant_incorporation(A.id) AS dernierDateAvenant, - fn_get_college_familiale(A.id) dernierIdCollege - FROM police A - LEFT JOIN typecontrat B ON (B.codeTypeContrat=A.codeTypeContrat) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - $_SESSION['codeTypeContrat'] = $context['codeTypeContrat']; - $_SESSION['codeEtape_C'] = $context['codeEtape']; - $_SESSION['tauxTaxe_C'] = $context['tauxTaxe']; - $_SESSION['tauxCommission_C'] = $context['tauxCommission']; - $_SESSION['tauxCommissionAutre_C'] = $context['tauxCommissionAutre']; - $_SESSION['deduireComm_C'] = $context['deduireComm']; - $_SESSION['codeTypeAvenant_C'] = $context['codeTypeAvenant']; - $_SESSION['codeEtatPolice_C'] = $context['codeEtatPolice']; - - $_SESSION['dateEffet_C'] = $context['dateEffet']; - $_SESSION['dateFin_C'] = $context['dateFin']; - $_SESSION['dateEcheance_C'] = $context['dateEcheance']; - - $_SESSION['DateRenouvellement_C'] = $context['DateRenouvellement']; - - $_SESSION['dateAvenant_C'] = $context['dateAvenant']; - - $_SESSION['idPoliceAjax'] = $_SESSION['idPolice_C']; - - $_SESSION['primeFamille_C'] = $context['primeFamille']; - $_SESSION['primeBeneficiaire_C'] = $context['primeBeneficiaire']; - - $_SESSION['rachatTm_C'] = $context['rachatTm']; - - $_SESSION['collegeArchive_C'] = $context['collegeArchive']; - - $_SESSION['idEntetecontratPolice'] = $context['idEntetecontratPolice']; - - $_SESSION['dernierIdAvenant'] = $context['dernierIdAvenant']; - $_SESSION['dernierDateAvenant'] = $context['dernierDateAvenant']; - $_SESSION['dernierIdCollege'] = $context['dernierIdCollege']; - - $_SESSION['idAdherent_C'] = ""; - $_SESSION['numeroAdherent_C'] = ""; - $_SESSION['nomAdherent_C'] = ""; - - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['numeroBeneficiaire_C'] = ""; - $_SESSION['nomBeneficiaire_C'] = ""; - $_SESSION['lienPhoto_C'] = ""; - - $_SESSION['beneficiaire_C'] = ""; - $_SESSION['adherent_C'] = ""; - $_SESSION['enVigueur_C'] = ""; - - $_SESSION['decede_C'] = "0"; - $_SESSION['dateDeces_C'] = ""; - $_SESSION['fraisFuneraireDemande_C'] = "0"; - $_SESSION['fraisFunerairePaye_C'] = "0"; - - $sql = 'CALL sp_popoulation_police(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['ndAdh_C'] = $effectif['ndAdh']; - $_SESSION['ndDep_C'] = $effectif['ndDep']; - $_SESSION['ndActif_C'] = $effectif['ndActif']; - - $idPolice = $_SESSION['idPolice_C'] ; - $sql2 = 'select count(0) as nbCollege from college where (idPolice=?);'; - $resultat2 = $this->executerRequete($sql2, array($idPolice)); - $effectif2 = $resultat2->fetch(PDO::FETCH_ASSOC); - $_SESSION['nbCollege_C'] = $effectif2['nbCollege']; - - } - - public function getDenierNumeroPolice($annee) - { - $sql = 'select dernierNumeroPolice from numerotationpolice WHERE (codeSociete=? AND annee=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee)); - - if ($resultat->rowCount() == 0) - { - $sql = 'insert into numerotationpolice (codeSociete, annee, dernierNumeroPolice) values (?,?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee,"0")); - return "1"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroPolice']+1; - } - } - - public function setDenierNumeroPolice($annee,$dernierNumeroPolice) - { - $sql = 'update numerotationpolice set dernierNumeroPolice=? WHERE (codeSociete=? AND annee=?)'; - $this->executerRequete($sql, array($dernierNumeroPolice, $_SESSION['codeSociete'], $annee)); - } - - public function ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, - $codeGestionnaire, $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, - $primeFamille, $primeBeneficiaire, $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent, $delaiCarencePolice) - { - - $sql = 'INSERT INTO police (codeSociete, idClient, numeroClient, numeroPolice, numeroPoliceSociete, - codeTypeContrat, dateEffet, dateFin, dateEcheance, numeroAvenant, codeTypeAvenant, dateAvenant, - codeApporteur, codeGestionnaire, dateCre, userCre, codeEtatPolice, codeFractionnement, codePeriodicite, tauxCommission, - primeFamille, primeBeneficiaire, rachatTm, deduireComm, taciteReconduction, tauxRachatTm, codeCommercial, - tauxCommissionAutre, speciale, limiteConsommation, tauxRistourne, remplacementAdherent, delaiCarencePolice, - dateEffetInitial) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, - $codeGestionnaire, $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, - $primeFamille, $primeBeneficiaire, $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent, $delaiCarencePolice, - $dateEffet)); - - $dernierId=$this->dernierId(); - - $sql = 'insert into avenant (codeSociete, idPolice, numeroPolice, codeTypeAvenant, numeroAvenant, dateEffet, dateCre, user, dateSysteme) - select codeSociete, id as idPolice, numeroPolice, codeTypeAvenant, numeroAvenant, dateEffet, dateCre, userCre as `user`, dateSysteme - from police where (id=?)'; - - $this->executerRequete($sql, array($dernierId)); - - $sql = 'call sp_creer_contrat(?, ?)'; - $this->executerRequete($sql, array($dernierId, $userCre)); - - return $dernierId; - - } - - public function modifier($id, $tauxCommission, $primeFamille, $primeBeneficiaire, $codeApporteur, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent, $delaiCarencePolice) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_police(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($id, $tauxCommission, $codeApporteur, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent, $user, $delaiCarencePolice)); - } - - public function initresiliation($idPolice) - { - $dateAvenant = $_SESSION['dateAvenant_C']; - $motifavenant = $_SESSION['motifavenant_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_init_resiliation(?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $motifavenant)); - } - - public function initretrait($idPolice) - { - $dateAvenant = $_SESSION['dateAvenant_C']; - $motifavenant = $_SESSION['motifavenant_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_init_retrait(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idPolice, $dateAvenant, $user, $motifavenant)); - } - - public function initrerenouvellement($idPolice) - { - $dateAvenant = $_SESSION['dateAvenant_C']; - $dateEcheanceRen = $_SESSION['dateEcheanceRen_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_init_renouvellement(?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $dateEcheanceRen)); - } - - public function initLimiteAdditionnelle($idPolice, $dateAvenant, $motifavenant) - { - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_init_limite_additionnelle(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $idSaisie, $motifavenant)); - } - - public function getAvenantTemp() { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM avenant_temp WHERE (`user`=?) order by id desc'; - $resultat = $this->executerRequete($sql, array($user)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getEmissionTemp() { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM emission_temp WHERE (`user`=?)'; - $resultat = $this->executerRequete($sql, array($user)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function creeravenant($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant) - { - $user = $_SESSION['login']; - $sql = 'call sp_creer_avenant(?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant, $user)); - } - - public function enregistrerresiliation() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_resiliation(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function enregistrerretrait() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_retrait(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function enregistrerrenouvellement() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_renouvellement(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getIdPolice($numeroPolice) { - $sql = 'SELECT id FROM police WHERE (codeSociete=?) AND (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - - public function existeligne($numeroPolice) { - $sql = 'select id FROM police WHERE (codeSociete=?) and (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - return ($resultat->rowCount() > 0); - } - - public function formaterNumeroPolice($annee,$numeroPolice) { - $numeroPolice = "00000".$numeroPolice; - $numeroPolice = substr($numeroPolice, -6); - $numeroPolice = $annee.$numeroPolice; - return $numeroPolice; - } - - public function supprimer($idPolice) - { - $sql = 'select id from college where (idPolice=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idPolice)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM police WHERE (id=?)'; - $this->executerRequete($sql, array($idPolice)); - - $sql = 'DELETE FROM contrat WHERE (idPolice=?)'; - $this->executerRequete($sql, array($idPolice)); - - $sql = 'DELETE FROM entetecontrat WHERE (idPolice=?)'; - $this->executerRequete($sql, array($idPolice)); - - $sql = 'DELETE FROM avenant WHERE (idPolice=?)'; - $this->executerRequete($sql, array($idPolice)); - - $sql = 'DELETE FROM garantiecollege WHERE (idPolice=?)'; - $this->executerRequete($sql, array($idPolice)); - - $sql = 'DELETE FROM prestationcollege WHERE (idPolice=?)'; - $this->executerRequete($sql, array($idPolice)); - - return true; - } - else - { - return false; - } - } - - public function getExisteQuittance($idPolice) { - $sql = 'select id from emission where (idPolice=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idPolice)); - - if($resultat->rowCount() == 0) - { - return "0"; - } - else - { - return "Q"; - } - } - - public function archivergarantie($id) { - $sql = 'UPDATE police SET garantieArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function archivercollege($id) { - $sql = 'UPDATE police SET collegeArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getContexteAjaxPolice($id) - { - $sql = 'SELECT A.id as idPolice FROM police A WHERE (A.id=?)'; - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idPoliceAjax'] = $context['idPolice']; - $_SESSION['idPolice_C'] = $_SESSION['idPoliceAjax']; - } - - public function getEnteteCP($idPolice) - { - $sql = 'call sp_entete_cp(?);'; - - $entete = $this->executerRequete($sql, array($idPolice)); - return $entete->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegesCP($idPolice) - { - $sql = 'call sp_collesges_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantiesCollegesCP($idPolice) - { - $sql = 'call sp_garanties_colleges_police(?);'; - - $garantiescolleges = $this->executerRequete($sql, array($idPolice)); - return $garantiescolleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function gettableauPrestationsCP($idPolice) - { - $sql = 'call sp_tableau_prestation_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getRapportSpPolice($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function getConsommationPolice($idPolice, $dateReference) - { - $sql = 'call sp_consommation_police(?, ?);'; - - $consommationpolice = $this->executerRequete($sql, array($idPolice, $dateReference)); - return $consommationpolice->fetch(PDO::FETCH_ASSOC); - } - - public function getExisteConsommationPolice($idPolice) - { - $dj = date("Y-m-d"); - $sql = 'call sp_consommation_police(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dj)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $consommationpolice = $ligne['consommation']; - - if($consommationpolice>"0") - { - return "C"; - } - else - { - return "0"; - } - } - - public function gettableauAjustementCP() - { - $sql = 'call sp_tableau_ajustement();'; - - $tableauajustementcps = $this->executerRequete($sql); - return $tableauajustementcps->fetchAll(PDO::FETCH_ASSOC); - } - - public function getClientsearchPol($numeroPolice) - { - $sql = 'select id as idPolice from police WHERE (codeSociete=?) AND (numeroPolice=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idPolice']; - } - } - - public function getClientsearchPolId($idPolice) - { - $sql = 'select id as idPolice from police WHERE (codeSociete=?) AND (id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$idPolice)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idPolice']; - } - } - - public function recapituler_maj_limite_police() - { - $user = $_SESSION['login']; - $sql = 'call sp_recapituller_maj_limite_police(?)'; - - $this->executerRequete($sql, array($user)); - } - - public function enregistrerlimiteadditionnelle() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_limite_additionnelle(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getContexteClientId($idPolice) { - $sql = 'SELECT A.id as idClient, A.numeroClient, concat(A.nom," ",A.prenoms) as nomClient, A.codeLangueClient, A.codeLocalite - FROM clients A join police B on (B.idClient=A.id) WHERE (B.id=?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['idClientAjax'] = $context['idClient']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - $_SESSION['codeLocalite'] = $context['codeLocalite']; - } - - // Polices non renouvellées - - public function etatpolnonren() - { - $dj = date("Y-m-d"); - - $sql = 'call sp_polices_non_renouvellees(?);'; - - $resultat = $this->executerRequete($sql, array($dj)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function activergc($idPolice) - { - $user = $_SESSION['login']; - $sql = 'call sp_activergc(?, ?);'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function desactivergc($idPolice) - { - $user = $_SESSION['login']; - $sql = 'call sp_desactivergc(?, ?);'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getRapportSpPoliceEntete($idPolice, $dateReference) - { - $sql = 'call sp_rapport_sp_police_entete(?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference)); - - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function getRapportSpPolicePol($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police_pol(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function getRapportSpPoliceCat($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police_cat(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - - return $sppolice->fetchAll(PDO::FETCH_ASSOC); - } - - public function getRapportSpPoliceCol($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police_col(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - - return $sppolice->fetchAll(PDO::FETCH_ASSOC); - } - - public function getsyntheseconsopolice() - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_synthese_consommation_police(?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice)); - - return $sppolice->fetchAll(PDO::FETCH_ASSOC); - } - - public function getentetepolice($idPolice) - { - $sql = 'call sp_entete_police(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getentetecontrat($idEntetecontrat) - { - $sql = 'SELECT * FROM entetecontrat WHERE id=? limit 1;'; - - $resultat = $this->executerRequete($sql, array($idEntetecontrat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getderniereavenantincorporation($idPolice) - { - $sql = 'call sp_get_derniere_avenant_incorporation(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['dernierIdAvenant'] = $context['dernierIdAvenant']; - $_SESSION['dernierDateAvenant'] = $context['dernierDateAvenant']; - } - - public function getcollegefamiliale($idPolice) - { - $sql = 'call sp_get_college_familiale(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['dernierIdCollege'] = $context['dernierIdCollege']; - - return $context; - } - - public function fn_primes_non_facturees_police($idPolice) - { - $sql = 'select fn_primes_non_facturees_police(?) as nb_non_facturees'; - $resultat = $this->executerRequete($sql, array($idPolice)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nb_non_facturees']; - } - - public function fn_get_id_police_familliale() - { - $sql = 'SELECT fn_get_id_police_familliale() AS id_police_familliale;'; - - $resultat = $this->executerRequete($sql); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idPolice_C'] = $ligne['id_police_familliale']; - return $_SESSION['idPolice_C']; - } - - public function creeravenantapi($idPolice) - { - $sql = 'call sp_creer_avenant_api(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['idAvenant']; - } - - public function fn_date_effet_police($idPolice) - { - $sql = 'SELECT fn_date_effet_police(?) AS dateEffetPolice;'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['dateEffetPolice']; - } - - public function fn_date_fin_police($idPolice) - { - $sql = 'SELECT fn_date_fin_police(?) AS dateEffetPolice;'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['dateEffetPolice']; - } - - public function fn_get_college_familiale($idPolice) - { - $sql = 'SELECT fn_get_college_familiale(?) AS dernierIdCollege;'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $dernierIdCollege = $ligne['dernierIdCollege']; - - $_SESSION['dernierIdCollege'] = $dernierIdCollege; - - return $dernierIdCollege; - } - - public function getcpfclisteassures($idPolice) - { - $sql = 'call sp_cp_fc_liste_assures(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getAdherentCP($idPolice) - { - $sql = 'call sp_cp_fc_adherent(?);'; - - $entete = $this->executerRequete($sql, array($idPolice)); - return $entete->fetch(PDO::FETCH_ASSOC); - } - - public function getGarantiesCollegesCPFC($idPolice) - { - $sql = 'call sp_garanties_colleges_police_fc(?);'; - - $garantiescolleges = $this->executerRequete($sql, array($idPolice)); - return $garantiescolleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantiesAdherentCPFC($idPolice) - { - $sql = 'call sp_garanties_adherent_police_fc(?);'; - - $garantiescolleges = $this->executerRequete($sql, array($idPolice)); - return $garantiescolleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function prestationPossible($idPolice) - { - $sql = 'select fn_police_prestation_possible(?) as prestationPossible'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['prestationPossible']; - } - - public function estAgence($idPolice) - { - $sql = 'select fn_est_police_agence(?) as estAgence'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['estAgence']; - } - - public function getCollegePolice($idPolice) { - - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'SELECT id AS `code`, `libelleCollege` AS `libelle` - FROM college WHERE codeSociete=? and idPolice=? - ORDER BY libelleCollege'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'],$idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getCollegePoliceArchive($idPolice) { - - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'SELECT id AS `code`, `libelleCollege` AS `libelle` - FROM college WHERE codeSociete=? and idPolice=? - AND garantieArchive=1 - ORDER BY libelleCollege'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'],$idPolice)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Police_d.php b/radiantproduction/Modele/Police_d.php deleted file mode 100644 index 3e05cc2..0000000 --- a/radiantproduction/Modele/Police_d.php +++ /dev/null @@ -1,349 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $polices; - } - - public function getPolicesId($id) { - $sql = 'SELECT A.id, A.codeSociete, A.idClient, A.numeroClient, numeroPolice, numeroPoliceSociete, numeroContrat, - B.libelle As typeAvenant, dateEffet, dateFin, dateEcheance, numeroAvenant, dateAvenant, ADDDATE(A.dateEcheance, +1) as DateRenouvellement, - D.libelle as etatPolice, A.codeFractionnement, T.libelle As typeContrat, IFNULL(A.primeFamille,"0") as primeFamille, - IFNULL(A.primeBeneficiaire,"0") as primeBeneficiaire, rachatTm, rachatTm, TM.libelle as rachattm, garantieArchive, collegeArchive - FROM d_police A - left join typecontrat T on (T.codeTypeContrat=A.codeTypeContrat) - left join typeavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - left join etatpolice D on (D.codeEtatPolice=A.codeEtatPolice) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.idClient=?) order by A.id'; - - $polices = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $polices; - } - - public function getPolice($numeroPolice) - { - $sql = 'call sp_d_getPoliceNo(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - - return $police->fetch(PDO::FETCH_ASSOC); - } - - public function getPoliceId($id) - { - $sql = 'call sp_d_getPoliceId(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - return $police->fetch(PDO::FETCH_ASSOC); - } - - public function getPoliceIdSimple($id) { - $sql = 'SELECT A.* FROM d_police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $police->fetch(PDO::FETCH_ASSOC); - } - - public function getNombrePolices($numeroClient) - { - $sql = 'select count(*) as nbPolices FROM d_polices A WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbPolices']; - } - - public function getNombrePolicesId($id) - { - $sql = 'select count(*) as nbPolices FROM d_police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbPolices']; - } - - public function getContextePoliceId($id) { - $sql = 'SELECT A.idClient, A.numeroClient, A.id AS idPolice, A.numeroPolice, A.transforme, A.numeroContrat, - IFNULL(B.tauxTaxe,"0") AS tauxTaxe, A.codeEtape, IFNULL(A.tauxCommission,"0") AS tauxCommission, - IFNULL(A.primeFamille,"0") as primeFamille, IFNULL(A.primeBeneficiaire,"0") as primeBeneficiaire, rachatTm, - TM.libelle as rachattm, garantieArchive, collegeArchive, A.codeTypeAvenant, ADDDATE(A.dateEcheance, +1) as DateRenouvellement, - A.dateEffet, A.dateFin, A.dateEcheance, dateAvenant, A.deduireComm, A.codeEtatPolice - FROM d_police A - LEFT JOIN typecontrat B ON (B.codeTypeContrat=A.codeTypeContrat) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_d_C'] = $context['idClient']; - $_SESSION['numeroClient_d_C'] = $context['numeroClient']; - $_SESSION['idPolice_d_C'] = $context['idPolice']; - $_SESSION['numeroPolice_d_C'] = $context['numeroPolice']; - $_SESSION['codeEtape_d_C'] = $context['codeEtape']; - $_SESSION['tauxTaxe_d_C'] = $context['tauxTaxe']; - $_SESSION['tauxCommission_d_C'] = $context['tauxCommission']; - $_SESSION['deduireComm_d_C'] = $context['deduireComm']; - - $_SESSION['dateEffet_d_C'] = $context['dateEffet']; - $_SESSION['dateFin_d_C'] = $context['dateFin']; - $_SESSION['dateEcheance_d_C'] = $context['dateEcheance']; - - $_SESSION['dateAvenant_d_C'] = $context['dateAvenant']; - - $_SESSION['idPolice_d_Ajax'] = $_SESSION['idPolice_d_C']; - - $_SESSION['rachatTm_d_C'] = $context['rachatTm']; - - $_SESSION['collegeArchive_d_C'] = $context['collegeArchive']; - } - - public function getDenierNumeroPolice($annee) - { - $sql = 'select dernierNumeroPolice from d_numerotationpolice WHERE (codeSociete=? AND annee=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee)); - - if ($resultat->rowCount() == 0) - { - $sql = 'insert into d_numerotationpolice (codeSociete, annee, dernierNumeroPolice) values (?,?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee,"0")); - return "1"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroPolice']+1; - } - } - - public function setDenierNumeroPolice($annee,$dernierNumeroPolice) - { - $sql = 'update d_numerotationpolice set dernierNumeroPolice=? WHERE (codeSociete=? AND annee=?)'; - $this->executerRequete($sql, array($dernierNumeroPolice, $_SESSION['codeSociete'], $annee)); - } - - public function ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeCommercial, $codeGestionnaire, - $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $tauxCommissionAutre, $primeFamille, $primeBeneficiaire, - $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $tauxRistourne, $delaiCarencePolice) - { - - $sql = 'INSERT INTO d_police (codeSociete, idClient, numeroClient, numeroPolice, numeroPoliceSociete, - codeTypeContrat, dateEffet, dateFin, dateEcheance, numeroAvenant, codeTypeAvenant, dateAvenant, - codeApporteur, codeCommercial, codeGestionnaire, dateCre, userCre, codeEtatPolice, codeFractionnement, codePeriodicite, tauxCommission, tauxCommissionAutre, - primeFamille, primeBeneficiaire, rachatTm, deduireComm, taciteReconduction, tauxRachatTm, tauxRistourne, delaiCarencePolice) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeCommercial, $codeGestionnaire, - $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $tauxCommissionAutre, $primeFamille, $primeBeneficiaire, - $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $tauxRistourne, $delaiCarencePolice)); - - $dernierId=$this->dernierId(); - - $sql = 'insert into d_optionstarif (idPolice, numeroOptionTarif, libelleOptionTarif, user) - select id as idPolice, "1" numeroOptionTarif, "Option 1" libelleOptionTarif, userCre from d_police where (id=?)'; - - $this->executerRequete($sql, array($dernierId)); - - return $dernierId; - - } - - public function modifier($id, $codeTypeContrat, $codeApporteur, $tauxCommission, $codePeriodicite, $rachatTm, - $tauxRachatTm, $dateEffet, $dateEcheance, $codeCommercial, $tauxCommissionAutre, $tauxRistourne, $delaiCarencePolice) - { - $sql = 'UPDATE d_police SET - codeTypeContrat =?, - codeApporteur =?, - tauxCommission =?, - codePeriodicite =?, - rachatTm =?, - tauxRachatTm =?, - dateEffet =?, - dateEcheance =?, - codeCommercial =?, - tauxCommissionAutre =?, - tauxRistourne =?, - delaiCarencePolice =? - where (id=?)'; - - $this->executerRequete($sql, array($codeTypeContrat, $codeApporteur, $tauxCommission, $codePeriodicite, $rachatTm, - $tauxRachatTm, $dateEffet, $dateEcheance, $codeCommercial, $tauxCommissionAutre, $tauxRistourne, $delaiCarencePolice, $id)); - } - - public function getIdPolice($numeroPolice) { - $sql = 'SELECT id FROM d_police WHERE (codeSociete=?) AND (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['id']; - } - - public function existeligne($numeroPolice) { - $sql = 'select id FROM d_police WHERE (codeSociete=?) and (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - return ($resultat->rowCount() > 0); - } - - public function formaterNumeroPolice($annee,$numeroPolice) { - $numeroPolice = "00000".$numeroPolice; - $numeroPolice = substr($numeroPolice, -6); - $numeroPolice = "D".$annee.$numeroPolice; - return $numeroPolice; - } - - public function supprimer($idPolice) { - $sql = 'select id from d_college where (idPolice=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idPolice)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM d_police WHERE (id=?)'; - $this->executerRequete($sql, array($idPolice)); - return true; - } - else - { - return false; - } - } - - public function archivergarantie($id) { - $sql = 'UPDATE d_police SET garantieArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function archivercollege($id) { - $sql = 'UPDATE d_police SET collegeArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getContexteAjaxPolice($id) - { - $sql = 'SELECT A.id as idPolice FROM d_police A WHERE (A.id=?)'; - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idPolice_d_Ajax'] = $context['idPolice']; - } - - public function getCollegesCP($idPolice) - { - $sql = 'call sp_collesges_d_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantiesCollegesCP($idPolice) - { - $sql = 'call sp_garanties_colleges_d_police(?);'; - - $garantiescolleges = $this->executerRequete($sql, array($idPolice)); - return $garantiescolleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function gettableauPrestationsCP($idPolice) - { - $sql = 'call sp_tableau_prestation_d_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getClientsearchPol($numeroPolice) - { - $sql = 'select id as idPolice FROM d_police WHERE (codeSociete=?) AND (numeroPolice=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idPolice']; - } - } - - public function transformer($idDevis, $numeroOptionTarif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_transformer_devis(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idDevis, $user, $numeroOptionTarif)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idPolice']; - } - } - - public function getContexteClientId($idPolice) { - $sql = 'SELECT A.id as idClient, A.numeroClient, concat(A.nom," ",A.prenoms) as nomClient - FROM d_clients A join d_police B on (B.idClient=A.id) WHERE (B.id=?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - $_SESSION['idClient_d_C'] = $context['idClient']; - $_SESSION['numeroClient_d_C'] = $context['numeroClient']; - $_SESSION['nomClient_d_C'] = $context['nomClient']; - $_SESSION['idClient_d_Ajax'] = $context['idClient']; - } - - public function getEnteteCP($idPolice) - { - $sql = 'call sp_entete_devis(?);'; - - $entete = $this->executerRequete($sql, array($idPolice)); - return $entete->fetch(PDO::FETCH_ASSOC); - } - - public function nouvelleoptiontarif($idPolice) - { - $sql = 'insert into d_optionstarif (idPolice, numeroOptionTarif, libelleOptionTarif, user) - select id as idPolice, "1" numeroOptionTarif, "Option 1" libelleOptionTarif, userCre from d_police where (id=?)'; - - $this->executerRequete($sql, array($dernierId)); - - return $dernierId; - - } - - public function getTextecp($id) { - $sql = 'select texteCp from d_police where (id=?)'; - $textecp = $this->executerRequete($sql, array($id)); - return $textecp->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrertexteCp($texteCp, $idPolice) { - $sql = 'update d_police set texteCp=? where (id=?)'; - $this->executerRequete($sql, array($texteCp, $idPolice)); - } - - public function fn_min_numero_option_tarif($idPolice) - { - $sql = 'select fn_min_numero_option_tarif(?) as numeroOptionTarif'; - $resultat = $this->executerRequete($sql, array($idPolice)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['numeroOptionTarif']; - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Prescription.php b/radiantproduction/Modele/Prescription.php deleted file mode 100644 index e3853fe..0000000 --- a/radiantproduction/Modele/Prescription.php +++ /dev/null @@ -1,49 +0,0 @@ -executerRequete($sql, array($numeroPrescription)); - - return $prescription->fetch(PDO::FETCH_ASSOC); - } - - public function getprescription_pha($numeroBonOrdonnance, $codePrestataireLivraison) - { - $sql = 'call sp_p_get_prescription_pha(?, ?)'; - - $optique = $this->executerRequete($sql, array($numeroBonOrdonnance, $codePrestataireLivraison)); - - return $optique->fetch(PDO::FETCH_ASSOC); - } - - public function getdetailprescription_pha($numeroBonOrdonnance, $codePrestataireLivraison) - { - $sql = 'call sp_r_get_detail_prescription_pha(?, ?)'; - - $optique = $this->executerRequete($sql, array($numeroBonOrdonnance, $codePrestataireLivraison)); - - return $optique->fetchAll(PDO::FETCH_ASSOC); - } - - public function getContexteAjaxPrescription($numeroPrescription) - { - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - } - - public function enregistrerprescription($numeroBon, $codeMedecin) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_enregistrer_prescription(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $numeroFeuilleMaladie, $numeroPrescription, $numeroBon, $codeMedecin, $user)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Prescription_temp.php b/radiantproduction/Modele/Prescription_temp.php deleted file mode 100644 index 23a14ed..0000000 --- a/radiantproduction/Modele/Prescription_temp.php +++ /dev/null @@ -1,202 +0,0 @@ -executerRequete($sql, array($numeroPrescription, $idSaisie, $user)); - - return $prescription->fetch(PDO::FETCH_ASSOC); - } - - public function getprescription_pha($numeroBonOrdonnance) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_prescription_temp_pha(?, ?, ?)'; - - $prescription = $this->executerRequete($sql, array($numeroBonOrdonnance, $idSaisie, $user)); - - $ligne = $prescription->fetch(PDO::FETCH_ASSOC); - $_SESSION['numeroPrescription_C'] = $ligne['numeroPrescription']; - $_SESSION['numeroFeuilleMaladie_C'] = $ligne['numeroFeuilleMaladie']; - - // return $prescription->fetch(PDO::FETCH_ASSOC); - return $ligne; - } - - public function getinfosprescription_pha($numeroBonOrdonnance) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_infos_prescription_temp_pha(?, ?, ?)'; - - $prescription = $this->executerRequete($sql, array($numeroBonOrdonnance, $idSaisie, $user)); - - $ligne = $prescription->fetch(PDO::FETCH_ASSOC); - $_SESSION['numeroPrescription_C'] = $ligne['numeroPrescription']; - $_SESSION['numeroFeuilleMaladie_C'] = $ligne['numeroFeuilleMaladie']; - - return $ligne; - } - - public function initpharmacie_cso() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeActePharmacie = $_SESSION['codeActePharmacie_C']; - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $codeTarifMedicament = $_SESSION['codeTarifMedicament_C']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_init_pharmacie_cso(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeActePharmacie, $idSaisie, $numeroPrescription, $user, $codeTarifMedicament, $tm)); - } - - public function initpharmacie_pha($numeroBonOrdonnance) - { - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeActePharmacie = $_SESSION['codeActePharmacie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $codeTarifMedicament = $_SESSION['codeTarifMedicament_C']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_init_pharmacie_pha(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeActePharmacie, $idSaisie, $numeroBonOrdonnance, $user, $codeTarifMedicament, $tm)); - } - - public function getContexteAjaxPrescription($numeroPrescription) - { - $_SESSION['numeroPrescription_C'] = $numeroPrescription; - } - - public function getContexteAjaxOrdonnance($numeroBonOrdonnance) - { - $_SESSION['numeroBonOrdonnance_C'] = $numeroBonOrdonnance; - } - - public function enregistrerprescription($numeroBon, $codeMedecin) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_enregistrer_prescription(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idBeneficiaire, $numeroFeuilleMaladie, $numeroPrescription, $numeroBon, $codeMedecin, $user)); - } - - public function getdetailnonlivre() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_detail_non_livre(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaillivre() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_detail_livre(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutermedicament($idMedicament) - { - $sql = 'call sp_p_ajouter_medicament_temp(?)'; - - $this->executerRequete($sql, array($idMedicament)); - } - - public function ajoutermedicamenttous() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_ajouter_medicament_temp_tous(?, ?, ?)'; - - $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user)); - } - - public function retirermedicament($idMedicament) - { - $sql = 'call sp_p_retirer_medicament_temp(?)'; - - $this->executerRequete($sql, array($idMedicament)); - } - - public function retirermedicamenttous() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_retirer_medicament_temp_tous(?, ?, ?)'; - - $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user)); - } - - public function enregistrerpharmacie() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $idAdherent = $_SESSION['idAdherent_C']; - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_p_enregistrer_pharmacie_cso(?, ?, ? , ? , ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user, $idAdherent, $numeroAdherent, $idBeneficiaire, $numeroBeneficiaire)); - } - - public function facturerpharmacie() - { - $numeroPrescription = $_SESSION['numeroPrescription_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $user_id = $_SESSION['user_id_C']; - - $idAdherent = $_SESSION['idAdherent_C']; - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_p_enregistrer_pharmacie_pha(?, ?, ?, ?, ? , ?, ?, ?)'; - - $this->executerRequete($sql, array($numeroPrescription, $idSaisie, $user, $user_id, $idAdherent, $numeroAdherent, $idBeneficiaire, $numeroBeneficiaire)); - } -} diff --git a/radiantproduction/Modele/Prestataire.php b/radiantproduction/Modele/Prestataire.php deleted file mode 100644 index ca50ead..0000000 --- a/radiantproduction/Modele/Prestataire.php +++ /dev/null @@ -1,566 +0,0 @@ -executerRequete($sql, array($codePrestataire)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['codePrestataire_C'] = $context['codePrestataire']; - $_SESSION['prestataire_C'] = $context['prestataire']; - $_SESSION['codeReseauPrestataire_C'] = $context['codeReseauPrestataire']; - $_SESSION['codeTypePrestataire_C'] = $context['codeTypePrestataire']; - $_SESSION['codeTypeDecompte_C'] = $context['codeTypeDecompte']; - $_SESSION['typeprestataire_C'] = $context['typeprestataire']; - $_SESSION['reseausoinPrestataire_C'] = $context['reseausoinPrestataire']; - $_SESSION['conventionne_C'] = $context['conventionne']; - $_SESSION['estconventionne_C'] = $context['estconventionne']; - $_SESSION['adresseGeoPrestataire_C'] = $context['adresseGeoPrestataire']; - $_SESSION['adressePostPrestataire_C'] = $context['adressePostPrestataire']; - $_SESSION['telephoneFixePrestataire_C'] = $context['telephoneFixePrestataire']; - $_SESSION['telephonePortablePrestataire_C'] = $context['telephonePortablePrestataire']; - $_SESSION['faxPrestatairePrestataire_C'] = $context['faxPrestatairePrestataire']; - $_SESSION['emailPrestataire_C'] = $context['emailPrestataire']; - $_SESSION['emailGestionPrestataire_C'] = $context['emailGestionPrestataire']; - $_SESSION['nomResponsablePrestataire_C'] = $context['nomResponsablePrestataire']; - $_SESSION['contactResponsablePrestataire_C'] = $context['contactResponsablePrestataire']; - $_SESSION['emailResponsablePrestataire_C'] = $context['emailResponsablePrestataire']; - $_SESSION['nomInterlocuteurPrestataire_C'] = $context['nomInterlocuteurPrestataire']; - $_SESSION['contactInterlocuteurPrestataire_C'] = $context['contactInterlocuteurPrestataire']; - $_SESSION['emailInterlocuteurPrestataire_C'] = $context['emailInterlocuteurPrestataire']; - $_SESSION['codeTarifMedicament_C'] = $context['codeTarifMedicament']; - $_SESSION['codeTarifOptique_C'] = $context['codeTarifOptique']; - $_SESSION['codeTarifActe_C'] = $context['codeTarifActe']; - - return $context; - } - - - public function getPrestataires($codePrestataire=null,$libelle=null) { - $codePrestataire = contruireParamLike($codePrestataire); - $libelle = contruireParamLike($libelle); - - $sql = 'SELECT A.id, A.codeSociete, A.codeTypePrestataire, B.libelle as typePrestataire, A.codePrestataire, A.libelle, - A.codePays, C.libelle as pays, A.codeVille, D.libelle as ville, A.codeLocalite, E.libelle as localite, - A.adresseGeo, A.adressePost, A.telephoneFixe, A.telephonePortable, A.email, A.nomResponsable, - A.contactResponsable, A.emailResponsable, A.nomInterlocuteur, A.contactInterlocuteur, A.emailInterlocuteur, - numeroCompte, A.codeGestionnaire, concat(F.nom," ",F.prenoms) as gestionnaire, A.codeNaturePrestataire - FROM prestataire A - left join typeprestataire B on (B.codeSociete=A.codeSociete AND B.codeTypePrestataire=A.codeTypePrestataire) - left join pays C on (C.codeSociete=A.codeSociete AND C.codePays=A.codePays) - left join ville D on (D.codeSociete=A.codeSociete AND D.codeVille=A.codeVille) - left join localite E on (E.codeSociete=A.codeSociete AND E.codeLocalite=A.codeLocalite) - left join gestionnaire F on (F.codeSociete=A.codeSociete AND F.codeGestionnaire=A.codeGestionnaire) - WHERE (A.codeSociete=? AND A.codePrestataire LIKE ? AND A.libelle LIKE ?) order by A.libelle'; - - //numeroCompte, A.codeGestionnaire, concat(F.nom," ",F.prenoms) as gestionnaire - - $prestataires = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codePrestataire,$libelle)); - return $prestataires; - } - public function getPrestataire($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeTypePrestataire, B.libelle as typePrestataire, A.codePrestataire, A.libelle, - A.codePays, C.libelle as pays, A.codeVille, D.libelle as ville, A.codeLocalite, E.libelle as localite, - A.adresseGeo, A.adressePost, A.telephoneFixe, A.telephonePortable, A.email, A.nomResponsable, - A.contactResponsable, A.emailResponsable, A.nomInterlocuteur, A.contactInterlocuteur, A.emailInterlocuteur, - numeroCompte, A.codeGestionnaire, concat(F.nom," ",F.prenoms) as gestionnaire, A.codeNaturePrestataire - FROM prestataire A - left join typeprestataire B on (B.codeSociete=A.codeSociete AND B.codeTypePrestataire=A.codeTypePrestataire) - left join pays C on (C.codeSociete=A.codeSociete AND C.codePays=A.codePays) - left join ville D on (D.codeSociete=A.codeSociete AND D.codeVille=A.codeVille) - left join localite E on (E.codeSociete=A.codeSociete AND E.codeLocalite=A.codeLocalite) - left join gestionnaire F on (F.codeSociete=A.codeSociete AND F.codeGestionnaire=A.codeGestionnaire) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $prestataire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $prestataire->fetch(PDO::FETCH_ASSOC); - } - public function getnombrePrestataire() - { - $sql = 'select count(*) as nbPrestataire FROM prestataire A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbPrestataire']; - } - - public function ajouter($codeSociete, $codeTypePrestataire, $codePrestataire, $libelle, $codePays, $codeVille, $codeLocalite, - $adresseGeo, $adressePost, $telephoneFixe, $telephonePortable, $email, $nomResponsable, $contactResponsable, - $emailResponsable, $nomInterlocuteur, $contactInterlocuteur, $emailInterlocuteur,$numeroCompte, $codeGestionnaire, $codeNaturePrestataire) -{ - $sql = 'INSERT INTO prestataire (codeSociete, codeTypePrestataire, codePrestataire, libelle, codePays, codeVille, codeLocalite, - adresseGeo, adressePost, telephoneFixe, telephonePortable, email, nomResponsable, contactResponsable, emailResponsable, - nomInterlocuteur, contactInterlocuteur, emailInterlocuteur, numeroCompte, codeGestionnaire, codeNaturePrestataire) - VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)'; - $this->executerRequete($sql, array($codeSociete, $codeTypePrestataire, $codePrestataire, $libelle, $codePays, $codeVille, $codeLocalite, - $adresseGeo, $adressePost, $telephoneFixe, $telephonePortable, $email, $nomResponsable, $contactResponsable, - $emailResponsable, $nomInterlocuteur, $contactInterlocuteur, $emailInterlocuteur,$numeroCompte, $codeGestionnaire, $codeNaturePrestataire)); - } - - public function modifier($id, $codeTypePrestataire, $codePrestataire, $libelle, $codePays, $codeVille, $codeLocalite, - $adresseGeo, $adressePost, $telephoneFixe, $telephonePortable, $email, $nomResponsable, $contactResponsable, - $emailResponsable, $nomInterlocuteur, $contactInterlocuteur, $emailInterlocuteur,$numeroCompte, $codeGestionnaire, $codeNaturePrestataire) { - $sql = 'UPDATE prestataire SET codeTypePrestataire=?, codePrestataire=?, libelle=?, codePays=?, codeVille=?, codeLocalite=?, - adresseGeo=?, adressePost=?, telephoneFixe=?, telephonePortable=?, email=?, nomResponsable=?, contactResponsable=?, emailResponsable=?, - nomInterlocuteur=?, contactInterlocuteur=?, emailInterlocuteur=?, numeroCompte=?, codeGestionnaire=?, codeNaturePrestataire=? - where (id=?)'; - $this->executerRequete($sql, array($codeTypePrestataire, $codePrestataire, $libelle, $codePays, $codeVille, $codeLocalite, - $adresseGeo, $adressePost, $telephoneFixe, $telephonePortable, $email, $nomResponsable, $contactResponsable, - $emailResponsable, $nomInterlocuteur, $contactInterlocuteur, $emailInterlocuteur,$numeroCompte, $codeGestionnaire, $codeNaturePrestataire, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM prestataire WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codePrestataire) { - $sql = 'select id FROM prestataire WHERE (codeSociete=?) and (codePrestataire=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codePrestataire)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codePrestataire as `code`, libelle FROM prestataire WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeTypePrestataire($codeTypePrestataire) { - $sql = 'SELECT codePrestataire as `code`, libelle FROM prestataire - WHERE (codeSociete=?) and (codeTypePrestataire=?) - order by libelle'; - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'], $codeTypePrestataire)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListePharmacie() { - $sql = 'SELECT codePrestataire as `code`, libelle FROM prestataire - WHERE (codeTypePrestataire in ("PHA", "CSO")) - order by libelle'; - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeOpticien() { - $sql = 'SELECT codePrestataire as `code`, libelle FROM prestataire - WHERE (codeTypePrestataire = "OPT") - order by libelle'; - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeTypePrestataireBon() { - $sql = 'SELECT A.codePrestataire as `code`, A.libelle FROM prestataire A - join p_typeprestataire B on (B.codeTypePrestataire=A.codeTypePrestataire) - where B.gestionBon="1" order by 2;'; - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getemailGestionPrestataire($codePrestataire) - { - $codeSociete = $_SESSION['codeSociete']; - $sql = 'select fn_getemailGestionPrestataire(?, ?) as emailGestionPrestataire'; - $resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['emailGestionPrestataire']; - } - - public function getEmailPrestataire($codePrestataire) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'SELECT ifnull(emailGestionPrestataire, "kanelazeni@gmail.com") as emailGestionPrestataire , - libelle FROM prestataire WHERE (codeSociete=?) and (codePrestataire=?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire)); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getprestatairelike($codePrestataire, $nomsearch) - { - $nomsearch = contruireParamLike($nomsearch); - $codePrestataire = contruireParamLike($codePrestataire); - - $sql = 'call sp_r_prestataires_like(?, ?)'; - - $prestataires = $this->executerRequete($sql, array($codePrestataire, $nomsearch)); - - return $prestataires; - } - - public function getprestatairesvide() - { - $sql = 'call sp_r_prestataires_vide()'; - $prestataires = $this->executerRequete($sql); - - return $prestataires; - } - - public function getprestataireparametrage($codeTypePrestataire, $codeReseau, $libelle, $codePays, $codeVille ,$codeLocalite) - { - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeReseau = contruireParamLike($codeReseau); - $libelle = contruireParamLike($libelle); - $codePays = contruireParamLike($codePays); - $codeVille = contruireParamLike($codeVille); - $codeLocalite = contruireParamLike($codeLocalite); - - // $sql = 'call sp_liste_prestataires(?, ?, ?)'; - $sql = 'call sp_liste_prestataires_localite(?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeTypePrestataire, $codeReseau, $libelle, $codePays, $codeVille ,$codeLocalite)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getunprestataire($idPrestataire) - { - $sql = 'call sp_afficher_un_prestataire(?)'; - - $resultat = $this->executerRequete($sql, array($idPrestataire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idPrestataire, $libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, $codeTarifMedicament, - $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, $adressePost, $conventionne, - $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, - $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, $registreCommerce, $codeLanguePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_prestataire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPrestataire, $libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, $codeTarifMedicament, - $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, $adressePost, $conventionne, - $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, - $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, $registreCommerce, $codeLanguePrestataire, $user)); - } - - public function majcomptebancaire($codePrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, $intituleCompteBancaire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_maj_compte_bancaire_prestataire(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, $intituleCompteBancaire, $user)); - } - - public function getusersprestataire($codePrestataire) - { - $sql = 'call sp_get_users_prestataire(?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunprestatairebycode($codePrestataire) - { - $sql = 'select * from prestataire where (codePrestataire=?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function reinitpaswd($codeUtilisateur) - { - $sql = 'call sp_r_reinit_utilisateur_prestataire(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function desactiver($codeUtilisateur) - { - $sql = 'call sp_r_desactiver_utilisateur_prestataire(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function activer($codeUtilisateur) - { - $sql = 'call sp_r_activer_utilisateur_prestataire(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function listemailprestataire() - { - $sql = "select codePrestataire, libelle, email from prestataire where (email>' ') order by codePrestataire;"; - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestataireparametrageexport($codeTypePrestataire, $codeReseau, $libelle) - { - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeReseau = contruireParamLike($codeReseau); - $libelle = contruireParamLike($libelle); - - $sql = 'call sp_liste_prestataires_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeTypePrestataire, $codeReseau, $libelle)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // public function getprestataireactifparametrageexport($codeTypePrestataire, $codeReseau, $libelle) - public function getprestataireactifparametrageexport($codeTypePrestataire, $codeReseau, $libelle, $codePays, $codeVille ,$codeLocalite) - { - /* - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeReseau = contruireParamLike($codeReseau); - $libelle = contruireParamLike($libelle); - - // $sql = 'call sp_liste_prestataires_actif_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeTypePrestataire, $codeReseau, $libelle)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - */ - - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeReseau = contruireParamLike($codeReseau); - $libelle = contruireParamLike($libelle); - $codePays = contruireParamLike($codePays); - $codeVille = contruireParamLike($codeVille); - $codeLocalite = contruireParamLike($codeLocalite); - - // $sql = 'call sp_liste_prestataires_actif_export(?, ?, ?)'; - $sql = 'call sp_liste_prestataires_actif_export(?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeTypePrestataire, $codeReseau, $libelle, $codePays, $codeVille, $codeLocalite)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function creerprestataire($libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, $codeTarifMedicament, - $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, $adressePost, $conventionne, - $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, - $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, $registreCommerce, $codeLanguePrestataire) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_prestataire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $libelle, $codeTypePrestataire, $codeReseau, $codeTarifActe, $codeTarifMedicament, - $codeTarifOptique, $codePays, $villeSignature, $codeTypeDecompte, $adresseGeo, $numeroCompte, $adressePost, $conventionne, - $gestionreseau, $emailGestionPrestataire, $codeBanque, $codeBanqueInterne, $codeGuichet, $numeroCompteBancaire, $cleRib, $iban, - $intituleCompteBancaire, $codeVille, $codeLocalite, $smsGestionPrestataire, $registreCommerce, $codeLanguePrestataire, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idPrestataire']; - } - - - public function creeruserprestataire($nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, $AffectionVisible) - { - $codeSociete = $_SESSION['codeSociete']; - $codePrestataire = $_SESSION['codePrestataire_C']; - $user = $_SESSION['login']; - - $hash = password_hash($motPass, PASSWORD_DEFAULT); - - $sql = 'call sp_creer_user_prestataire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $nom, $prenoms, $telephone, $email, - $hash, $codeLangue, $actVisible, $AffectionVisible, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['codeUtilisateur']; - } - - public function desactiverprestataire($codePrestataire) - { - $sql = 'call sp_r_desactiver_prestataire(?)'; - - $this->executerRequete($sql, array($codePrestataire)); - } - - public function activerprestataire($codePrestataire) - { - $sql = 'call sp_r_activer_prestataire(?)'; - - $this->executerRequete($sql, array($codePrestataire)); - } - - public function getmedecinsprestataire($codePrestataire) - { - $sql = 'call sp_get_medecins_prestataire(?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getmedecinsnonaccessibles($codePrestataire) - { - $sql = 'CALL sp_get_medecins_non_accessibles_prestataire(?);'; - - $resultat = $this->executerRequete($sql, array($codePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutertousmedecinsprestataire($codePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_medecin_prestataire(?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $user)); - } - - public function retirertousmedecinsprestataire($codePrestataire) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_tous_medecin_prestataire(?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $user)); - } - - public function ajouterunmedecinprestataire($codePrestataire, $codeMedecin) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_medecin_prestataire(?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeMedecin, $user)); - } - - public function retirerunmedecinprestataire($codePrestataire, $codeMedecin) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_medecin_prestataire(?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $codeMedecin, $user)); - } - - public function gereraccesactes($codeUtilisateur, $actVisible) - { - $sql = 'call sp_r_gerer_accesactes_prestataire(?, ?)'; - - $this->executerRequete($sql, array($codeUtilisateur, $actVisible)); - } - - public function enregistrermodifuserprestataire($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_user_prestataire(?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible, $user)); - } - - public function getunuserprestataire($idUtilisateur) - { - $sql = 'call sp_un_user_prestataire(?)'; - - $resultat = $this->executerRequete($sql, array($idUtilisateur)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function gereraccesaffection($codeUtilisateur, $AffectionVisible) - { - $sql = 'call sp_r_gerer_accesaffection_prestataire(?, ?)'; - - $this->executerRequete($sql, array($codeUtilisateur, $AffectionVisible)); - } - - public function desactiverderogationfinger($codePrestataire, $motif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_desactiver_derogation_finger_prestataire(?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $motif, $user)); - } - - public function activerderogationfinger($codePrestataire, $motif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_activer_derogation_finger_prestataire(?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $motif, $user)); - } - - public function gethactivationderogationfingerprestataire($codePrestataire) - { - $sql = 'call sp_r_get_h_activation_derogation_finger_prestataire(?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getPrestatairesHorsGestionBon($codeGestionBon) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_r_get_prestataires_hors_gestion_bon_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_r_get_prestataires_hors_gestion_bon(?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeGestionBon)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getPrestatairesGestionBon($codeGestionBon) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_r_get_prestataires_gestion_bon(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeGestionBon)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutertousprestatairesgestionbon($codeGestionBon) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_prestataires_gestion_bon(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeGestionBon, $user)); - } - - public function ajouterunprestatairegestionbon($codeGestionBon, $codePrestataire) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_un_prestataires_gestion_bon(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeGestionBon, $codePrestataire, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Prestationactes.php b/radiantproduction/Modele/Prestationactes.php deleted file mode 100644 index faa5a17..0000000 --- a/radiantproduction/Modele/Prestationactes.php +++ /dev/null @@ -1,248 +0,0 @@ -executerRequete($sql, array($codePrestataire, $numeroFeuilleMaladie, $user, $codeActe, $codeMedecin, $quantite, $prixActe, $valeurActe, $montantTm, $aRembourser, - $idAdherent, $numeroAdherent, $idBeneficiaire, $numeroBeneficiaire)); - } - - - public function enregistrerchambre($codeActe, $quantite, $prixActe, $valeurActe, $montantTm, $aRembourser, $debut, $fin, $numeroChambre) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $user = $_SESSION['login']; - - $idAdherent = $_SESSION['idAdherent_C']; - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $numeroBeneficiaire = $_SESSION['numeroBeneficiaire_C']; - - $sql = 'call sp_p_enregistrer_chambre(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? , ? , ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $numeroFeuilleMaladie, $user, $codeActe, $quantite, $prixActe, - $valeurActe, $montantTm, $aRembourser, $debut, $fin, $idAdherent, $numeroAdherent, $idBeneficiaire, $numeroBeneficiaire, $numeroChambre)); - } - - public function getprestationsfeuille($numeroFeuilleMaladie, $codePrestataire) - { - $sql = 'call sp_p_get_prestations_feuille(?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function init_garantieadherent_temp($numeroFeuilleMaladie, $codePrestataire) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_init_garantieadherent_temp(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire, $idSaisie, $user, $tm)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function init_garantieadherent_temp_pha($numeroFeuilleMaladie, $codePrestataire) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_init_garantieadherent_temp_pha(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire, $idSaisie, $user, $tm)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function init_garantieadherent_temp_opt($numeroFeuilleMaladie, $codePrestataire) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_p_init_garantieadherent_temp_opt(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire, $idSaisie, $user, $tm)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getgarantieadherent_temp($numeroFeuilleMaladie, $codePrestataire) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_garantieadherent_temp(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie, $codePrestataire, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getchambresfeuille($numeroFeuilleMaladie) - { - if (est_anglophone()) - { - $sql = 'call sp_r_get_chambres_feuille_eng(?)'; - } - else - { - $sql = 'call sp_r_get_chambres_feuille(?)'; - } - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gettotalchambresfeuille($numeroFeuilleMaladie) - { - $sql = 'call sp_p_get_total_chambres_feuille(?)'; - - $resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie) ); - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function supprimeracte($idPrestationactes, $codeTypePrestation) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $sql = 'call sp_p_supprimer_acte_medical(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $numeroFeuilleMaladie, $idPrestationactes, $codeTypePrestation)); - } - - public function supprimerchambre($idChambre) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - - $sql = 'call sp_p_supprimer_acte_medical(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $numeroFeuilleMaladie, $idChambre, "HOSP")); - } - - public function requetesprestationactes($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeTypePrestation = contruireParamLike($codeTypePrestation); - - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleActe = contruireParamLike($libelleActe); - $libelleFamilleActe = contruireParamLike($libelleFamilleActe); - - $sql = 'call sp_requetes_prestationactes(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesprestationactestotal($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeTypePrestation = contruireParamLike($codeTypePrestation); - - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleActe = contruireParamLike($libelleActe); - $libelleFamilleActe = contruireParamLike($libelleFamilleActe); - - $sql = 'call sp_requetes_prestationactes_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function requetesprestationactesexport($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe) - { - $codePrestataire = contruireParamLike($codePrestataire); - $numeroAdherent = contruireParamLike($numeroAdherent); - $numeroBeneficiaire = contruireParamLike($numeroBeneficiaire); - $codeMedecin = contruireParamLike($codeMedecin); - $codeTypePrestataire = contruireParamLike($codeTypePrestataire); - $codeTypePrestation = contruireParamLike($codeTypePrestation); - /* - $hospitalisation = contruireParamLike($hospitalisation); - $numeroChambre = contruireParamLike($numeroChambre); - $chirurgie = contruireParamLike($chirurgie); - $facture = contruireParamLike($facture); - */ - $adherent = contruireParamLike($adherent); - $beneficiaire = contruireParamLike($beneficiaire); - $libelleActe = contruireParamLike($libelleActe); - $libelleFamilleActe = contruireParamLike($libelleFamilleActe); - - $sql = 'call sp_requetes_prestationactes_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $datePrestation1, $datePrestation2, $numeroAdherent, $numeroBeneficiaire, $codeMedecin, - $numeroBonConsultation1, $numeroBonConsultation2, $numeroBonOrdonnance1, $numeroBonOrdonnance2, $numeroBonHospitalisation1, - $numeroBonHospitalisation2, $numeroBonOptique1, $numeroBonOptique2, $codeTypePrestataire, $numeroFeuilleMaladie1, - $numeroFeuilleMaladie2, $codeTypePrestation, $ententePrealable, $numeroChambre, $facture, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)); - - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getLimitesBeneficiaireTempAssureur() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $tm = $_SESSION['tm_C']; - - $sql = 'call sp_r_get_limitebeneficiaire_temp(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $idSaisie, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Prestationactes_temp.php b/radiantproduction/Modele/Prestationactes_temp.php deleted file mode 100644 index 2ce367f..0000000 --- a/radiantproduction/Modele/Prestationactes_temp.php +++ /dev/null @@ -1,195 +0,0 @@ -executerRequete($sql, array($idReglement, $numeroDecompte, $idFacture, $idSaisie, $user) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getprestationsfeuille_temp_pha($numeroDecompte, $idFacture) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idReglement = $_SESSION['idReglement_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_prestations_feuille_temp_pha(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $numeroDecompte, $idFacture, $idSaisie, $user) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestationsfeuille_temp_total() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $idFacture = $_SESSION['idFacture_C']; - - $sql = 'call sp_p_get_prestations_feuille_temp_total(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idFacture, $idSaisie, $user) ); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function afficherprestationsfeuille_temp() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idFacture = $_SESSION['idFacture_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_afficher_prestations_feuille_temp(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idFacture, $idSaisie, $user) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function afficherprestationsfeuille_temp_pha() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idFacture = $_SESSION['idFacture_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_afficher_prestations_feuille_temp_pha(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idFacture, $idSaisie, $user)) ; - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_facture_decompte() - { - $idFacture = $_SESSION['idFacture_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_r_get_facture_decompte(?)'; - - $resultat = $this->executerRequete($sql, array($idFacture) ); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['hospitalisation_C'] = $ligne['hospitalisation']; - $_SESSION['chirurgie_C'] = $ligne['chirurgie']; - - // return $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne; - } - - public function validerprestation($idPrestationactes, $choix) - { - $sql = 'call sp_r_valider_prestation(?, ?)'; - - $this->executerRequete($sql, array($idPrestationactes, $choix)); - } - - public function validerfacturedec($idFacture) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_facture_temp(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $idReglement, $numeroDecompte, $numeroFeuilleMaladie, $idFacture, $idSaisie, $user)); - } - - - public function validerfacturedecpha($idFacture) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_facture_temp_pha(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $idReglement, $numeroDecompte, $numeroFeuilleMaladie, $idFacture, $idSaisie, $user)); - } - - public function reinitfacturedec($idFacture) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_reinit_facture_temp(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $idReglement, $numeroDecompte, $numeroFeuilleMaladie, $idFacture, $idSaisie, $user)); - } - - public function majmontantforce($idPrestationactes, $montantForce) - { - $sql = 'call sp_r_maj_montantforce_prestation(?, ?)'; - $this->executerRequete($sql, array($idPrestationactes, $montantForce)); - } - - // OPTIQUES - - public function getprestationsfeuille_temp_opt($numeroDecompte, $idFacture) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idReglement = $_SESSION['idReglement_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_get_prestations_feuille_temp_opt(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $numeroDecompte, $idFacture, $idSaisie, $user) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function afficherprestationsfeuille_temp_opt() - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idFacture = $_SESSION['idFacture_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_p_afficher_prestations_feuille_temp_opt(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idFacture, $idSaisie, $user) ); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function validerfacturedecopt($idFacture) - { - $codePrestataire = $_SESSION['codePrestataire_C']; - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_facture_temp_opt(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codePrestataire, $idReglement, $numeroDecompte, $numeroFeuilleMaladie, $idFacture, $idSaisie, $user)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Produit.php b/radiantproduction/Modele/Produit.php deleted file mode 100644 index 497b343..0000000 --- a/radiantproduction/Modele/Produit.php +++ /dev/null @@ -1,210 +0,0 @@ -executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getProduit($id) - { - $sql = 'CALL sp_afficher_produit(?);'; - - $resultat = $this->executerRequete($sql, array($id)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - public function getnombreProduit() - { - $sql = 'select count(*) as nbProduit FROM produit A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbProduit']; - } - - public function ajouter($codeSociete,$codeProduit, $libelle, $codeEtatProduit, $dateEtat, $codeBaseTarification, $primeFixe, - $primeFamille, $primeIndividu, $codeReseau) - { - $sql = 'INSERT INTO produit (codeSociete, codeProduit, libelle, codeEtatProduit, dateEtat, codeBaseTarification, primeFixe, - primeFamille, primeIndividu, codeReseau) - VALUES (?,?,?,?,?,?,?,?,?,?)'; - $this->executerRequete($sql, array($codeSociete, $codeProduit, $libelle, $codeEtatProduit, $dateEtat, $codeBaseTarification, $primeFixe, - $primeFamille, $primeIndividu, $codeReseau)); - } - - public function modifier($id, $codeProduit, $libelle, $codeEtatProduit, $dateEtat, $codeBaseTarification, $primeFixe, - $primeFamille, $primeIndividu, $codeReseau) - { - $sql = 'UPDATE produit SET codeProduit=?, libelle=?, codeEtatProduit=?, dateEtat=?, codeBaseTarification=?, primeFixe=?, - primeFamille=?, primeIndividu=?, codeReseau=? - where (id=?)'; - $this->executerRequete($sql, array($codeProduit, $libelle, $codeEtatProduit, $dateEtat, $codeBaseTarification, $primeFixe, - $primeFamille, $primeIndividu, $codeReseau, $id)); - } - - public function supprimer($id) - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_supprimer_produit(?, ?);'; - - $this->executerRequete($sql, array($id, $user)); - - } - - public function existeligne($codeProduit) - { - $sql = 'select id FROM produit WHERE (codeSociete=?) and (codeProduit=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeProduit)); - - return ($resultat->rowCount() > 0); - } - - public function creerproduit($codeProduit, $libelle, $primeFamille, $primeIndividu, $primeMin, $primeMax) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_produit(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $libelle, $primeFamille, $primeIndividu, $primeMin, $primeMax, $user)); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeProduit as `code`, libelleEng as libelle FROM produit WHERE (codeSociete=?) order by libelle'; - } - else - { - $sql = 'SELECT codeProduit as `code`, libelle FROM produit WHERE (codeSociete=?) order by libelle'; - } - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunproduit($idProduit) - { - $sql = 'call sp_afficher_un_produit(?)'; - - $resultat = $this->executerRequete($sql, array($idProduit)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idProduit, $libelle, $primeFamille, $primeIndividu, $primeMin, $primeMax) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_produit(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idProduit, $libelle, $primeFamille, $primeIndividu, $primeMin, $primeMax, $user)); - } - - public function getgarantiessansseuil($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_get_garanties_sans_seuil_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_get_garanties_sans_seuil(?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeProduit)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getgarantiesavecseuil($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_get_garanties_avec_seuil_eng(?, ?);'; - } - else - { - $sql = 'CALL sp_get_garanties_avec_seuil(?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeProduit)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutertousgarantieproduit($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_garantie_produit(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $user)); - } - - public function retirertousgarantieproduit($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_tous_garantie_produit(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $user)); - } - - public function retirerungarantieproduit($idGarantieProduit) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_garantie_produit(?, ?)'; - - $this->executerRequete($sql, array($idGarantieProduit, $user)); - } - - public function ajouterungarantieproduit($codeProduit, $codeGarantie) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_garantie_produit(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $codeGarantie, $user)); - } - - public function majtauxseuilalertegarantie($idGarantieProduit, $tauxSeuilAlerte) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_taux_seuil_alerte_garantie(?, ?, ?)'; - - $this->executerRequete($sql, array($idGarantieProduit, $tauxSeuilAlerte, $user)); - } - - public function majseuilalertegarantie($idGarantieProduit, $seuilAlerte) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_seuil_alerte_garantie(?, ?, ?)'; - - $this->executerRequete($sql, array($idGarantieProduit, $seuilAlerte, $user)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Profil.php b/radiantproduction/Modele/Profil.php deleted file mode 100644 index eb0072a..0000000 --- a/radiantproduction/Modele/Profil.php +++ /dev/null @@ -1,69 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeProfil,$libelle)); - return $profils; - } - public function getProfil($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeProfil, A.libelle, A.codeProfilSysteme, B.libelle as profilSysteme - FROM profil A left join profilsysteme B on (B.codeProfilSysteme=A.codeProfilSysteme) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $profil = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $profil->fetch(PDO::FETCH_ASSOC); - } - public function getNombreProfil() - { - $sql = 'select count(*) as nbProfil FROM profil A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbProfil']; - } - - public function ajouter($codeSociete, $codeProfil, $libelle, $codeProfilSysteme) { - $sql = 'INSERT INTO profil (codeSociete, codeProfil, libelle, codeProfilSysteme) VALUES (?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeProfil, $libelle, $codeProfilSysteme)); - } - - public function modifier($id, $codeProfil, $libelle, $codeProfilSysteme) { - $sql = 'UPDATE profil SET codeProfil=?, libelle=?, codeProfilSysteme=? where (id=?)'; - $this->executerRequete($sql, array($codeProfil, $libelle, $codeProfilSysteme, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM profil WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeProfil) { - $sql = 'select id FROM profil WHERE (codeSociete=?) and (codeProfil=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeProfil)); - return ($resultat->rowCount() > 0); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeProfil as `code`, libelleEng as libelle FROM profil WHERE (codeSociete=?) order by libelleEng'; - } - else - { - $sql = 'SELECT codeProfil as `code`, libelle FROM profil WHERE (codeSociete=?) order by libelle'; - } - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Profilsysteme.php b/radiantproduction/Modele/Profilsysteme.php deleted file mode 100644 index 7b82f6e..0000000 --- a/radiantproduction/Modele/Profilsysteme.php +++ /dev/null @@ -1,12 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Quittance.php b/radiantproduction/Modele/Quittance.php deleted file mode 100644 index 1ad0425..0000000 --- a/radiantproduction/Modele/Quittance.php +++ /dev/null @@ -1,245 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$numeroQuittance)); - return ($resultat->rowCount() > 0); - } - - public function getDenierNumeroQuittance() - { - $sql = 'select dernierNumeroQuittance from numerotationquittance WHERE (codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - if ($resultat->rowCount() == 0) - { - $sql = 'INSERT INTO numerotationquittance (codeSociete, dernierNumeroQuittance) values (?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'], "1")); - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['dernierNumeroQuittance']; - } - } - - public function setDenierNumeroQuittance($numeroQuittance) - { - $sql = 'update numerotationquittance set dernierNumeroQuittance=? WHERE (codeSociete=?)'; - $this->executerRequete($sql, array($numeroQuittance, $_SESSION['codeSociete'])); - } - - public function facturer($idPolice, $numeroQuittance, $nbAliment) { - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc - FROM beneficiaire A WHERE (A.codeSociete=?) AND (A.idPolice=?) - AND (A.codeEtatFacturation ="9") AND (A.primeTtc!=0)'; - - $totaafacturer = $this->executerRequete($sql, array($_SESSION['codeSociete'], $idPolice)); - $prime = $totaafacturer->fetch(PDO::FETCH_ASSOC); - - $dateEmission = date("Y-m-d"); - $dateCre = date("Y-m-d"); - $user = $_SESSION['login']; - $primeNette = $prime['primeNette']; - $primeHt = $prime['primeHt']; - $taxe = $prime['taxe']; - $fraisCarte = $prime['fraisCarte']; - $primeTtc = $prime['primeTtc']; - $commission = $prime['commission']; - - $idQuittance = $this->ajouter($idPolice, $numeroQuittance, $dateEmission, $primeNette, $primeHt, $taxe, $fraisCarte, - $primeTtc, $commission, $dateCre, $user, $nbAliment); - - return $idQuittance; - } - - public function ajouter($idPolice, $numeroQuittance, $dateEmission, $primeNette, $primeHt, $taxe, - $fraisCarte, $primeTtc, $commission, $dateCre, $user, $nbAliment) - { - $sql = 'INSERT INTO quittance (codeSociete, idClient, numeroClient, idPolice, numeroPolice, numeroQuittance, - codeTypeAvenant, codeTypeOperation, numeroAvenant, dateEffet, dateEcheance, dateEmission, primeNette, - primeHt, taxe, fraisCarte, primeTtc, commission, dateCre, user, nbAliment, deduireComm) - - SELECT codeSociete, idClient, numeroClient, A.id AS idPolice, numeroPolice, ? AS numeroQuittance, - A.codeTypeAvenant, "EMI" AS codeTypeOperation, numeroAvenant, dateEffet, dateEcheance, ? AS dateEmission, - ? AS primeNette, ? As primeHt, ? AS taxe, ? AS fraisCarte, ? AS primeTtc, ? AS commission, ? AS dateCre, - ? AS user, ? as nbAliment, deduireComm - FROM police A WHERE (id=?)'; - - $this->executerRequete($sql, array($numeroQuittance, $dateEmission, $primeNette, $primeHt, $taxe, - $fraisCarte, $primeTtc, $commission, $dateCre, $user, $nbAliment, $idPolice)); - - return $this->dernierId(); - } - - - public function solderquittance($idQuittance) - { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $dateCre = date("Y-m-d"); - $user = $_SESSION['login']; - - $sql = 'insert into detailencaissement_temp (codeSociete, idEncaissement, idQuittance, numeroQuittance, - primeNette, primeNetteCie, accessoireCie, assesoireApporteur, accessoire, primeHt, taxe, fraisCarte, - commission, commissionAutre, primeTtc, dateCre, user, regle, anc_solde, deduireComm, idPolice) - - select codeSociete, ? as idEncaissement, id as idQuittance, numeroQuittance, - primeNette, primeNetteCie, accessoireCie, assesoireApporteur, accessoire, primeHt, taxe, fraisCarte, - commission, commissionAutre, (primeTtc-encaisse) as primeTtc, ? as dateCre, ? user, "1" as regle, - (primeTtc-encaisse) as anc_solde, deduireComm, idPolice - from quittance where id=?'; - - $this->executerRequete($sql, array($idEncaissementTemp, $dateCre, $user, $idQuittance)); - } - - public function ajouteracomptequittance($idQuittance, $montantAcpte, $primeTtcAcpte) - { - $idEncaissementTemp = $_SESSION['idEncaissementTemp']; - $dateCre = date("Y-m-d"); - $user = $_SESSION['login']; - - $rapport = 0; - if($primeTtcAcpte!=0) - { - $rapport =($montantAcpte/$primeTtcAcpte); - } - - $sql = 'insert into detailencaissement_temp (codeSociete, idEncaissement, idQuittance, numeroQuittance, - primeNette, primeNetteCie, accessoireCie, assesoireApporteur, accessoire, primeHt, taxe, fraisCarte, - commission, commissionAutre, primeTtc, dateCre, user, anc_solde, deduireComm, idPolice) - - select codeSociete, ? as idEncaissement, id as idQuittance, numeroQuittance, - primeNette*?, primeNetteCie*?, accessoireCie*?, assesoireApporteur*?, accessoire*?, primeHt*?, taxe*?, fraisCarte*?, - commission*?, commissionAutre*?, primeTtc*?, ? as dateCre, ? user, (primeTtc-encaisse) as anc_solde, deduireComm, idPolice - from quittance where id=?'; - - $this->executerRequete($sql, array($idEncaissementTemp, $rapport, $rapport, $rapport, $rapport, $rapport, - $rapport, $rapport, $rapport, $rapport, $rapport, $rapport, $dateCre, $user, $idQuittance)); - } - - public function getQuittance($numeroQuittance) { - } - - public function getQuittanceId($idQuittance) - { - $sql = 'SELECT A.id, A.id AS idQuittance, A.numeroQuittance, A.codeTypeAvenant, - B.libelle AS typeavenant, B.libelleEng AS typeavenantEng, - A.codeTypeOperation, C.libelle AS typeoperation, C.libelleEng AS typeoperationEng, - A.numeroAvenant, A.dateEffet, A.dateEcheance, libelleQuittance, - A.dateEmission, A.primeNette, A.primeHt, A.taxe, A.fraisCarte, A.primeTtc, A.commission, A.encaisse, - (A.primeTtc-A.encaisse) AS solde, nbAliment, numeroEmission - FROM quittance A - LEFT JOIN typeavenant B ON (B.codeTypeAvenant=A.codeTypeAvenant) - LEFT JOIN typeoperation C ON (C.codeTypeOperation=A.codeTypeOperation) - WHERE A.id=?'; - - $resultat = $this->executerRequete($sql, array($idQuittance)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function supprimer($id) { - $sql = 'DELETE FROM quittance WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getQuittancesId($idPolice) - { - $dateJour = date("Y-m-d"); - - $sql = 'call sp_emissions_police(?, ?)'; - - $quittances = $this->executerRequete($sql, array($idPolice, $dateJour)); - - return $quittances->fetchAll(PDO::FETCH_ASSOC); - } - - public function getQuittancesimpayees($idClient) - { - $sql = 'SELECT A.*, (A.primeTtc-A.encaisse) AS solde, B.idEncaissement - FROM quittance A - left join detailencaissement_temp B on (B.codeSociete=A.codeSociete) and (B.idQuittance=A.id) - WHERE (A.idClient=?) AND (A.primeTtc!=A.encaisse) - ORDER BY numeroQuittance'; - - $quittances = $this->executerRequete($sql, array($idClient)); - return $quittances; - } - - public function getTotalQuittance($idPolice) - { - $dateJour = date("Y-m-d"); - - $sql = 'call sp_emissions_total_police(?, ?)'; - - $totalquittance = $this->executerRequete($sql, array($idPolice, $dateJour)); - - return $totalquittance->fetch(PDO::FETCH_ASSOC); - - } - - public function getTotalQuittanceImpayee($idClient) { - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc, - IFNULL(sum(encaisse),"0") as encaisse, IFNULL(sum(primeTtc-encaisse),"0") as solde - FROM quittance A WHERE (idClient=?) AND (primeTtc!=encaisse)'; - - $totalquittance = $this->executerRequete($sql, array($idClient)); - return $totalquittance->fetch(PDO::FETCH_ASSOC); - - - } - - public function getQuittancesEmission($idEmission) - { - $sql = 'call sp_get_quittances_emission(?)'; - - $resultat = $this->executerRequete($sql, array($idEmission)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTotalQuittanceEmission($idEmission) { - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc, - IFNULL(sum(encaisse),"0") as encaisse, IFNULL(sum(primeTtc-encaisse),"0") as solde - FROM quittance A WHERE (A.idEmission=?)'; - - $totalquittance = $this->executerRequete($sql, array($idEmission)); - return $totalquittance->fetch(PDO::FETCH_ASSOC); - } - - public function getQuittancesPolicePeriode($idPolice, $debut, $fin) - { - $sql = 'call sp_emissions_police_periode(?, ?, ?)'; - - $quittances = $this->executerRequete($sql, array($idPolice, $debut, $fin)); - - return $quittances->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTotalQuittancePeriode($idPolice, $debut, $fin) - { - $sql = 'call sp_emissions_total_police_periode(?, ?, ?)'; - - $totalquittance = $this->executerRequete($sql, array($idPolice, $debut, $fin)); - - return $totalquittance->fetch(PDO::FETCH_ASSOC); - - } - - public function getQuittanceIdExport($idQuittance) - { - $sql = 'call sp_get_quittance_id(?)'; - - $resultat = $this->executerRequete($sql, array($idQuittance)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Rachattm.php b/radiantproduction/Modele/Rachattm.php deleted file mode 100644 index fce3df0..0000000 --- a/radiantproduction/Modele/Rachattm.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Raisonconsultation.php b/radiantproduction/Modele/Raisonconsultation.php deleted file mode 100644 index 6247364..0000000 --- a/radiantproduction/Modele/Raisonconsultation.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Reglement.php b/radiantproduction/Modele/Reglement.php deleted file mode 100644 index b2e0c00..0000000 --- a/radiantproduction/Modele/Reglement.php +++ /dev/null @@ -1,913 +0,0 @@ -executerRequete($sql, array($codePrestataire, $codeExercice, $codeMois)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['idReglement']; - } - - public function get_numerodecompte($idReglement) - { - $sql = 'select fn_get_numerodecompte(?) as numeroDecompte'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['numeroDecompte']; - } - - public function getreglement($idReglement) - { - $sql = 'call sp_r_get_reglement(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getinfosdecompte($idReglement) - { - $sql = 'call sp_r_get_infos_decompte(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getdetaildecompte($numeroDecompte) - { - $sql = 'call sp_r_get_detail_decompte(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function initdecompteprestataire() - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $codePrestataire = $_SESSION['codePrestataire_C']; - $codeExercice = $_SESSION['codeExercice_C']; - $codeMois = $_SESSION['codeMois_C']; - - $sql = 'call sp_r_init_decompte_prestataire(?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $codePrestataire, $user, $codeExercice, $codeMois)); - } - - - public function rechargerfacture($idReglement, $numeroDecompte, $numeroLotDecompte, $codePrestataire, $codeExercice, $codeMois) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_recharger_facture_decompte(?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idReglement, $numeroDecompte, $numeroLotDecompte, $codePrestataire, $codeExercice, $codeMois, $user)); - } - - public function recapdecompte($idReglement, $numeroDecompte) - { - $sql = 'call sp_r_recap_decompte(?, ?)'; - $this->executerRequete($sql, array($idReglement, $numeroDecompte)); - } - - public function reinitialiserdecompte($idReglement, $numeroDecompte) - { - $user = $_SESSION['login']; - $sql = 'call sp_r_reinitialiser_decompte(?, ?, ?)'; - $this->executerRequete($sql, array($idReglement, $numeroDecompte, $user)); - } - - public function validerdecompte($idReglement, $numeroDecompte) - { - $user = $_SESSION['login']; - $sql = 'call sp_r_valider_decompte(?, ?, ?)'; - $this->executerRequete($sql, array($idReglement, $numeroDecompte, $user)); - } - - public function validerdecomptepremier($idReglement, $numeroDecompte) - { - $user = $_SESSION['login']; - $sql = 'call sp_r_valider_decompte_premier(?, ?, ?)'; - $this->executerRequete($sql, array($idReglement, $numeroDecompte, $user)); - } - - public function majmontantforce($idFacture, $montantForce, $idReglement, $numeroDecompte) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_montantforce(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idFacture, $montantForce, $idReglement, $numeroDecompte, $user)); - } - - public function majobservations($idFacture, $observations) - { - $sql = 'call sp_r_maj_observations_facture(?, ?)'; - $this->executerRequete($sql, array($idFacture, $observations)); - } - - - public function majbordereaudecompte($idReglement, $numeroBordereau) - { - $sql = 'call sp_r_maj_bordereau_decompte(?, ?)'; - $this->executerRequete($sql, array($idReglement, $numeroBordereau)); - } - - public function validerfacture($idFacture, $choix) - { - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $_SESSION['numeroDecompte_C']; - $codePrestataire = $_SESSION['codePrestataire_C']; - - $sql = 'call sp_r_valider_facture(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idFacture, $choix, $idReglement, $numeroDecompte)); - } - - // Fin - - public function enregistrerreglementdecompte($idReglement, $numeroDecompte, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_regler_decompte(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idReglement, $numeroDecompte, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur, $user)); - - // $_SESSION['fraisFunerairePaye_C'] = "1"; - } - - - public function getfraisfuneraires($d1, $d2) - { - $sql = 'call sp_p_get_derogations_beneficiaire(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $idBeneficiaire, $d1, $d2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdecomptes($codePrestataire, $codeExercice, $codeMois, $codeEtatDecompte) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeEtatDecompte = contruireParamLike($codeEtatDecompte); - - $sql = 'call sp_r_get_decomptes(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codeExercice, $codeMois, $codeEtatDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdecomptesperiode($codePrestataire, $codePerdiode1, $codePerdiode2, $codeEtatDecompte) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeEtatDecompte = contruireParamLike($codeEtatDecompte); - - $sql = 'call sp_r_get_decomptes_periode(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codePerdiode1, $codePerdiode2, $codeEtatDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdecomptesperiodeexport($codePrestataire, $codePerdiode1, $codePerdiode2, $codeEtatDecompte) - { - $codePrestataire = contruireParamLike($codePrestataire); - $codeEtatDecompte = contruireParamLike($codeEtatDecompte); - - if (est_anglophone()) - { - $sql = 'call sp_r_get_decomptes_periode_export_eng(?, ?, ?, ?)'; - } - else - { - $sql = 'call sp_r_get_decomptes_periode_export(?, ?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codePerdiode1, $codePerdiode2, $codeEtatDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildecompteexport($numeroDecompte) - { - $sql = 'call sp_p_bordereau_decompte_export(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildecompteexportcso($numeroDecompte) - { - $sql = 'call sp_p_bordereau_decompte_export_cso(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildecompteexportcsoid($idReglement) - { - $sql = 'call sp_p_bordereau_decompte_export_cso_id(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildecompteexportpha($numeroDecompte) - { - $sql = 'call sp_p_bordereau_decompte_export_pha(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildecompteexportopt($numeroDecompte) - { - $sql = 'call sp_p_bordereau_decompte_export_opt(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdetaildecompteexportlab($numeroDecompte) - { - $sql = 'call sp_p_bordereau_decompte_export_lab(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getdetaildecompteexportsea($numeroDecompte) - { - // $sql = 'call sp_p_bordereau_decompte_export_lab(?)'; - $sql = 'call sp_p_bordereau_decompte_export_sea(?)'; - - $resultat = $this->executerRequete($sql, array($numeroDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function savsessiondecompte() - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_savsessiondecompte(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idSaisie, $user, $idReglement)); - } - - public function changerverificateur() - { - $idReglement = $_SESSION['idReglement_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_changerverificateur(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $user)); - } - - public function requetesverification($codeExercice, $codeMois) - { - $sql = 'call sp_requetes_verification(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeExercice, $codeMois)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function requetesverificateur($codeExercice, $codeMois) - { - $sql = 'call sp_requetes_verificateur(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeExercice, $codeMois)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function requetesverificationexport($codeExercice, $codeMois) - { - $sql = 'call sp_requetes_verification_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeExercice, $codeMois)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function requetesverificateurexport($codeExercice, $codeMois) - { - $sql = 'call sp_requetes_verificateur_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeExercice, $codeMois)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majdatereception($dateReception) - { - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_majdatereception(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $dateReception)); - } - - public function majreceptionfactureprestataire($dateReception, $montantPrestataire) - { - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_maj_reception_facture_prestataire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $dateReception, $montantPrestataire)); - - // throw new Exception("MAJ TERMINE"); - // exit(); - } - - public function validertouteslesfacturesdecompte($idReglement, $numeroDecompte) - { - $sql = 'call sp_r_valider_decompte_tous(?, ?)'; - $this->executerRequete($sql, array($idReglement, $numeroDecompte)); - } - - public function novalidprestataire($idReglement, $numeroDecompte) - { - $user = $_SESSION['login']; - $sql = 'call sp_r_no_valider_prestataire(?, ?)'; - $this->executerRequete($sql, array($idReglement, $user)); - } - - public function getprovisions($debutAnalyse, $dateAnalyse) - { - $codeSociete = $_SESSION['codeSociete']; - - // $sql = 'call sp_get_provisions_sinistre(?, ?, ?)'; - $sql = 'call sp_get_provisions_sinistre_date_cpt(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $debutAnalyse, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprovisions_date_cpt($debutAnalyse, $dateAnalyse) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_get_provisions_sinistre_date_cpt(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $debutAnalyse, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprovisions_date_sys($debutAnalyse, $dateAnalyse) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_get_provisions_sinistre_date_sys(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $debutAnalyse, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function demanderreglement($idReglement, $numeroDecompte) - { - $user = $_SESSION['login']; - $sql = 'call sp_r_demander_reglement_prestataire(?, ?)'; - $this->executerRequete($sql, array($idReglement, $user)); - } - - public function getdemandesreglement() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_get_demandes_reglement(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdemandesreglementexport() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_get_demandes_reglement_export(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getrelevecompteprestaire($codePrestataire, $codePerdiode1, $codePerdiode2) - { - $sql = 'call sp_releve_compte_prestataire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codePerdiode1, $codePerdiode2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getrelevecompteprestaireexport($codePrestataire, $codePerdiode1, $codePerdiode2) - { - $sql = 'call sp_releve_compte_prestataire_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codePerdiode1, $codePerdiode2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function initpaiementdecompte() - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_init_paiementdecompte(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $user)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idPaiementDecompte_C'] = $context['idPaiementDecompte']; - } - - public function getListeCompsanteReglement() - { - if (est_anglophone()) - { - $sql = 'SELECT codeComposante as `code`, libelleEng as libelle FROM composante_paiementdecompte order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeComposante as `code`, libelle FROM composante_paiementdecompte order by ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function recappaiementdecompte() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $sql = 'call sp_r_recap_paiementdecompte(?)'; - - $this->executerRequete($sql, array($idPaiementDecompte)); - } - - public function getpaiementdecompte($idPaiementDecompte) - { - $sql = 'call sp_r_get_paiementdecompte(?)'; - - $resultat = $this->executerRequete($sql, array($idPaiementDecompte)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - /* - public function getpaiementdecomptes($debut, $fin) - { - $sql = 'call sp_r_get_paiementdecomptes(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - */ - - public function getpaiementdecomptes($debut, $fin, $valide) - { - $valide = contruireParamLike($valide); - - $sql = 'call sp_r_get_paiementdecomptes(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin, $valide)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_paiementdecompte_non_sel() - { - $codeSociete = $_SESSION['codeSociete']; - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_get_paiementdecompte_non_sel(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idPaiementDecompte, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_paiementdecompte_sel() - { - $codeSociete = $_SESSION['codeSociete']; - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_get_paiementdecompte_sel(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $idPaiementDecompte, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function selectionner_paiementdecompte_non_sel_tout($choix) - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_paiementdecompte_non_sel_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPaiementDecompte, $idSaisie, $user, $choix)); - } - - public function re_afficher_paiementdecompte_non_sel() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_paiementdecompte_non_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPaiementDecompte, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function selectionner_paiementdecompte_non_sel($idDecompteTemp) - { - $sql = 'call sp_r_selectionner_paiementdecompte_non_sel(?)'; - $this->executerRequete($sql, array($idDecompteTemp)); - } - - public function de_selectionner_paiementdecompte_non_sel($idDecompteTemp) - { - $sql = 'call sp_r_de_selectionner_paiementdecompte_non_sel(?)'; - $this->executerRequete($sql, array($idDecompteTemp)); - } - - public function getanomaliesdecomptes() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_controle_verification(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getanomaliesdecomptesexport() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_controle_verification(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function valider_selection_paiement_decompte_non_sel() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_selection_paiementdecompte_non_sel(?, ?, ?)'; - - $this->executerRequete($sql, array($idPaiementDecompte, $idSaisie, $user)); - } - - public function re_afficher_paiementdecompte_sel() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - - $sql = 'call sp_r_re_afficher_paiementdecompte_sel(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPaiementDecompte, $idSaisie, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function selectionner_paiementdecompte_sel_tout($choix) - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_selectionner_paiementdecompte_sel_tout(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPaiementDecompte, $idSaisie, $user, $choix)); - } - - public function selectionner_paiementdecompte_sel($idDecompteTemp) - { - $sql = 'call sp_r_selectionner_paiementdecompte_sel(?)'; - $this->executerRequete($sql, array($idDecompteTemp)); - } - - public function de_selectionner_paiementdecompte_sel($idDecompteTemp) - { - $sql = 'call sp_r_de_selectionner_paiementdecompte_sel(?)'; - $this->executerRequete($sql, array($idDecompteTemp)); - } - - public function valider_selection_paiement_decompte_sel() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_selection_paiementdecompte_sel(?, ?, ?)'; - - $this->executerRequete($sql, array($idPaiementDecompte, $idSaisie, $user)); - } - - public function enregistrervaliderpaiementdecompte($idPaiementDecompte, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur) - { - // $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_valider_paiementdecompte(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idPaiementDecompte, $dateComptable, $montantPaye, $codeModePaiement, $referencePaiement, $codeBanquePayeur, $user)); - - } - - public function get_paiementdecompte_cons() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $sql = 'call sp_r_get_paiementdecompte_cons(?)'; - - $resultat = $this->executerRequete($sql, array($idPaiementDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function get_paiementdecompte_export() - { - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - - $sql = 'call sp_r_get_paiementdecompte_export(?)'; - - $resultat = $this->executerRequete($sql, array($idPaiementDecompte)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getattentedemandesreglement() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_get_attente_demandes_reglement(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getattentedemandesreglementexport() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_get_attente_demandes_reglement_export(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function rattrapagereceptionfactureprestataire($dateReception, $montantPrestataire, $motif) - { - $idReglement = $_SESSION['idReglement_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_rattrapage_reception_facture_prestataire(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $dateReception, $montantPrestataire, $user, $motif)); - - } - - public function getrattrapagereceptionfactureprestataire() - { - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_get_rattrapage_reception_facture_prestataire(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getpropositionpayementprestataire($codePerdiode1, $codePerdiode2) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_get_proposition_payement_prestataire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codePerdiode1, $codePerdiode2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getpropositionpayementprestataireexport($codePerdiode1, $codePerdiode2) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_r_get_proposition_payement_prestataire_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codePerdiode1, $codePerdiode2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // - public function getdemandesreglementfiltre($codePrestataire, $codePerdiode1, $codePerdiode2) - { - $codePrestataire = contruireParamLike($codePrestataire); - - $sql = 'call sp_r_get_demandes_reglement_filtre(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codePerdiode1, $codePerdiode2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdemandesreglementfiltreexport($codePrestataire, $codePerdiode1, $codePerdiode2) - { - $codePrestataire = contruireParamLike($codePrestataire); - - $sql = 'call sp_r_get_demandes_reglement_filtre_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codePrestataire, $codePerdiode1, $codePerdiode2)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getecartdecomptefactures() - { - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_get_ecart_decompte_factures(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getecartdecomptenonsaisis() - { - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_get_ecart_decompte_non_saisis(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majobservationsecart($idEcart, $observations) - { - $sql = 'call sp_r_maj_observations_ecart_facture(?, ?)'; - $this->executerRequete($sql, array($idEcart, $observations)); - } - - public function getecartsdecompte($codeTypeEcart) - { - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_get_ecarts_decompte(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idReglement, $codeTypeEcart)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function recapecratdecompte($idReglement) - { - $sql = 'call sp_r_recap_ecarts_decompte(?)'; - $this->executerRequete($sql, array($idReglement)); - } - - public function getrecapecartdecompte($idReglement) - { - $sql = 'call sp_r_get_ecarts_decompte_total(?)'; - - $resultat = $this->executerRequete($sql, array($idReglement)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getBeneficiaire($numeroBeneficiaire) - { - $sql = 'call sp_r_recherche_beneficiaire_no(?, ?);'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroBeneficiaire)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function ajouter_ecartdecompte_non_saisi($idBeneficiaire, $dateFacture, $montantPrestataire, $observations) - { - $user = $_SESSION['login']; - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_ajouter_ecartdecompte_non_saisi(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idReglement, $idBeneficiaire, $dateFacture, $montantPrestataire, $observations, $user)); - } - - public function supprimerecart($idEcart) - { - $idReglement = $_SESSION['idReglement_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_supprimer_ecart_facture(?, ?, ?)'; - - $this->executerRequete($sql, array($idReglement, $idEcart, $user)); - } - - public function getunecartdecompte($idEcart) - { - $sql = 'call sp_r_get_un_ecart_decompte(?)'; - - $resultat = $this->executerRequete($sql, array($idEcart)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function maj_ecartdecompte_non_saisi($idEcart, $dateFacture, $montantPrestataire, $observations) - { - $user = $_SESSION['login']; - $idReglement = $_SESSION['idReglement_C']; - - $sql = 'call sp_r_maj_ecartdecompte_non_saisi(?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idReglement, $idEcart, $dateFacture, $montantPrestataire, $observations, $user)); - } - - public function etatpaiementprestationcumul($debut, $fin) - { - $sql = 'call sp_sin_paiementprestationcumul(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majmotifnonpaiement($idReglement, $motifNonPaiement) - { - $sql = 'call sp_r_maj_motif_non_paiement(?, ?)'; - $this->executerRequete($sql, array($idReglement, $motifNonPaiement)); - } - - public function getpaiementdecomptesexport($debut, $fin) - { - $sql = 'call sp_r_get_paiementdecomptes_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdecomptesnonpayesexport($debut, $fin) - { - $sql = 'call sp_r_get_decomptes_non_payes_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Reponseautorisation.php b/radiantproduction/Modele/Reponseautorisation.php deleted file mode 100644 index fd9b4ed..0000000 --- a/radiantproduction/Modele/Reponseautorisation.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Reponsederogation.php b/radiantproduction/Modele/Reponsederogation.php deleted file mode 100644 index 217a111..0000000 --- a/radiantproduction/Modele/Reponsederogation.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Reponseententeprealable.php b/radiantproduction/Modele/Reponseententeprealable.php deleted file mode 100644 index 6abc34f..0000000 --- a/radiantproduction/Modele/Reponseententeprealable.php +++ /dev/null @@ -1,20 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Requetes.php b/radiantproduction/Modele/Requetes.php deleted file mode 100644 index 4d003a8..0000000 --- a/radiantproduction/Modele/Requetes.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Requetesperso.php b/radiantproduction/Modele/Requetesperso.php deleted file mode 100644 index db7716e..0000000 --- a/radiantproduction/Modele/Requetesperso.php +++ /dev/null @@ -1,223 +0,0 @@ -executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getsourcesrequeteperso() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_source_requete_perso_liste(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function creerrequeteperso($nomRequete, $nomRequeteEng, $descriptionRequete, $sourceDonnees, $ordre) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_requeteperso(?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $nomRequete, $nomRequeteEng, $descriptionRequete, - $sourceDonnees, $ordre, $user)); - } - - public function getrequetesperso() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_get_requetesperso(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunerequetesperso($idrequete) - { - $sql = 'call sp_afficher_une_requetesperso(?)'; - - $resultat = $this->executerRequete($sql, array($idrequete)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function desactiver($codeRequete) - { - $sql = 'call sp_r_desactiver_requetesperso(?)'; - - $this->executerRequete($sql, array($codeRequete)); - } - - public function activer($codeRequete) - { - $sql = 'call sp_r_activer_requetesperso(?)'; - - $this->executerRequete($sql, array($codeRequete)); - } - - public function getsourcerequetesperso() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_get_sources_requetesperso(?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunesourcedonneesrequetesperso($idsourcerequete) - { - $sql = 'call sp_afficher_une_sourcedonnees_requetesperso(?)'; - - $resultat = $this->executerRequete($sql, array($idsourcerequete)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifsourcedonneesrequeteperso($idsourcerequete, $sourceDonnees) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_sourcedonnees_requetesperso(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idsourcerequete, $sourceDonnees, $user)); - } - - public function desactiversourcedonnees($sourceDonnees) - { - $sql = 'call sp_r_desactiver_sourcedonnees_requetesperso(?)'; - - $this->executerRequete($sql, array($sourceDonnees)); - } - - public function activersourcedonnees($sourceDonnees) - { - $sql = 'call sp_r_activer_sourcedonnees_requetesperso(?)'; - - $this->executerRequete($sql, array($sourceDonnees)); - } - - public function creersourcedonneesrequeteperso($sourceDonnees) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_sourcedonnees_requetesperso(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $sourceDonnees, $user)); - } - - public function enregistrermodifrequeteperso($idrequete, $codeRequete, $nomRequete, $nomRequeteEng, $descriptionRequete, $sourceDonnees, $ordre) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_requeteperso(?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idrequete, $codeRequete, $nomRequete, $nomRequeteEng, $descriptionRequete, - $sourceDonnees, $ordre, $user)); - } - - public function getparamrequetesperso($idsourcerequete) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_param_requete_perso_id(?)'; - - $resultat = $this->executerRequete($sql, array($idsourcerequete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function reconstruireparamrequeteperso($idsourcerequete) - { - $user = $_SESSION['login']; - - $sql = 'call sp_reconstruire_param_requetesperso(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idsourcerequete, $user)); - } - - public function getparamrequetesperso_cd($sourceDonnees) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_param_requete_perso_cd(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $sourceDonnees)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getparamrequetesperso_rq($codeRequete) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_param_requete_perso_rq(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeRequete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getsourcedonnees($codeRequete) - { - $codeSociete = $_SESSION['codeSociete']; - $sql = 'select fn_getsourceDonnees(?, ?) as sourceDonnees'; - $resultat = $this->executerRequete($sql, array($codeSociete, $codeRequete)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['sourceDonnees']; - } - - // ICI, ON VA EXECUTER TOUTES LES REQUETES PERSO - public function executerrequeteperso($paramrequetes) - { - $codeRequete = $_SESSION['codeRequete']; - - $sourceDonnees = $this->getsourcedonnees($codeRequete); - - $nbParams = count($paramrequetes); - - if ($nbParams==0) - { - $sql = "call $sourceDonnees();"; - - $resultat = $this->executerRequete($sql); - } - else - { - $sql = "call $sourceDonnees(?"; - - $sql .= str_repeat(', ?', $nbParams-1); - - $sql .= ');'; - - $resultat = $this->executerRequete($sql, array_values($paramrequetes)); - } - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Reseausoins.php b/radiantproduction/Modele/Reseausoins.php deleted file mode 100644 index 136f827..0000000 --- a/radiantproduction/Modele/Reseausoins.php +++ /dev/null @@ -1,185 +0,0 @@ -executerRequete($sql, array($codeSociete)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - public function getReseausoin($id) - { - if (est_anglophone()) - { - $sql = 'SELECT A.id, A.codeSociete, A.codeReseau, A.libelleEng as libelle, descritpionReseau - FROM reseausoins A WHERE (A.codeSociete=?) AND (A.id=?)'; - } - else - { - $sql = 'SELECT A.id, A.codeSociete, A.codeReseau, A.libelle, descritpionReseau - FROM reseausoins A WHERE (A.codeSociete=?) AND (A.id=?)'; - } - - $reseausoin = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - return $reseausoin->fetch(PDO::FETCH_ASSOC); - } - public function getNombreReseausoins() - { - $sql = 'select count(*) as nbReseausoin FROM reseausoins A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbReseausoin']; - } - - public function ajouter($codeSociete, $codeReseau, $libelle, $descritpionReseau) { - $sql = 'INSERT INTO reseausoins (codeSociete, codeReseau, libelle, descritpionReseau) VALUES (?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeReseau, $libelle, $descritpionReseau)); - } - - public function modifier($id, $codeReseau, $libelle, $descritpionReseau) { - $sql = 'UPDATE reseausoins SET codeReseau=?, libelle=?, descritpionReseau=? where (id=?)'; - $this->executerRequete($sql, array($codeReseau, $libelle, $descritpionReseau, $id)); - } - - public function supprimer($id) - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_supprimer_reseau_soins(?, ?);'; - - $this->executerRequete($sql, array($id, $user)); - } - - public function existeligne($codeReseau) { - $sql = 'select id FROM reseausoins WHERE (codeSociete=?) and (codeReseau=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeReseau)); - return ($resultat->rowCount() > 0); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeReseau as `code`, libelleEng as libelle FROM reseausoins WHERE (codeSociete=?) - AND (typeSysteme != "1") AND (actif = "1") order by libelle'; - } - else - { - $sql = 'SELECT codeReseau as `code`, libelle FROM reseausoins WHERE (codeSociete=?) - AND (typeSysteme != "1") AND (actif = "1") order by libelle'; - } - - $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'])); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function creerreseau($codeReseau, $libelle, $tm) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_reseau(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeReseau, $libelle, $tm, $user)); - } - - public function getunreseau($idReseau) - { - $sql = 'select A.id as idReseau, A.* from reseausoins A where (id=?)'; - - $resultat = $this->executerRequete($sql, array($idReseau)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idReseau, $libelle, $tm) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_reseau(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idReseau, $libelle, $tm, $user)); - } - - - public function getreseausnonaccessibles($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_get_reseaus_non_accessibles_produit(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeProduit)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getreseausaccessibles($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_get_reseaus_accessibles_produit(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeProduit)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouterunreseauproduit($codeProduit, $codeReseau) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_reseau_produit(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $codeReseau, $user)); - } - - public function retirerunreseauproduit($codeProduit, $codeReseau) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_reseau_produit(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $codeReseau, $user)); - } - - public function retirertousreseauproduit($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_tous_reseau_produit(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $user)); - } - - - public function ajoutertousreseauproduit($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_reseau_produit(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $user)); - } - - public function majtm($codeProduit, $codeReseau, $tm) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_tm_reseau_produit(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProduit, $codeReseau, $tm, $user)); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Secteuractivite.php b/radiantproduction/Modele/Secteuractivite.php deleted file mode 100644 index 63646fa..0000000 --- a/radiantproduction/Modele/Secteuractivite.php +++ /dev/null @@ -1,73 +0,0 @@ -executerRequete($sql, array($codeSecteur,$libelleSecteur)); - return $secteuractivites; - } - - public function getSecteuractivite($id) - { - $sql = 'SELECT id, codeSecteur, libelleSecteur - FROM secteuractivite A WHERE (A.id=?)'; - - $secteuractivite = $this->executerRequete($sql, array($id)); - return $secteuractivite->fetch(PDO::FETCH_ASSOC); - } - public function getNombreSecteurs() - { - $sql = 'select count(*) as nbSecteurs FROM secteuractivite'; - $resultat = $this->executerRequete($sql); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbSecteurs']; - } - - public function ajouter($codeSecteur, $libelleSecteur) - { - $sql = 'INSERT INTO secteuractivite (codeSecteur,libelleSecteur) VALUES ( ?, ?)'; - $this->executerRequete($sql, array($codeSecteur, $libelleSecteur)); - } - - public function modifier($id, $codeSecteur, $libelleSecteur) - { - $sql = 'UPDATE secteuractivite SET codeSecteur=?, libelleSecteur=? where (id=?)'; - $this->executerRequete($sql, array($codeSecteur, $libelleSecteur, $id)); - } - - public function supprimer($id) - { - $sql = 'DELETE FROM secteuractivite WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeSecteur) - { - $sql = 'select id FROM secteuractivite WHERE (codeSecteur=?)'; - $resultat = $this->executerRequete($sql, array($codeSecteur)); - return ($resultat->rowCount() > 0); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeSecteur as `code`, libelleEng as libelle FROM secteuractivite order by libelle'; - } - else - { - $sql = 'SELECT codeSecteur as `code`, libelle FROM secteuractivite order by libelle'; - } - - $liste = $this->executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Service.php b/radiantproduction/Modele/Service.php deleted file mode 100644 index ad9afaf..0000000 --- a/radiantproduction/Modele/Service.php +++ /dev/null @@ -1,58 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeService,$libelle)); - return $Services; - } - public function getService($id) { - $sql = 'SELECT id, codeSociete, codeService, libelle - FROM service A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $Service = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $Service->fetch(PDO::FETCH_ASSOC); - } - public function getNombreService() - { - $sql = 'select count(*) as nbService FROM Service A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbService']; - } - - public function ajouter($codeSociete, $codeService, $libelle) { - $sql = 'INSERT INTO Service (codeSociete, codeService, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeService, $libelle)); - } - - public function modifier($id, $codeService, $libelle) { - $sql = 'UPDATE service SET codeService=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codeService, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM service WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeService) { - $sql = 'select id FROM service WHERE (codeSociete=?) and (codeService=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeService)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeService as `code`, libelle - FROM service WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Sexe.php b/radiantproduction/Modele/Sexe.php deleted file mode 100644 index 87c8fbb..0000000 --- a/radiantproduction/Modele/Sexe.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Situationfamille.php b/radiantproduction/Modele/Situationfamille.php deleted file mode 100644 index 58b0573..0000000 --- a/radiantproduction/Modele/Situationfamille.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Societeuser.php b/radiantproduction/Modele/Societeuser.php deleted file mode 100644 index c432719..0000000 --- a/radiantproduction/Modele/Societeuser.php +++ /dev/null @@ -1,102 +0,0 @@ -executerRequete($sql, array($codeSociete)); - return $societe->fetch(PDO::FETCH_ASSOC); - } - - public function getVwSocieteuser($codeSociete) - { - $sql = 'select * from vw_societeuser where (codeSociete=?);'; - - $societe = $this->executerRequete($sql, array($codeSociete)); - return $societe->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idSocieteuser, $emailMedecinConseil, $emailGestionBon, $emailCcomptabilite, - $emailDerogation, $emailAccordPrealable, $emailFraudeFinger, $email_standard, $email_reply, $smsMedecinConseil, - $smsGestionBon, $smsDerogation, $smsAccordPrealable, $codeLangueSociete) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_parametresgeneraux(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idSocieteuser, $emailMedecinConseil, $emailGestionBon, $emailCcomptabilite, - $emailDerogation, $emailAccordPrealable, $emailFraudeFinger, $email_standard, $email_reply, $smsMedecinConseil, - $smsGestionBon, $smsDerogation, $smsAccordPrealable, $codeLangueSociete, $user)); - } - - public function enregistrermodifprod($idSocieteuser, $spMax, $fraisCarteAN, $fraisCarteREN, - $fraisCarteImp, $spAlertAdherent, $tauxRistourne, $seuilRistourne) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_parametres_prod(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idSocieteuser, $spMax, $fraisCarteAN, $fraisCarteREN, - $fraisCarteImp, $spAlertAdherent, $tauxRistourne, $seuilRistourne, $user)); - } - - public function enregistrermodifsin($idSocieteuser, $accesAjoutPh, $ajoutPrescription, $ajoutPrescriptionExam, - $envoismsactif, $smsAssure, $smsmParFacture, $emailParFacture, $copieSmsPrestataireAssure, $filtreMedecin, - $nbMedicamentMax, $seuilAlerteActif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_parametres_sin(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idSocieteuser, $accesAjoutPh, $ajoutPrescription, $ajoutPrescriptionExam, - $envoismsactif, $smsAssure, $smsmParFacture, $emailParFacture, $copieSmsPrestataireAssure, $filtreMedecin, - $nbMedicamentMax, $seuilAlerteActif, $user)); - } - - public function verifiermotpass($codeSociete, $mdp) - { - $sql = "call sp_get_mot_pass_reinit(?);"; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - if ($resultat->rowCount() == 1) - { - $user = $resultat->fetch(PDO::FETCH_ASSOC); - $hash = $user['motPassReinit']; - return (password_verify($mdp, $hash)); - } - else - { - return false; - } - } - - public function changerpass($codeSociete, $ancmdp, $nvmdp) - { - $user = $_SESSION['login']; - - $hash = password_hash($nvmdp, PASSWORD_DEFAULT); - - $sql = "CALL sp_r_changementmotpassreinit(?, ?, ?);"; - - $this->executerRequete($sql, array($codeSociete, $hash, $user)); - } - - public function getSocieteSimple($codeSociete) - { - $sql = 'select * from societeuser where (codeSociete=?);'; - - $societe = $this->executerRequete($sql, array($codeSociete)); - - return $societe->fetch(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Modele/Specialite.php b/radiantproduction/Modele/Specialite.php deleted file mode 100644 index 9076df5..0000000 --- a/radiantproduction/Modele/Specialite.php +++ /dev/null @@ -1,23 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Statistique.php b/radiantproduction/Modele/Statistique.php deleted file mode 100644 index 9638780..0000000 --- a/radiantproduction/Modele/Statistique.php +++ /dev/null @@ -1,1579 +0,0 @@ -executerRequete($sql, array($dateAnalyse, $user, $idSaisie)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idEntetestat_C'] = $ligne['idEntetestat']; - $idEntetestat = $_SESSION['idEntetestat_C']; - - // return $idEntetestat; - } - } - - public function getParametreStat() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'SELECT * FROM s_entetestat_temp where (id=?);'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatstatistiques order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatstatistiques order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeArchive() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatstatistiques where (archive="1") order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatstatistiques where (archive="1") order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeNonArchive() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatstatistiques where (archive!="1") order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatstatistiques where (archive!="1") order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatcumulprestataire($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_prestataire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatcumulprestatairetotal($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_prestataire_total(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function etatcumulprestataireexport($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_prestataire_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -// - - public function etatcumultypeprestataire($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_type_prestataire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatcumultypeprestataireexport($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_type_prestataire_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatdetailfactureeexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_detail_facture_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // cumul par mois - public function etatcumulprestatairemois($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_prestataire_mois(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatcumulprestatairemoistotal($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - // $sql = 'call sp_s_cumul_prestataire_mois_total(?, ?, ?)'; - $sql = 'call sp_s_cumul_prestataire_mois_total()'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function etatcumulprestatairmoiseexport($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_cumul_prestataire_mois_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspexo() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_exo(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatrapportspexoexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_exo_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportsp() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatrapportspexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatdetailfactureprestataireexport($codePrestataire) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $debutStat = $_SESSION['debutStat']; - $finStat = $_SESSION['finStat']; - - $sql = 'call sp_s_detail_facture_prestataire_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $codePrestataire, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatdetailfactureprestatairemoisexport($codePrestataire, $mois) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $debutStat = $_SESSION['debutStat']; - $finStat = $_SESSION['finStat']; - - $sql = 'call sp_s_detail_facture_prestataire_mois_export(?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $codePrestataire, $mois, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatdetailfacturetypeprestataireexport($codeReseau) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $debutStat = $_SESSION['debutStat']; - $finStat = $_SESSION['finStat']; - - $sql = 'call sp_s_detail_facture_type_prestataire_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $codeReseau, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportsppolcat() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_pol_cat(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportsppolcatexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_pol_cat_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspcat() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspcatexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // ETAT DG - public function etatrapportsppolcatdet($codeProduit) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - $codeProduit = contruireParamLike($codeProduit); - - $sql = 'call sp_s_rapportsp_pol_cat_det(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $codeProduit)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportsppolcatdetexport($codeProduit) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - $codeProduit = contruireParamLike($codeProduit); - - $sql = 'call sp_s_rapportsp_pol_cat_det_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $codeProduit)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // Etat 10 - public function etatrapportspcatdet() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_det(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspcatdetexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_det_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // Polices non renouvellées - - public function etatpolnonren() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_polices_non_renouvellees(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatpolnonrenexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_polices_non_renouvellees_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportsp($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_adherent(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportsppdfentete($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_adherent_pdf_entete(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function detailrapportsppdf($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_adherent_pdf(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspfacture($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_facture(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspfacturepdf($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_facture_pdf(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspgarantiepdf($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_garantie_pdf(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspgarantie($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_garantie(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function listepolicerapportspmail() - { - $sql = 'call sp_s_liste_police_rapportsp_mail()'; - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspadheleve() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_adheleve(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspadhpdfentete($idAdherent) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_adherent_pdf_entete(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateAnalyse)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function detailrapportspadhfacturepdf($idAdherent) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_adherent_facture_pdf(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspgarantieadhpdf($idAdherent) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_adherent_garantie_pdf(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspfactureadh($idAdherent) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_adherent_facture(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspgarantieadh($idAdherent) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_adherent_garantie(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idAdherent, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspadheleveexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_adheleve_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeEtatProd() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatproduction order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatproduction order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeEtatSin() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatsinistre order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatsinistre order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparclient($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_client(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparclientexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_production_globale_par_client_export_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_pr_production_globale_par_client_export(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparmois($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_mois(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparmoisexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_mois_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparemission($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_par_emission(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparemissionexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_production_par_emission_export_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_pr_production_par_emission_export(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeEtatSynthese() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatsynthese order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatsynthese order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - // Etatssyntheses - public function etatevolspmois($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_synth_mois(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatevolspmoisexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_synth_mois_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // 27/08/2018 - public function etatevolspmoisacqu($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_synth_mois_acqu(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatevolspmoisacquexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_synth_mois_acqu_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // 31/03/2019 => Rapport SP par police dans un meme exercice - public function etatrapportspexercice() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_exercice(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatrapportspexerciceexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_exercice_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspfactureexercicepdf($idPolice, $debutSinistre, $finSinistre) - { - $sql = 'call sp_rapport_sp_police_facture_exercice_pdf(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $debutSinistre, $finSinistre)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspfactureexercice($idPolice, $debutSinistre, $finSinistre) - { - $sql = 'call sp_rapport_sp_police_facture_exercice(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $debutSinistre, $finSinistre)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodsituationclients($dateAnalyse) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_pr_production_situation_clients(?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodsituationclientsexport($dateAnalyse) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_production_situation_clients_export_eng(?, ?)'; - } - else - { - $sql = 'call sp_pr_production_situation_clients_export(?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($codeSociete, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatpaiementprestationcumul($debut, $fin) - { - $sql = 'call sp_sin_paiementprestationcumul(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatpaiementprestationcumulexport($debut, $fin) - { - $sql = 'call sp_sin_paiementprestationcumul_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // - - public function etatpaiementprestationdet($debut, $fin) - { - $sql = 'call sp_sin_paiementprestationdet(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatpaiementprestationdetexport($debut, $fin) - { - $sql = 'call sp_sin_paiementprestationdet_export(?, ?)'; - - $resultat = $this->executerRequete($sql, array($debut, $fin)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatfactparclient($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_facturation_globale_par_client(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatfactparclientexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_facturation_globale_par_client_export_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_pr_facturation_globale_par_client_export(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatfactparmois($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_facturation_globale_par_mois(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatfactparmoisexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_facturation_globale_par_mois_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatfactparemission($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_facturation_par_emission(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatfactparemissionexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_facturation_par_emission_export_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_pr_facturation_par_emission_export(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // etatprod_encaissement - public function etatencparclient($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_encaissement_globale_par_client(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatencparclientexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_encaissement_globale_par_client_export_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_pr_encaissement_globale_par_client_export(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatencparmois($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_encaissement_globale_par_mois(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatencparmoisexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_encaissement_globale_par_mois_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatbordereauenc($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_bordereau_encaisssements(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function eetatbordereauencexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - if (est_anglophone()) - { - $sql = 'call sp_pr_bordereau_encaisssements_export_eng(?, ?, ?)'; - } - else - { - $sql = 'call sp_pr_bordereau_encaisssements_export(?, ?, ?)'; - } - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeRequeteRecherche() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatrecherche order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatrecherche order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function detailrapportspanomalies($idPolice) - { - $dateAnalyse = $_SESSION['dateAnalyse']; - - $sql = 'call sp_rapport_sp_police_garantie_anomalie(?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dateAnalyse)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparmoiseclate($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_mois_eclate(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparmoiseclateexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_mois_eclate_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // 24/01/2020 - public function etatprodparmoiseclateclient($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_mois_eclate_client(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodparmoiseclateclientexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_globale_par_mois_eclate_client_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatmoycategmedprestataire($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_moy_categ_med_prestataire(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatmoycategmedprestataireexport($debutStat, $finStat) - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_moy_categ_med_prestataire_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat, $debutStat, $finStat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeEtatFamiliale() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatassurancefamiliale order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatassurancefamiliale order by ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - // Début Entrée Familiale - public function statfamilialeentreedetail($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_detail(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreedetailexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_detail_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function entetestatfamiliale($idPolice) - { - $sql = 'call sp_entete_stat_familiale(?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpfam($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_fam(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpfamexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_fam_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpcomech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_com_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpcomechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_com_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpcom($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_com(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpcomexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_com_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpperech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_per_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpperechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_per_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpper($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_per(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpperexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_per_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpexeech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_exe_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpexeechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_exe_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpexe($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_exe(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpexeexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_exe_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialeentreegrpechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_entree_grp_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - // Fin Entree familiale - - - - // Début sortie Familiale - public function statfamilialesortiedetail($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_detail(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiedetailexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_detail_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpfam($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_fam(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpfamexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_fam_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpcomech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_com_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpcomechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_com_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpcom($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_com(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpcomexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_com_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpperech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_per_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpperechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_per_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpper($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_per(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpperexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_per_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpexeech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_exe_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpexeechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_exe_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpexe($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_exe(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpexeexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_exe_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpech($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_ech(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function statfamilialesortiegrpechexport($idPolice, $codeApporteur, $debutPeriode, $finPeriode) - { - $sql = 'call sp_stat_familiale_sortie_grp_ech_export(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idPolice, $codeApporteur, $debutPeriode, $finPeriode)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - // Fin sortie Familiale - - // 2/11/2020 - public function getListeEnteteEtatFamiliale() - { - if (est_anglophone()) - { - $sql = 'SELECT codeEnteteEtat AS `code`, libelleEng AS libelle FROM etatassurancefamiliale ORDER BY ordre;'; - } - else - { - $sql = 'SELECT codeEnteteEtat AS `code`, libelle FROM enteteetatassurancefamiliale ORDER BY ordre;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeEtatFamilialeFiltre($codeEnteteEtat) - { - if (est_anglophone()) - { - $sql = 'SELECT codeEtat as `code`, nomEtatEng as libelle FROM etatassurancefamiliale where codeEnteteEtat = ? order by ordre;'; - } - else - { - $sql = 'SELECT codeEtat as `code`, nomEtat as libelle FROM etatassurancefamiliale where codeEnteteEtat = ? order by ordre;'; - } - - $resultat = $this->executerRequete($sql, array($codeEnteteEtat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspcatgp() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_gp(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatrapportspcatgpexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_gp_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatrapportspcatgpdet() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_gp_det(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatrapportspcatgpdetexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_cat_gp_det_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - // 07/01/2024 => Rapport SP par police dans un meme exercice par cat"gorie - public function etatrapportspexercicecat() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_exercice_cat_gp(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function etatrapportspexercicecatexport() - { - $idEntetestat = $_SESSION['idEntetestat_C']; - - $sql = 'call sp_s_rapportsp_exercice_cat_gp_export(?)'; - - $resultat = $this->executerRequete($sql, array($idEntetestat)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodagences($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_agences(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function etatprodagencesexport($debutPeriode, $finPeriode) - { - $user = $_SESSION['login']; - - $sql = 'call sp_pr_production_agences_export(?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($debutPeriode, $finPeriode, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} diff --git a/radiantproduction/Modele/Substitutnonassure.php b/radiantproduction/Modele/Substitutnonassure.php deleted file mode 100644 index 7590d78..0000000 --- a/radiantproduction/Modele/Substitutnonassure.php +++ /dev/null @@ -1,33 +0,0 @@ -executerRequete($sql, array($idSubstitut)); - return $substitutnonassure->fetch(PDO::FETCH_ASSOC); - } - - public function creersubstitutnonassure($nomSubstitut, $prenomsSubstitut, $codeLienSubstitut, $codeNaturePiece, $numeroPieceSubstitut, - $sexeSubstitut, $dateNaissanceSubstitut, $telephonePortableSubstitut) - { - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_substitut_non_assure(?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idBeneficiaire, $user, $nomSubstitut, $prenomsSubstitut, $codeLienSubstitut, $codeNaturePiece, - $numeroPieceSubstitut, $sexeSubstitut, $dateNaissanceSubstitut, $telephonePortableSubstitut)); - } - - public function supprimersubstitutnonassure($idSubstitut, $motifSortie) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_substitut_non_assure(?, ?, ?);'; - - $this->executerRequete($sql, array($idSubstitut, $motifSortie, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tableaucommission.php b/radiantproduction/Modele/Tableaucommission.php deleted file mode 100644 index e863d06..0000000 --- a/radiantproduction/Modele/Tableaucommission.php +++ /dev/null @@ -1,42 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $codeApporteur, $codeEtape)); - - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['tauxCommission']; - } - else - { - return 0; - } - } - - public function getInfoscommissionAutre($codeApporteur, $codeEtape) { - $sql = 'SELECT IFNULL(A.tauxCommission,"0") AS tauxCommission FROM tableaucommission A - JOIN commercial C ON (C.codeSociete=A.codeSociete) AND (C.codeTypeApporteur=A.codeTypeApporteur) - WHERE (A.codeSociete=?) AND (codeApporteur=?) AND (codeEtape=?) limit 1'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeApporteur, $codeEtape)); - - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['tauxCommission']; - } - else - { - return 0; - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tablegestionnaire.php b/radiantproduction/Modele/Tablegestionnaire.php deleted file mode 100644 index 3c9d795..0000000 --- a/radiantproduction/Modele/Tablegestionnaire.php +++ /dev/null @@ -1,10 +0,0 @@ -executerRequete($sql, array($colonne)); - return $litetable->fetchAll(); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tache.php b/radiantproduction/Modele/Tache.php deleted file mode 100644 index e91f795..0000000 --- a/radiantproduction/Modele/Tache.php +++ /dev/null @@ -1,25 +0,0 @@ -executerRequete($sql); - return $billets; - } - public function getBillet($idBillet) { - $sql = 'select BIL_ID as id, BIL_DATE as date,' - . ' BIL_TITRE as titre, BIL_CONTENU as contenu from t_billet' - . ' where BIL_ID=?'; - $billet = $this->executerRequete($sql, array($idBillet)); - return $billet->fetch(PDO::FETCH_ASSOC); - } - public function getNombreBillets() - { - $sql = 'select count(*) as nbBillets from t_billet'; - $resultat = $this->executerRequete($sql); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbBillets']; - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tachesante.php b/radiantproduction/Modele/Tachesante.php deleted file mode 100644 index cacb3e4..0000000 --- a/radiantproduction/Modele/Tachesante.php +++ /dev/null @@ -1,235 +0,0 @@ -executerRequete($sql, array($codeTypTache, $codeInitiateur, - $codeDestinataire, $objet, $dateEcheance, $notes, $codeUtilisateur, $dateSysteme, $heureSysteme, $emailtache, $numeroAdherent)); - - return $this->dernierId(); - } - - public function ajouterTacheAdherent($codeTypTache, $objet, $dateEcheance, $notes, $emailtache) - { - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $codeDestinataire = "AS"; - $codeUtilisateur = $_SESSION['login']; - $codeInitiateur =$_SESSION['codeInitiateurTache']; - $dateSysteme = date('Y-m-d'); - $heureSysteme = date('H:i:s', time()); - - $sql = 'INSERT INTO tachesante (codeTypTache, codeInitiateur, codeDestinataire, objet, dateEcheance, notes, - codeUtilisateur, dateSysteme, heureSysteme, numeroAdherent, emailtache) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeTypTache, $codeInitiateur, - $codeDestinataire, $objet, $dateEcheance, $notes, $codeUtilisateur, $dateSysteme, $heureSysteme, $numeroAdherent, $emailtache)); - - return $this->dernierId(); - } - - public function ajouterTacheAssure($codeTypTache, $codeDestinataire, $objet, $dateEcheance, $notes, $emailtache) - { - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $codeUtilisateur = $_SESSION['login_tache']; - $codeInitiateur =$_SESSION['codeInitiateurTache']; - $dateSysteme = date('Y-m-d'); - $heureSysteme = date('H:i:s', time()); - - $sql = 'INSERT INTO tachesante (codeTypTache, codeInitiateur, codeDestinataire, objet, dateEcheance, notes, - codeUtilisateur, dateSysteme, heureSysteme, numeroAdherent, emailtache) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeTypTache, $codeInitiateur, - $codeDestinataire, $objet, $dateEcheance, $notes, $codeUtilisateur, $dateSysteme, $heureSysteme, $numeroAdherent, $emailtache)); - - return $this->dernierId(); - } - - public function afficherTaches($codeInitiateur, $codeDestinataire, $codeTypTache, $codeEtatTache) { - $codeDestinataire_C = $_SESSION['codeInitiateurTache']; - $codeInitiateur = contruireParamLike($codeInitiateur); - $codeDestinataire = contruireParamLike($codeDestinataire); - $codeTypTache = contruireParamLike($codeTypTache); - $codeEtatTache = contruireParamLike($codeEtatTache); - - $sql = 'SELECT A.*, D.libelle AS typtachesante, E.libelle AS etattachesante, - B.acteur AS initiateur, C.acteur AS destinataire, - CONCAT(U1.nom, " ", U1.prenoms) AS saisie_par, - CONCAT(U2.nom, " ", U2.prenoms) AS pointe_par, - IFNULL(CONCAT(AD.nom, " ", AD.prenoms),"") AS assure - FROM tachesante A - LEFT JOIN vw_acteurtache B ON (B.codeSociete=A.codeSociete) AND (B.codeActeurTache=A.codeInitiateur) - LEFT JOIN vw_acteurtache C ON (C.codeSociete=A.codeSociete) AND (C.codeActeurTache=A.codeDestinataire) - LEFT JOIN typtachesante D ON (D.codeTypTache=A.codeTypTache) - LEFT JOIN etattachesante E ON (E.codeEtatTache=A.codeEtatTache) - LEFT JOIN utilisateur U1 ON (U1.codeSociete=A.codeSociete) AND (U1.codeUtilisateur=A.codeUtilisateur) - LEFT JOIN utilisateur U2 ON (U2.codeSociete=A.codeSociete) AND (U2.codeUtilisateur=A.codeUtilisateurPointage) - LEFT JOIN adherent AD ON (AD.codeSociete=A.codeSociete) AND (AD.numeroAdherent=A.numeroAdherent) - WHERE (A.codeSociete=?) AND (A.codeInitiateur LIKE ?) AND (A.codeDestinataire LIKE ?) - AND (A.codeTypTache LIKE ?) AND (A.codeEtatTache LIKE ?) - AND (A.codeInitiateur=? OR A.codeDestinataire=?) - ORDER BY A.id DESC'; - - $taches = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeInitiateur, $codeDestinataire, $codeTypTache, - $codeEtatTache, $codeDestinataire_C, $codeDestinataire_C)); - - return $taches; - } - - public function pointerTache($idTache) { - $codeUtilisateurPointage = $_SESSION['login']; - $datePointage = date('Y-m-d'); - $heurePointage = date('H:i:s', time()); - - $sql = 'UPDATE tachesante SET pointe="1", codeEtatTache="1", - codeUtilisateurPointage=?, datePointage=?, heurePointage=? WHERE (id=?)'; - - $this->executerRequete($sql, array($codeUtilisateurPointage, $datePointage, $heurePointage, $idTache)); - } - - public function getTache($idTache) { - $sql = 'SELECT A.*, D.libelle AS typtachesante, E.libelle AS etattachesante, - B.acteur AS initiateur, C.acteur AS destinataire, - CONCAT(U1.nom, " ", U1.prenoms) AS saisie_par, - CONCAT(U2.nom, " ", U2.prenoms) AS pointe_par, - IFNULL(CONCAT(AD.nom, " ", AD.prenoms),"") AS assure - FROM tachesante A - LEFT JOIN vw_acteurtache B ON (B.codeSociete=A.codeSociete) AND (B.codeActeurTache=A.codeInitiateur) - LEFT JOIN vw_acteurtache C ON (C.codeSociete=A.codeSociete) AND (C.codeActeurTache=A.codeDestinataire) - LEFT JOIN typtachesante D ON (D.codeTypTache=A.codeTypTache) - LEFT JOIN etattachesante E ON (E.codeEtatTache=A.codeEtatTache) - LEFT JOIN utilisateur U1 ON (U1.codeSociete=A.codeSociete) AND (U1.codeUtilisateur=A.codeUtilisateur) - LEFT JOIN utilisateur U2 ON (U2.codeSociete=A.codeSociete) AND (U2.codeUtilisateur=A.codeUtilisateurPointage) - LEFT JOIN adherent AD ON (AD.codeSociete=A.codeSociete) AND (AD.numeroAdherent=A.numeroAdherent) - WHERE (A.id=?)'; - - $tache = $this->executerRequete($sql, array($idTache)); - - return $tache->fetch(PDO::FETCH_ASSOC); - } - - - public function afficherTachesadherent($codeDestinataire, $codeTypTache, $codeEtatTache) { - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $codeDestinataire_C = $_SESSION['codeInitiateurTache']; - $codeDestinataire = contruireParamLike($codeDestinataire); - $codeTypTache = contruireParamLike($codeTypTache); - $codeEtatTache = contruireParamLike($codeEtatTache); - - $sql = 'SELECT A.*, D.libelle AS typtachesante, E.libelle AS etattachesante, - B.acteur AS initiateur, C.acteur AS destinataire, - CONCAT(U1.nom, " ", U1.prenoms) AS saisie_par, - CONCAT(U2.nom, " ", U2.prenoms) AS pointe_par, - IFNULL(CONCAT(AD.nom, " ", AD.prenoms),"") AS assure - FROM tachesante A - LEFT JOIN vw_acteurtache B ON (B.codeSociete=A.codeSociete) AND (B.codeActeurTache=A.codeInitiateur) - LEFT JOIN vw_acteurtache C ON (C.codeSociete=A.codeSociete) AND (C.codeActeurTache=A.codeDestinataire) - LEFT JOIN typtachesante D ON (D.codeTypTache=A.codeTypTache) - LEFT JOIN etattachesante E ON (E.codeEtatTache=A.codeEtatTache) - LEFT JOIN utilisateur U1 ON (U1.codeSociete=A.codeSociete) AND (U1.codeUtilisateur=A.codeUtilisateur) - LEFT JOIN utilisateur U2 ON (U2.codeSociete=A.codeSociete) AND (U2.codeUtilisateur=A.codeUtilisateurPointage) - WHERE (A.codeSociete=?) AND (A.numeroAdherent=?) AND (A.codeDestinataire LIKE ?) - AND (A.codeTypTache LIKE ?) AND (A.codeEtatTache LIKE ?) - AND (A.codeInitiateur=? OR A.codeDestinataire=?) - ORDER BY A.id DESC'; - - $taches = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent, $codeDestinataire, $codeTypTache, - $codeEtatTache, $codeDestinataire_C, $codeDestinataire_C)); - - return $taches; - } - - public function afficherTachesassure($codeInitiateur, $codeDestinataire, $codeTypTache, $codeEtatTache) { - $numeroAdherent = $_SESSION['numeroAdherent_C']; - $codeDestinataire_C = $_SESSION['codeInitiateurTache']; - $codeInitiateur = contruireParamLike($codeInitiateur); - $codeDestinataire = contruireParamLike($codeDestinataire); - $codeTypTache = contruireParamLike($codeTypTache); - $codeEtatTache = contruireParamLike($codeEtatTache); - - $sql = 'SELECT A.*, D.libelle AS typtachesante, E.libelle AS etattachesante, - B.acteur AS initiateur, C.acteur AS destinataire, - CONCAT(U1.nom, " ", U1.prenoms) AS saisie_par, - CONCAT(U2.nom, " ", U2.prenoms) AS pointe_par, - IFNULL(CONCAT(AD.nom, " ", AD.prenoms),"") AS assure - FROM tachesante A - LEFT JOIN vw_acteurtache B ON (B.codeSociete=A.codeSociete) AND (B.codeActeurTache=A.codeInitiateur) - LEFT JOIN vw_acteurtache C ON (C.codeSociete=A.codeSociete) AND (C.codeActeurTache=A.codeDestinataire) - LEFT JOIN typtachesante D ON (D.codeTypTache=A.codeTypTache) - LEFT JOIN etattachesante E ON (E.codeEtatTache=A.codeEtatTache) - LEFT JOIN utilisateur U1 ON (U1.codeSociete=A.codeSociete) AND (U1.codeUtilisateur=A.codeUtilisateur) - LEFT JOIN utilisateur U2 ON (U2.codeSociete=A.codeSociete) AND (U2.codeUtilisateur=A.codeUtilisateurPointage) - WHERE (A.codeSociete=?) AND (A.numeroAdherent=?) AND (A.codeInitiateur LIKE ?) - AND (A.codeDestinataire LIKE ?) AND (A.codeTypTache LIKE ?) AND (A.codeEtatTache LIKE ?) - AND (A.codeInitiateur=? OR A.codeDestinataire=?) - ORDER BY A.id DESC'; - - $taches = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent, $codeInitiateur, $codeDestinataire, $codeTypTache, - $codeEtatTache, $codeDestinataire_C, $codeDestinataire_C)); - - return $taches; - } - - public function Rqtache($codeInitiateur, $codeDestinataire, $codeTypTache, $codeEtatTache, - $numeroAdherent1, $numeroAdherent2, $date1, $date2, $objet) - { - $codeDestinataire_C = $_SESSION['codeInitiateurTache']; - - $codeInitiateur = contruireParamLike($codeInitiateur); - $codeDestinataire = contruireParamLike($codeDestinataire); - $codeTypTache = contruireParamLike($codeTypTache); - $codeEtatTache = contruireParamLike($codeEtatTache); - $objet = contruireParamLike($objet); - - If($numeroAdherent1=="0") - { - $numeroAdherent1=""; - } - - $sql = 'SELECT LOWER(C.acteur) AS destinataire, DATE_FORMAT(A.dateEcheance, "%d/%m/%Y") AS dateEcheance, - LOWER(A.objet) AS objet, LOWER(B.acteur) AS initiateur, LOWER(D.libelle) AS typtachesante, - IFNULL(CONCAT(A.numeroAdherent, " : ",LOWER(AD.nomAdherent), " ", LOWER(AD.prenomsAdherent)),"") AS assure, - LOWER(TRIM(E.libelle)) AS etattachesante - FROM tachesante A - LEFT JOIN vw_acteurtache B ON (B.codeActeurTache=A.codeInitiateur) - LEFT JOIN vw_acteurtache C ON (C.codeActeurTache=A.codeDestinataire) - LEFT JOIN typtachesante D ON (D.codeTypTache=A.codeTypTache) - LEFT JOIN etattachesante E ON (E.codeEtatTache=A.codeEtatTache) - LEFT JOIN adherent AD ON (AD.numeroAdherent=A.numeroAdherent) - WHERE (A.codeInitiateur LIKE ?) AND (A.codeDestinataire LIKE ?) - AND (A.codeTypTache LIKE ?) AND (A.codeEtatTache LIKE ?) - AND (A.numeroAdherent BETWEEN ? AND ?) - AND (A.dateEcheance BETWEEN ? AND ?) - AND (A.codeInitiateur=? OR A.codeDestinataire=?) - AND (A.objet LIKE ?) '; - // ORDER BY C.acteur, A.dateEcheance DESC, A.objet'; - - $typeuseur = $_SESSION['codeTypeUtilisateur']; - if($typeuseur=="AS") - { - $sql .= ' AND (A.numeroAdherent=?) ORDER BY C.acteur, A.dateEcheance DESC, A.objet'; - $liste = $this->executerRequete($sql, array($codeInitiateur, $codeDestinataire, $codeTypTache, - $codeEtatTache, $numeroAdherent1, $numeroAdherent2, $date1, $date2, $codeDestinataire_C, - $codeDestinataire_C, $objet, $_SESSION["numeroAdherent_C"])); - } else - { - $sql .= ' ORDER BY C.acteur, A.dateEcheance DESC, A.objet'; - $liste = $this->executerRequete($sql, array($codeInitiateur, $codeDestinataire, $codeTypTache, - $codeEtatTache, $numeroAdherent1, $numeroAdherent2, $date1, $date2, $codeDestinataire_C, - $codeDestinataire_C, $objet)); - } - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tarifsactes.php b/radiantproduction/Modele/Tarifsactes.php deleted file mode 100644 index 6f4e618..0000000 --- a/radiantproduction/Modele/Tarifsactes.php +++ /dev/null @@ -1,119 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeTous() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTarifActe as `code`, libelleEng as libelle FROM p_tarifacte order by libelle'; - } - else - { - $sql = 'SELECT codeTarifActe as `code`, libelle FROM p_tarifacte order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeCreation() - { - $actesHarmonises = $_SESSION['actesHarmonises']; - - if( isset($actesHarmonises) && ($actesHarmonises=="1") ) - { - if (est_anglophone()) - { - $sql = 'SELECT "ST" as `code`, "None" libelle'; - - } - else - { - $sql = 'SELECT "ST" as `code`, "Aucun" libelle'; - - } - } - else - { - if (est_anglophone()) - { - $sql = 'SELECT "ST" as `code`, "None" libelle UNION ALL SELECT codeTarifActe as `code`, libelleEng as libelle FROM p_tarifacte where (estTarif="1") order by libelle'; - } - else - { - $sql = 'SELECT "ST" as `code`, "Aucun" libelle UNION ALL SELECT codeTarifActe as `code`, libelle FROM p_tarifacte where (estTarif="1") order by libelle'; - } - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function creertarifactes($libelle, $libelleEng) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_tarif_actes(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $user)); - } - - public function getListeTarif() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'SELECT * FROM p_tarifacte where codeSociete=? and (estTarif="1") order by libelle'; - - $liste = $this->executerRequete($sql, array($codeSociete)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunptarif($idTarif) - { - $sql = 'call sp_afficher_un_tarif_acte(?)'; - - $resultat = $this->executerRequete($sql, array($idTarif)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idTarif, $libelle, $libelleEng) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_tarif_acte(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idTarif, $libelle, $libelleEng, $user)); - } - - public function supprimer($idTarif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_tarif_acte(?, ?)'; - - $this->executerRequete($sql, array($idTarif, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tarifsmedicaments.php b/radiantproduction/Modele/Tarifsmedicaments.php deleted file mode 100644 index 2d31c46..0000000 --- a/radiantproduction/Modele/Tarifsmedicaments.php +++ /dev/null @@ -1,192 +0,0 @@ -executerRequete($sql, array($codeSociete)); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function creertarifmedicaments($libelle, $libelleEng) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_tarif_medicaments(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $user)); - } - - public function getListeTarif() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'SELECT * FROM p_tarifmedicament where codeSociete=? order by libelle'; - - $liste = $this->executerRequete($sql, array($codeSociete)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunptarif($idTarif) - { - $sql = 'call sp_afficher_un_tarif_medicament(?)'; - - $resultat = $this->executerRequete($sql, array($idTarif)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idTarif, $libelle, $libelleEng) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_tarif_medicament(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idTarif, $libelle, $libelleEng, $user)); - } - - public function supprimer($idTarif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_tarif_medicament(?, ?)'; - - $this->executerRequete($sql, array($idTarif, $user)); - } - - public function enregistrerparamimporttarif($idTarif, $nomOrigine, $nouveau_fichier, $taille) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - $cheminFichier = $nouveau_fichier; - - $sql = 'call sp_r_enregistrer_param_import_tarif_medicament(?, ?, ?, ?, ?, ?, ?);'; - - $this->executerRequete($sql, array($idTarif, $codeSociete, $nomOrigine, $cheminFichier, $taille, $user, $idSaisie)); - } - - public function getFichierImport($idTarif) - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_afficher_fichier_import_tarif_medicament(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idTarif, $user)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getModeleTarif() - { - $sql = 'CALL sp_export_modele_tarif_medicament();'; - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - - public function initIinsererLigneModeleTarif($idTarif) - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_init_inserer_ligne_modele_tarif_medicament(?, ?);'; - - $this->executerRequete($sql, array($idTarif, $user)); - } - - public function insererLigneModeleTarif($idTarif, $codeTarifMedicament, $codeMedicament, $libelle, $unite, $substituable, - $nomSubstitut, $instructions, $ententePrealable, $exclu, $actif, $prix) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'call sp_inserer_ligne_modele_tarif_medicament(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idTarif, $codeTarifMedicament, $codeMedicament, $libelle, $unite, $substituable, - $nomSubstitut, $instructions, $ententePrealable, $exclu, $actif, $prix, $user, $idSaisie)); - } - - - public function getListeMedicamentsImportes() - { - $idTarif = $_SESSION['idTarif']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_afficher_medicaments_importees(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idTarif, $user)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getdoubloncodemedicament($idTarif) - { - $idSaisie = $_SESSION['idSaisie']; - $user = $_SESSION['login']; - - $sql = 'CALL sp_doublon_import_tarif_medicament(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idTarif, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['codeMedicament']; - } - - public function getcodemedicamentmanquant($codeMedicament) - { - $sql = 'CALL sp_code_medicament_inexistant_tarif_medicament(?);'; - - $resultat = $this->executerRequete($sql, array($codeMedicament)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - return $ligne['codeMedicament']; - } - - public function majetape($idTarif) - { - $user = $_SESSION['login']; - - $sql = 'CALL sp_r_maj_etape_3_import_tarif_medicament(?, ?);'; - - $this->executerRequete($sql, array($idTarif, $user)); - } - - public function incorporermedicamentsimportes() - { - $codeSociete = $_SESSION['codeSociete']; - $idTarif = $_SESSION['idTarif']; - $user = $_SESSION['login']; - - $sql = 'call sp_incorporer_medicaments_importes(?, ?, ?);'; - - $this->executerRequete($sql, array($codeSociete, $idTarif, $user)); - } - - public function gettarifcode($codeTarifMedicament) - { - $sql = 'select * from p_tarifmedicament where (codeSociete=? and codeTarifMedicament=?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeTarifMedicament)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Tarifsoptiques.php b/radiantproduction/Modele/Tarifsoptiques.php deleted file mode 100644 index a42db8a..0000000 --- a/radiantproduction/Modele/Tarifsoptiques.php +++ /dev/null @@ -1,69 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function creertarifoptiques($libelle, $libelleEng) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_tarif_optiques(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $user)); - } - - public function getListeTarif() - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'SELECT * FROM p_tarifoptique where codeSociete=? order by libelle'; - - $liste = $this->executerRequete($sql, array($codeSociete)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunptarif($idTarif) - { - $sql = 'call sp_afficher_un_tarif_optiquee(?)'; - - $resultat = $this->executerRequete($sql, array($idTarif)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idTarif, $libelle, $libelleEng) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_tarif_optique(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idTarif, $libelle, $libelleEng, $user)); - } - - public function supprimer($idTarif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_supprimer_tarif_optique(?, ?)'; - - $this->executerRequete($sql, array($idTarif, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Titre.php b/radiantproduction/Modele/Titre.php deleted file mode 100644 index da2c16b..0000000 --- a/radiantproduction/Modele/Titre.php +++ /dev/null @@ -1,71 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeTitre,$libelle)); - return $titres; - } - public function getTitre($id) - { - $sql = 'SELECT id, codeSociete, codeTitre, libelle, titreCourrier - FROM titre A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $titre = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $titre->fetch(PDO::FETCH_ASSOC); - } - public function getNombreTitre() - { - $sql = 'select count(*) as nbTitre FROM titre A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbTitre']; - } - - public function ajouter($codeSociete, $codeTitre, $libelle, $titreCourrier) - { - $sql = 'INSERT INTO titre (codeSociete, codeTitre, libelle, titreCourrier) VALUES (?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeTitre, $libelle, $titreCourrier)); - } - - public function modifier($id, $codeTitre, $libelle, $titreCourrier) { - $sql = 'UPDATE titre SET codeTitre=?, libelle=?, titreCourrier=? where (id=?)'; - $this->executerRequete($sql, array($codeTitre, $libelle, $titreCourrier, $id)); - } - - public function supprimer($id) - { - $sql = 'DELETE FROM titre WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeTitre) { - $sql = 'select id FROM titre WHERE (codeSociete=?) and (codeTitre=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeTitre)); - return ($resultat->rowCount() > 0); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTitre as `code`, libelleEng as libelle FROM titre WHERE (codeSociete=?) order by libelle'; - } - else - { - $sql = 'SELECT codeTitre as `code`, libelle FROM titre WHERE (codeSociete=?) order by libelle'; - } - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeaffection.php b/radiantproduction/Modele/Typeaffection.php deleted file mode 100644 index 6dd1a79..0000000 --- a/radiantproduction/Modele/Typeaffection.php +++ /dev/null @@ -1,58 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeType,$libelle)); - return $typeaffections; - } - public function getTypeaffection($id) { - $sql = 'SELECT id, codeSociete, codeType, libelle - FROM typeaffection A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $typeaffection = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $typeaffection->fetch(PDO::FETCH_ASSOC); - } - public function getNombreTypeaffection() - { - $sql = 'select count(*) as nbTypeaffection FROM typeaffection A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbTypeaffection']; - } - - public function ajouter($codeSociete, $codeType, $libelle) { - $sql = 'INSERT INTO typeaffection (codeSociete, codeType, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeType, $libelle)); - } - - public function modifier($id, $codeType, $libelle) { - $sql = 'UPDATE typeaffection SET codeType=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codeType, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM typeaffection WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeType) { - $sql = 'select id FROM typeaffection WHERE (codeSociete=?) and (codeType=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeType)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeType as `code`, libelle - FROM typeaffection WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeapporteur.php b/radiantproduction/Modele/Typeapporteur.php deleted file mode 100644 index 83731c8..0000000 --- a/radiantproduction/Modele/Typeapporteur.php +++ /dev/null @@ -1,79 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeTypeApporteur,$libelle)); - return $typeapporteurs; - } - - public function getTypeapporteur($id) - { - $sql = 'SELECT id, codeSociete, codeTypeApporteur, libelle - FROM typeapporteur A WHERE (A.codeSociete=?) AND (A.id=?)'; - - $typeapporteur = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $typeapporteur->fetch(PDO::FETCH_ASSOC); - } - - public function getNombreTypeapporteur() - { - $sql = 'select count(*) as nbTypeapporteur FROM typeapporteur A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbTypeapporteur']; - } - - public function ajouter($codeSociete, $codeTypeApporteur, $libelle) { - $sql = 'INSERT INTO typeapporteur (codeSociete, codeTypeApporteur, libelle) VALUES (?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeTypeApporteur, $libelle)); - } - - public function modifier($id, $codeTypeApporteur, $libelle) { - $sql = 'UPDATE typeapporteur SET codeTypeApporteur=?, libelle=? where (id=?)'; - $this->executerRequete($sql, array($codeTypeApporteur, $libelle, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM typeapporteur WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeTypeApporteur) { - $sql = 'select id FROM typeapporteur WHERE (codeSociete=?) and (codeTypeApporteur=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeTypeApporteur)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeTypeApporteur as `code`, libelle - FROM typeapporteur WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTypeapporteursCommercial() - { - /* modif du 15/11/2020 - $sql = 'SELECT codeTypeApporteur as `code`, libelle FROM typeapporteur A - WHERE (A.codeSociete=? AND codeTypeApporteur not in ("AS", "VD") ) order by libelle'; - */ - - $sql = 'SELECT codeTypeApporteur as `code`, libelle FROM typeapporteur A - WHERE (A.codeSociete=? AND codeTypeApporteur != "AS" ) order by libelle'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeavenant.php b/radiantproduction/Modele/Typeavenant.php deleted file mode 100644 index f9f36e6..0000000 --- a/radiantproduction/Modele/Typeavenant.php +++ /dev/null @@ -1,40 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeSuite($oldCodeTypeAvenant) - { - if (est_anglophone()) - { - $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng as libelle FROM typeavenant A - join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (B.oldCodeTypeAvenant=?) order by A.libelle'; - } - else - { - $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelle FROM typeavenant A - join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (B.oldCodeTypeAvenant=?) order by A.libelle'; - } - - $liste = $this->executerRequete($sql, array($oldCodeTypeAvenant)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typebon.php b/radiantproduction/Modele/Typebon.php deleted file mode 100644 index 84d205f..0000000 --- a/radiantproduction/Modele/Typebon.php +++ /dev/null @@ -1,168 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeFusion() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypeBon as `code`, libelleEng as libelle FROM p_typebon WHERE (codeTypeBon!="ORDO") order by ordre, libelle'; - } - else - { - $sql = 'SELECT codeTypeBon as `code`, libelle FROM p_typebon WHERE (codeTypeBon!="ORDO") order by ordre, libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getDenierNumeroBon($codeTypeBon) - { - $sql = 'select fn_getDenierNumeroBon(?, ?) as denierNumeroBon'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['denierNumeroBon']; - } - - public function plageLibre($codeTypeBon, $noDepart, $noFin) { - $sql = 'select id FROM p_bonpec WHERE (codeSociete=?) and (codeTypeBon=?) and (numeroBon between ? and ?) limit 1'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeTypeBon, $noDepart, $noFin)); - - return $resultat->rowCount(); - } - - public function getInfos($codeTypeBon) - { - if (est_anglophone()) - { - $sql = 'select libelleEng as libelle from p_typebon where (codeTypeBon=?)'; - } - else - { - $sql = 'select libelle from p_typebon where (codeTypeBon=?)'; - } - - $resultat = $this->executerRequete($sql, array($codeTypeBon)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getTypebon() - { - if (est_anglophone()) - { - $sql = 'SELECT A.*, A.libelleEng as libelleTypebon FROM p_typebon A order by A.ordre'; - } - else - { - $sql = 'SELECT A.*, A.libelle as libelleTypebon FROM p_typebon A order by A.ordre'; - } - - $resultat = $this->executerRequete($sql); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function majdureevie($idTypebon, $dureeVie) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_maj_duree_vie(?, ?, ?)'; - - $this->executerRequete($sql, array($idTypebon, $dureeVie, $user)); - } - - public function getTypebonParam() - { - if (est_anglophone()) - { - $sql = 'CALL sp_get_type_bon_param_eng(?)'; - } - else - { - $sql = 'CALL sp_get_type_bon_param(?)'; - } - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getUnTypebon($idTypebon) - { - if (est_anglophone()) - { - $sql = 'SELECT A.id as idTypebon, A.*, A.libelleEng as libelleTypebon, B.libelleEng AS libelleTypeGestionBon - FROM p_typebon A LEFT JOIN p_gestionbon B ON (B.codeGestionBon=A.codeGestionBon) where (A.id=?)'; - } - else - { - $sql = 'SELECT A.id as idTypebon, A.*, A.libelle as libelleTypebon, B.libelle AS libelleTypeGestionBon - FROM p_typebon A LEFT JOIN p_gestionbon B ON (B.codeGestionBon=A.codeGestionBon) where (A.id=?)'; - } - - $resultat = $this->executerRequete($sql, array($idTypebon)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function getListeGestion() - { - if (est_anglophone()) - { - $sql = 'SELECT codeGestionBon as `code`, libelleEng as libelle FROM p_gestionbon order by codeGestionBon'; - } - else - { - $sql = 'SELECT codeGestionBon as `code`, libelle FROM p_gestionbon order by codeGestionBon'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrermodif($idTypebon, $dureeVie, $codeGestionBon) - { - $user = $_SESSION['login']; - - $sql = 'call sp_r_enregistrer_modif_type_bon(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idTypebon, $dureeVie, $codeGestionBon, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeclient.php b/radiantproduction/Modele/Typeclient.php deleted file mode 100644 index 5646124..0000000 --- a/radiantproduction/Modele/Typeclient.php +++ /dev/null @@ -1,21 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typecontrat.php b/radiantproduction/Modele/Typecontrat.php deleted file mode 100644 index 3ad7d2b..0000000 --- a/radiantproduction/Modele/Typecontrat.php +++ /dev/null @@ -1,39 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getinfosdelaicarence($codeTypeContrat) - { - $sql = 'SELECT IFNULL(delaiCarenceTypeContrat, 0) AS delaiCarencePolice FROM typecontrat WHERE (codeTypeContrat=?);'; - - $resultat = $this->executerRequete($sql, array($codeTypeContrat)); - - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['delaiCarencePolice']; - } - else - { - return 0; - } - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typedecompte.php b/radiantproduction/Modele/Typedecompte.php deleted file mode 100644 index e505d76..0000000 --- a/radiantproduction/Modele/Typedecompte.php +++ /dev/null @@ -1,38 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeDecomptePrestataire() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypeDecompte as `code`, libelleEng as libelle FROM p_typedecompte where (prestataire="1") order by libelle'; - } - else - { - $sql = 'SELECT codeTypeDecompte as `code`, libelle FROM p_typedecompte where (prestataire="1") order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typedestinatairesms.php b/radiantproduction/Modele/Typedestinatairesms.php deleted file mode 100644 index 3e7767f..0000000 --- a/radiantproduction/Modele/Typedestinatairesms.php +++ /dev/null @@ -1,38 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeAdhrent() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypeDestinataire as `code`, libelleEng as libelle FROM typedestinatairesmsadherent order by libelleEng'; - } - else - { - $sql = 'SELECT codeTypeDestinataire as `code`, libelle FROM typedestinatairesmsadherent order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeecheancier.php b/radiantproduction/Modele/Typeecheancier.php deleted file mode 100644 index 3ec145a..0000000 --- a/radiantproduction/Modele/Typeecheancier.php +++ /dev/null @@ -1,46 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getNbEcheancier($codeTypeEcheancier) { - $sql = 'select nbEcheance from typeecheancier where (codeTypeEcheancier=?)'; - - $resultat = $this->executerRequete($sql, array($codeTypeEcheancier)); - - if($resultat->rowCount() > 0) - { - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbEcheance']; - } - else - { - return 1; - } - } - - public function getparametrestypeecheancier($codeTypeEcheancier) - { - $sql = 'SELECT nbEcheance, tauxInteretEcheancier FROM typeecheancier where (codeTypeEcheancier=?) limit 1'; - - $resultat = $this->executerRequete($sql, array($codeTypeEcheancier)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeprestataire.php b/radiantproduction/Modele/Typeprestataire.php deleted file mode 100644 index ed471e0..0000000 --- a/radiantproduction/Modele/Typeprestataire.php +++ /dev/null @@ -1,124 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeTypePrestataire,$libelle)); - - return $typeprestataires->fetchAll(PDO::FETCH_ASSOC); - } - - public function getTypeprestataire($id) - { - $sql = 'SELECT A.id, A.codeSociete, A.codeTypePrestataire, A.libelle, A.codeTypeSysteme, B.libelle as libelleTypeSysteme - FROM typeprestataire A left join typeprestatairesysteme B on (B.codeTypeSysteme=A.codeTypeSysteme) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $typeprestataire = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - return $typeprestataire->fetch(PDO::FETCH_ASSOC); - } - public function getNombreTypeprestataire() - { - $sql = 'select count(*) as nbTypeprestataire FROM typeprestataire A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbTypeprestataire']; - } - - public function ajouter($codeSociete, $codeTypePrestataire, $libelle, $codeTypeSysteme) { - $sql = 'INSERT INTO typeprestataire (codeSociete, codeTypePrestataire, libelle, codeTypeSysteme) VALUES (?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeTypePrestataire, $libelle, $codeTypeSysteme)); - } - - public function modifier($id, $codeTypePrestataire, $libelle, $codeTypeSysteme) { - $sql = 'UPDATE typeprestataire SET codeTypePrestataire=?, libelle=?, codeTypeSysteme=? where (id=?)'; - $this->executerRequete($sql, array($codeTypePrestataire, $libelle, $codeTypeSysteme, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM typeprestataire WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeTypePrestataire) - { - $sql = 'select id FROM typeprestataire WHERE (codeSociete=?) and (codeTypePrestataire=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeTypePrestataire)); - return ($resultat->rowCount() > 0); - } - - public function getListe() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypePrestataire as `code`, libelleEng as libelle FROM typeprestataire where (afficher="1") order by libelle'; - } - else - { - $sql = 'SELECT codeTypePrestataire as `code`, libelle FROM typeprestataire where (afficher="1") order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeParametrage() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypePrestataire as `code`, libelleEng as libelle FROM typeprestataire where (typeSysteme!="1") order by libelle'; - } - else - { - $sql = 'SELECT codeTypePrestataire as `code`, libelle FROM typeprestataire where (typeSysteme!="1") order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeTous() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypePrestataire as `code`, libelleEng as libelle FROM typeprestataire order by libelle'; - } - else - { - $sql = 'SELECT codeTypePrestataire as `code`, libelle FROM typeprestataire order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeActifs() - { - if (est_anglophone()) - { - $sql = 'SELECT codeTypePrestataire as `code`, libelleEng as libelle FROM typeprestataire where (actif="1") order by libelleEng'; - } - else - { - $sql = 'SELECT codeTypePrestataire as `code`, libelle FROM typeprestataire where (actif="1") order by libelle'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeprestatairesysteme.php b/radiantproduction/Modele/Typeprestatairesysteme.php deleted file mode 100644 index 012cdad..0000000 --- a/radiantproduction/Modele/Typeprestatairesysteme.php +++ /dev/null @@ -1,12 +0,0 @@ -executerRequete($sql); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typeprestation.php b/radiantproduction/Modele/Typeprestation.php deleted file mode 100644 index 9ecc3a7..0000000 --- a/radiantproduction/Modele/Typeprestation.php +++ /dev/null @@ -1,23 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Typtachesante.php b/radiantproduction/Modele/Typtachesante.php deleted file mode 100644 index f03ac35..0000000 --- a/radiantproduction/Modele/Typtachesante.php +++ /dev/null @@ -1,45 +0,0 @@ -executerRequete($sql, array($_SESSION['codeProfil'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeAdherent() { - $sql = 'SELECT A.codeTypTache as `code`, B.libelle - FROM typtachesanteprofil_c_adherent A - JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache) - WHERE (A.codeProfil=?) ORDER BY B.libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeProfil'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeNouveau() { - $sql = 'SELECT A.codeTypTache as `code`, B.libelle - FROM typtachesanteprofil_n A - JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache) - WHERE (A.codeProfil=?) ORDER BY B.libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeProfil'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeNouveauAdherent() { - $sql = 'SELECT A.codeTypTache as `code`, B.libelle - FROM typtachesanteprofil_n_adherent A - JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache) - WHERE (A.codeProfil=?) ORDER BY B.libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeProfil'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Utilisateur.php b/radiantproduction/Modele/Utilisateur.php deleted file mode 100644 index 4a4a3d4..0000000 --- a/radiantproduction/Modele/Utilisateur.php +++ /dev/null @@ -1,665 +0,0 @@ -executerRequete($sql, array($login)); - if ($utilisateur->rowCount() == 1) - { - $user = $utilisateur->fetch(PDO::FETCH_ASSOC); - $hash = $user['motPass']; - return (password_verify($mdp, $hash)); - } else - return false; - } - - public function getUtilisateurs($codeUtilisateur=null,$nom=null,$prenoms=null) { - $codeUtilisateur = contruireParamLike($codeUtilisateur); - $nom = contruireParamLike($nom); - $prenoms = contruireParamLike($prenoms); - - $sql = "SELECT A.id , A.id AS idUtilisateur, A.codeUtilisateur, A.codeUtilisateur AS login, S.codePays AS codePaysSociete, - A.nom, IFNULL(A.prenoms, '') AS prenoms, A.codeTypeUtilisateur, B.libelle AS typeUtilisateur, A.telephone, A.email, - A.motPass, A.codeProfil, IFNULL(A.codePrestataire, '') AS codePrestataire, IFNULL(C.libelle, '') AS profil, A.gestionDroit, - IFNULL(D.libelle, '') AS prestataire, IFNULL(D.codeTypePrestataire, '') AS codeTypePrestataire, IFNULL(E.libelle, '') AS typePrestataire, - IFNULL(D.telephonePortable, '') AS telephonePrestataire, IFNULL(D.faxPrestataire, '') AS faxPrestataire, IFNULL(D.email, '') AS emailPrestataire, - S.*, C.codeProfilSysteme, S.tauxInteretEcheancier as tauxInteret, A.adminProd, A.adminSin - FROM utilisateur A - JOIN societeuser S ON (S.codeSociete=A.codeSociete) - JOIN typeutilisateur B ON (B.codeTypeUtilisateur=A.codeTypeUtilisateur) - JOIN profil C ON (C.codeSociete=A.codeSociete AND C.codeProfil=A.codeProfil) - LEFT JOIN prestataire D ON (D.codeSociete=A.codeSociete AND D.codePrestataire=A.codePrestataire) - LEFT JOIN typeprestataire E ON (E.codeTypePrestataire=D.codeTypePrestataire) - WHERE (A.codeSociete=? AND A.codeUtilisateur LIKE ? AND A.nom LIKE ? AND A.prenoms LIKE ?) order by A.nom, A.prenoms"; - - $utilisateurs = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeUtilisateur,$nom,$prenoms)); - return $utilisateurs; - } - - public function getUtilisateur($login) - { - $sql = "call sp_r_get_utilisateur(?);"; - - $utilisateur = $this->executerRequete($sql, array($login)); - return $utilisateur->fetch(PDO::FETCH_ASSOC); - } - - public function getUtilisateurId($id) - { - $sql = "SELECT A.id , A.id AS idUtilisateur, A.codeUtilisateur, A.codeUtilisateur AS login, S.codePays AS codePaysSociete, - A.nom, IFNULL(A.prenoms, '') AS prenoms, A.codeTypeUtilisateur, B.libelle AS typeUtilisateur, A.telephone, A.email, - A.motPass, A.codeProfil, IFNULL(A.codePrestataire, '') AS codePrestataire, IFNULL(C.libelle, '') AS profil, A.gestionDroit, - IFNULL(D.libelle, '') AS prestataire, IFNULL(D.codeTypePrestataire, '') AS codeTypePrestataire, IFNULL(E.libelle, '') AS typePrestataire, - IFNULL(D.telephonePortable, '') AS telephonePrestataire, IFNULL(D.faxPrestataire, '') AS faxPrestataire, IFNULL(D.email, '') AS emailPrestataire, - S.*, C.codeProfilSysteme, S.tauxInteretEcheancier as tauxInteret, A.adminProd, A.adminSin - FROM utilisateur A - JOIN societeuser S ON (S.codeSociete=A.codeSociete) - JOIN typeutilisateur B ON (B.codeTypeUtilisateur=A.codeTypeUtilisateur) - JOIN profil C ON (C.codeSociete=A.codeSociete AND C.codeProfil=A.codeProfil) - LEFT JOIN prestataire D ON (D.codeSociete=A.codeSociete AND D.codePrestataire=A.codePrestataire) - LEFT JOIN typeprestataire E ON (E.codeTypePrestataire=D.codeTypePrestataire) - WHERE A.id=?"; - - $utilisateur = $this->executerRequete($sql, array($id)); - return $utilisateur->fetch(PDO::FETCH_ASSOC); - } - - public function changerpass($login, $ancmdp, $nvmdp) - { - $hash = password_hash($nvmdp, PASSWORD_DEFAULT); - $sql = "UPDATE utilisateur set motPass=?, reInit = '0' WHERE codeUtilisateur=?"; - $this->executerRequete($sql, array($hash, $login)); - } - - public function viderTablesTemporairesUser($login) - { - $sql = "call viderTablesTemporairesUser(?)"; - $this->executerRequete($sql, array($login)); - } - - - public function getNombreUtilisateur() - { - $sql = 'select count(*) as nbUtilisateur FROM utilisateur A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbUtilisateur']; - } -//////////// - - public function ajouter($codeSociete, $codeUtilisateur, $nom, $prenoms, $codeService, $telephone, $email, - $fonction, $codeProfil) { - $sql = 'INSERT INTO utilisateur (codeSociete, codeUtilisateur, nom, prenoms, codeService, telephone, email, - motPass, fonction, dateEntree, gestionDroit, codeProfil) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeUtilisateur, $nom, $prenoms, $codeService, $telephone, $email, - password_hash("0000", PASSWORD_DEFAULT), $fonction, date('Y-m-d'), "0", $codeProfil)); - } - - public function modifier($id, $codeUtilisateur, $nom, $prenoms, $codeService, $telephone, $email, - $fonction, $codeProfil) { - $sql = 'UPDATE utilisateur SET codeUtilisateur=?, nom=?, prenoms=?, codeService=?, telephone=?, email=?, - fonction=?, codeProfil=? where (id=?)'; - $this->executerRequete($sql, array($codeUtilisateur, $nom, $prenoms, $codeService, $telephone, $email, - $fonction, $codeProfil, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM utilisateur WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeUtilisateur) { - $sql = 'select id FROM utilisateur WHERE (codeUtilisateur=?)'; - $resultat = $this->executerRequete($sql, array($codeUtilisateur)); - return ($resultat->rowCount() > 0); - } - - public function getListe() { - $sql = 'SELECT codeUtilisateur as `code`, concat(nom," ",prenoms) as libelle - FROM utilisateur WHERE (codeSociete=?) order by nom, prenoms'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getUtilisateursProfil($codeProfil) { - $codeProfil = contruireParam($codeProfil); - - $sql = "SELECT case when codeProfil>' ' then '1' else '0' end as choix, - id, codeUtilisateur, concat(nom,' ',prenoms) as nom, codeProfil - FROM utilisateur - WHERE (codeSociete=? AND ?>' ') AND (codeProfil=? OR codeProfil<=' ') order by 1 DESC, nom, prenoms"; - - $utilisateurs = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeProfil,$codeProfil)); - return $utilisateurs; - } - - public function attribuerProfil($id_utilisateur,$codeProfil,$choix) { - $id_utilisateur = contruireParam($id_utilisateur); - $codeProfil = contruireParam($codeProfil); - $choix = contruireParam($choix); - - if ($choix=='0') - { - $codeProfil = ''; - } - - $sql = "update utilisateur set codeProfil=? WHERE (id=?)"; - $this->executerRequete($sql, array($codeProfil,$id_utilisateur)); - } - - public function getUtilisateurIdsaisie($idSaisie) - { - $sql = "call sp_r_get_utilisateur_idSaisie(?);"; - - $utilisateur = $this->executerRequete($sql, array($idSaisie)); - return $utilisateur->fetch(PDO::FETCH_ASSOC); - } - - public function changerlangueutilisateur() - { - $user = $_SESSION['login']; - $codeLangue = $_SESSION['lang']; - - if($codeLangue == "en_US") - { - $codeNewLang = "fr_FR"; - } - else - { - $codeNewLang = "en_US"; - } - - $sql = "call sp_r_changer_langue_utilisateur(?, ?);"; - - $this->executerRequete($sql, array($user, $codeNewLang)); - - $_SESSION['lang'] = $codeNewLang; - setcookie('lang', $codeLangue, time()+365*24*3600, '/'); - $_COOKIE['lang'] = $codeNewLang; - } - - public function getListeProfil() - { - if (est_anglophone()) - { - $sql = 'SELECT codeProfil as `code`, libelleEng as libelle FROM profil WHERE (codeSociete=?) order by libelleEng'; - } - else - { - $sql = 'SELECT codeProfil as `code`, libelle FROM profil WHERE (codeSociete=?) order by libelle'; - } - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getUtilisateursActesVisibles($codeProfil) - { - $sql = 'call sp_get_utilisateur_profil(?, ?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function gereraccesactes($codeUtilisateur, $actVisible) - { - $sql = 'call sp_r_gerer_accesactes_assureur(?, ?)'; - - $this->executerRequete($sql, array($codeUtilisateur, $actVisible)); - } - - public function reinitpaswd($codeUtilisateur) - { - $sql = 'call sp_r_reinit_utilisateur_assureur(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function desactiver($codeUtilisateur) - { - $sql = 'call sp_r_desactiver_utilisateur_assureur(?)'; - - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function activer($codeUtilisateur) - { - $sql = 'call sp_r_activer_utilisateur_assureur(?)'; - - $this->executerRequete($sql, array($codeUtilisateur)); - } - - public function getUtilisateursHorsProfil($codeProfil) - { - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'CALL sp_r_get_utilisateur_hors_profil(?, ?);'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeProfil)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajoutertousutilisateurprofilassureur($codeProfil) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_utilisateur_profil_ass(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); - } - - public function getListeProfilCode() - { - if (est_anglophone()) - { - $sql = 'SELECT codeProfil AS `code`, CONCAT(libelleEng, " ( ", codeProfil, " )") AS libelle FROM profil WHERE (codeSociete=?) ORDER BY libelleEng'; - } - else - { - $sql = 'SELECT codeProfil AS `code`, CONCAT(libelle, " ( ", codeProfil, " )") AS libelle FROM profil WHERE (codeSociete=?) ORDER BY libelle'; - } - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function ajouterunutilisateurprofilassureur($codeProfil, $codeUtilisateur) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_un_utilisateur_profil_ass(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeUtilisateur, $user)); - } - - public function getMenusAccessiblesProfil($codeProfil) - { - $sql = "call sp_r_get_menus_accessibles_profil(?, ?);"; - - $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $menu->fetchAll(); - - } - - public function getMenusNonAccessiblesProfil($codeProfil) - { - $sql = "call sp_r_get_menus_non_accessibles_profil(?, ?);"; - - $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $menu->fetchAll(); - - } - - public function ajouterunmenuprincipalprofilassureur($codeProfil, $codeMenu) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_un_menu_accessibles_profil(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); - } - - public function retirerunmenuprincipalprofilassureur($codeProfil, $codeMenu) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_un_menu_accessibles_profil(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); - } - - public function ajoutertousmenuprincipalprofilassureur($codeProfil) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_menus_accessibles_profil(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); - } - - public function retirerousmenuprincipalprofilassureur($codeProfil) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_tous_menus_accessibles_profil(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); - } - - public function getListeModule() - { - if (est_anglophone()) - { - $sql = 'SELECT codeModule AS `code`, libelleEng AS libelle FROM module ORDER BY 1;'; - } - else - { - $sql = 'SELECT codeModule AS `code`, libelle FROM module ORDER BY 1;'; - } - - $liste = $this->executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeVueModule($codeModule) - { - if (est_anglophone()) - { - $sql = 'call sp_get_vues_module_assureur_eng(?);'; - } - else - { - $sql = 'call sp_get_vues_module_assureur(?);'; - } - - $liste = $this->executerRequete($sql, array($codeModule)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getSousMenusAccessiblesVue($codeProfil, $vue) - { - $sql = "call sp_r_get_sous_menus_accessibles_vue(?, ?, ?);"; - - $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil, $vue)); - - return $menu->fetchAll(); - } - - public function getSousMenusNonAccessiblesVue($codeProfil, $vue) - { - $sql = "call sp_r_get_sous_menus_non_accessibles_vue(?, ?, ?);"; - - $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil, $vue)); - - return $menu->fetchAll(); - } - - public function ajoutertoussousmenusass($codeProfil, $vue) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_tous_sous_menus_accessibles_vue(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $vue, $user)); - } - - public function retirertoussousmenusass($codeProfil, $vue) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_tous_sous_menus_accessibles_vue(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $vue, $user)); - } - - public function ajouterunsousmenusass($codeProfil, $vue, $codeMenu) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_ajouter_un_sous_menus_accessibles_vue(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $vue, $codeMenu, $user)); - } - public function retirerunsousmenusass($codeProfil, $vue, $codeMenu) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_retirer_un_sous_menus_accessibles_vue(?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $vue, $codeMenu, $user)); - } - - public function getListeProfilComplet() - { - $sql = 'SELECT * FROM profil WHERE (codeSociete=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function creerprofilass($libelle, $libelleEng) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_creer_profil_ass(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $libelle, $libelleEng, $user)); - } - - public function transfererdroitsprofilassureur($codeProfilSource, $codeProfilDest) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_r_transferer_droits_profil_ass(?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfilSource, $codeProfilDest, $user)); - } - - public function batchviderprofilass($codeProfil) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_batch_vider_droits_profil_assureur(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); - } - - public function batchattribuerdroitsreferenceass($codeProfil) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $sql = 'call sp_batch_atrtribuer_droits_reference_profil_assureur(?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); - } - - public function getusersassueurfiltre($codeProfil, $nom, $prenoms) - { - $codeProfil = contruireParamLike($codeProfil); - $nom = contruireParamLike($nom); - $prenoms = contruireParamLike($prenoms); - - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_liste_users_assureur_filtre(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codeProfil, $nom, $prenoms)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getunusersassueur($idUtilisateur) - { - $sql = 'call sp_un_user_assureur(?)'; - - $resultat = $this->executerRequete($sql, array($idUtilisateur)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function enregistrermodifusersass($idUtilisateur, $codeProfil, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_user_assureur(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($idUtilisateur, $codeProfil, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible, $user)); - } - - public function creeruserassureur($codeProfil, $codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, $AffectionVisible) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $hash = password_hash($motPass, PASSWORD_DEFAULT); - - $sql = 'call sp_creer_user_assureur(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeUtilisateur, $nom, $prenoms, $telephone, - $email, $hash, $codeLangue, $actVisible, $AffectionVisible, $user)); - } - - public function gereraccesaffection($codeUtilisateur, $AffectionVisible) - { - $sql = 'call sp_r_gerer_accesaffection_assureur(?, ?)'; - - $this->executerRequete($sql, array($codeUtilisateur, $AffectionVisible)); - } - - public function verifiermotpassdefaut($codeSociete, $mdp) - { - $sql = "call sp_get_mot_pass_reinit(?);"; - - $resultat = $this->executerRequete($sql, array($codeSociete)); - - if ($resultat->rowCount() == 1) - { - $user = $resultat->fetch(PDO::FETCH_ASSOC); - $hash = $user['motPassReinit']; - return (password_verify($mdp, $hash)); - } - else - { - return false; - } - } - - public function set_composanteprime() - { - $sql = 'SELECT libelle, libelleActif FROM composanteprime WHERE (codeSociete = ?) ORDER BY 1;'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $composanteprimes = $resultat->fetchAll(); - - foreach ($composanteprimes as $composanteprime) - { - $cle = $composanteprime['libelle']; - $val = $composanteprime['libelleActif']; - $_SESSION['composanteprime']["$cle"] = $val; - } - } - - public function set_affichagedynamique() - { - $sql = 'SELECT libelle, libelleActif FROM affichagedynamique WHERE (codeSociete = ?) ORDER BY 1;'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $affichagedynamiques = $resultat->fetchAll(); - - foreach ($affichagedynamiques as $affichagedynamique) - { - $cle = $affichagedynamique['libelle']; - $val = $affichagedynamique['libelleActif']; - $_SESSION['affichagedynamique']["$cle"] = $val; - } - } - - public function getListeAgences() - { - if (est_anglophone()) - { - $sql = 'SELECT codePointVente AS `code`, CONCAT(libelle, " ( ", codePointVente, " )") AS libelleEng FROM pointvente WHERE (codeSociete=?) AND codeTypePointvente IN ("AP", "AG") ORDER BY libelleEng;'; - } - else - { - $sql = 'SELECT codePointVente AS `code`, CONCAT(libelle, " ( ", codePointVente, " )") AS libelle FROM pointvente WHERE (codeSociete=?) AND codeTypePointvente IN ("AP", "AG") ORDER BY libelle;'; - } - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function getusersagencefiltre($codePointVente, $nom, $prenoms) - { - $codePointVente = contruireParamLike($codePointVente); - $nom = contruireParamLike($nom); - $prenoms = contruireParamLike($prenoms); - - $codeSociete = $_SESSION['codeSociete']; - - $sql = 'call sp_liste_users_agence_filtre(?, ?, ?, ?)'; - - $resultat = $this->executerRequete($sql, array($codeSociete, $codePointVente, $nom, $prenoms)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function enregistrermodifusersagence($idUtilisateur, $codePointVente, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_user_agence(?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - /* - var_dump - ( - array - ( - "idUtilisateur" => $idUtilisateur, - "codePointVente" => $codePointVente, - "nom" => $nom, - "prenoms" => $prenoms, - "actif" => $actif, - "actVisible" => $actVisible, - "codeLangue" => $codeLangue, - "AffectionVisible" => $AffectionVisible, - "user" => $user - ) - ); - exit(); - */ - - $resultat = $this->executerRequete($sql, array($idUtilisateur, $codePointVente, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible, $user)); - } - - public function creeruseragence($codePointVente, $codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, $AffectionVisible) - { - $codeSociete = $_SESSION['codeSociete']; - $user = $_SESSION['login']; - - $hash = password_hash($motPass, PASSWORD_DEFAULT); - - $sql = 'call sp_creer_user_agence(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - /* - var_dump - ( - array - ( - "codeSociete" => $codeSociete, - "codePointVente" => $codePointVente, - ) - ); - exit(); - */ - - $this->executerRequete($sql, array($codeSociete, $codePointVente, $codeUtilisateur, $nom, $prenoms, $telephone, - $email, $hash, $codeLangue, $actVisible, $AffectionVisible, $user)); - } - -} \ No newline at end of file diff --git a/radiantproduction/Modele/Ville.php b/radiantproduction/Modele/Ville.php deleted file mode 100644 index abdfd0b..0000000 --- a/radiantproduction/Modele/Ville.php +++ /dev/null @@ -1,61 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'],$codeVille,$libelle)); - return $villes; - } - public function getVille($id) { - $sql = 'SELECT A.id, A.codeSociete, A.codeVille, A.libelle, A.codePays, B.libelle AS pays - FROM ville A left join pays B on (B.codePays=A.codePays) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $ville = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $ville->fetch(PDO::FETCH_ASSOC); - } - public function getNombreVille() - { - $sql = 'select count(*) as nbVille FROM ville A WHERE (A.codeSociete=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - return $ligne['nbVille']; - } - - public function ajouter($codeSociete, $codeVille, $libelle, $codePays) { - $sql = 'INSERT INTO ville (codeSociete, codeVille, libelle, codePays) VALUES (?, ?, ?, ?)'; - $this->executerRequete($sql, array($codeSociete, $codeVille, $libelle, $codePays)); - } - - public function modifier($id, $codeVille, $libelle, $codePays) { - $sql = 'UPDATE ville SET codeVille=?, libelle=?, codePays=? where (id=?)'; - $this->executerRequete($sql, array($codeVille, $libelle, $codePays, $id)); - } - - public function supprimer($id) { - $sql = 'DELETE FROM ville WHERE (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function existeligne($codeVille) { - $sql = 'select id FROM ville WHERE (codeSociete=?) and (codeVille=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeVille)); - return ($resultat->rowCount() > 0); - } - - public function getListe($codePays=null) { - $codePays = contruireParam($codePays); - $sql = 'SELECT codeVille as `code`, libelle FROM ville - WHERE (codeSociete=? AND codePays=?) order by libelle'; - - $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePays)); - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} \ No newline at end of file diff --git a/radiantproduction/Modele/Vues.php b/radiantproduction/Modele/Vues.php deleted file mode 100644 index 0a460e0..0000000 --- a/radiantproduction/Modele/Vues.php +++ /dev/null @@ -1,22 +0,0 @@ -executerRequete($sql); - - return $liste->fetchAll(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Societes/ESI/ebene.php b/radiantproduction/Societes/ESI/ebene.php deleted file mode 100644 index ab4fa67..0000000 --- a/radiantproduction/Societes/ESI/ebene.php +++ /dev/null @@ -1,2 +0,0 @@ -etQuittance = new TbQuittancesociete(); - $this->etBeneficiaire = new TbBeneficiairequittancesociete(); - } - - public function index() { - } - - public function imprimer($IdQ) { - $etQuittance = $this->etQuittance->quittanceAimprimer($IdQ); - $etBeneficiaire = $this->etBeneficiaire->recapbenaficiairequittance($IdQ); - -/* Gestion ds couleurs de cellule - -$pdf->SetFont('','I'); => Italique - -$pdf->SetFont(''); => Normal - -$pdf->SetFillColor(135,206,250); => bleu - -$pdf->SetFillColor(225,225,225); => gris - -$pdf->Cell(0,10,"text",0,1,'C',false); false => pas de couleur de fond -$pdf->Cell(0,10,"text",0,1,'C',true); true => avec de couleur de fond pour la cellule - -*/ - - $pdf = new Pdfentete(); - $pdf->SetMargins(25, 25, 25) ; - $pdf->SetFont('Arial','',15); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - // $pdf->SetX(-50); - $pdf->Sety(40); - $pdf->Cell(0,10,convertirc($etQuittance['nomClient']),0,1,'C',false); - $pdf->Cell(0,10,convertirc($etQuittance['boitepostale']),0,1,'C',false); - - $pdf->SetFont('Arial','BU',15); - $pdf->SetFillColor(135,206,250); // bleu - $pdf->Cell(0,10,convertirc('FACTURE'),0,1,'C',true); - - $pdf->SetFont('Arial','',10); - - $pdf->SetFontSize(10); - - $pdf->Cell(0,10,'Edition : '.heureCourante(),0,1,'C',false); - - - // $pdf->Ln(5); - - $lgcol1 = 60; - $lgcol2 = 100; - $ht=8; - - $pdf->SetFont(''); - - $pdf->SetFillColor(225,225,225); // gris - $pdf->Cell($lgcol1,$ht,convertirc('No POLICE'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,convertirc($etQuittance['numeroPolice']),'1',1,'C',true); - - $pdf->Cell($lgcol1,$ht,convertirc('N° Quittance'),'1',0,'C',false); - $pdf->Cell($lgcol2,$ht,convertirc($etQuittance['numeroQuittance']),'1',1,'C',false); - - $pdf->Cell($lgcol1,$ht,'Mouvement','1',0,'C',true); - $pdf->Cell($lgcol2,$ht,$etQuittance['typeavenant'],'1',1,'C',true); - - $pdf->Cell($lgcol1,$ht,convertirc('Opération'),'1',0,'C',false); - $pdf->Cell($lgcol2,$ht,convertirc($etQuittance['typeoperation']),'1',1,'C',false); - - $pdf->Cell($lgcol1,$ht,convertirc('Date Effet'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,dateFr($etQuittance['dateEffet']),'1',1,'C',true); - - $pdf->Cell($lgcol1,$ht,convertirc('Date Echéance'),'1',0,'C',false); - $pdf->Cell($lgcol2,$ht,dateFr($etQuittance['dateEcheance']),'1',1,'C',false); - - $pdf->Cell($lgcol1,$ht,convertirc('Date Emission'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,dateFr($etQuittance['dateEmission']),'1',1,'C',true); -// - $pdf->Cell($lgcol1,$ht,convertirc('Effectif Adhérents'),'1',0,'C',false); - $pdf->Cell($lgcol2,$ht,convertirc($etBeneficiaire['nbAdherent']),'1',1,'C',false); - - $pdf->Cell($lgcol1,$ht,convertirc('Effectif Ayants droit'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,convertirc($etBeneficiaire['nbBeneficiaire']),'1',1,'C',true); - - $pdf->Cell($lgcol1,$ht,convertirc('Effectif Total Assurés'),'1',0,'C',false); - $pdf->Cell($lgcol2,$ht,convertirc($etBeneficiaire['nbAssure']),'1',1,'C',false); -// - $pdf->Cell($lgcol1,$ht,convertirc('Prime HT'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,format_N(nettoyerf($etQuittance['primeHt'])),'1',1,'C',true); - - $pdf->Cell($lgcol1,$ht,convertirc('Fond Mutuel'),'1',0,'C',false); - $pdf->Cell($lgcol2,$ht,format_N(nettoyerf($etQuittance['taxe'])),'1',1,'C',false); - - $pdf->Cell($lgcol1,$ht,convertirc('Frais Cartes'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,format_N(nettoyerf($etQuittance['fraisCarte'])),'1',1,'C',true); - - $pdf->SetFillColor(135,206,250); // bleu - $pdf->Cell($lgcol1,$ht,convertirc('Prime TTC'),'1',0,'C',true); - $pdf->Cell($lgcol2,$ht,format_N(nettoyerf($etQuittance['primeTtc'])),'1',1,'C',true); - - $pdf->Ln(10); - - $pdf->SetFontSize(12); - $pdf->Cell(0,6,convertirc('Arrêté la présente facture à la somme de :'),0,1,'C',false); - $pdf->SetFont('','I'); - $pdf->SetFillColor(135,206,250); // bleu - $pdf->Cell(0,6,asLetters($etQuittance['primeTtc']).convertirc(' Francs Rwandais'),0,1,'C',true); - $pdf->SetFont(''); - - $pdf->SetY(-70); - - $pdf->Cell(0,6,convertirc('Fait à KIGALI, le ').dateFr($etQuittance['dateEmission']),0,1,'C',false); - - $pdf->Ln(10); - $pdf->SetFont('','U'); - $pdf->Cell(0,6,convertirc('L\'assureur'),0,0,'C',false); - - $fichier="facture_maladie_radiant"."_".uniqid().".pdf"; - - $pdf->Output($fichier,"D"); - } -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Etats/Etrecucaisse.php b/radiantproduction/Societes/radiant/Etats/Etrecucaisse.php deleted file mode 100644 index 1e4ef2c..0000000 --- a/radiantproduction/Societes/radiant/Etats/Etrecucaisse.php +++ /dev/null @@ -1,123 +0,0 @@ -etrecu = new TbRecucaisse(); - $this->societeuser = new Societeuser(); - } - - public function index() { - } - - public function imprimer($IdR) { - $etrecu = $this->etrecu->recuAimprimer($IdR); - $etdetailrecus = $this->etrecu->detailsrecuAimprimer($IdR); - $societeuser = $this->societeuser->getSocieteuser($_SESSION['codeSociete']); - - $pdf = new Pdfentete(); - $pdf->SetMargins(25, 25, 25) ; - $pdf->SetFont('Arial','',15); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $pdf->Sety(20); - $pdf->SetX(60); - $pdf->Cell(100,12,convertirc($societeuser['nomSociete']),1,1,'C',false); - - $pdf->SetFontSize(7); - $pdf->Cell(0,5,'Edition : '.heureCourante(),0,1,'R',false); - $pdf->SetFontSize(8); - $pdf->Cell(0,5,convertirc('Tél : '.$societeuser['telephoneSociete']),0,1,'C',false); - $pdf->Cell(0,5,convertirc('P.O.BOX : '.$societeuser['telephoneSociete']),0,1,'C',false); - $pdf->Cell(0,5,convertirc('TIN : 102781991'),0,1,'C',false); - - $pdf->SetFontSize(15); - $pdf->Ln(5); - $pdf->Cell(0,12,convertirc(_("RECU D'ENCAISSEMENT") . " No : " . $etrecu['numeroEncaissement']),1,1,'C',false); - - $pdf->SetFontSize(8); - - $pdf->Cell(40,6,convertirc("Reçu de"),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.$etrecu['nomTireur']),0,1,'L'); - - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc("La somme de"),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.format_N($etrecu['montant']).' FRW'),0,1,'L'); - - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc("Montant en lettre"),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,': '.asLetters($etrecu['montant']).convertirc(' FRW'),0,1,'L',false); - - /* - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc("Apporteur : "),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.$etrecu['apporteur']),0,1,'L'); - */ - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc("Mode de paiement : "),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.$etrecu['modepaiement']),0,1,'L'); - - $pdf->SetFont('Arial','',8); - $pdf->Cell(40,6,convertirc("Référence dpaiement : "),0,0,'L',false); - $pdf->SetFont('Arial','BI',8); - $pdf->Cell(100,6,convertirc(': '.$etrecu['referencePaiement']),0,1,'L'); - - $pdf->SetFont('Arial','BU',8); - - $pdf->Cell(0,6,convertirc("Polices payées : "),0,1,'L',false); - - $pdf->SetFont('Arial','',8); - - $hl=5; - - $pdf->SetFont('Arial','B',8); - $pdf->Cell(10,$hl,convertirc("N° Cli"),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc("Nom Client"),"1",0,'C'); - $pdf->Cell(25,$hl,convertirc("No POLICE"),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc("Quit."),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc("Effet"),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc("Echéance"),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc("Mvt"),"1",0,'C'); - $pdf->Cell(20,$hl,convertirc("Montant"),"1",1,'C'); - - $pdf->SetFont('Arial','I',8); - foreach ($etdetailrecus as $detailencaissement) - { - $pdf->Cell(10,$hl,convertirc($detailencaissement['numeroClient']),"1",0,'C'); - $pdf->Cell(50,$hl,convertirc($detailencaissement['nomClient']),"1",0,'L'); - $pdf->Cell(25,$hl,convertirc($detailencaissement['numeroPolice']),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailencaissement['numeroQuittance']),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc(dateFr($detailencaissement['dateEffet'])),"1",0,'C'); - $pdf->Cell(18,$hl,convertirc(dateFr($detailencaissement['dateEcheance'])),"1",0,'C'); - $pdf->Cell(10,$hl,convertirc($detailencaissement['codeTypeAvenant']),"1",0,'C'); - $pdf->Cell(20,$hl,format_N($detailencaissement['primeTtc']),"1",1,'C'); - } - $pdf->SetFont('Arial','',8); - - $pdf->SetFontSize(10); - - $pdf->SetY(-60); - - $pdf->Cell(0,10,convertirc('Fait à KIGALI, le ').dateFr($etrecu['dateCre']),0,1,'C',false); - $pdf->SetFont('','U'); - $pdf->Cell(0,10,convertirc('La caisse : '.$etrecu['caissiere']),0,0,'C',false); - - $fichier="recu_caisse"."_".uniqid().".pdf"; - - $pdf->Output($fichier,"D"); - } -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Etats/Pdfentete.php b/radiantproduction/Societes/radiant/Etats/Pdfentete.php deleted file mode 100644 index d60220d..0000000 --- a/radiantproduction/Societes/radiant/Etats/Pdfentete.php +++ /dev/null @@ -1,51 +0,0 @@ -Image('Societes/'.$_SESSION['codeSociete'].'/images/logo_etat.png',25,15,0,0,'','http://radiant.co.rw'); - $this->Image('Societes/'.$_SESSION['codeSociete'].'/images/logo_etat.png',25,15,160,0,'','http://radiant.co.rw'); - -/* -Image( - string $file, - float $x = null, - float $y = null, - float $w = 0, - float $h = 0, - string $type = '', - mixed $link = '' -) - -| Paramètre | Description | -| --------- | ------------------------------------------------------------ | -| **$file** | Chemin vers l’image (local ou URL si allow_url_fopen actif). | -| **$x** | Position X (mm). Si `null`, FPDF place automatiquement. | -| **$y** | Position Y (mm). Si `null`, suit le flux du document. | -| **$w** | Largeur en mm. `0` = calcul automatique selon proportion. | -| **$h** | Hauteur en mm. `0` = calcul automatique selon proportion. | -| **$type** | 'PNG', 'JPG', 'GIF'. Souvent détecté automatiquement. | -| **$link** | URL ou numéro de lien interne. | - -*/ - $this->SetFont('Arial','BU',15); - } - - // Pied de page - function Footer() - { - $this->SetY(-30); - $this->SetFont('Arial','',8); - - $this->Cell(0,5,convertirc('RADIANT INSURANCE COMPANY Ltd au capital de 6 500 000 000 RWF'),0,1,'C'); - $this->Cell(0,5,convertirc('KN 3 Ave RADIANT Building / P.O. 1861 / KIGALI, RWANDA, Tel : (+250) 0788 381 093'),0,1,'C'); - $this->Cell(0,5,convertirc('TIN 102781991'),0,1,'C'); - - } -} diff --git a/radiantproduction/Societes/radiant/Etats/Pdfrq.php b/radiantproduction/Societes/radiant/Etats/Pdfrq.php deleted file mode 100644 index baef96c..0000000 --- a/radiantproduction/Societes/radiant/Etats/Pdfrq.php +++ /dev/null @@ -1,49 +0,0 @@ -titre = $titre['0']; - $this->largeurtitre = $titre['1']; - $this->entete = $entete; - } - - // En-tête - function Header() - { - // Logo - $this->SetMargins(20, 20,20); - // $this->Image('Bootstrap/images/logo_loyale.png',0,20,35,0,'','http://gessante.com/'); - $this->SetFont('Arial','BU',10); - $this->SetXY(40,20); - $this->Cell($this->largeurtitre,10,convertirc($this->titre),1,1,'C'); - - $this->SetFont('Arial','B',7); - - $this->Ln(5); - $this->Cell(0,5,convertirc("Edité le : ").date("d/m/Y"),0,1,'L'); - - foreach ($this->entete as $entete){ - $this->Cell($entete['1'],6,convertirc($entete['0']),1,0,'C'); - } - $this->SetFont('Arial','',7); - $this->Ln(6); - } - - // Pied de page - function Footer() - { - $this->SetY(-15); - $this->SetFont('Arial','',8); - // Numéro et nombre de pages - $this->Cell(0,5,'Page '.$this->PageNo().'/{nb}',0,0,'C'); - } -} diff --git a/radiantproduction/Societes/radiant/Etats/Societeuser.php b/radiantproduction/Societes/radiant/Etats/Societeuser.php deleted file mode 100644 index af8ef0b..0000000 --- a/radiantproduction/Societes/radiant/Etats/Societeuser.php +++ /dev/null @@ -1,19 +0,0 @@ -executerRequete($sql, array($codeSociete)); - return $societe->fetch(); - } -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Etats/TbBeneficiairequittancesociete.php b/radiantproduction/Societes/radiant/Etats/TbBeneficiairequittancesociete.php deleted file mode 100644 index 3a6141a..0000000 --- a/radiantproduction/Societes/radiant/Etats/TbBeneficiairequittancesociete.php +++ /dev/null @@ -1,17 +0,0 @@ -executerRequete($sql, array($idQuittance)); - return $quittance->fetch(PDO::FETCH_ASSOC); - } -} diff --git a/radiantproduction/Societes/radiant/Etats/TbQuittancesociete.php b/radiantproduction/Societes/radiant/Etats/TbQuittancesociete.php deleted file mode 100644 index e27e544..0000000 --- a/radiantproduction/Societes/radiant/Etats/TbQuittancesociete.php +++ /dev/null @@ -1,23 +0,0 @@ -executerRequete($sql, array($idQuittance)); - if ($quittance->rowCount() > 0) - return $quittance->fetch(PDO::FETCH_ASSOC); - //return $quittance->fetchAll(PDO::FETCH_ASSOC); (si plusieurs lignes) - else - throw new Exception("Aucun quittance ne correspond au id '$idQuittance'"); - } -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Etats/TbRecucaisse.php b/radiantproduction/Societes/radiant/Etats/TbRecucaisse.php deleted file mode 100644 index 1346134..0000000 --- a/radiantproduction/Societes/radiant/Etats/TbRecucaisse.php +++ /dev/null @@ -1,34 +0,0 @@ -executerRequete($sql, array($idEncaissement)); - return $encaissement->fetch(); - } - - public function detailsrecuAimprimer($idEncaissement) { - $sql = 'select B.idClient, B.numeroClient, CONCAT(C.nom," ",C.prenoms) as nomClient, B.numeroPolice, - A.id as idDetailencaissement, B.codeTypeAvenant, A.*, D.dateEffet, D.dateEcheance, B.codeTypeAvenant - From detailencaissement A - left join quittance B on (B.codeSociete=A.codeSociete) and (B.id=A.idQuittance) - left join clients C on (B.codeSociete=A.codeSociete) and (C.id=B.idClient) - left join police D on (D.codeSociete=A.codeSociete) and (D.id=B.idPolice) - where (A.idEncaissement=?) - order by C.nom, C.prenoms, B.numeroPolice, B.dateEffet, A.id'; - - $detailencaissement = $this->executerRequete($sql, array($idEncaissement)); - return $detailencaissement; - } - -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f139408ee.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f139408ee.pdf deleted file mode 100644 index 5aaa496..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f139408ee.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f16d3de1f.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f16d3de1f.pdf deleted file mode 100644 index ec2705c..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f16d3de1f.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f2bf55549.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f2bf55549.pdf deleted file mode 100644 index 5aaa496..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f2bf55549.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f718d83ab.jpeg b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f718d83ab.jpeg deleted file mode 100644 index 7117aa9..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f718d83ab.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f72cdaf31.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f72cdaf31.pdf deleted file mode 100644 index 24153bd..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836f72cdaf31.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836fd346b001.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836fd346b001.pdf deleted file mode 100644 index 7db48a5..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836fd346b001.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836fd6549d68.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6836fd6549d68.pdf deleted file mode 100644 index 7db48a5..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6836fd6549d68.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837043dd50bd.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6837043dd50bd.pdf deleted file mode 100644 index 24153bd..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837043dd50bd.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d669da34.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d669da34.pdf deleted file mode 100644 index 5aaa496..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d669da34.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d6c9731a.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d6c9731a.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d6c9731a.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d80a2a9a.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d80a2a9a.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370d80a2a9a.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370dd00086d.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370dd00086d.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370dd00086d.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370e764856d.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370e764856d.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370e764856d.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370ef9dde1f.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370ef9dde1f.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370ef9dde1f.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370efdc694c.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_68370efdc694c.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_68370efdc694c.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_683710fd8c682.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_683710fd8c682.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_683710fd8c682.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837111c76823.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6837111c76823.pdf deleted file mode 100644 index 89bf896..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837111c76823.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_683717fed5c6d.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_683717fed5c6d.pdf deleted file mode 100644 index 5aaa496..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_683717fed5c6d.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837180269e1c.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6837180269e1c.pdf deleted file mode 100644 index 5aaa496..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837180269e1c.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837185568b8c.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_6837185568b8c.pdf deleted file mode 100644 index 5aaa496..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_6837185568b8c.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-05-28_683718662dde9.pdf b/radiantproduction/Societes/radiant/Ged/2025-05-28_683718662dde9.pdf deleted file mode 100644 index 7de2ab0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-05-28_683718662dde9.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-06-04_6840570e64dee.xlsx b/radiantproduction/Societes/radiant/Ged/2025-06-04_6840570e64dee.xlsx deleted file mode 100644 index 0f2d465..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-06-04_6840570e64dee.xlsx and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-06-04_684095468dfc5.xlsx b/radiantproduction/Societes/radiant/Ged/2025-06-04_684095468dfc5.xlsx deleted file mode 100644 index 0f2d465..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-06-04_684095468dfc5.xlsx and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-06-04_68409566c342f.xlsx b/radiantproduction/Societes/radiant/Ged/2025-06-04_68409566c342f.xlsx deleted file mode 100644 index 0f2d465..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-06-04_68409566c342f.xlsx and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-06-19_6853d8fe3b88e.pdf b/radiantproduction/Societes/radiant/Ged/2025-06-19_6853d8fe3b88e.pdf deleted file mode 100644 index eb1acf0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-06-19_6853d8fe3b88e.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-06-25_685bbfb502952.xlsx b/radiantproduction/Societes/radiant/Ged/2025-06-25_685bbfb502952.xlsx deleted file mode 100644 index d22dff0..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-06-25_685bbfb502952.xlsx and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-09-15_68c7bd54d29af.xlsx b/radiantproduction/Societes/radiant/Ged/2025-09-15_68c7bd54d29af.xlsx deleted file mode 100644 index bd55a39..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-09-15_68c7bd54d29af.xlsx and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-10-31_6904c57cecabd.xlsx b/radiantproduction/Societes/radiant/Ged/2025-10-31_6904c57cecabd.xlsx deleted file mode 100644 index c6ee998..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-10-31_6904c57cecabd.xlsx and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-11-28_69298fca4fe94.pdf b/radiantproduction/Societes/radiant/Ged/2025-11-28_69298fca4fe94.pdf deleted file mode 100644 index e3a1b47..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-11-28_69298fca4fe94.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-12-11_693adb0057704.pdf b/radiantproduction/Societes/radiant/Ged/2025-12-11_693adb0057704.pdf deleted file mode 100644 index 0f45878..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-12-11_693adb0057704.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Ged/2025-12-11_693aeb4149f36.pdf b/radiantproduction/Societes/radiant/Ged/2025-12-11_693aeb4149f36.pdf deleted file mode 100644 index fc39675..0000000 Binary files a/radiantproduction/Societes/radiant/Ged/2025-12-11_693aeb4149f36.pdf and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Js/societe.js b/radiantproduction/Societes/radiant/Js/societe.js deleted file mode 100644 index fecb087..0000000 --- a/radiantproduction/Societes/radiant/Js/societe.js +++ /dev/null @@ -1,19 +0,0 @@ -// focntions spécifiques à la sosciété - -/* -function college_police() -{ - if ($("#idPolice_C" ).val()>"") - { - window.location.assign($("#racineWeb" ).val()+"Collegepolice/"); - } -} -*/ - -function tester_js_sosiete() -{ - v_msg="Spécifique à RADIANT!"; - v_msgEng="Spécial for RADIANT!"; - alert_ebene(v_msg, v_msgEng); -} - diff --git a/radiantproduction/Societes/radiant/Photos/0010000202_563643.jpeg b/radiantproduction/Societes/radiant/Photos/0010000202_563643.jpeg deleted file mode 100644 index b1c8f0f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000202_563643.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000301_874870.jpeg b/radiantproduction/Societes/radiant/Photos/0010000301_874870.jpeg deleted file mode 100644 index 9282320..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000301_874870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000302_720363.jpeg b/radiantproduction/Societes/radiant/Photos/0010000302_720363.jpeg deleted file mode 100644 index 56f1050..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000302_720363.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000601_68181.jpeg b/radiantproduction/Societes/radiant/Photos/0010000601_68181.jpeg deleted file mode 100644 index 855c5a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000601_68181.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000603_313137.jpeg b/radiantproduction/Societes/radiant/Photos/0010000603_313137.jpeg deleted file mode 100644 index 87180c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000603_313137.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000604_439957.jpeg b/radiantproduction/Societes/radiant/Photos/0010000604_439957.jpeg deleted file mode 100644 index d3c0ba8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000604_439957.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000605_172155.jpeg b/radiantproduction/Societes/radiant/Photos/0010000605_172155.jpeg deleted file mode 100644 index a56f643..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000605_172155.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000801_363661.jpeg b/radiantproduction/Societes/radiant/Photos/0010000801_363661.jpeg deleted file mode 100644 index b803125..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000801_363661.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000803_700760.jpeg b/radiantproduction/Societes/radiant/Photos/0010000803_700760.jpeg deleted file mode 100644 index 2201d65..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000803_700760.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000804_586248.jpeg b/radiantproduction/Societes/radiant/Photos/0010000804_586248.jpeg deleted file mode 100644 index 00ee138..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000804_586248.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000805_489473.jpeg b/radiantproduction/Societes/radiant/Photos/0010000805_489473.jpeg deleted file mode 100644 index eb233fd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000805_489473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010000806_321382.jpeg b/radiantproduction/Societes/radiant/Photos/0010000806_321382.jpeg deleted file mode 100644 index 06a6b52..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010000806_321382.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001501_61589.jpeg b/radiantproduction/Societes/radiant/Photos/0010001501_61589.jpeg deleted file mode 100644 index 8eae34a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001501_61589.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001502_578758.jpeg b/radiantproduction/Societes/radiant/Photos/0010001502_578758.jpeg deleted file mode 100644 index 7c8ac3a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001502_578758.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001502_693016.jpeg b/radiantproduction/Societes/radiant/Photos/0010001502_693016.jpeg deleted file mode 100644 index 63b4203..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001502_693016.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001701_633733.jpeg b/radiantproduction/Societes/radiant/Photos/0010001701_633733.jpeg deleted file mode 100644 index 54efe37..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001701_633733.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001702_401911.jpeg b/radiantproduction/Societes/radiant/Photos/0010001702_401911.jpeg deleted file mode 100644 index 6a6c7b7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001702_401911.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001703_807332.jpeg b/radiantproduction/Societes/radiant/Photos/0010001703_807332.jpeg deleted file mode 100644 index 10ac272..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001703_807332.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001902_134902.jpeg b/radiantproduction/Societes/radiant/Photos/0010001902_134902.jpeg deleted file mode 100644 index c09b8cb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001902_134902.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010001903_29581.jpeg b/radiantproduction/Societes/radiant/Photos/0010001903_29581.jpeg deleted file mode 100644 index ceb4cd7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010001903_29581.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010002502_419441.jpeg b/radiantproduction/Societes/radiant/Photos/0010002502_419441.jpeg deleted file mode 100644 index aea23e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010002502_419441.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010002504_718477.jpeg b/radiantproduction/Societes/radiant/Photos/0010002504_718477.jpeg deleted file mode 100644 index 73ac6ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010002504_718477.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010002505_190250.jpeg b/radiantproduction/Societes/radiant/Photos/0010002505_190250.jpeg deleted file mode 100644 index be8220c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010002505_190250.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010002506_95813.jpeg b/radiantproduction/Societes/radiant/Photos/0010002506_95813.jpeg deleted file mode 100644 index c96bdd7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010002506_95813.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010003204_870624.jpeg b/radiantproduction/Societes/radiant/Photos/0010003204_870624.jpeg deleted file mode 100644 index 88de868..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010003204_870624.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010003401_923867.jpeg b/radiantproduction/Societes/radiant/Photos/0010003401_923867.jpeg deleted file mode 100644 index 877ba06..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010003401_923867.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010003902_531132.jpeg b/radiantproduction/Societes/radiant/Photos/0010003902_531132.jpeg deleted file mode 100644 index 41c7d9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010003902_531132.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010003905_460604.jpeg b/radiantproduction/Societes/radiant/Photos/0010003905_460604.jpeg deleted file mode 100644 index 48c4f2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010003905_460604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010004003_402497.jpeg b/radiantproduction/Societes/radiant/Photos/0010004003_402497.jpeg deleted file mode 100644 index 11ccb7a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010004003_402497.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010004004_120702.jpeg b/radiantproduction/Societes/radiant/Photos/0010004004_120702.jpeg deleted file mode 100644 index 8f6da6e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010004004_120702.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010004004_84820.jpeg b/radiantproduction/Societes/radiant/Photos/0010004004_84820.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010004004_84820.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010004101_216299.jpeg b/radiantproduction/Societes/radiant/Photos/0010004101_216299.jpeg deleted file mode 100644 index ff57741..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010004101_216299.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010004103_763435.jpeg b/radiantproduction/Societes/radiant/Photos/0010004103_763435.jpeg deleted file mode 100644 index c173cf7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010004103_763435.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010004104_460322.jpeg b/radiantproduction/Societes/radiant/Photos/0010004104_460322.jpeg deleted file mode 100644 index 670e42f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010004104_460322.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010005901_554735.jpeg b/radiantproduction/Societes/radiant/Photos/0010005901_554735.jpeg deleted file mode 100644 index 5a8e541..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010005901_554735.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010005902_388933.jpeg b/radiantproduction/Societes/radiant/Photos/0010005902_388933.jpeg deleted file mode 100644 index 119dcc4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010005902_388933.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010005904_492415.jpeg b/radiantproduction/Societes/radiant/Photos/0010005904_492415.jpeg deleted file mode 100644 index f5d4c23..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010005904_492415.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010006103_258871.jpeg b/radiantproduction/Societes/radiant/Photos/0010006103_258871.jpeg deleted file mode 100644 index 21a6583..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010006103_258871.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010006701_553951.jpeg b/radiantproduction/Societes/radiant/Photos/0010006701_553951.jpeg deleted file mode 100644 index 28987ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010006701_553951.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010006702_378612.jpeg b/radiantproduction/Societes/radiant/Photos/0010006702_378612.jpeg deleted file mode 100644 index 5f71fbf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010006702_378612.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010006901_19855.jpeg b/radiantproduction/Societes/radiant/Photos/0010006901_19855.jpeg deleted file mode 100644 index 1cc7b4a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010006901_19855.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010006901_21284.jpeg b/radiantproduction/Societes/radiant/Photos/0010006901_21284.jpeg deleted file mode 100644 index eb6a942..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010006901_21284.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010006901_381696.jpeg b/radiantproduction/Societes/radiant/Photos/0010006901_381696.jpeg deleted file mode 100644 index af7a34d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010006901_381696.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010007603_123684.jpeg b/radiantproduction/Societes/radiant/Photos/0010007603_123684.jpeg deleted file mode 100644 index f9a05e9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010007603_123684.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010007604_633299.jpeg b/radiantproduction/Societes/radiant/Photos/0010007604_633299.jpeg deleted file mode 100644 index e0df341..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010007604_633299.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0010007803_812348.jpeg b/radiantproduction/Societes/radiant/Photos/0010007803_812348.jpeg deleted file mode 100644 index ee8dc41..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0010007803_812348.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0011000401_718922.jpeg b/radiantproduction/Societes/radiant/Photos/0011000401_718922.jpeg deleted file mode 100644 index e371a5d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0011000401_718922.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012000802_457096.jpeg b/radiantproduction/Societes/radiant/Photos/0012000802_457096.jpeg deleted file mode 100644 index fdc6228..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012000802_457096.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012000904_288540.jpeg b/radiantproduction/Societes/radiant/Photos/0012000904_288540.jpeg deleted file mode 100644 index 4f81492..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012000904_288540.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012000905_396989.jpeg b/radiantproduction/Societes/radiant/Photos/0012000905_396989.jpeg deleted file mode 100644 index d6f11e6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012000905_396989.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012000906_325330.jpeg b/radiantproduction/Societes/radiant/Photos/0012000906_325330.jpeg deleted file mode 100644 index 71166dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012000906_325330.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012000906_967870.jpeg b/radiantproduction/Societes/radiant/Photos/0012000906_967870.jpeg deleted file mode 100644 index a614c8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012000906_967870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012001204_23460.jpeg b/radiantproduction/Societes/radiant/Photos/0012001204_23460.jpeg deleted file mode 100644 index fe2969f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012001204_23460.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012002501_930816.jpeg b/radiantproduction/Societes/radiant/Photos/0012002501_930816.jpeg deleted file mode 100644 index aa38fda..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012002501_930816.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012004901_980910.jpeg b/radiantproduction/Societes/radiant/Photos/0012004901_980910.jpeg deleted file mode 100644 index db5230e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012004901_980910.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012005101_976293.jpeg b/radiantproduction/Societes/radiant/Photos/0012005101_976293.jpeg deleted file mode 100644 index 638d4bb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012005101_976293.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012005102_749928.jpeg b/radiantproduction/Societes/radiant/Photos/0012005102_749928.jpeg deleted file mode 100644 index 2536f16..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012005102_749928.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012005103_156335.jpeg b/radiantproduction/Societes/radiant/Photos/0012005103_156335.jpeg deleted file mode 100644 index 9316038..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012005103_156335.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012005104_508889.jpeg b/radiantproduction/Societes/radiant/Photos/0012005104_508889.jpeg deleted file mode 100644 index e1d208e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012005104_508889.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0012008501_640976.jpeg b/radiantproduction/Societes/radiant/Photos/0012008501_640976.jpeg deleted file mode 100644 index 7f5d029..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0012008501_640976.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017000301_785996.jpeg b/radiantproduction/Societes/radiant/Photos/0017000301_785996.jpeg deleted file mode 100644 index 0fac822..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017000301_785996.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017000702_88910.jpeg b/radiantproduction/Societes/radiant/Photos/0017000702_88910.jpeg deleted file mode 100644 index e33874c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017000702_88910.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017000803_709428.jpeg b/radiantproduction/Societes/radiant/Photos/0017000803_709428.jpeg deleted file mode 100644 index 8f9532b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017000803_709428.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017000901_249630.jpeg b/radiantproduction/Societes/radiant/Photos/0017000901_249630.jpeg deleted file mode 100644 index 99d05f3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017000901_249630.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017000901_794399.jpeg b/radiantproduction/Societes/radiant/Photos/0017000901_794399.jpeg deleted file mode 100644 index 39b3d2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017000901_794399.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017001306_304185.jpeg b/radiantproduction/Societes/radiant/Photos/0017001306_304185.jpeg deleted file mode 100644 index 75eecc0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017001306_304185.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017001401_974642.jpeg b/radiantproduction/Societes/radiant/Photos/0017001401_974642.jpeg deleted file mode 100644 index 93f9714..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017001401_974642.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002301_582877.jpeg b/radiantproduction/Societes/radiant/Photos/0017002301_582877.jpeg deleted file mode 100644 index 6470362..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002301_582877.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002303_485970.jpeg b/radiantproduction/Societes/radiant/Photos/0017002303_485970.jpeg deleted file mode 100644 index f55f326..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002303_485970.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002304_919880.jpeg b/radiantproduction/Societes/radiant/Photos/0017002304_919880.jpeg deleted file mode 100644 index df2e94e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002304_919880.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002305_339155.jpeg b/radiantproduction/Societes/radiant/Photos/0017002305_339155.jpeg deleted file mode 100644 index 62b448f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002305_339155.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002401_39870.jpeg b/radiantproduction/Societes/radiant/Photos/0017002401_39870.jpeg deleted file mode 100644 index 4d40810..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002401_39870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002402_890227.jpeg b/radiantproduction/Societes/radiant/Photos/0017002402_890227.jpeg deleted file mode 100644 index fdeedf3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002402_890227.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017002903_970057.jpeg b/radiantproduction/Societes/radiant/Photos/0017002903_970057.jpeg deleted file mode 100644 index 0ef7b48..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017002903_970057.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017005001_976747.jpeg b/radiantproduction/Societes/radiant/Photos/0017005001_976747.jpeg deleted file mode 100644 index ce88e85..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017005001_976747.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017005004_536998.jpeg b/radiantproduction/Societes/radiant/Photos/0017005004_536998.jpeg deleted file mode 100644 index d45b061..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017005004_536998.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017005005_146691.jpeg b/radiantproduction/Societes/radiant/Photos/0017005005_146691.jpeg deleted file mode 100644 index 5a3b4e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017005005_146691.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006101_740660.jpeg b/radiantproduction/Societes/radiant/Photos/0017006101_740660.jpeg deleted file mode 100644 index 47542b2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006101_740660.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006105_704886.jpeg b/radiantproduction/Societes/radiant/Photos/0017006105_704886.jpeg deleted file mode 100644 index 19d5de3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006105_704886.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006303_457784.jpeg b/radiantproduction/Societes/radiant/Photos/0017006303_457784.jpeg deleted file mode 100644 index d4c6ca0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006303_457784.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006501_431198.jpeg b/radiantproduction/Societes/radiant/Photos/0017006501_431198.jpeg deleted file mode 100644 index cd9bb2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006501_431198.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006501_625886.jpeg b/radiantproduction/Societes/radiant/Photos/0017006501_625886.jpeg deleted file mode 100644 index 3ca729a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006501_625886.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006502_755756.jpeg b/radiantproduction/Societes/radiant/Photos/0017006502_755756.jpeg deleted file mode 100644 index b87d213..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006502_755756.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006503_334446.jpeg b/radiantproduction/Societes/radiant/Photos/0017006503_334446.jpeg deleted file mode 100644 index ee649f2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006503_334446.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006504_998440.jpeg b/radiantproduction/Societes/radiant/Photos/0017006504_998440.jpeg deleted file mode 100644 index 899b069..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006504_998440.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006505_735917.jpeg b/radiantproduction/Societes/radiant/Photos/0017006505_735917.jpeg deleted file mode 100644 index b6cdec6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006505_735917.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017006905_407032.jpeg b/radiantproduction/Societes/radiant/Photos/0017006905_407032.jpeg deleted file mode 100644 index 32078fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017006905_407032.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017007102_408022.jpeg b/radiantproduction/Societes/radiant/Photos/0017007102_408022.jpeg deleted file mode 100644 index 4917667..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017007102_408022.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017007601_786984.jpeg b/radiantproduction/Societes/radiant/Photos/0017007601_786984.jpeg deleted file mode 100644 index 5b2170a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017007601_786984.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017007801_141103.jpeg b/radiantproduction/Societes/radiant/Photos/0017007801_141103.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017007801_141103.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017007801_701482.jpeg b/radiantproduction/Societes/radiant/Photos/0017007801_701482.jpeg deleted file mode 100644 index cc1b64e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017007801_701482.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017007802_781579.jpeg b/radiantproduction/Societes/radiant/Photos/0017007802_781579.jpeg deleted file mode 100644 index 1df1f8a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017007802_781579.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008201_252602.jpeg b/radiantproduction/Societes/radiant/Photos/0017008201_252602.jpeg deleted file mode 100644 index 5e31d4b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008201_252602.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008203_908701.jpeg b/radiantproduction/Societes/radiant/Photos/0017008203_908701.jpeg deleted file mode 100644 index 8dcda63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008203_908701.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008301_62825.jpeg b/radiantproduction/Societes/radiant/Photos/0017008301_62825.jpeg deleted file mode 100644 index 917419e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008301_62825.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008302_924824.jpeg b/radiantproduction/Societes/radiant/Photos/0017008302_924824.jpeg deleted file mode 100644 index 909783d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008302_924824.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008303_241727.jpeg b/radiantproduction/Societes/radiant/Photos/0017008303_241727.jpeg deleted file mode 100644 index c16e474..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008303_241727.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008304_762143.jpeg b/radiantproduction/Societes/radiant/Photos/0017008304_762143.jpeg deleted file mode 100644 index e08569c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008304_762143.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008403_921435.jpeg b/radiantproduction/Societes/radiant/Photos/0017008403_921435.jpeg deleted file mode 100644 index d29d8c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008403_921435.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017008404_875179.jpeg b/radiantproduction/Societes/radiant/Photos/0017008404_875179.jpeg deleted file mode 100644 index c29c9d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017008404_875179.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017009301_179868.jpeg b/radiantproduction/Societes/radiant/Photos/0017009301_179868.jpeg deleted file mode 100644 index fcf88ff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017009301_179868.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017009302_36603.jpeg b/radiantproduction/Societes/radiant/Photos/0017009302_36603.jpeg deleted file mode 100644 index 8095fb5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017009302_36603.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017009305_594875.jpeg b/radiantproduction/Societes/radiant/Photos/0017009305_594875.jpeg deleted file mode 100644 index 1816962..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017009305_594875.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017009503_754677.jpeg b/radiantproduction/Societes/radiant/Photos/0017009503_754677.jpeg deleted file mode 100644 index 2f7b8ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017009503_754677.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017009504_953503.jpeg b/radiantproduction/Societes/radiant/Photos/0017009504_953503.jpeg deleted file mode 100644 index 46b33be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017009504_953503.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0017009603_667869.jpeg b/radiantproduction/Societes/radiant/Photos/0017009603_667869.jpeg deleted file mode 100644 index d141a00..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0017009603_667869.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000101_911341.jpeg b/radiantproduction/Societes/radiant/Photos/0019000101_911341.jpeg deleted file mode 100644 index 72a1fc3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000101_911341.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000102_752838.jpeg b/radiantproduction/Societes/radiant/Photos/0019000102_752838.jpeg deleted file mode 100644 index 5ca7ffc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000102_752838.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000203_467146.jpeg b/radiantproduction/Societes/radiant/Photos/0019000203_467146.jpeg deleted file mode 100644 index 6c728bb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000203_467146.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000204_151634.jpeg b/radiantproduction/Societes/radiant/Photos/0019000204_151634.jpeg deleted file mode 100644 index b525b0f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000204_151634.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000402_217690.jpeg b/radiantproduction/Societes/radiant/Photos/0019000402_217690.jpeg deleted file mode 100644 index d59277d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000402_217690.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000403_962192.jpeg b/radiantproduction/Societes/radiant/Photos/0019000403_962192.jpeg deleted file mode 100644 index b3aa826..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000403_962192.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000601_859579.jpeg b/radiantproduction/Societes/radiant/Photos/0019000601_859579.jpeg deleted file mode 100644 index 7570100..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000601_859579.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000602_82283.jpeg b/radiantproduction/Societes/radiant/Photos/0019000602_82283.jpeg deleted file mode 100644 index 0473349..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000602_82283.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019000802_800340.jpeg b/radiantproduction/Societes/radiant/Photos/0019000802_800340.jpeg deleted file mode 100644 index e743a7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019000802_800340.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019001101_388906.jpeg b/radiantproduction/Societes/radiant/Photos/0019001101_388906.jpeg deleted file mode 100644 index 46013e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019001101_388906.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019001505_365814.jpeg b/radiantproduction/Societes/radiant/Photos/0019001505_365814.jpeg deleted file mode 100644 index d796213..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019001505_365814.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019002604_23346.jpeg b/radiantproduction/Societes/radiant/Photos/0019002604_23346.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019002604_23346.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0019003602_201316.jpeg b/radiantproduction/Societes/radiant/Photos/0019003602_201316.jpeg deleted file mode 100644 index 5312623..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0019003602_201316.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0035004703_799281.jpeg b/radiantproduction/Societes/radiant/Photos/0035004703_799281.jpeg deleted file mode 100644 index cd30865..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0035004703_799281.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0035004704_500119.jpeg b/radiantproduction/Societes/radiant/Photos/0035004704_500119.jpeg deleted file mode 100644 index 051d2c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0035004704_500119.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0035010803_245994.jpeg b/radiantproduction/Societes/radiant/Photos/0035010803_245994.jpeg deleted file mode 100644 index 43695ff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0035010803_245994.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0035010804_463485.jpeg b/radiantproduction/Societes/radiant/Photos/0035010804_463485.jpeg deleted file mode 100644 index 7d71aa7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0035010804_463485.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0036003806_546491.jpeg b/radiantproduction/Societes/radiant/Photos/0036003806_546491.jpeg deleted file mode 100644 index f0a3d96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0036003806_546491.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0036004501_701955.jpeg b/radiantproduction/Societes/radiant/Photos/0036004501_701955.jpeg deleted file mode 100644 index 7dc69b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0036004501_701955.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0036005401_350368.jpeg b/radiantproduction/Societes/radiant/Photos/0036005401_350368.jpeg deleted file mode 100644 index 8e9726d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0036005401_350368.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0036005403_265386.jpeg b/radiantproduction/Societes/radiant/Photos/0036005403_265386.jpeg deleted file mode 100644 index 2e98381..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0036005403_265386.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038000102_638511.jpeg b/radiantproduction/Societes/radiant/Photos/0038000102_638511.jpeg deleted file mode 100644 index 2863e1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038000102_638511.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038001601_876654.jpeg b/radiantproduction/Societes/radiant/Photos/0038001601_876654.jpeg deleted file mode 100644 index 5cdd152..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038001601_876654.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038002701_761079.jpeg b/radiantproduction/Societes/radiant/Photos/0038002701_761079.jpeg deleted file mode 100644 index e443df6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038002701_761079.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003001_470108.jpeg b/radiantproduction/Societes/radiant/Photos/0038003001_470108.jpeg deleted file mode 100644 index c3ce0da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003001_470108.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003001_796272.jpeg b/radiantproduction/Societes/radiant/Photos/0038003001_796272.jpeg deleted file mode 100644 index 7424a8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003001_796272.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003002_574102.jpeg b/radiantproduction/Societes/radiant/Photos/0038003002_574102.jpeg deleted file mode 100644 index 5c95fbe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003002_574102.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003003_438790.jpeg b/radiantproduction/Societes/radiant/Photos/0038003003_438790.jpeg deleted file mode 100644 index 266686f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003003_438790.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003003_919264.jpeg b/radiantproduction/Societes/radiant/Photos/0038003003_919264.jpeg deleted file mode 100644 index 07c8423..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003003_919264.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003004_519446.jpeg b/radiantproduction/Societes/radiant/Photos/0038003004_519446.jpeg deleted file mode 100644 index 47a03ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003004_519446.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003005_347485.jpeg b/radiantproduction/Societes/radiant/Photos/0038003005_347485.jpeg deleted file mode 100644 index dc46832..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003005_347485.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003005_476982.jpeg b/radiantproduction/Societes/radiant/Photos/0038003005_476982.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003005_476982.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038003701_123448.jpeg b/radiantproduction/Societes/radiant/Photos/0038003701_123448.jpeg deleted file mode 100644 index b95bee4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038003701_123448.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0038004404_660961.jpeg b/radiantproduction/Societes/radiant/Photos/0038004404_660961.jpeg deleted file mode 100644 index d02ed09..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0038004404_660961.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042000201_968740.jpeg b/radiantproduction/Societes/radiant/Photos/0042000201_968740.jpeg deleted file mode 100644 index 9464f95..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042000201_968740.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042000202_485080.jpeg b/radiantproduction/Societes/radiant/Photos/0042000202_485080.jpeg deleted file mode 100644 index c130b45..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042000202_485080.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042000301_798528.jpeg b/radiantproduction/Societes/radiant/Photos/0042000301_798528.jpeg deleted file mode 100644 index b104a90..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042000301_798528.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042000302_480261.jpeg b/radiantproduction/Societes/radiant/Photos/0042000302_480261.jpeg deleted file mode 100644 index b1bf71a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042000302_480261.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042000401_910567.jpeg b/radiantproduction/Societes/radiant/Photos/0042000401_910567.jpeg deleted file mode 100644 index 91b9805..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042000401_910567.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042000402_625634.jpeg b/radiantproduction/Societes/radiant/Photos/0042000402_625634.jpeg deleted file mode 100644 index d74347b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042000402_625634.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042002401_937104.jpeg b/radiantproduction/Societes/radiant/Photos/0042002401_937104.jpeg deleted file mode 100644 index 121a7c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042002401_937104.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042002402_421298.jpeg b/radiantproduction/Societes/radiant/Photos/0042002402_421298.jpeg deleted file mode 100644 index e71f3d5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042002402_421298.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042002404_307893.jpeg b/radiantproduction/Societes/radiant/Photos/0042002404_307893.jpeg deleted file mode 100644 index d061d09..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042002404_307893.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042002404_323601.jpeg b/radiantproduction/Societes/radiant/Photos/0042002404_323601.jpeg deleted file mode 100644 index 4d07399..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042002404_323601.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0042002801_611479.jpeg b/radiantproduction/Societes/radiant/Photos/0042002801_611479.jpeg deleted file mode 100644 index 8a14f96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0042002801_611479.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0044007901_335243.jpeg b/radiantproduction/Societes/radiant/Photos/0044007901_335243.jpeg deleted file mode 100644 index 2dab0bc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0044007901_335243.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045009701_327849.jpeg b/radiantproduction/Societes/radiant/Photos/0045009701_327849.jpeg deleted file mode 100644 index 7172345..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045009701_327849.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045009703_555551.jpeg b/radiantproduction/Societes/radiant/Photos/0045009703_555551.jpeg deleted file mode 100644 index 0d816b3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045009703_555551.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045009704_8378.jpeg b/radiantproduction/Societes/radiant/Photos/0045009704_8378.jpeg deleted file mode 100644 index 5fe4373..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045009704_8378.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045011901_539124.jpeg b/radiantproduction/Societes/radiant/Photos/0045011901_539124.jpeg deleted file mode 100644 index 25a8d03..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045011901_539124.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045014901_826820.jpeg b/radiantproduction/Societes/radiant/Photos/0045014901_826820.jpeg deleted file mode 100644 index b053348..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045014901_826820.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015002_310049.jpeg b/radiantproduction/Societes/radiant/Photos/0045015002_310049.jpeg deleted file mode 100644 index 9e1e8d3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015002_310049.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015003_769748.jpeg b/radiantproduction/Societes/radiant/Photos/0045015003_769748.jpeg deleted file mode 100644 index fd4fed6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015003_769748.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015005_942341.jpeg b/radiantproduction/Societes/radiant/Photos/0045015005_942341.jpeg deleted file mode 100644 index f5efa4f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015005_942341.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015201_984340.jpeg b/radiantproduction/Societes/radiant/Photos/0045015201_984340.jpeg deleted file mode 100644 index 9361b8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015201_984340.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015301_52534.jpeg b/radiantproduction/Societes/radiant/Photos/0045015301_52534.jpeg deleted file mode 100644 index 639d573..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015301_52534.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015601_733782.jpeg b/radiantproduction/Societes/radiant/Photos/0045015601_733782.jpeg deleted file mode 100644 index 288d2e8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015601_733782.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015602_758448.jpeg b/radiantproduction/Societes/radiant/Photos/0045015602_758448.jpeg deleted file mode 100644 index 72cfcd6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015602_758448.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045015603_313935.jpeg b/radiantproduction/Societes/radiant/Photos/0045015603_313935.jpeg deleted file mode 100644 index ca1d30f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045015603_313935.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045016101_6189.jpeg b/radiantproduction/Societes/radiant/Photos/0045016101_6189.jpeg deleted file mode 100644 index 4ca6335..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045016101_6189.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045016301_716463.jpeg b/radiantproduction/Societes/radiant/Photos/0045016301_716463.jpeg deleted file mode 100644 index 48b7a70..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045016301_716463.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045017401_497367.jpeg b/radiantproduction/Societes/radiant/Photos/0045017401_497367.jpeg deleted file mode 100644 index 4983cd3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045017401_497367.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045017803_439410.jpeg b/radiantproduction/Societes/radiant/Photos/0045017803_439410.jpeg deleted file mode 100644 index a675123..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045017803_439410.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045018902_605786.jpeg b/radiantproduction/Societes/radiant/Photos/0045018902_605786.jpeg deleted file mode 100644 index 5ca5d0a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045018902_605786.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045019501_38528.jpeg b/radiantproduction/Societes/radiant/Photos/0045019501_38528.jpeg deleted file mode 100644 index 6d3457c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045019501_38528.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045019801_173278.jpeg b/radiantproduction/Societes/radiant/Photos/0045019801_173278.jpeg deleted file mode 100644 index 2d572a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045019801_173278.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045020001_720776.jpeg b/radiantproduction/Societes/radiant/Photos/0045020001_720776.jpeg deleted file mode 100644 index 9644eb8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045020001_720776.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045020201_291234.jpeg b/radiantproduction/Societes/radiant/Photos/0045020201_291234.jpeg deleted file mode 100644 index 0f247a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045020201_291234.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045020202_259532.jpeg b/radiantproduction/Societes/radiant/Photos/0045020202_259532.jpeg deleted file mode 100644 index f17f7af..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045020202_259532.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045021001_51888.jpeg b/radiantproduction/Societes/radiant/Photos/0045021001_51888.jpeg deleted file mode 100644 index c193d96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045021001_51888.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045023401_18585.jpeg b/radiantproduction/Societes/radiant/Photos/0045023401_18585.jpeg deleted file mode 100644 index 080fb53..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045023401_18585.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045023404_313372.jpeg b/radiantproduction/Societes/radiant/Photos/0045023404_313372.jpeg deleted file mode 100644 index cf4ed50..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045023404_313372.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045024302_241779.jpeg b/radiantproduction/Societes/radiant/Photos/0045024302_241779.jpeg deleted file mode 100644 index 423d9c1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045024302_241779.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045024601_766562.jpeg b/radiantproduction/Societes/radiant/Photos/0045024601_766562.jpeg deleted file mode 100644 index 43bb978..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045024601_766562.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045024701_867524.jpeg b/radiantproduction/Societes/radiant/Photos/0045024701_867524.jpeg deleted file mode 100644 index e435fd1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045024701_867524.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045024702_837879.jpeg b/radiantproduction/Societes/radiant/Photos/0045024702_837879.jpeg deleted file mode 100644 index f9f495c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045024702_837879.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025401_492893.jpeg b/radiantproduction/Societes/radiant/Photos/0045025401_492893.jpeg deleted file mode 100644 index 3d99bc1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025401_492893.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025501_317970.jpeg b/radiantproduction/Societes/radiant/Photos/0045025501_317970.jpeg deleted file mode 100644 index ef149bf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025501_317970.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025603_26853.jpeg b/radiantproduction/Societes/radiant/Photos/0045025603_26853.jpeg deleted file mode 100644 index 3da925b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025603_26853.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025604_415646.jpeg b/radiantproduction/Societes/radiant/Photos/0045025604_415646.jpeg deleted file mode 100644 index 29988e0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025604_415646.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025605_113084.jpeg b/radiantproduction/Societes/radiant/Photos/0045025605_113084.jpeg deleted file mode 100644 index 4f80c45..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025605_113084.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025606_492573.jpeg b/radiantproduction/Societes/radiant/Photos/0045025606_492573.jpeg deleted file mode 100644 index ca8817f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025606_492573.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045025901_148388.jpeg b/radiantproduction/Societes/radiant/Photos/0045025901_148388.jpeg deleted file mode 100644 index 3477f5b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045025901_148388.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045026604_857153.jpeg b/radiantproduction/Societes/radiant/Photos/0045026604_857153.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045026604_857153.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045028001_774142.jpeg b/radiantproduction/Societes/radiant/Photos/0045028001_774142.jpeg deleted file mode 100644 index 6939ed1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045028001_774142.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045028101_767738.jpeg b/radiantproduction/Societes/radiant/Photos/0045028101_767738.jpeg deleted file mode 100644 index 21f4670..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045028101_767738.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045029501_208200.jpeg b/radiantproduction/Societes/radiant/Photos/0045029501_208200.jpeg deleted file mode 100644 index 587c8c7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045029501_208200.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045029903_756567.jpeg b/radiantproduction/Societes/radiant/Photos/0045029903_756567.jpeg deleted file mode 100644 index 9b9c27f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045029903_756567.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030001_12428.jpeg b/radiantproduction/Societes/radiant/Photos/0045030001_12428.jpeg deleted file mode 100644 index 20059ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030001_12428.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030201_281981.jpeg b/radiantproduction/Societes/radiant/Photos/0045030201_281981.jpeg deleted file mode 100644 index 9f699b0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030201_281981.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030203_124116.jpeg b/radiantproduction/Societes/radiant/Photos/0045030203_124116.jpeg deleted file mode 100644 index 08d307a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030203_124116.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030203_376846.jpeg b/radiantproduction/Societes/radiant/Photos/0045030203_376846.jpeg deleted file mode 100644 index 08d307a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030203_376846.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030501_763159.jpeg b/radiantproduction/Societes/radiant/Photos/0045030501_763159.jpeg deleted file mode 100644 index ad937c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030501_763159.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030701_950830.jpeg b/radiantproduction/Societes/radiant/Photos/0045030701_950830.jpeg deleted file mode 100644 index cdfac07..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030701_950830.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045030702_919817.jpeg b/radiantproduction/Societes/radiant/Photos/0045030702_919817.jpeg deleted file mode 100644 index 9da1e86..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045030702_919817.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045031101_475362.jpeg b/radiantproduction/Societes/radiant/Photos/0045031101_475362.jpeg deleted file mode 100644 index 3cf86e4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045031101_475362.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045031903_821786.jpeg b/radiantproduction/Societes/radiant/Photos/0045031903_821786.jpeg deleted file mode 100644 index d743efd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045031903_821786.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0045031905_487772.jpeg b/radiantproduction/Societes/radiant/Photos/0045031905_487772.jpeg deleted file mode 100644 index e5e72fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0045031905_487772.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0049001103_125094.jpeg b/radiantproduction/Societes/radiant/Photos/0049001103_125094.jpeg deleted file mode 100644 index e6373cb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0049001103_125094.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0049004702_213901.jpeg b/radiantproduction/Societes/radiant/Photos/0049004702_213901.jpeg deleted file mode 100644 index 8df354b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0049004702_213901.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0050000401_338249.jpeg b/radiantproduction/Societes/radiant/Photos/0050000401_338249.jpeg deleted file mode 100644 index 0d56dcc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0050000401_338249.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0050000704_381947.jpeg b/radiantproduction/Societes/radiant/Photos/0050000704_381947.jpeg deleted file mode 100644 index 70d7616..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0050000704_381947.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051000602_491496.jpeg b/radiantproduction/Societes/radiant/Photos/0051000602_491496.jpeg deleted file mode 100644 index 5b3de20..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051000602_491496.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051000603_277913.jpeg b/radiantproduction/Societes/radiant/Photos/0051000603_277913.jpeg deleted file mode 100644 index 65cf88d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051000603_277913.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051001501_993260.jpeg b/radiantproduction/Societes/radiant/Photos/0051001501_993260.jpeg deleted file mode 100644 index 398bf9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051001501_993260.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051001502_821906.jpeg b/radiantproduction/Societes/radiant/Photos/0051001502_821906.jpeg deleted file mode 100644 index 55c14e6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051001502_821906.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051001601_394657.jpeg b/radiantproduction/Societes/radiant/Photos/0051001601_394657.jpeg deleted file mode 100644 index cf83b79..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051001601_394657.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051001601_856634.jpeg b/radiantproduction/Societes/radiant/Photos/0051001601_856634.jpeg deleted file mode 100644 index fb26fdc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051001601_856634.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051001604_371148.jpeg b/radiantproduction/Societes/radiant/Photos/0051001604_371148.jpeg deleted file mode 100644 index 26e9577..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051001604_371148.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051002402_962695.jpeg b/radiantproduction/Societes/radiant/Photos/0051002402_962695.jpeg deleted file mode 100644 index d0ca7c1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051002402_962695.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051003104_150910.jpeg b/radiantproduction/Societes/radiant/Photos/0051003104_150910.jpeg deleted file mode 100644 index 890484f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051003104_150910.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051003104_345506.jpeg b/radiantproduction/Societes/radiant/Photos/0051003104_345506.jpeg deleted file mode 100644 index 89c2555..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051003104_345506.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051003501_299876.jpeg b/radiantproduction/Societes/radiant/Photos/0051003501_299876.jpeg deleted file mode 100644 index fe4e8f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051003501_299876.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051003502_19193.jpeg b/radiantproduction/Societes/radiant/Photos/0051003502_19193.jpeg deleted file mode 100644 index be75ae0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051003502_19193.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051003602_367664.jpeg b/radiantproduction/Societes/radiant/Photos/0051003602_367664.jpeg deleted file mode 100644 index 311ba32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051003602_367664.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051003604_221159.jpeg b/radiantproduction/Societes/radiant/Photos/0051003604_221159.jpeg deleted file mode 100644 index 774e694..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051003604_221159.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051004101_980682.jpeg b/radiantproduction/Societes/radiant/Photos/0051004101_980682.jpeg deleted file mode 100644 index fcdcbf5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051004101_980682.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051004304_972728.jpeg b/radiantproduction/Societes/radiant/Photos/0051004304_972728.jpeg deleted file mode 100644 index fdd5600..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051004304_972728.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051004704_511766.jpeg b/radiantproduction/Societes/radiant/Photos/0051004704_511766.jpeg deleted file mode 100644 index 5e4a7d9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051004704_511766.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051005001_87477.jpeg b/radiantproduction/Societes/radiant/Photos/0051005001_87477.jpeg deleted file mode 100644 index 90102bc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051005001_87477.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051005003_74403.jpeg b/radiantproduction/Societes/radiant/Photos/0051005003_74403.jpeg deleted file mode 100644 index 43d23ff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051005003_74403.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051005004_21912.jpeg b/radiantproduction/Societes/radiant/Photos/0051005004_21912.jpeg deleted file mode 100644 index 9e4f5ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051005004_21912.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051005501_884801.jpeg b/radiantproduction/Societes/radiant/Photos/0051005501_884801.jpeg deleted file mode 100644 index 7514506..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051005501_884801.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051005703_688062.jpeg b/radiantproduction/Societes/radiant/Photos/0051005703_688062.jpeg deleted file mode 100644 index c9e1ad8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051005703_688062.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051006104_241149.jpeg b/radiantproduction/Societes/radiant/Photos/0051006104_241149.jpeg deleted file mode 100644 index 130eaee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051006104_241149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051006302_698342.jpeg b/radiantproduction/Societes/radiant/Photos/0051006302_698342.jpeg deleted file mode 100644 index f6af7fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051006302_698342.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051006601_263898.jpeg b/radiantproduction/Societes/radiant/Photos/0051006601_263898.jpeg deleted file mode 100644 index db3a7d5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051006601_263898.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051006604_675707.jpeg b/radiantproduction/Societes/radiant/Photos/0051006604_675707.jpeg deleted file mode 100644 index ff26d60..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051006604_675707.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051007001_857594.jpeg b/radiantproduction/Societes/radiant/Photos/0051007001_857594.jpeg deleted file mode 100644 index 6d28e3a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051007001_857594.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051007101_772246.jpeg b/radiantproduction/Societes/radiant/Photos/0051007101_772246.jpeg deleted file mode 100644 index 1e48ec0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051007101_772246.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051007105_43892.jpeg b/radiantproduction/Societes/radiant/Photos/0051007105_43892.jpeg deleted file mode 100644 index bb0bdda..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051007105_43892.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051009001_114116.jpeg b/radiantproduction/Societes/radiant/Photos/0051009001_114116.jpeg deleted file mode 100644 index b19d246..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051009001_114116.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051009702_639086.jpeg b/radiantproduction/Societes/radiant/Photos/0051009702_639086.jpeg deleted file mode 100644 index c9a9e00..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051009702_639086.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051009704_927129.jpeg b/radiantproduction/Societes/radiant/Photos/0051009704_927129.jpeg deleted file mode 100644 index b5b8dda..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051009704_927129.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010102_598473.jpeg b/radiantproduction/Societes/radiant/Photos/0051010102_598473.jpeg deleted file mode 100644 index 02a0821..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010102_598473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010103_336605.jpeg b/radiantproduction/Societes/radiant/Photos/0051010103_336605.jpeg deleted file mode 100644 index 9aa6d8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010103_336605.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010104_116319.jpeg b/radiantproduction/Societes/radiant/Photos/0051010104_116319.jpeg deleted file mode 100644 index 8827ce8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010104_116319.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010702_288894.jpeg b/radiantproduction/Societes/radiant/Photos/0051010702_288894.jpeg deleted file mode 100644 index ce47762..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010702_288894.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010801_355366.jpeg b/radiantproduction/Societes/radiant/Photos/0051010801_355366.jpeg deleted file mode 100644 index dcd49d9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010801_355366.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010801_543538.jpeg b/radiantproduction/Societes/radiant/Photos/0051010801_543538.jpeg deleted file mode 100644 index 5be6609..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010801_543538.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010801_64101.jpeg b/radiantproduction/Societes/radiant/Photos/0051010801_64101.jpeg deleted file mode 100644 index 32f137d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010801_64101.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010801_812610.jpeg b/radiantproduction/Societes/radiant/Photos/0051010801_812610.jpeg deleted file mode 100644 index 1b63d0a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010801_812610.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010802_541109.jpeg b/radiantproduction/Societes/radiant/Photos/0051010802_541109.jpeg deleted file mode 100644 index 8f6e203..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010802_541109.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010803_371083.jpeg b/radiantproduction/Societes/radiant/Photos/0051010803_371083.jpeg deleted file mode 100644 index 682ecdb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010803_371083.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010803_465136.jpeg b/radiantproduction/Societes/radiant/Photos/0051010803_465136.jpeg deleted file mode 100644 index e3b0f29..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010803_465136.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010803_605121.jpeg b/radiantproduction/Societes/radiant/Photos/0051010803_605121.jpeg deleted file mode 100644 index 9a91f48..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010803_605121.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010803_847690.jpeg b/radiantproduction/Societes/radiant/Photos/0051010803_847690.jpeg deleted file mode 100644 index 9a91f48..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010803_847690.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051010804_819487.jpeg b/radiantproduction/Societes/radiant/Photos/0051010804_819487.jpeg deleted file mode 100644 index a179a3d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051010804_819487.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051011002_106168.jpeg b/radiantproduction/Societes/radiant/Photos/0051011002_106168.jpeg deleted file mode 100644 index bde823a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051011002_106168.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051011003_769708.jpeg b/radiantproduction/Societes/radiant/Photos/0051011003_769708.jpeg deleted file mode 100644 index cd1e1bd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051011003_769708.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051011004_224170.jpeg b/radiantproduction/Societes/radiant/Photos/0051011004_224170.jpeg deleted file mode 100644 index cf24b1b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051011004_224170.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051011101_671827.jpeg b/radiantproduction/Societes/radiant/Photos/0051011101_671827.jpeg deleted file mode 100644 index 69bbf60..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051011101_671827.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051012501_619252.jpeg b/radiantproduction/Societes/radiant/Photos/0051012501_619252.jpeg deleted file mode 100644 index 4a3eed9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051012501_619252.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051012501_801066.jpeg b/radiantproduction/Societes/radiant/Photos/0051012501_801066.jpeg deleted file mode 100644 index 6578629..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051012501_801066.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051012804_596286.jpeg b/radiantproduction/Societes/radiant/Photos/0051012804_596286.jpeg deleted file mode 100644 index ccec0e5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051012804_596286.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051013301_870573.jpeg b/radiantproduction/Societes/radiant/Photos/0051013301_870573.jpeg deleted file mode 100644 index 1c91920..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051013301_870573.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051013305_313091.jpeg b/radiantproduction/Societes/radiant/Photos/0051013305_313091.jpeg deleted file mode 100644 index 7cf5b83..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051013305_313091.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051013501_500954.jpeg b/radiantproduction/Societes/radiant/Photos/0051013501_500954.jpeg deleted file mode 100644 index 9f4242c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051013501_500954.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051013901_63465.jpeg b/radiantproduction/Societes/radiant/Photos/0051013901_63465.jpeg deleted file mode 100644 index 7278317..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051013901_63465.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051013902_968129.jpeg b/radiantproduction/Societes/radiant/Photos/0051013902_968129.jpeg deleted file mode 100644 index a1e68a2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051013902_968129.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014202_310022.jpeg b/radiantproduction/Societes/radiant/Photos/0051014202_310022.jpeg deleted file mode 100644 index 2fd7654..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014202_310022.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014203_275152.jpeg b/radiantproduction/Societes/radiant/Photos/0051014203_275152.jpeg deleted file mode 100644 index 4202661..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014203_275152.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014204_715945.jpeg b/radiantproduction/Societes/radiant/Photos/0051014204_715945.jpeg deleted file mode 100644 index 6568849..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014204_715945.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014205_5274.jpeg b/radiantproduction/Societes/radiant/Photos/0051014205_5274.jpeg deleted file mode 100644 index bc0398f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014205_5274.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014206_642959.jpeg b/radiantproduction/Societes/radiant/Photos/0051014206_642959.jpeg deleted file mode 100644 index 1cbde0c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014206_642959.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014208_320008.jpeg b/radiantproduction/Societes/radiant/Photos/0051014208_320008.jpeg deleted file mode 100644 index cce0410..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014208_320008.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014210_120583.jpeg b/radiantproduction/Societes/radiant/Photos/0051014210_120583.jpeg deleted file mode 100644 index f5a8ad5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014210_120583.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014304_119913.jpeg b/radiantproduction/Societes/radiant/Photos/0051014304_119913.jpeg deleted file mode 100644 index 36795e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014304_119913.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051014305_770134.jpeg b/radiantproduction/Societes/radiant/Photos/0051014305_770134.jpeg deleted file mode 100644 index f6489a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051014305_770134.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051015003_443587.jpeg b/radiantproduction/Societes/radiant/Photos/0051015003_443587.jpeg deleted file mode 100644 index 1df174b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051015003_443587.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051015101_889675.jpeg b/radiantproduction/Societes/radiant/Photos/0051015101_889675.jpeg deleted file mode 100644 index a17999a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051015101_889675.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051015302_697480.jpeg b/radiantproduction/Societes/radiant/Photos/0051015302_697480.jpeg deleted file mode 100644 index dbd25cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051015302_697480.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051015601_791941.jpeg b/radiantproduction/Societes/radiant/Photos/0051015601_791941.jpeg deleted file mode 100644 index 859a383..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051015601_791941.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051016301_863509.jpeg b/radiantproduction/Societes/radiant/Photos/0051016301_863509.jpeg deleted file mode 100644 index f870440..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051016301_863509.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051017201_197974.jpeg b/radiantproduction/Societes/radiant/Photos/0051017201_197974.jpeg deleted file mode 100644 index e558c13..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051017201_197974.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051017501_60442.jpeg b/radiantproduction/Societes/radiant/Photos/0051017501_60442.jpeg deleted file mode 100644 index 3a168ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051017501_60442.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051018401_863205.jpeg b/radiantproduction/Societes/radiant/Photos/0051018401_863205.jpeg deleted file mode 100644 index bb0cdce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051018401_863205.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051018501_588392.jpeg b/radiantproduction/Societes/radiant/Photos/0051018501_588392.jpeg deleted file mode 100644 index 3b53658..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051018501_588392.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051018502_88213.jpeg b/radiantproduction/Societes/radiant/Photos/0051018502_88213.jpeg deleted file mode 100644 index 34c95e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051018502_88213.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051018503_806184.jpeg b/radiantproduction/Societes/radiant/Photos/0051018503_806184.jpeg deleted file mode 100644 index aab1220..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051018503_806184.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051019901_155718.jpeg b/radiantproduction/Societes/radiant/Photos/0051019901_155718.jpeg deleted file mode 100644 index ed90636..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051019901_155718.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051019901_721833.jpeg b/radiantproduction/Societes/radiant/Photos/0051019901_721833.jpeg deleted file mode 100644 index 565f769..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051019901_721833.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051020804_679358.jpeg b/radiantproduction/Societes/radiant/Photos/0051020804_679358.jpeg deleted file mode 100644 index 5cb673c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051020804_679358.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051021501_601991.jpeg b/radiantproduction/Societes/radiant/Photos/0051021501_601991.jpeg deleted file mode 100644 index 63341a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051021501_601991.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051022001_517416.jpeg b/radiantproduction/Societes/radiant/Photos/0051022001_517416.jpeg deleted file mode 100644 index 975ff65..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051022001_517416.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051022001_652496.jpeg b/radiantproduction/Societes/radiant/Photos/0051022001_652496.jpeg deleted file mode 100644 index 88cad2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051022001_652496.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051022502_820910.jpeg b/radiantproduction/Societes/radiant/Photos/0051022502_820910.jpeg deleted file mode 100644 index ad1cc83..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051022502_820910.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051022601_476497.jpeg b/radiantproduction/Societes/radiant/Photos/0051022601_476497.jpeg deleted file mode 100644 index 6689667..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051022601_476497.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051022604_444981.jpeg b/radiantproduction/Societes/radiant/Photos/0051022604_444981.jpeg deleted file mode 100644 index 6e691e0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051022604_444981.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051022901_148812.jpeg b/radiantproduction/Societes/radiant/Photos/0051022901_148812.jpeg deleted file mode 100644 index d65971e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051022901_148812.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051023803_26461.jpeg b/radiantproduction/Societes/radiant/Photos/0051023803_26461.jpeg deleted file mode 100644 index 4a6f966..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051023803_26461.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051024601_15504.jpeg b/radiantproduction/Societes/radiant/Photos/0051024601_15504.jpeg deleted file mode 100644 index 8262d07..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051024601_15504.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025201_717964.jpeg b/radiantproduction/Societes/radiant/Photos/0051025201_717964.jpeg deleted file mode 100644 index a92be42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025201_717964.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025703_29360.jpeg b/radiantproduction/Societes/radiant/Photos/0051025703_29360.jpeg deleted file mode 100644 index 0351e85..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025703_29360.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025901_757759.jpeg b/radiantproduction/Societes/radiant/Photos/0051025901_757759.jpeg deleted file mode 100644 index 6bbd99e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025901_757759.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025902_812772.jpeg b/radiantproduction/Societes/radiant/Photos/0051025902_812772.jpeg deleted file mode 100644 index f9991d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025902_812772.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025903_549292.jpeg b/radiantproduction/Societes/radiant/Photos/0051025903_549292.jpeg deleted file mode 100644 index bd95990..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025903_549292.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025904_105686.jpeg b/radiantproduction/Societes/radiant/Photos/0051025904_105686.jpeg deleted file mode 100644 index bc435c0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025904_105686.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051025905_399629.jpeg b/radiantproduction/Societes/radiant/Photos/0051025905_399629.jpeg deleted file mode 100644 index 56403de..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051025905_399629.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051026203_666723.jpeg b/radiantproduction/Societes/radiant/Photos/0051026203_666723.jpeg deleted file mode 100644 index cfbfa7a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051026203_666723.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051026902_974699.jpeg b/radiantproduction/Societes/radiant/Photos/0051026902_974699.jpeg deleted file mode 100644 index 3468327..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051026902_974699.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051026904_60833.jpeg b/radiantproduction/Societes/radiant/Photos/0051026904_60833.jpeg deleted file mode 100644 index 910ca57..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051026904_60833.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051026905_375768.jpeg b/radiantproduction/Societes/radiant/Photos/0051026905_375768.jpeg deleted file mode 100644 index 3136870..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051026905_375768.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051027301_314229.jpeg b/radiantproduction/Societes/radiant/Photos/0051027301_314229.jpeg deleted file mode 100644 index 07c9c1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051027301_314229.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051027401_811144.jpeg b/radiantproduction/Societes/radiant/Photos/0051027401_811144.jpeg deleted file mode 100644 index 7c7118d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051027401_811144.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051028302_684122.jpeg b/radiantproduction/Societes/radiant/Photos/0051028302_684122.jpeg deleted file mode 100644 index fd8ca3f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051028302_684122.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0051028302_698502.jpeg b/radiantproduction/Societes/radiant/Photos/0051028302_698502.jpeg deleted file mode 100644 index fd8ca3f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0051028302_698502.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0054001104_283169.jpeg b/radiantproduction/Societes/radiant/Photos/0054001104_283169.jpeg deleted file mode 100644 index 5072192..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0054001104_283169.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0054001105_152532.jpeg b/radiantproduction/Societes/radiant/Photos/0054001105_152532.jpeg deleted file mode 100644 index 2e6e876..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0054001105_152532.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0054002902_481620.jpeg b/radiantproduction/Societes/radiant/Photos/0054002902_481620.jpeg deleted file mode 100644 index fc3b681..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0054002902_481620.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0054002903_131698.jpeg b/radiantproduction/Societes/radiant/Photos/0054002903_131698.jpeg deleted file mode 100644 index 9d61c8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0054002903_131698.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0054002903_901458.jpeg b/radiantproduction/Societes/radiant/Photos/0054002903_901458.jpeg deleted file mode 100644 index 9d61c8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0054002903_901458.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0057000201_123920.jpeg b/radiantproduction/Societes/radiant/Photos/0057000201_123920.jpeg deleted file mode 100644 index 1f7dee6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0057000201_123920.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0057000801_262576.jpeg b/radiantproduction/Societes/radiant/Photos/0057000801_262576.jpeg deleted file mode 100644 index d922171..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0057000801_262576.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0057000805_127733.jpeg b/radiantproduction/Societes/radiant/Photos/0057000805_127733.jpeg deleted file mode 100644 index 73f9cad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0057000805_127733.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0057000806_709258.jpeg b/radiantproduction/Societes/radiant/Photos/0057000806_709258.jpeg deleted file mode 100644 index c630755..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0057000806_709258.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0057001202_336162.jpeg b/radiantproduction/Societes/radiant/Photos/0057001202_336162.jpeg deleted file mode 100644 index ee5f0c3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0057001202_336162.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0057001501_682716.jpeg b/radiantproduction/Societes/radiant/Photos/0057001501_682716.jpeg deleted file mode 100644 index 56ab9f5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0057001501_682716.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060000101_732535.jpeg b/radiantproduction/Societes/radiant/Photos/0060000101_732535.jpeg deleted file mode 100644 index 91e883a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060000101_732535.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060000202_740554.jpeg b/radiantproduction/Societes/radiant/Photos/0060000202_740554.jpeg deleted file mode 100644 index ed19228..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060000202_740554.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001002_79095.jpeg b/radiantproduction/Societes/radiant/Photos/0060001002_79095.jpeg deleted file mode 100644 index 8608f32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001002_79095.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001003_733414.jpeg b/radiantproduction/Societes/radiant/Photos/0060001003_733414.jpeg deleted file mode 100644 index 2e67bac..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001003_733414.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001004_372502.jpeg b/radiantproduction/Societes/radiant/Photos/0060001004_372502.jpeg deleted file mode 100644 index a866fe1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001004_372502.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001005_179794.jpeg b/radiantproduction/Societes/radiant/Photos/0060001005_179794.jpeg deleted file mode 100644 index db696a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001005_179794.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001006_593278.jpeg b/radiantproduction/Societes/radiant/Photos/0060001006_593278.jpeg deleted file mode 100644 index 76b3560..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001006_593278.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001601_120604.jpeg b/radiantproduction/Societes/radiant/Photos/0060001601_120604.jpeg deleted file mode 100644 index 1d82954..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001601_120604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001605_620744.jpeg b/radiantproduction/Societes/radiant/Photos/0060001605_620744.jpeg deleted file mode 100644 index 06179bd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001605_620744.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001605_77148.jpeg b/radiantproduction/Societes/radiant/Photos/0060001605_77148.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001605_77148.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001701_655246.jpeg b/radiantproduction/Societes/radiant/Photos/0060001701_655246.jpeg deleted file mode 100644 index 38a792a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001701_655246.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001702_129588.jpeg b/radiantproduction/Societes/radiant/Photos/0060001702_129588.jpeg deleted file mode 100644 index 7424ada..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001702_129588.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060001703_997689.jpeg b/radiantproduction/Societes/radiant/Photos/0060001703_997689.jpeg deleted file mode 100644 index 81743e6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060001703_997689.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002301_793146.jpeg b/radiantproduction/Societes/radiant/Photos/0060002301_793146.jpeg deleted file mode 100644 index 3fe6105..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002301_793146.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002401_332580.jpeg b/radiantproduction/Societes/radiant/Photos/0060002401_332580.jpeg deleted file mode 100644 index 3b24a22..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002401_332580.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002402_932938.jpeg b/radiantproduction/Societes/radiant/Photos/0060002402_932938.jpeg deleted file mode 100644 index 2def184..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002402_932938.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002501_47655.jpeg b/radiantproduction/Societes/radiant/Photos/0060002501_47655.jpeg deleted file mode 100644 index 4f7d115..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002501_47655.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002502_136320.jpeg b/radiantproduction/Societes/radiant/Photos/0060002502_136320.jpeg deleted file mode 100644 index 6d8bfeb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002502_136320.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002503_575513.jpeg b/radiantproduction/Societes/radiant/Photos/0060002503_575513.jpeg deleted file mode 100644 index b259114..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002503_575513.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002701_188883.jpeg b/radiantproduction/Societes/radiant/Photos/0060002701_188883.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002701_188883.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002701_306172.jpeg b/radiantproduction/Societes/radiant/Photos/0060002701_306172.jpeg deleted file mode 100644 index 0e25da8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002701_306172.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0060002701_458780.jpeg b/radiantproduction/Societes/radiant/Photos/0060002701_458780.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0060002701_458780.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063001101_512443.jpeg b/radiantproduction/Societes/radiant/Photos/0063001101_512443.jpeg deleted file mode 100644 index c404c9e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063001101_512443.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063002604_111559.jpeg b/radiantproduction/Societes/radiant/Photos/0063002604_111559.jpeg deleted file mode 100644 index 3bf0dad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063002604_111559.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063003701_693039.jpeg b/radiantproduction/Societes/radiant/Photos/0063003701_693039.jpeg deleted file mode 100644 index 292c96b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063003701_693039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063004101_363185.jpeg b/radiantproduction/Societes/radiant/Photos/0063004101_363185.jpeg deleted file mode 100644 index dac34ad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063004101_363185.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063004201_373963.jpeg b/radiantproduction/Societes/radiant/Photos/0063004201_373963.jpeg deleted file mode 100644 index 405d5bc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063004201_373963.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063004201_745612.jpeg b/radiantproduction/Societes/radiant/Photos/0063004201_745612.jpeg deleted file mode 100644 index 0b9ea01..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063004201_745612.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063004501_218412.jpeg b/radiantproduction/Societes/radiant/Photos/0063004501_218412.jpeg deleted file mode 100644 index 474cbc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063004501_218412.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063004503_256091.jpeg b/radiantproduction/Societes/radiant/Photos/0063004503_256091.jpeg deleted file mode 100644 index 5befb61..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063004503_256091.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063004801_997884.jpeg b/radiantproduction/Societes/radiant/Photos/0063004801_997884.jpeg deleted file mode 100644 index 1d9a5b1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063004801_997884.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063012405_542781.jpeg b/radiantproduction/Societes/radiant/Photos/0063012405_542781.jpeg deleted file mode 100644 index b1c1a05..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063012405_542781.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063012406_125214.jpeg b/radiantproduction/Societes/radiant/Photos/0063012406_125214.jpeg deleted file mode 100644 index 159b02e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063012406_125214.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063013902_775071.jpeg b/radiantproduction/Societes/radiant/Photos/0063013902_775071.jpeg deleted file mode 100644 index 2774c42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063013902_775071.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063015301_684621.jpeg b/radiantproduction/Societes/radiant/Photos/0063015301_684621.jpeg deleted file mode 100644 index 10af372..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063015301_684621.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063015401_804526.jpeg b/radiantproduction/Societes/radiant/Photos/0063015401_804526.jpeg deleted file mode 100644 index 23602e6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063015401_804526.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063015501_627472.jpeg b/radiantproduction/Societes/radiant/Photos/0063015501_627472.jpeg deleted file mode 100644 index 67d99a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063015501_627472.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063015502_448464.jpeg b/radiantproduction/Societes/radiant/Photos/0063015502_448464.jpeg deleted file mode 100644 index 17f9702..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063015502_448464.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063016501_56840.jpeg b/radiantproduction/Societes/radiant/Photos/0063016501_56840.jpeg deleted file mode 100644 index 08bc4cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063016501_56840.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063016901_193938.jpeg b/radiantproduction/Societes/radiant/Photos/0063016901_193938.jpeg deleted file mode 100644 index d53c98f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063016901_193938.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017201_227689.jpeg b/radiantproduction/Societes/radiant/Photos/0063017201_227689.jpeg deleted file mode 100644 index c58e202..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017201_227689.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017202_529087.jpeg b/radiantproduction/Societes/radiant/Photos/0063017202_529087.jpeg deleted file mode 100644 index bf65015..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017202_529087.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017206_842636.jpeg b/radiantproduction/Societes/radiant/Photos/0063017206_842636.jpeg deleted file mode 100644 index 06de48c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017206_842636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017401_27461.jpeg b/radiantproduction/Societes/radiant/Photos/0063017401_27461.jpeg deleted file mode 100644 index 2c2645f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017401_27461.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017901_593174.jpeg b/radiantproduction/Societes/radiant/Photos/0063017901_593174.jpeg deleted file mode 100644 index 25968da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017901_593174.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017902_333404.jpeg b/radiantproduction/Societes/radiant/Photos/0063017902_333404.jpeg deleted file mode 100644 index e1b3a26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017902_333404.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017903_637968.jpeg b/radiantproduction/Societes/radiant/Photos/0063017903_637968.jpeg deleted file mode 100644 index 2fb22e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017903_637968.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017905_138985.jpeg b/radiantproduction/Societes/radiant/Photos/0063017905_138985.jpeg deleted file mode 100644 index d0e8203..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017905_138985.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063017906_881729.jpeg b/radiantproduction/Societes/radiant/Photos/0063017906_881729.jpeg deleted file mode 100644 index 2781797..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063017906_881729.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063018101_917812.jpeg b/radiantproduction/Societes/radiant/Photos/0063018101_917812.jpeg deleted file mode 100644 index 0de4a08..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063018101_917812.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063018401_923668.jpeg b/radiantproduction/Societes/radiant/Photos/0063018401_923668.jpeg deleted file mode 100644 index bc87631..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063018401_923668.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063019404_462625.jpeg b/radiantproduction/Societes/radiant/Photos/0063019404_462625.jpeg deleted file mode 100644 index c43af30..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063019404_462625.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063019701_276197.jpeg b/radiantproduction/Societes/radiant/Photos/0063019701_276197.jpeg deleted file mode 100644 index 694d2ae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063019701_276197.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063019703_355639.jpeg b/radiantproduction/Societes/radiant/Photos/0063019703_355639.jpeg deleted file mode 100644 index 655da41..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063019703_355639.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063019704_728153.jpeg b/radiantproduction/Societes/radiant/Photos/0063019704_728153.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063019704_728153.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063019704_92943.jpeg b/radiantproduction/Societes/radiant/Photos/0063019704_92943.jpeg deleted file mode 100644 index cd4252a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063019704_92943.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063019802_881232.jpeg b/radiantproduction/Societes/radiant/Photos/0063019802_881232.jpeg deleted file mode 100644 index 7758223..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063019802_881232.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063020404_802182.jpeg b/radiantproduction/Societes/radiant/Photos/0063020404_802182.jpeg deleted file mode 100644 index 173260c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063020404_802182.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063020501_417197.jpeg b/radiantproduction/Societes/radiant/Photos/0063020501_417197.jpeg deleted file mode 100644 index d63fcca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063020501_417197.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063020501_419386.jpeg b/radiantproduction/Societes/radiant/Photos/0063020501_419386.jpeg deleted file mode 100644 index d63fcca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063020501_419386.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063020502_20815.jpeg b/radiantproduction/Societes/radiant/Photos/0063020502_20815.jpeg deleted file mode 100644 index a7ebe36..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063020502_20815.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063020504_512319.jpeg b/radiantproduction/Societes/radiant/Photos/0063020504_512319.jpeg deleted file mode 100644 index 9805544..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063020504_512319.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063021007_779937.jpeg b/radiantproduction/Societes/radiant/Photos/0063021007_779937.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063021007_779937.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063021202_100864.jpeg b/radiantproduction/Societes/radiant/Photos/0063021202_100864.jpeg deleted file mode 100644 index 19e226c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063021202_100864.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063021203_198894.jpeg b/radiantproduction/Societes/radiant/Photos/0063021203_198894.jpeg deleted file mode 100644 index 6780199..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063021203_198894.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063021302_827291.jpeg b/radiantproduction/Societes/radiant/Photos/0063021302_827291.jpeg deleted file mode 100644 index 5d20bae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063021302_827291.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063021303_652820.jpeg b/radiantproduction/Societes/radiant/Photos/0063021303_652820.jpeg deleted file mode 100644 index 6b282a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063021303_652820.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063021801_854636.jpeg b/radiantproduction/Societes/radiant/Photos/0063021801_854636.jpeg deleted file mode 100644 index 2b4bb2a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063021801_854636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0063022701_159540.jpeg b/radiantproduction/Societes/radiant/Photos/0063022701_159540.jpeg deleted file mode 100644 index 32d3659..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0063022701_159540.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064000102_353637.jpeg b/radiantproduction/Societes/radiant/Photos/0064000102_353637.jpeg deleted file mode 100644 index f2da477..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064000102_353637.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064000405_713334.jpeg b/radiantproduction/Societes/radiant/Photos/0064000405_713334.jpeg deleted file mode 100644 index 7b0fb47..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064000405_713334.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064000501_253149.jpeg b/radiantproduction/Societes/radiant/Photos/0064000501_253149.jpeg deleted file mode 100644 index 80e253a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064000501_253149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064001501_316029.jpeg b/radiantproduction/Societes/radiant/Photos/0064001501_316029.jpeg deleted file mode 100644 index 524bf33..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064001501_316029.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064001701_97509.jpeg b/radiantproduction/Societes/radiant/Photos/0064001701_97509.jpeg deleted file mode 100644 index 09793e4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064001701_97509.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064001702_535587.jpeg b/radiantproduction/Societes/radiant/Photos/0064001702_535587.jpeg deleted file mode 100644 index c6c2b6c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064001702_535587.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064001703_929031.jpeg b/radiantproduction/Societes/radiant/Photos/0064001703_929031.jpeg deleted file mode 100644 index 04b422e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064001703_929031.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064001704_596031.jpeg b/radiantproduction/Societes/radiant/Photos/0064001704_596031.jpeg deleted file mode 100644 index 30a6c77..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064001704_596031.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064002801_811243.jpeg b/radiantproduction/Societes/radiant/Photos/0064002801_811243.jpeg deleted file mode 100644 index 8100917..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064002801_811243.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064002902_556644.jpeg b/radiantproduction/Societes/radiant/Photos/0064002902_556644.jpeg deleted file mode 100644 index cfb07e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064002902_556644.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003103_208132.jpeg b/radiantproduction/Societes/radiant/Photos/0064003103_208132.jpeg deleted file mode 100644 index 71168ae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003103_208132.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003501_597356.jpeg b/radiantproduction/Societes/radiant/Photos/0064003501_597356.jpeg deleted file mode 100644 index 41acf3d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003501_597356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003801_358844.jpeg b/radiantproduction/Societes/radiant/Photos/0064003801_358844.jpeg deleted file mode 100644 index 7b46320..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003801_358844.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003801_791365.jpeg b/radiantproduction/Societes/radiant/Photos/0064003801_791365.jpeg deleted file mode 100644 index 7b46320..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003801_791365.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003802_503379.jpeg b/radiantproduction/Societes/radiant/Photos/0064003802_503379.jpeg deleted file mode 100644 index 4ccdb8d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003802_503379.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003803_891565.jpeg b/radiantproduction/Societes/radiant/Photos/0064003803_891565.jpeg deleted file mode 100644 index d0a5de2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003803_891565.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064003804_707246.jpeg b/radiantproduction/Societes/radiant/Photos/0064003804_707246.jpeg deleted file mode 100644 index 2fc56f5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064003804_707246.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004104_662262.jpeg b/radiantproduction/Societes/radiant/Photos/0064004104_662262.jpeg deleted file mode 100644 index 77e54d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004104_662262.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004202_181604.jpeg b/radiantproduction/Societes/radiant/Photos/0064004202_181604.jpeg deleted file mode 100644 index bb5897c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004202_181604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004202_324988.jpeg b/radiantproduction/Societes/radiant/Photos/0064004202_324988.jpeg deleted file mode 100644 index e2457c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004202_324988.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004204_530140.jpeg b/radiantproduction/Societes/radiant/Photos/0064004204_530140.jpeg deleted file mode 100644 index bdd3799..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004204_530140.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004205_88109.jpeg b/radiantproduction/Societes/radiant/Photos/0064004205_88109.jpeg deleted file mode 100644 index 672d9b7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004205_88109.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004206_631578.jpeg b/radiantproduction/Societes/radiant/Photos/0064004206_631578.jpeg deleted file mode 100644 index ac9b912..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004206_631578.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004301_707984.jpeg b/radiantproduction/Societes/radiant/Photos/0064004301_707984.jpeg deleted file mode 100644 index 102688b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004301_707984.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0064004401_313083.jpeg b/radiantproduction/Societes/radiant/Photos/0064004401_313083.jpeg deleted file mode 100644 index 62548ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0064004401_313083.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065001601_826643.jpeg b/radiantproduction/Societes/radiant/Photos/0065001601_826643.jpeg deleted file mode 100644 index d09772c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065001601_826643.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065001901_954442.jpeg b/radiantproduction/Societes/radiant/Photos/0065001901_954442.jpeg deleted file mode 100644 index 38dadc3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065001901_954442.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065001904_435342.jpeg b/radiantproduction/Societes/radiant/Photos/0065001904_435342.jpeg deleted file mode 100644 index c1d71db..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065001904_435342.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065002301_19607.jpeg b/radiantproduction/Societes/radiant/Photos/0065002301_19607.jpeg deleted file mode 100644 index d430088..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065002301_19607.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065002302_624024.jpeg b/radiantproduction/Societes/radiant/Photos/0065002302_624024.jpeg deleted file mode 100644 index ebbff76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065002302_624024.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065002305_335701.jpeg b/radiantproduction/Societes/radiant/Photos/0065002305_335701.jpeg deleted file mode 100644 index dd6d7a6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065002305_335701.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065002702_408743.jpeg b/radiantproduction/Societes/radiant/Photos/0065002702_408743.jpeg deleted file mode 100644 index 7b306f4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065002702_408743.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065003602_72227.jpeg b/radiantproduction/Societes/radiant/Photos/0065003602_72227.jpeg deleted file mode 100644 index ec737ef..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065003602_72227.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065003602_765944.jpeg b/radiantproduction/Societes/radiant/Photos/0065003602_765944.jpeg deleted file mode 100644 index 526269f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065003602_765944.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065003605_86134.jpeg b/radiantproduction/Societes/radiant/Photos/0065003605_86134.jpeg deleted file mode 100644 index b56aec0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065003605_86134.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065003704_449003.jpeg b/radiantproduction/Societes/radiant/Photos/0065003704_449003.jpeg deleted file mode 100644 index 31e3b65..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065003704_449003.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065003801_544125.jpeg b/radiantproduction/Societes/radiant/Photos/0065003801_544125.jpeg deleted file mode 100644 index 9951a6f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065003801_544125.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065004303_589055.jpeg b/radiantproduction/Societes/radiant/Photos/0065004303_589055.jpeg deleted file mode 100644 index 93488e9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065004303_589055.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065004304_803247.jpeg b/radiantproduction/Societes/radiant/Photos/0065004304_803247.jpeg deleted file mode 100644 index 5322aea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065004304_803247.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065004402_59832.jpeg b/radiantproduction/Societes/radiant/Photos/0065004402_59832.jpeg deleted file mode 100644 index 1b02795..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065004402_59832.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065004404_580323.jpeg b/radiantproduction/Societes/radiant/Photos/0065004404_580323.jpeg deleted file mode 100644 index 4ce155b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065004404_580323.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065005601_457111.jpeg b/radiantproduction/Societes/radiant/Photos/0065005601_457111.jpeg deleted file mode 100644 index c77bccd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065005601_457111.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065005606_949126.jpeg b/radiantproduction/Societes/radiant/Photos/0065005606_949126.jpeg deleted file mode 100644 index 7318a30..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065005606_949126.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065005701_313639.jpeg b/radiantproduction/Societes/radiant/Photos/0065005701_313639.jpeg deleted file mode 100644 index d748abe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065005701_313639.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065005705_756941.jpeg b/radiantproduction/Societes/radiant/Photos/0065005705_756941.jpeg deleted file mode 100644 index fd463a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065005705_756941.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065005706_390060.jpeg b/radiantproduction/Societes/radiant/Photos/0065005706_390060.jpeg deleted file mode 100644 index 1555ee3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065005706_390060.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065005709_817348.jpeg b/radiantproduction/Societes/radiant/Photos/0065005709_817348.jpeg deleted file mode 100644 index 13d2225..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065005709_817348.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006003_519915.jpeg b/radiantproduction/Societes/radiant/Photos/0065006003_519915.jpeg deleted file mode 100644 index 0c9d920..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006003_519915.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006004_802668.jpeg b/radiantproduction/Societes/radiant/Photos/0065006004_802668.jpeg deleted file mode 100644 index 063e87f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006004_802668.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006101_967643.jpeg b/radiantproduction/Societes/radiant/Photos/0065006101_967643.jpeg deleted file mode 100644 index b3e3524..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006101_967643.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006103_712310.jpeg b/radiantproduction/Societes/radiant/Photos/0065006103_712310.jpeg deleted file mode 100644 index 7a1c3a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006103_712310.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006701_697892.jpeg b/radiantproduction/Societes/radiant/Photos/0065006701_697892.jpeg deleted file mode 100644 index e0cd025..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006701_697892.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006702_651070.jpeg b/radiantproduction/Societes/radiant/Photos/0065006702_651070.jpeg deleted file mode 100644 index aa514ee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006702_651070.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006705_522636.jpeg b/radiantproduction/Societes/radiant/Photos/0065006705_522636.jpeg deleted file mode 100644 index 60644d7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006705_522636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065006707_991002.jpeg b/radiantproduction/Societes/radiant/Photos/0065006707_991002.jpeg deleted file mode 100644 index 1bf2675..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065006707_991002.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065007007_689539.jpeg b/radiantproduction/Societes/radiant/Photos/0065007007_689539.jpeg deleted file mode 100644 index 1f5ad32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065007007_689539.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065007403_285196.jpeg b/radiantproduction/Societes/radiant/Photos/0065007403_285196.jpeg deleted file mode 100644 index e5ac8bc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065007403_285196.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065008902_732773.jpeg b/radiantproduction/Societes/radiant/Photos/0065008902_732773.jpeg deleted file mode 100644 index 71bca08..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065008902_732773.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065008903_738474.jpeg b/radiantproduction/Societes/radiant/Photos/0065008903_738474.jpeg deleted file mode 100644 index d879ed3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065008903_738474.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065009204_448224.jpeg b/radiantproduction/Societes/radiant/Photos/0065009204_448224.jpeg deleted file mode 100644 index 802a181..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065009204_448224.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065009301_917565.jpeg b/radiantproduction/Societes/radiant/Photos/0065009301_917565.jpeg deleted file mode 100644 index de54f99..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065009301_917565.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065009304_649251.jpeg b/radiantproduction/Societes/radiant/Photos/0065009304_649251.jpeg deleted file mode 100644 index 9c76a25..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065009304_649251.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065009405_614001.jpeg b/radiantproduction/Societes/radiant/Photos/0065009405_614001.jpeg deleted file mode 100644 index d319897..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065009405_614001.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065009902_124462.jpeg b/radiantproduction/Societes/radiant/Photos/0065009902_124462.jpeg deleted file mode 100644 index be3c071..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065009902_124462.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065012203_968916.jpeg b/radiantproduction/Societes/radiant/Photos/0065012203_968916.jpeg deleted file mode 100644 index 672cf63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065012203_968916.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065012302_273333.jpeg b/radiantproduction/Societes/radiant/Photos/0065012302_273333.jpeg deleted file mode 100644 index 131b93a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065012302_273333.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065012403_467623.jpeg b/radiantproduction/Societes/radiant/Photos/0065012403_467623.jpeg deleted file mode 100644 index 878bfa6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065012403_467623.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065012404_331232.jpeg b/radiantproduction/Societes/radiant/Photos/0065012404_331232.jpeg deleted file mode 100644 index 331839c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065012404_331232.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065012404_993884.jpeg b/radiantproduction/Societes/radiant/Photos/0065012404_993884.jpeg deleted file mode 100644 index be5772d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065012404_993884.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065012405_785886.jpeg b/radiantproduction/Societes/radiant/Photos/0065012405_785886.jpeg deleted file mode 100644 index 9aeac64..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065012405_785886.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065013002_159429.jpeg b/radiantproduction/Societes/radiant/Photos/0065013002_159429.jpeg deleted file mode 100644 index a0c1e1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065013002_159429.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065013102_382816.jpeg b/radiantproduction/Societes/radiant/Photos/0065013102_382816.jpeg deleted file mode 100644 index 82bd701..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065013102_382816.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065013104_588140.jpeg b/radiantproduction/Societes/radiant/Photos/0065013104_588140.jpeg deleted file mode 100644 index 30d12de..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065013104_588140.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065013808_407123.jpeg b/radiantproduction/Societes/radiant/Photos/0065013808_407123.jpeg deleted file mode 100644 index 12298f5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065013808_407123.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065014301_570697.jpeg b/radiantproduction/Societes/radiant/Photos/0065014301_570697.jpeg deleted file mode 100644 index a039946..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065014301_570697.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065014401_252804.jpeg b/radiantproduction/Societes/radiant/Photos/0065014401_252804.jpeg deleted file mode 100644 index 6b8a766..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065014401_252804.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065015301_104900.jpeg b/radiantproduction/Societes/radiant/Photos/0065015301_104900.jpeg deleted file mode 100644 index cc69c52..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065015301_104900.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065015304_493699.jpeg b/radiantproduction/Societes/radiant/Photos/0065015304_493699.jpeg deleted file mode 100644 index 1643505..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065015304_493699.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065015304_933338.jpeg b/radiantproduction/Societes/radiant/Photos/0065015304_933338.jpeg deleted file mode 100644 index 1643505..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065015304_933338.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065015603_566169.jpeg b/radiantproduction/Societes/radiant/Photos/0065015603_566169.jpeg deleted file mode 100644 index c02ced1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065015603_566169.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065016503_37208.jpeg b/radiantproduction/Societes/radiant/Photos/0065016503_37208.jpeg deleted file mode 100644 index 7d43136..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065016503_37208.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065016703_948722.jpeg b/radiantproduction/Societes/radiant/Photos/0065016703_948722.jpeg deleted file mode 100644 index da8fe4f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065016703_948722.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065018302_303764.jpeg b/radiantproduction/Societes/radiant/Photos/0065018302_303764.jpeg deleted file mode 100644 index eedbb8f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065018302_303764.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065018303_505819.jpeg b/radiantproduction/Societes/radiant/Photos/0065018303_505819.jpeg deleted file mode 100644 index 86a3345..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065018303_505819.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065018304_560790.jpeg b/radiantproduction/Societes/radiant/Photos/0065018304_560790.jpeg deleted file mode 100644 index b7e4a53..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065018304_560790.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065018602_687899.jpeg b/radiantproduction/Societes/radiant/Photos/0065018602_687899.jpeg deleted file mode 100644 index 9894c5d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065018602_687899.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065019101_219385.jpeg b/radiantproduction/Societes/radiant/Photos/0065019101_219385.jpeg deleted file mode 100644 index 2585365..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065019101_219385.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065019701_473647.jpeg b/radiantproduction/Societes/radiant/Photos/0065019701_473647.jpeg deleted file mode 100644 index 5a58817..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065019701_473647.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065019702_742126.jpeg b/radiantproduction/Societes/radiant/Photos/0065019702_742126.jpeg deleted file mode 100644 index 35fafc8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065019702_742126.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065020203_449793.jpeg b/radiantproduction/Societes/radiant/Photos/0065020203_449793.jpeg deleted file mode 100644 index 828e009..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065020203_449793.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065021103_624143.jpeg b/radiantproduction/Societes/radiant/Photos/0065021103_624143.jpeg deleted file mode 100644 index b035806..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065021103_624143.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065023301_542178.jpeg b/radiantproduction/Societes/radiant/Photos/0065023301_542178.jpeg deleted file mode 100644 index cbddc41..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065023301_542178.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065023303_178976.jpeg b/radiantproduction/Societes/radiant/Photos/0065023303_178976.jpeg deleted file mode 100644 index e8b8695..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065023303_178976.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065024003_371236.jpeg b/radiantproduction/Societes/radiant/Photos/0065024003_371236.jpeg deleted file mode 100644 index 5905cb7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065024003_371236.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065024401_239638.jpeg b/radiantproduction/Societes/radiant/Photos/0065024401_239638.jpeg deleted file mode 100644 index db60710..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065024401_239638.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065024701_620414.jpeg b/radiantproduction/Societes/radiant/Photos/0065024701_620414.jpeg deleted file mode 100644 index c48a8e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065024701_620414.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065025401_520707.jpeg b/radiantproduction/Societes/radiant/Photos/0065025401_520707.jpeg deleted file mode 100644 index 9fedc3e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065025401_520707.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065025403_417196.jpeg b/radiantproduction/Societes/radiant/Photos/0065025403_417196.jpeg deleted file mode 100644 index 8f955b7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065025403_417196.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065025504_588935.jpeg b/radiantproduction/Societes/radiant/Photos/0065025504_588935.jpeg deleted file mode 100644 index 5aa0ce3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065025504_588935.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065026701_322715.jpeg b/radiantproduction/Societes/radiant/Photos/0065026701_322715.jpeg deleted file mode 100644 index f0ffa3d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065026701_322715.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065026702_118570.jpeg b/radiantproduction/Societes/radiant/Photos/0065026702_118570.jpeg deleted file mode 100644 index fbe0d68..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065026702_118570.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065026703_850604.jpeg b/radiantproduction/Societes/radiant/Photos/0065026703_850604.jpeg deleted file mode 100644 index f2b63da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065026703_850604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065026704_137056.jpeg b/radiantproduction/Societes/radiant/Photos/0065026704_137056.jpeg deleted file mode 100644 index 8f0bd6e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065026704_137056.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065027602_364477.jpeg b/radiantproduction/Societes/radiant/Photos/0065027602_364477.jpeg deleted file mode 100644 index 84df34d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065027602_364477.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065029102_195526.jpeg b/radiantproduction/Societes/radiant/Photos/0065029102_195526.jpeg deleted file mode 100644 index a78ad88..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065029102_195526.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065029801_456831.jpeg b/radiantproduction/Societes/radiant/Photos/0065029801_456831.jpeg deleted file mode 100644 index 110b7be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065029801_456831.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065030804_187267.jpeg b/radiantproduction/Societes/radiant/Photos/0065030804_187267.jpeg deleted file mode 100644 index b6970c3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065030804_187267.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065031006_172419.jpeg b/radiantproduction/Societes/radiant/Photos/0065031006_172419.jpeg deleted file mode 100644 index d439476..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065031006_172419.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065031201_184856.jpeg b/radiantproduction/Societes/radiant/Photos/0065031201_184856.jpeg deleted file mode 100644 index 014b8d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065031201_184856.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065031803_298575.jpeg b/radiantproduction/Societes/radiant/Photos/0065031803_298575.jpeg deleted file mode 100644 index dca01ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065031803_298575.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065032301_278463.jpeg b/radiantproduction/Societes/radiant/Photos/0065032301_278463.jpeg deleted file mode 100644 index 82c4f8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065032301_278463.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065032302_757545.jpeg b/radiantproduction/Societes/radiant/Photos/0065032302_757545.jpeg deleted file mode 100644 index da5c059..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065032302_757545.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065032601_212187.jpeg b/radiantproduction/Societes/radiant/Photos/0065032601_212187.jpeg deleted file mode 100644 index 2970b34..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065032601_212187.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065033301_302703.jpeg b/radiantproduction/Societes/radiant/Photos/0065033301_302703.jpeg deleted file mode 100644 index 6bccd9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065033301_302703.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065034104_905652.jpeg b/radiantproduction/Societes/radiant/Photos/0065034104_905652.jpeg deleted file mode 100644 index 9452fc2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065034104_905652.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065035001_901479.jpeg b/radiantproduction/Societes/radiant/Photos/0065035001_901479.jpeg deleted file mode 100644 index 8a7d399..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065035001_901479.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065035007_468242.jpeg b/radiantproduction/Societes/radiant/Photos/0065035007_468242.jpeg deleted file mode 100644 index a4fbd5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065035007_468242.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065036103_578485.jpeg b/radiantproduction/Societes/radiant/Photos/0065036103_578485.jpeg deleted file mode 100644 index 4756e07..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065036103_578485.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065036503_209117.jpeg b/radiantproduction/Societes/radiant/Photos/0065036503_209117.jpeg deleted file mode 100644 index 4d88cae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065036503_209117.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065036702_921692.jpeg b/radiantproduction/Societes/radiant/Photos/0065036702_921692.jpeg deleted file mode 100644 index abdb8ba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065036702_921692.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065036901_248705.jpeg b/radiantproduction/Societes/radiant/Photos/0065036901_248705.jpeg deleted file mode 100644 index 690ca7b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065036901_248705.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065036902_865135.jpeg b/radiantproduction/Societes/radiant/Photos/0065036902_865135.jpeg deleted file mode 100644 index 98ef3be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065036902_865135.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065036903_268363.jpeg b/radiantproduction/Societes/radiant/Photos/0065036903_268363.jpeg deleted file mode 100644 index 2065251..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065036903_268363.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065037301_349548.jpeg b/radiantproduction/Societes/radiant/Photos/0065037301_349548.jpeg deleted file mode 100644 index 538e009..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065037301_349548.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065037801_712795.jpeg b/radiantproduction/Societes/radiant/Photos/0065037801_712795.jpeg deleted file mode 100644 index 994798b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065037801_712795.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065038501_221411.jpeg b/radiantproduction/Societes/radiant/Photos/0065038501_221411.jpeg deleted file mode 100644 index f843a1d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065038501_221411.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065038503_968782.jpeg b/radiantproduction/Societes/radiant/Photos/0065038503_968782.jpeg deleted file mode 100644 index 6c2c3d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065038503_968782.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065038504_820055.jpeg b/radiantproduction/Societes/radiant/Photos/0065038504_820055.jpeg deleted file mode 100644 index cc81bf8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065038504_820055.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065038505_480473.jpeg b/radiantproduction/Societes/radiant/Photos/0065038505_480473.jpeg deleted file mode 100644 index dfb9d25..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065038505_480473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039001_522317.jpeg b/radiantproduction/Societes/radiant/Photos/0065039001_522317.jpeg deleted file mode 100644 index 203ed19..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039001_522317.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039101_89437.jpeg b/radiantproduction/Societes/radiant/Photos/0065039101_89437.jpeg deleted file mode 100644 index 20ac9a5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039101_89437.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039102_924488.jpeg b/radiantproduction/Societes/radiant/Photos/0065039102_924488.jpeg deleted file mode 100644 index a0004dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039102_924488.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039103_637332.jpeg b/radiantproduction/Societes/radiant/Photos/0065039103_637332.jpeg deleted file mode 100644 index feb4a76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039103_637332.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039301_371947.jpeg b/radiantproduction/Societes/radiant/Photos/0065039301_371947.jpeg deleted file mode 100644 index 2c0219f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039301_371947.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039302_488117.jpeg b/radiantproduction/Societes/radiant/Photos/0065039302_488117.jpeg deleted file mode 100644 index c9cbce4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039302_488117.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039303_427635.jpeg b/radiantproduction/Societes/radiant/Photos/0065039303_427635.jpeg deleted file mode 100644 index bb9c3e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039303_427635.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039304_352995.jpeg b/radiantproduction/Societes/radiant/Photos/0065039304_352995.jpeg deleted file mode 100644 index d6a7ea3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039304_352995.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065039305_604310.jpeg b/radiantproduction/Societes/radiant/Photos/0065039305_604310.jpeg deleted file mode 100644 index 5f40972..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065039305_604310.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065040702_74498.jpeg b/radiantproduction/Societes/radiant/Photos/0065040702_74498.jpeg deleted file mode 100644 index 197d7c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065040702_74498.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065040702_929456.jpeg b/radiantproduction/Societes/radiant/Photos/0065040702_929456.jpeg deleted file mode 100644 index 2cf9b99..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065040702_929456.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065041301_433305.jpeg b/radiantproduction/Societes/radiant/Photos/0065041301_433305.jpeg deleted file mode 100644 index 51ef295..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065041301_433305.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065041301_753375.jpeg b/radiantproduction/Societes/radiant/Photos/0065041301_753375.jpeg deleted file mode 100644 index 4dfaeae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065041301_753375.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065041302_724615.jpeg b/radiantproduction/Societes/radiant/Photos/0065041302_724615.jpeg deleted file mode 100644 index 371498c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065041302_724615.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065041501_275900.jpeg b/radiantproduction/Societes/radiant/Photos/0065041501_275900.jpeg deleted file mode 100644 index 8fb1279..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065041501_275900.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065041501_509833.jpeg b/radiantproduction/Societes/radiant/Photos/0065041501_509833.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065041501_509833.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065041701_15180.jpeg b/radiantproduction/Societes/radiant/Photos/0065041701_15180.jpeg deleted file mode 100644 index 94ead8e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065041701_15180.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065042202_679434.jpeg b/radiantproduction/Societes/radiant/Photos/0065042202_679434.jpeg deleted file mode 100644 index 9bcb349..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065042202_679434.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065042601_185806.jpeg b/radiantproduction/Societes/radiant/Photos/0065042601_185806.jpeg deleted file mode 100644 index 22b06c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065042601_185806.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065042602_62519.jpeg b/radiantproduction/Societes/radiant/Photos/0065042602_62519.jpeg deleted file mode 100644 index 1c7b738..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065042602_62519.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065042603_631346.jpeg b/radiantproduction/Societes/radiant/Photos/0065042603_631346.jpeg deleted file mode 100644 index f295e87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065042603_631346.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065043603_103203.jpeg b/radiantproduction/Societes/radiant/Photos/0065043603_103203.jpeg deleted file mode 100644 index 858b912..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065043603_103203.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065043804_835538.jpeg b/radiantproduction/Societes/radiant/Photos/0065043804_835538.jpeg deleted file mode 100644 index 1fc80ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065043804_835538.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065044302_372130.jpeg b/radiantproduction/Societes/radiant/Photos/0065044302_372130.jpeg deleted file mode 100644 index 7c82451..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065044302_372130.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065044303_412666.jpeg b/radiantproduction/Societes/radiant/Photos/0065044303_412666.jpeg deleted file mode 100644 index d6fc817..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065044303_412666.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065044304_922373.jpeg b/radiantproduction/Societes/radiant/Photos/0065044304_922373.jpeg deleted file mode 100644 index 7afaad4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065044304_922373.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065044501_574012.jpeg b/radiantproduction/Societes/radiant/Photos/0065044501_574012.jpeg deleted file mode 100644 index b240ae6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065044501_574012.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065046204_974373.jpeg b/radiantproduction/Societes/radiant/Photos/0065046204_974373.jpeg deleted file mode 100644 index 38fcbd5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065046204_974373.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065046603_498308.jpeg b/radiantproduction/Societes/radiant/Photos/0065046603_498308.jpeg deleted file mode 100644 index b799cf9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065046603_498308.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065047202_313039.jpeg b/radiantproduction/Societes/radiant/Photos/0065047202_313039.jpeg deleted file mode 100644 index a6a6ac3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065047202_313039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065048507_342005.jpeg b/radiantproduction/Societes/radiant/Photos/0065048507_342005.jpeg deleted file mode 100644 index 815f9e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065048507_342005.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065048703_421784.jpeg b/radiantproduction/Societes/radiant/Photos/0065048703_421784.jpeg deleted file mode 100644 index c59ce16..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065048703_421784.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065048801_289849.jpeg b/radiantproduction/Societes/radiant/Photos/0065048801_289849.jpeg deleted file mode 100644 index f4deadb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065048801_289849.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065049101_875808.jpeg b/radiantproduction/Societes/radiant/Photos/0065049101_875808.jpeg deleted file mode 100644 index 9affc61..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065049101_875808.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065049302_701370.jpeg b/radiantproduction/Societes/radiant/Photos/0065049302_701370.jpeg deleted file mode 100644 index c759dac..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065049302_701370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065049901_412415.jpeg b/radiantproduction/Societes/radiant/Photos/0065049901_412415.jpeg deleted file mode 100644 index 53adf58..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065049901_412415.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065050303_557755.jpeg b/radiantproduction/Societes/radiant/Photos/0065050303_557755.jpeg deleted file mode 100644 index 681cd1a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065050303_557755.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065050406_192288.jpeg b/radiantproduction/Societes/radiant/Photos/0065050406_192288.jpeg deleted file mode 100644 index 12657a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065050406_192288.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065050701_216508.jpeg b/radiantproduction/Societes/radiant/Photos/0065050701_216508.jpeg deleted file mode 100644 index 22960a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065050701_216508.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065050903_587017.jpeg b/radiantproduction/Societes/radiant/Photos/0065050903_587017.jpeg deleted file mode 100644 index f4f9c9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065050903_587017.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065050904_261957.jpeg b/radiantproduction/Societes/radiant/Photos/0065050904_261957.jpeg deleted file mode 100644 index 706a4d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065050904_261957.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065052901_971232.jpeg b/radiantproduction/Societes/radiant/Photos/0065052901_971232.jpeg deleted file mode 100644 index 05f55c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065052901_971232.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065053302_74069.jpeg b/radiantproduction/Societes/radiant/Photos/0065053302_74069.jpeg deleted file mode 100644 index 0d05dd5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065053302_74069.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065054301_169855.jpeg b/radiantproduction/Societes/radiant/Photos/0065054301_169855.jpeg deleted file mode 100644 index 687681b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065054301_169855.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065054302_608749.jpeg b/radiantproduction/Societes/radiant/Photos/0065054302_608749.jpeg deleted file mode 100644 index 5698230..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065054302_608749.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065054303_790937.jpeg b/radiantproduction/Societes/radiant/Photos/0065054303_790937.jpeg deleted file mode 100644 index a4a726e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065054303_790937.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065054304_688609.jpeg b/radiantproduction/Societes/radiant/Photos/0065054304_688609.jpeg deleted file mode 100644 index 54fba7e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065054304_688609.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065055801_944388.jpeg b/radiantproduction/Societes/radiant/Photos/0065055801_944388.jpeg deleted file mode 100644 index aa5ad55..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065055801_944388.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065055904_878788.jpeg b/radiantproduction/Societes/radiant/Photos/0065055904_878788.jpeg deleted file mode 100644 index 15c3a2b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065055904_878788.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065056201_423164.jpeg b/radiantproduction/Societes/radiant/Photos/0065056201_423164.jpeg deleted file mode 100644 index fe54484..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065056201_423164.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065056501_983981.jpeg b/radiantproduction/Societes/radiant/Photos/0065056501_983981.jpeg deleted file mode 100644 index 31c7316..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065056501_983981.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065056502_754474.jpeg b/radiantproduction/Societes/radiant/Photos/0065056502_754474.jpeg deleted file mode 100644 index c7be0f4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065056502_754474.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065056503_389290.jpeg b/radiantproduction/Societes/radiant/Photos/0065056503_389290.jpeg deleted file mode 100644 index 14d41cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065056503_389290.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057102_203945.jpeg b/radiantproduction/Societes/radiant/Photos/0065057102_203945.jpeg deleted file mode 100644 index 65a1ddd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057102_203945.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057102_625589.jpeg b/radiantproduction/Societes/radiant/Photos/0065057102_625589.jpeg deleted file mode 100644 index 1434279..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057102_625589.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057703_604529.jpeg b/radiantproduction/Societes/radiant/Photos/0065057703_604529.jpeg deleted file mode 100644 index 4c68867..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057703_604529.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057704_242837.jpeg b/radiantproduction/Societes/radiant/Photos/0065057704_242837.jpeg deleted file mode 100644 index 9023609..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057704_242837.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057705_995556.jpeg b/radiantproduction/Societes/radiant/Photos/0065057705_995556.jpeg deleted file mode 100644 index 9a3fc68..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057705_995556.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057801_702193.jpeg b/radiantproduction/Societes/radiant/Photos/0065057801_702193.jpeg deleted file mode 100644 index 9347a50..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057801_702193.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057901_193906.jpeg b/radiantproduction/Societes/radiant/Photos/0065057901_193906.jpeg deleted file mode 100644 index 20cd1f9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057901_193906.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057901_373840.jpeg b/radiantproduction/Societes/radiant/Photos/0065057901_373840.jpeg deleted file mode 100644 index 20cd1f9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057901_373840.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057901_636311.jpeg b/radiantproduction/Societes/radiant/Photos/0065057901_636311.jpeg deleted file mode 100644 index 20cd1f9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057901_636311.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065057904_266516.jpeg b/radiantproduction/Societes/radiant/Photos/0065057904_266516.jpeg deleted file mode 100644 index 3708461..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065057904_266516.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065059301_367141.jpeg b/radiantproduction/Societes/radiant/Photos/0065059301_367141.jpeg deleted file mode 100644 index 0260857..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065059301_367141.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065059903_439473.jpeg b/radiantproduction/Societes/radiant/Photos/0065059903_439473.jpeg deleted file mode 100644 index 073fd8d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065059903_439473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065060701_614936.jpeg b/radiantproduction/Societes/radiant/Photos/0065060701_614936.jpeg deleted file mode 100644 index ba4c933..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065060701_614936.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065060901_164107.jpeg b/radiantproduction/Societes/radiant/Photos/0065060901_164107.jpeg deleted file mode 100644 index 409a071..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065060901_164107.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065061703_651823.jpeg b/radiantproduction/Societes/radiant/Photos/0065061703_651823.jpeg deleted file mode 100644 index 5cd7b95..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065061703_651823.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065061706_403745.jpeg b/radiantproduction/Societes/radiant/Photos/0065061706_403745.jpeg deleted file mode 100644 index de5c863..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065061706_403745.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065061806_45026.jpeg b/radiantproduction/Societes/radiant/Photos/0065061806_45026.jpeg deleted file mode 100644 index 2e2f7ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065061806_45026.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065061901_651893.jpeg b/radiantproduction/Societes/radiant/Photos/0065061901_651893.jpeg deleted file mode 100644 index d3991ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065061901_651893.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065062204_99855.jpeg b/radiantproduction/Societes/radiant/Photos/0065062204_99855.jpeg deleted file mode 100644 index 668eba9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065062204_99855.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065062205_864057.jpeg b/radiantproduction/Societes/radiant/Photos/0065062205_864057.jpeg deleted file mode 100644 index cb75aca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065062205_864057.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065062206_131524.jpeg b/radiantproduction/Societes/radiant/Photos/0065062206_131524.jpeg deleted file mode 100644 index 176ad72..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065062206_131524.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065063702_598100.jpeg b/radiantproduction/Societes/radiant/Photos/0065063702_598100.jpeg deleted file mode 100644 index 98ed7e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065063702_598100.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065063703_805787.jpeg b/radiantproduction/Societes/radiant/Photos/0065063703_805787.jpeg deleted file mode 100644 index 3bda95e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065063703_805787.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065063704_140981.jpeg b/radiantproduction/Societes/radiant/Photos/0065063704_140981.jpeg deleted file mode 100644 index a04eda3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065063704_140981.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065063803_587908.jpeg b/radiantproduction/Societes/radiant/Photos/0065063803_587908.jpeg deleted file mode 100644 index e0bb2f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065063803_587908.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065064001_734039.jpeg b/radiantproduction/Societes/radiant/Photos/0065064001_734039.jpeg deleted file mode 100644 index 96b98a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065064001_734039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065064101_284169.jpeg b/radiantproduction/Societes/radiant/Photos/0065064101_284169.jpeg deleted file mode 100644 index f8e7849..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065064101_284169.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065064303_588655.jpeg b/radiantproduction/Societes/radiant/Photos/0065064303_588655.jpeg deleted file mode 100644 index d27513e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065064303_588655.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065064304_130458.jpeg b/radiantproduction/Societes/radiant/Photos/0065064304_130458.jpeg deleted file mode 100644 index 7dc7f2d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065064304_130458.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065064306_467755.jpeg b/radiantproduction/Societes/radiant/Photos/0065064306_467755.jpeg deleted file mode 100644 index fcfe452..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065064306_467755.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065065401_775906.jpeg b/radiantproduction/Societes/radiant/Photos/0065065401_775906.jpeg deleted file mode 100644 index eb75294..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065065401_775906.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065065402_129441.jpeg b/radiantproduction/Societes/radiant/Photos/0065065402_129441.jpeg deleted file mode 100644 index 8028f1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065065402_129441.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065065405_250828.jpeg b/radiantproduction/Societes/radiant/Photos/0065065405_250828.jpeg deleted file mode 100644 index 1c2f273..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065065405_250828.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065065406_382765.jpeg b/radiantproduction/Societes/radiant/Photos/0065065406_382765.jpeg deleted file mode 100644 index 239ed61..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065065406_382765.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065065802_321772.jpeg b/radiantproduction/Societes/radiant/Photos/0065065802_321772.jpeg deleted file mode 100644 index fa9649c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065065802_321772.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065065902_778166.jpeg b/radiantproduction/Societes/radiant/Photos/0065065902_778166.jpeg deleted file mode 100644 index 24a45d3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065065902_778166.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065066201_934273.jpeg b/radiantproduction/Societes/radiant/Photos/0065066201_934273.jpeg deleted file mode 100644 index efbc5a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065066201_934273.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065067701_101667.jpeg b/radiantproduction/Societes/radiant/Photos/0065067701_101667.jpeg deleted file mode 100644 index 9197b57..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065067701_101667.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065068601_844635.jpeg b/radiantproduction/Societes/radiant/Photos/0065068601_844635.jpeg deleted file mode 100644 index a25bb69..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065068601_844635.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065069803_517758.jpeg b/radiantproduction/Societes/radiant/Photos/0065069803_517758.jpeg deleted file mode 100644 index 34320b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065069803_517758.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065070103_948695.jpeg b/radiantproduction/Societes/radiant/Photos/0065070103_948695.jpeg deleted file mode 100644 index 603bb80..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065070103_948695.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065070202_178204.jpeg b/radiantproduction/Societes/radiant/Photos/0065070202_178204.jpeg deleted file mode 100644 index e6a1cc2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065070202_178204.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065070403_538499.jpeg b/radiantproduction/Societes/radiant/Photos/0065070403_538499.jpeg deleted file mode 100644 index df82faa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065070403_538499.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065071602_719747.jpeg b/radiantproduction/Societes/radiant/Photos/0065071602_719747.jpeg deleted file mode 100644 index c0477c9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065071602_719747.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065071603_679706.jpeg b/radiantproduction/Societes/radiant/Photos/0065071603_679706.jpeg deleted file mode 100644 index 7ee3e05..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065071603_679706.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065071701_407004.jpeg b/radiantproduction/Societes/radiant/Photos/0065071701_407004.jpeg deleted file mode 100644 index 5652bce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065071701_407004.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065072201_327857.jpeg b/radiantproduction/Societes/radiant/Photos/0065072201_327857.jpeg deleted file mode 100644 index e783066..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065072201_327857.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065072701_600331.jpeg b/radiantproduction/Societes/radiant/Photos/0065072701_600331.jpeg deleted file mode 100644 index fc96afc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065072701_600331.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0065073001_857542.jpeg b/radiantproduction/Societes/radiant/Photos/0065073001_857542.jpeg deleted file mode 100644 index 7c56990..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0065073001_857542.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067000104_269597.jpeg b/radiantproduction/Societes/radiant/Photos/0067000104_269597.jpeg deleted file mode 100644 index 254e81f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067000104_269597.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067000104_580414.jpeg b/radiantproduction/Societes/radiant/Photos/0067000104_580414.jpeg deleted file mode 100644 index c8dbab1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067000104_580414.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067000105_549431.jpeg b/radiantproduction/Societes/radiant/Photos/0067000105_549431.jpeg deleted file mode 100644 index 61aff08..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067000105_549431.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067000201_27416.jpeg b/radiantproduction/Societes/radiant/Photos/0067000201_27416.jpeg deleted file mode 100644 index 87c48a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067000201_27416.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067000202_834152.jpeg b/radiantproduction/Societes/radiant/Photos/0067000202_834152.jpeg deleted file mode 100644 index 1084be9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067000202_834152.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067004401_48326.jpeg b/radiantproduction/Societes/radiant/Photos/0067004401_48326.jpeg deleted file mode 100644 index e1df688..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067004401_48326.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067004403_947171.jpeg b/radiantproduction/Societes/radiant/Photos/0067004403_947171.jpeg deleted file mode 100644 index bbcb515..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067004403_947171.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0067004404_840368.jpeg b/radiantproduction/Societes/radiant/Photos/0067004404_840368.jpeg deleted file mode 100644 index ef14f81..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0067004404_840368.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068004105_58239.jpeg b/radiantproduction/Societes/radiant/Photos/0068004105_58239.jpeg deleted file mode 100644 index d0be84b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068004105_58239.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068005403_395173.jpeg b/radiantproduction/Societes/radiant/Photos/0068005403_395173.jpeg deleted file mode 100644 index 4f5342d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068005403_395173.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068011101_894793.jpeg b/radiantproduction/Societes/radiant/Photos/0068011101_894793.jpeg deleted file mode 100644 index d54a23d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068011101_894793.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068011201_178018.jpeg b/radiantproduction/Societes/radiant/Photos/0068011201_178018.jpeg deleted file mode 100644 index dd7cee5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068011201_178018.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068014301_109998.jpeg b/radiantproduction/Societes/radiant/Photos/0068014301_109998.jpeg deleted file mode 100644 index d419cbe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068014301_109998.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068015001_543466.jpeg b/radiantproduction/Societes/radiant/Photos/0068015001_543466.jpeg deleted file mode 100644 index 069278c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068015001_543466.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0068015606_642519.jpeg b/radiantproduction/Societes/radiant/Photos/0068015606_642519.jpeg deleted file mode 100644 index d8a4892..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0068015606_642519.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000101_733990.jpeg b/radiantproduction/Societes/radiant/Photos/0072000101_733990.jpeg deleted file mode 100644 index 5f394a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000101_733990.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000501_676838.jpeg b/radiantproduction/Societes/radiant/Photos/0072000501_676838.jpeg deleted file mode 100644 index 3b48a26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000501_676838.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000601_331290.jpeg b/radiantproduction/Societes/radiant/Photos/0072000601_331290.jpeg deleted file mode 100644 index eb1948e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000601_331290.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000602_267556.jpeg b/radiantproduction/Societes/radiant/Photos/0072000602_267556.jpeg deleted file mode 100644 index dcce586..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000602_267556.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000603_88102.jpeg b/radiantproduction/Societes/radiant/Photos/0072000603_88102.jpeg deleted file mode 100644 index 21dc879..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000603_88102.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000604_348927.jpeg b/radiantproduction/Societes/radiant/Photos/0072000604_348927.jpeg deleted file mode 100644 index ae99d00..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000604_348927.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072000605_829754.jpeg b/radiantproduction/Societes/radiant/Photos/0072000605_829754.jpeg deleted file mode 100644 index 1ea5381..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072000605_829754.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072001001_510408.jpeg b/radiantproduction/Societes/radiant/Photos/0072001001_510408.jpeg deleted file mode 100644 index 6cc08fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072001001_510408.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072001402_824959.jpeg b/radiantproduction/Societes/radiant/Photos/0072001402_824959.jpeg deleted file mode 100644 index 4bf739b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072001402_824959.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072002301_109288.jpeg b/radiantproduction/Societes/radiant/Photos/0072002301_109288.jpeg deleted file mode 100644 index 7d1d238..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072002301_109288.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072003301_517863.jpeg b/radiantproduction/Societes/radiant/Photos/0072003301_517863.jpeg deleted file mode 100644 index f4350d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072003301_517863.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072003402_436919.jpeg b/radiantproduction/Societes/radiant/Photos/0072003402_436919.jpeg deleted file mode 100644 index 60a0f1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072003402_436919.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072003403_662680.jpeg b/radiantproduction/Societes/radiant/Photos/0072003403_662680.jpeg deleted file mode 100644 index a69c313..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072003403_662680.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0072003404_444569.jpeg b/radiantproduction/Societes/radiant/Photos/0072003404_444569.jpeg deleted file mode 100644 index cffabf3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0072003404_444569.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077000401_751729.jpeg b/radiantproduction/Societes/radiant/Photos/0077000401_751729.jpeg deleted file mode 100644 index e1142b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077000401_751729.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077000402_741430.jpeg b/radiantproduction/Societes/radiant/Photos/0077000402_741430.jpeg deleted file mode 100644 index c288be9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077000402_741430.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077000501_642600.jpeg b/radiantproduction/Societes/radiant/Photos/0077000501_642600.jpeg deleted file mode 100644 index 62811cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077000501_642600.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077000601_902707.jpeg b/radiantproduction/Societes/radiant/Photos/0077000601_902707.jpeg deleted file mode 100644 index 2f08198..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077000601_902707.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077000806_352993.jpeg b/radiantproduction/Societes/radiant/Photos/0077000806_352993.jpeg deleted file mode 100644 index f412b22..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077000806_352993.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077000807_558258.jpeg b/radiantproduction/Societes/radiant/Photos/0077000807_558258.jpeg deleted file mode 100644 index dd6a767..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077000807_558258.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077001801_269727.jpeg b/radiantproduction/Societes/radiant/Photos/0077001801_269727.jpeg deleted file mode 100644 index b40309c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077001801_269727.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077002101_103610.jpeg b/radiantproduction/Societes/radiant/Photos/0077002101_103610.jpeg deleted file mode 100644 index 231c00e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077002101_103610.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077002103_126442.jpeg b/radiantproduction/Societes/radiant/Photos/0077002103_126442.jpeg deleted file mode 100644 index b5d0958..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077002103_126442.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077002103_938427.jpeg b/radiantproduction/Societes/radiant/Photos/0077002103_938427.jpeg deleted file mode 100644 index ea47d8d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077002103_938427.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0077002104_555240.jpeg b/radiantproduction/Societes/radiant/Photos/0077002104_555240.jpeg deleted file mode 100644 index cfddf3e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0077002104_555240.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080000402_422284.jpeg b/radiantproduction/Societes/radiant/Photos/0080000402_422284.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080000402_422284.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080001501_915336.jpeg b/radiantproduction/Societes/radiant/Photos/0080001501_915336.jpeg deleted file mode 100644 index e570c7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080001501_915336.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080003401_670293.jpeg b/radiantproduction/Societes/radiant/Photos/0080003401_670293.jpeg deleted file mode 100644 index 3db7ec0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080003401_670293.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080004201_337644.jpeg b/radiantproduction/Societes/radiant/Photos/0080004201_337644.jpeg deleted file mode 100644 index 97a253d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080004201_337644.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080004204_191175.jpeg b/radiantproduction/Societes/radiant/Photos/0080004204_191175.jpeg deleted file mode 100644 index 1660824..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080004204_191175.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080004604_69711.jpeg b/radiantproduction/Societes/radiant/Photos/0080004604_69711.jpeg deleted file mode 100644 index 21a16f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080004604_69711.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080005603_307823.jpeg b/radiantproduction/Societes/radiant/Photos/0080005603_307823.jpeg deleted file mode 100644 index 06237fb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080005603_307823.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080007402_27734.jpeg b/radiantproduction/Societes/radiant/Photos/0080007402_27734.jpeg deleted file mode 100644 index ca2198b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080007402_27734.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080007402_968190.jpeg b/radiantproduction/Societes/radiant/Photos/0080007402_968190.jpeg deleted file mode 100644 index 695796f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080007402_968190.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080007402_969885.jpeg b/radiantproduction/Societes/radiant/Photos/0080007402_969885.jpeg deleted file mode 100644 index c3ee6a1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080007402_969885.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080007805_601132.jpeg b/radiantproduction/Societes/radiant/Photos/0080007805_601132.jpeg deleted file mode 100644 index 0092c9b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080007805_601132.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080009202_352073.jpeg b/radiantproduction/Societes/radiant/Photos/0080009202_352073.jpeg deleted file mode 100644 index ed30782..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080009202_352073.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080009206_457667.jpeg b/radiantproduction/Societes/radiant/Photos/0080009206_457667.jpeg deleted file mode 100644 index 0bb8726..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080009206_457667.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080009304_109701.jpeg b/radiantproduction/Societes/radiant/Photos/0080009304_109701.jpeg deleted file mode 100644 index cd4881b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080009304_109701.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080009304_783061.jpeg b/radiantproduction/Societes/radiant/Photos/0080009304_783061.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080009304_783061.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010001_259156.jpeg b/radiantproduction/Societes/radiant/Photos/0080010001_259156.jpeg deleted file mode 100644 index 246ab1d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010001_259156.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010102_498229.jpeg b/radiantproduction/Societes/radiant/Photos/0080010102_498229.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010102_498229.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010102_743065.jpeg b/radiantproduction/Societes/radiant/Photos/0080010102_743065.jpeg deleted file mode 100644 index 6200be0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010102_743065.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010102_926072.jpeg b/radiantproduction/Societes/radiant/Photos/0080010102_926072.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010102_926072.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010501_116134.jpeg b/radiantproduction/Societes/radiant/Photos/0080010501_116134.jpeg deleted file mode 100644 index 0558078..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010501_116134.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010801_118952.jpeg b/radiantproduction/Societes/radiant/Photos/0080010801_118952.jpeg deleted file mode 100644 index b18dda9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010801_118952.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080010801_901163.jpeg b/radiantproduction/Societes/radiant/Photos/0080010801_901163.jpeg deleted file mode 100644 index a177c3f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080010801_901163.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080011004_659495.jpeg b/radiantproduction/Societes/radiant/Photos/0080011004_659495.jpeg deleted file mode 100644 index fa290e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080011004_659495.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080011301_423224.jpeg b/radiantproduction/Societes/radiant/Photos/0080011301_423224.jpeg deleted file mode 100644 index e9de320..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080011301_423224.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080011303_764420.jpeg b/radiantproduction/Societes/radiant/Photos/0080011303_764420.jpeg deleted file mode 100644 index 13efce8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080011303_764420.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080011304_45605.jpeg b/radiantproduction/Societes/radiant/Photos/0080011304_45605.jpeg deleted file mode 100644 index 4777226..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080011304_45605.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080011305_942289.jpeg b/radiantproduction/Societes/radiant/Photos/0080011305_942289.jpeg deleted file mode 100644 index 63e5b64..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080011305_942289.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080011404_95128.jpeg b/radiantproduction/Societes/radiant/Photos/0080011404_95128.jpeg deleted file mode 100644 index 08d2342..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080011404_95128.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080015605_368014.jpeg b/radiantproduction/Societes/radiant/Photos/0080015605_368014.jpeg deleted file mode 100644 index 9806dd9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080015605_368014.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080016401_923308.jpeg b/radiantproduction/Societes/radiant/Photos/0080016401_923308.jpeg deleted file mode 100644 index 10c6a6b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080016401_923308.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080016402_830732.jpeg b/radiantproduction/Societes/radiant/Photos/0080016402_830732.jpeg deleted file mode 100644 index e99ef20..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080016402_830732.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080016702_528328.jpeg b/radiantproduction/Societes/radiant/Photos/0080016702_528328.jpeg deleted file mode 100644 index 83eedc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080016702_528328.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080019801_415702.jpeg b/radiantproduction/Societes/radiant/Photos/0080019801_415702.jpeg deleted file mode 100644 index 92c6baf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080019801_415702.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080020204_491876.jpeg b/radiantproduction/Societes/radiant/Photos/0080020204_491876.jpeg deleted file mode 100644 index 4ff62c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080020204_491876.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080020401_482633.jpeg b/radiantproduction/Societes/radiant/Photos/0080020401_482633.jpeg deleted file mode 100644 index 651c629..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080020401_482633.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022103_627127.jpeg b/radiantproduction/Societes/radiant/Photos/0080022103_627127.jpeg deleted file mode 100644 index 4c15c15..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022103_627127.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022801_72919.jpeg b/radiantproduction/Societes/radiant/Photos/0080022801_72919.jpeg deleted file mode 100644 index 0edd740..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022801_72919.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022802_858458.jpeg b/radiantproduction/Societes/radiant/Photos/0080022802_858458.jpeg deleted file mode 100644 index 2bd46cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022802_858458.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022803_493963.jpeg b/radiantproduction/Societes/radiant/Photos/0080022803_493963.jpeg deleted file mode 100644 index e9a6ae2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022803_493963.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022804_710878.jpeg b/radiantproduction/Societes/radiant/Photos/0080022804_710878.jpeg deleted file mode 100644 index a5202fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022804_710878.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022901_258479.jpeg b/radiantproduction/Societes/radiant/Photos/0080022901_258479.jpeg deleted file mode 100644 index fe21ce9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022901_258479.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080022901_620333.jpeg b/radiantproduction/Societes/radiant/Photos/0080022901_620333.jpeg deleted file mode 100644 index fe21ce9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080022901_620333.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080023101_861022.jpeg b/radiantproduction/Societes/radiant/Photos/0080023101_861022.jpeg deleted file mode 100644 index 377e0a2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080023101_861022.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080023201_280509.jpeg b/radiantproduction/Societes/radiant/Photos/0080023201_280509.jpeg deleted file mode 100644 index 4309626..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080023201_280509.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080024401_378694.jpeg b/radiantproduction/Societes/radiant/Photos/0080024401_378694.jpeg deleted file mode 100644 index 96ea86d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080024401_378694.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080025101_22531.jpeg b/radiantproduction/Societes/radiant/Photos/0080025101_22531.jpeg deleted file mode 100644 index 3230767..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080025101_22531.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080025701_725382.jpeg b/radiantproduction/Societes/radiant/Photos/0080025701_725382.jpeg deleted file mode 100644 index b852620..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080025701_725382.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080025701_771094.jpeg b/radiantproduction/Societes/radiant/Photos/0080025701_771094.jpeg deleted file mode 100644 index b852620..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080025701_771094.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080027401_879489.jpeg b/radiantproduction/Societes/radiant/Photos/0080027401_879489.jpeg deleted file mode 100644 index 0216a42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080027401_879489.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080028301_166490.jpeg b/radiantproduction/Societes/radiant/Photos/0080028301_166490.jpeg deleted file mode 100644 index de8e74e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080028301_166490.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080028501_639261.jpeg b/radiantproduction/Societes/radiant/Photos/0080028501_639261.jpeg deleted file mode 100644 index 92eb400..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080028501_639261.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080028701_196577.jpeg b/radiantproduction/Societes/radiant/Photos/0080028701_196577.jpeg deleted file mode 100644 index be1e797..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080028701_196577.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080029301_135835.jpeg b/radiantproduction/Societes/radiant/Photos/0080029301_135835.jpeg deleted file mode 100644 index a7840de..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080029301_135835.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080029501_751515.jpeg b/radiantproduction/Societes/radiant/Photos/0080029501_751515.jpeg deleted file mode 100644 index d10b045..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080029501_751515.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080030001_605932.jpeg b/radiantproduction/Societes/radiant/Photos/0080030001_605932.jpeg deleted file mode 100644 index c42342f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080030001_605932.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080032901_84369.jpeg b/radiantproduction/Societes/radiant/Photos/0080032901_84369.jpeg deleted file mode 100644 index 89814a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080032901_84369.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080033001_638973.jpeg b/radiantproduction/Societes/radiant/Photos/0080033001_638973.jpeg deleted file mode 100644 index 53a7b8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080033001_638973.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080033004_233884.jpeg b/radiantproduction/Societes/radiant/Photos/0080033004_233884.jpeg deleted file mode 100644 index 6f5bbfe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080033004_233884.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0080033006_859171.jpeg b/radiantproduction/Societes/radiant/Photos/0080033006_859171.jpeg deleted file mode 100644 index 2290cee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0080033006_859171.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000301_668649.jpeg b/radiantproduction/Societes/radiant/Photos/0085000301_668649.jpeg deleted file mode 100644 index d443a14..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000301_668649.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000701_798781.jpeg b/radiantproduction/Societes/radiant/Photos/0085000701_798781.jpeg deleted file mode 100644 index fbc8887..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000701_798781.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000703_987894.jpeg b/radiantproduction/Societes/radiant/Photos/0085000703_987894.jpeg deleted file mode 100644 index 7f58602..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000703_987894.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000704_695697.jpeg b/radiantproduction/Societes/radiant/Photos/0085000704_695697.jpeg deleted file mode 100644 index 30566fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000704_695697.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000806_949177.jpeg b/radiantproduction/Societes/radiant/Photos/0085000806_949177.jpeg deleted file mode 100644 index e13dec5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000806_949177.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000901_825007.jpeg b/radiantproduction/Societes/radiant/Photos/0085000901_825007.jpeg deleted file mode 100644 index a42072b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000901_825007.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085000904_513392.jpeg b/radiantproduction/Societes/radiant/Photos/0085000904_513392.jpeg deleted file mode 100644 index 838bd07..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085000904_513392.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085001104_229314.jpeg b/radiantproduction/Societes/radiant/Photos/0085001104_229314.jpeg deleted file mode 100644 index 0fa53ad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085001104_229314.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085001202_517484.jpeg b/radiantproduction/Societes/radiant/Photos/0085001202_517484.jpeg deleted file mode 100644 index 7d41624..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085001202_517484.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085001501_866934.jpeg b/radiantproduction/Societes/radiant/Photos/0085001501_866934.jpeg deleted file mode 100644 index 44d1ecd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085001501_866934.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085002004_549284.jpeg b/radiantproduction/Societes/radiant/Photos/0085002004_549284.jpeg deleted file mode 100644 index c152382..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085002004_549284.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085002303_651538.jpeg b/radiantproduction/Societes/radiant/Photos/0085002303_651538.jpeg deleted file mode 100644 index df89efa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085002303_651538.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0085002304_491473.jpeg b/radiantproduction/Societes/radiant/Photos/0085002304_491473.jpeg deleted file mode 100644 index 1038fc3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0085002304_491473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087003403_701921.jpeg b/radiantproduction/Societes/radiant/Photos/0087003403_701921.jpeg deleted file mode 100644 index daf1db4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087003403_701921.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087003802_651217.jpeg b/radiantproduction/Societes/radiant/Photos/0087003802_651217.jpeg deleted file mode 100644 index be00ffd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087003802_651217.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087004402_845504.jpeg b/radiantproduction/Societes/radiant/Photos/0087004402_845504.jpeg deleted file mode 100644 index 74c9b1d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087004402_845504.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087004701_331586.jpeg b/radiantproduction/Societes/radiant/Photos/0087004701_331586.jpeg deleted file mode 100644 index 1baf0cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087004701_331586.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087004703_75683.jpeg b/radiantproduction/Societes/radiant/Photos/0087004703_75683.jpeg deleted file mode 100644 index 91adc8f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087004703_75683.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087004704_355528.jpeg b/radiantproduction/Societes/radiant/Photos/0087004704_355528.jpeg deleted file mode 100644 index 09a5f9a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087004704_355528.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087004901_911368.jpeg b/radiantproduction/Societes/radiant/Photos/0087004901_911368.jpeg deleted file mode 100644 index 059f388..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087004901_911368.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087005204_737996.jpeg b/radiantproduction/Societes/radiant/Photos/0087005204_737996.jpeg deleted file mode 100644 index 67e06b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087005204_737996.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087005802_534663.jpeg b/radiantproduction/Societes/radiant/Photos/0087005802_534663.jpeg deleted file mode 100644 index edfe6d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087005802_534663.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087006402_155092.jpeg b/radiantproduction/Societes/radiant/Photos/0087006402_155092.jpeg deleted file mode 100644 index 455e8b3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087006402_155092.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087007401_273161.jpeg b/radiantproduction/Societes/radiant/Photos/0087007401_273161.jpeg deleted file mode 100644 index 0bee6b1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087007401_273161.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087010002_484776.jpeg b/radiantproduction/Societes/radiant/Photos/0087010002_484776.jpeg deleted file mode 100644 index 3d33eed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087010002_484776.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087010203_997033.jpeg b/radiantproduction/Societes/radiant/Photos/0087010203_997033.jpeg deleted file mode 100644 index c18be34..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087010203_997033.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087010204_834370.jpeg b/radiantproduction/Societes/radiant/Photos/0087010204_834370.jpeg deleted file mode 100644 index c8ecec3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087010204_834370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087010503_997234.jpeg b/radiantproduction/Societes/radiant/Photos/0087010503_997234.jpeg deleted file mode 100644 index 11efeec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087010503_997234.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087010505_571356.jpeg b/radiantproduction/Societes/radiant/Photos/0087010505_571356.jpeg deleted file mode 100644 index 57fa9c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087010505_571356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087010605_638724.jpeg b/radiantproduction/Societes/radiant/Photos/0087010605_638724.jpeg deleted file mode 100644 index bd79ca0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087010605_638724.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087011701_747865.jpeg b/radiantproduction/Societes/radiant/Photos/0087011701_747865.jpeg deleted file mode 100644 index a1933a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087011701_747865.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087011702_375572.jpeg b/radiantproduction/Societes/radiant/Photos/0087011702_375572.jpeg deleted file mode 100644 index e4de4f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087011702_375572.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087012702_87076.jpeg b/radiantproduction/Societes/radiant/Photos/0087012702_87076.jpeg deleted file mode 100644 index 433add3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087012702_87076.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087013701_880382.jpeg b/radiantproduction/Societes/radiant/Photos/0087013701_880382.jpeg deleted file mode 100644 index 404cf07..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087013701_880382.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087015401_653831.jpeg b/radiantproduction/Societes/radiant/Photos/0087015401_653831.jpeg deleted file mode 100644 index 47f848d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087015401_653831.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087018504_38156.jpeg b/radiantproduction/Societes/radiant/Photos/0087018504_38156.jpeg deleted file mode 100644 index 10bcfb5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087018504_38156.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087020101_651557.jpeg b/radiantproduction/Societes/radiant/Photos/0087020101_651557.jpeg deleted file mode 100644 index df7c3fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087020101_651557.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087021001_630759.jpeg b/radiantproduction/Societes/radiant/Photos/0087021001_630759.jpeg deleted file mode 100644 index 6ec8a3e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087021001_630759.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087022001_98615.jpeg b/radiantproduction/Societes/radiant/Photos/0087022001_98615.jpeg deleted file mode 100644 index e5e4251..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087022001_98615.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087023403_839849.jpeg b/radiantproduction/Societes/radiant/Photos/0087023403_839849.jpeg deleted file mode 100644 index 5ac9805..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087023403_839849.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087025001_229303.jpeg b/radiantproduction/Societes/radiant/Photos/0087025001_229303.jpeg deleted file mode 100644 index badd104..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087025001_229303.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087025002_545968.jpeg b/radiantproduction/Societes/radiant/Photos/0087025002_545968.jpeg deleted file mode 100644 index 5ff52a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087025002_545968.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087025004_308963.jpeg b/radiantproduction/Societes/radiant/Photos/0087025004_308963.jpeg deleted file mode 100644 index a252f05..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087025004_308963.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087025801_121746.jpeg b/radiantproduction/Societes/radiant/Photos/0087025801_121746.jpeg deleted file mode 100644 index 6956d27..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087025801_121746.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087025802_834730.jpeg b/radiantproduction/Societes/radiant/Photos/0087025802_834730.jpeg deleted file mode 100644 index cb1c715..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087025802_834730.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087025803_225607.jpeg b/radiantproduction/Societes/radiant/Photos/0087025803_225607.jpeg deleted file mode 100644 index 4bf22ef..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087025803_225607.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087028301_623687.jpeg b/radiantproduction/Societes/radiant/Photos/0087028301_623687.jpeg deleted file mode 100644 index 7e4340f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087028301_623687.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087029603_941560.jpeg b/radiantproduction/Societes/radiant/Photos/0087029603_941560.jpeg deleted file mode 100644 index 3f3635c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087029603_941560.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087030301_549831.jpeg b/radiantproduction/Societes/radiant/Photos/0087030301_549831.jpeg deleted file mode 100644 index 7873a81..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087030301_549831.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087031602_853641.jpeg b/radiantproduction/Societes/radiant/Photos/0087031602_853641.jpeg deleted file mode 100644 index 8bab336..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087031602_853641.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087032001_637866.jpeg b/radiantproduction/Societes/radiant/Photos/0087032001_637866.jpeg deleted file mode 100644 index 38b64ba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087032001_637866.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087032401_584931.jpeg b/radiantproduction/Societes/radiant/Photos/0087032401_584931.jpeg deleted file mode 100644 index edce640..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087032401_584931.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087033002_519407.jpeg b/radiantproduction/Societes/radiant/Photos/0087033002_519407.jpeg deleted file mode 100644 index 512dba4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087033002_519407.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087033003_409133.jpeg b/radiantproduction/Societes/radiant/Photos/0087033003_409133.jpeg deleted file mode 100644 index 03ff279..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087033003_409133.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087034601_611826.jpeg b/radiantproduction/Societes/radiant/Photos/0087034601_611826.jpeg deleted file mode 100644 index 3a40168..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087034601_611826.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087034901_712495.jpeg b/radiantproduction/Societes/radiant/Photos/0087034901_712495.jpeg deleted file mode 100644 index 0e19ef6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087034901_712495.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087036503_356123.jpeg b/radiantproduction/Societes/radiant/Photos/0087036503_356123.jpeg deleted file mode 100644 index 7f1b479..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087036503_356123.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087039902_133919.jpeg b/radiantproduction/Societes/radiant/Photos/0087039902_133919.jpeg deleted file mode 100644 index 25fc5da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087039902_133919.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087039904_717430.jpeg b/radiantproduction/Societes/radiant/Photos/0087039904_717430.jpeg deleted file mode 100644 index 26c2153..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087039904_717430.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087041302_949304.jpeg b/radiantproduction/Societes/radiant/Photos/0087041302_949304.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087041302_949304.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087043002_124083.jpeg b/radiantproduction/Societes/radiant/Photos/0087043002_124083.jpeg deleted file mode 100644 index 4a8cfa5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087043002_124083.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087044202_87919.jpeg b/radiantproduction/Societes/radiant/Photos/0087044202_87919.jpeg deleted file mode 100644 index c22d0d8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087044202_87919.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087044203_62692.jpeg b/radiantproduction/Societes/radiant/Photos/0087044203_62692.jpeg deleted file mode 100644 index af1551b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087044203_62692.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087044204_795873.jpeg b/radiantproduction/Societes/radiant/Photos/0087044204_795873.jpeg deleted file mode 100644 index a2632e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087044204_795873.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087048501_507223.jpeg b/radiantproduction/Societes/radiant/Photos/0087048501_507223.jpeg deleted file mode 100644 index b883fb7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087048501_507223.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087048801_96567.jpeg b/radiantproduction/Societes/radiant/Photos/0087048801_96567.jpeg deleted file mode 100644 index 05b72ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087048801_96567.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087048802_708902.jpeg b/radiantproduction/Societes/radiant/Photos/0087048802_708902.jpeg deleted file mode 100644 index 28069d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087048802_708902.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087049101_757880.jpeg b/radiantproduction/Societes/radiant/Photos/0087049101_757880.jpeg deleted file mode 100644 index da9f212..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087049101_757880.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087049103_187262.jpeg b/radiantproduction/Societes/radiant/Photos/0087049103_187262.jpeg deleted file mode 100644 index 84d5782..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087049103_187262.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087049302_969148.jpeg b/radiantproduction/Societes/radiant/Photos/0087049302_969148.jpeg deleted file mode 100644 index bf0d4a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087049302_969148.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087049304_699662.jpeg b/radiantproduction/Societes/radiant/Photos/0087049304_699662.jpeg deleted file mode 100644 index 35c4e22..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087049304_699662.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087049601_833652.jpeg b/radiantproduction/Societes/radiant/Photos/0087049601_833652.jpeg deleted file mode 100644 index 407c3f7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087049601_833652.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087049603_367343.jpeg b/radiantproduction/Societes/radiant/Photos/0087049603_367343.jpeg deleted file mode 100644 index 2e74f2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087049603_367343.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087050101_55804.jpeg b/radiantproduction/Societes/radiant/Photos/0087050101_55804.jpeg deleted file mode 100644 index e1e90c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087050101_55804.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087050702_508379.jpeg b/radiantproduction/Societes/radiant/Photos/0087050702_508379.jpeg deleted file mode 100644 index 5dc02fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087050702_508379.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087050703_626119.jpeg b/radiantproduction/Societes/radiant/Photos/0087050703_626119.jpeg deleted file mode 100644 index 1c3604a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087050703_626119.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087050703_910452.jpeg b/radiantproduction/Societes/radiant/Photos/0087050703_910452.jpeg deleted file mode 100644 index 3c10579..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087050703_910452.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087050801_584783.jpeg b/radiantproduction/Societes/radiant/Photos/0087050801_584783.jpeg deleted file mode 100644 index 8d5c2b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087050801_584783.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087051901_417675.jpeg b/radiantproduction/Societes/radiant/Photos/0087051901_417675.jpeg deleted file mode 100644 index 2d78b91..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087051901_417675.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052001_480151.jpeg b/radiantproduction/Societes/radiant/Photos/0087052001_480151.jpeg deleted file mode 100644 index ec5dc5b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052001_480151.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052101_393206.jpeg b/radiantproduction/Societes/radiant/Photos/0087052101_393206.jpeg deleted file mode 100644 index eed69f6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052101_393206.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052101_41079.jpeg b/radiantproduction/Societes/radiant/Photos/0087052101_41079.jpeg deleted file mode 100644 index d5ef5ac..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052101_41079.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052301_868708.jpeg b/radiantproduction/Societes/radiant/Photos/0087052301_868708.jpeg deleted file mode 100644 index d4b7075..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052301_868708.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052401_679737.jpeg b/radiantproduction/Societes/radiant/Photos/0087052401_679737.jpeg deleted file mode 100644 index f8bd2ef..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052401_679737.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052401_697650.jpeg b/radiantproduction/Societes/radiant/Photos/0087052401_697650.jpeg deleted file mode 100644 index e3d46fd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052401_697650.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052501_628830.jpeg b/radiantproduction/Societes/radiant/Photos/0087052501_628830.jpeg deleted file mode 100644 index a93784c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052501_628830.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052701_4183.jpeg b/radiantproduction/Societes/radiant/Photos/0087052701_4183.jpeg deleted file mode 100644 index addc73f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052701_4183.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052801_110959.jpeg b/radiantproduction/Societes/radiant/Photos/0087052801_110959.jpeg deleted file mode 100644 index 8ba700f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052801_110959.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052903_360018.jpeg b/radiantproduction/Societes/radiant/Photos/0087052903_360018.jpeg deleted file mode 100644 index a6bf8b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052903_360018.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087052903_969027.jpeg b/radiantproduction/Societes/radiant/Photos/0087052903_969027.jpeg deleted file mode 100644 index 884740b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087052903_969027.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087053001_443628.jpeg b/radiantproduction/Societes/radiant/Photos/0087053001_443628.jpeg deleted file mode 100644 index 33d15a1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087053001_443628.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087053101_853589.jpeg b/radiantproduction/Societes/radiant/Photos/0087053101_853589.jpeg deleted file mode 100644 index fcbad95..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087053101_853589.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087053104_27051.jpeg b/radiantproduction/Societes/radiant/Photos/0087053104_27051.jpeg deleted file mode 100644 index 5b5b27a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087053104_27051.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087053203_711312.jpeg b/radiantproduction/Societes/radiant/Photos/0087053203_711312.jpeg deleted file mode 100644 index e3f7949..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087053203_711312.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087055101_93866.jpeg b/radiantproduction/Societes/radiant/Photos/0087055101_93866.jpeg deleted file mode 100644 index 6d3f787..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087055101_93866.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087056301_502920.jpeg b/radiantproduction/Societes/radiant/Photos/0087056301_502920.jpeg deleted file mode 100644 index 7dfa48b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087056301_502920.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087056901_548092.jpeg b/radiantproduction/Societes/radiant/Photos/0087056901_548092.jpeg deleted file mode 100644 index d08b003..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087056901_548092.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087057701_30127.jpeg b/radiantproduction/Societes/radiant/Photos/0087057701_30127.jpeg deleted file mode 100644 index a47ec5d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087057701_30127.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087058201_714553.jpeg b/radiantproduction/Societes/radiant/Photos/0087058201_714553.jpeg deleted file mode 100644 index 83c4a43..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087058201_714553.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087058907_268356.jpeg b/radiantproduction/Societes/radiant/Photos/0087058907_268356.jpeg deleted file mode 100644 index af2f756..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087058907_268356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059202_95442.jpeg b/radiantproduction/Societes/radiant/Photos/0087059202_95442.jpeg deleted file mode 100644 index 10be800..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059202_95442.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059301_456263.jpeg b/radiantproduction/Societes/radiant/Photos/0087059301_456263.jpeg deleted file mode 100644 index 62f7d12..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059301_456263.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059303_793959.jpeg b/radiantproduction/Societes/radiant/Photos/0087059303_793959.jpeg deleted file mode 100644 index 25551ae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059303_793959.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059401_984915.jpeg b/radiantproduction/Societes/radiant/Photos/0087059401_984915.jpeg deleted file mode 100644 index d317c56..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059401_984915.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059402_826645.jpeg b/radiantproduction/Societes/radiant/Photos/0087059402_826645.jpeg deleted file mode 100644 index b85bf26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059402_826645.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059403_394054.jpeg b/radiantproduction/Societes/radiant/Photos/0087059403_394054.jpeg deleted file mode 100644 index 17b62aa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059403_394054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059404_222479.jpeg b/radiantproduction/Societes/radiant/Photos/0087059404_222479.jpeg deleted file mode 100644 index 75f3823..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059404_222479.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059405_595378.jpeg b/radiantproduction/Societes/radiant/Photos/0087059405_595378.jpeg deleted file mode 100644 index a2bde6e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059405_595378.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059501_393921.jpeg b/radiantproduction/Societes/radiant/Photos/0087059501_393921.jpeg deleted file mode 100644 index 1b86e3a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059501_393921.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059502_669993.jpeg b/radiantproduction/Societes/radiant/Photos/0087059502_669993.jpeg deleted file mode 100644 index d0d220f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059502_669993.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059601_531532.jpeg b/radiantproduction/Societes/radiant/Photos/0087059601_531532.jpeg deleted file mode 100644 index 44be80a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059601_531532.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087059603_727056.jpeg b/radiantproduction/Societes/radiant/Photos/0087059603_727056.jpeg deleted file mode 100644 index 8bc30ce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087059603_727056.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087060001_850522.jpeg b/radiantproduction/Societes/radiant/Photos/0087060001_850522.jpeg deleted file mode 100644 index 217c6d3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087060001_850522.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087060402_123548.jpeg b/radiantproduction/Societes/radiant/Photos/0087060402_123548.jpeg deleted file mode 100644 index a535776..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087060402_123548.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087060602_112054.jpeg b/radiantproduction/Societes/radiant/Photos/0087060602_112054.jpeg deleted file mode 100644 index e56fe42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087060602_112054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087060602_788507.jpeg b/radiantproduction/Societes/radiant/Photos/0087060602_788507.jpeg deleted file mode 100644 index e56fe42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087060602_788507.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087061201_219374.jpeg b/radiantproduction/Societes/radiant/Photos/0087061201_219374.jpeg deleted file mode 100644 index 5d713fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087061201_219374.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087061302_672499.jpeg b/radiantproduction/Societes/radiant/Photos/0087061302_672499.jpeg deleted file mode 100644 index ffc6704..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087061302_672499.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087061601_873362.jpeg b/radiantproduction/Societes/radiant/Photos/0087061601_873362.jpeg deleted file mode 100644 index 06e8715..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087061601_873362.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087062301_703691.jpeg b/radiantproduction/Societes/radiant/Photos/0087062301_703691.jpeg deleted file mode 100644 index c3f024c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087062301_703691.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087062401_91226.jpeg b/radiantproduction/Societes/radiant/Photos/0087062401_91226.jpeg deleted file mode 100644 index d5616c3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087062401_91226.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087063701_287590.jpeg b/radiantproduction/Societes/radiant/Photos/0087063701_287590.jpeg deleted file mode 100644 index 236c5e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087063701_287590.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087064201_546762.jpeg b/radiantproduction/Societes/radiant/Photos/0087064201_546762.jpeg deleted file mode 100644 index e4017d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087064201_546762.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087064401_531384.jpeg b/radiantproduction/Societes/radiant/Photos/0087064401_531384.jpeg deleted file mode 100644 index a39b42b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087064401_531384.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087064903_842625.jpeg b/radiantproduction/Societes/radiant/Photos/0087064903_842625.jpeg deleted file mode 100644 index d8187c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087064903_842625.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087065201_946380.jpeg b/radiantproduction/Societes/radiant/Photos/0087065201_946380.jpeg deleted file mode 100644 index 4ef86a5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087065201_946380.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087065601_448264.jpeg b/radiantproduction/Societes/radiant/Photos/0087065601_448264.jpeg deleted file mode 100644 index f4331fb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087065601_448264.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087066001_593554.jpeg b/radiantproduction/Societes/radiant/Photos/0087066001_593554.jpeg deleted file mode 100644 index 17fd258..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087066001_593554.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087066002_119219.jpeg b/radiantproduction/Societes/radiant/Photos/0087066002_119219.jpeg deleted file mode 100644 index 6ca9efc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087066002_119219.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087066201_385945.jpeg b/radiantproduction/Societes/radiant/Photos/0087066201_385945.jpeg deleted file mode 100644 index 514afe5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087066201_385945.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087067501_20287.jpeg b/radiantproduction/Societes/radiant/Photos/0087067501_20287.jpeg deleted file mode 100644 index 67a3bd7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087067501_20287.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087068101_427724.jpeg b/radiantproduction/Societes/radiant/Photos/0087068101_427724.jpeg deleted file mode 100644 index 48065a6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087068101_427724.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087068601_659316.jpeg b/radiantproduction/Societes/radiant/Photos/0087068601_659316.jpeg deleted file mode 100644 index 58f2125..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087068601_659316.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087068602_700567.jpeg b/radiantproduction/Societes/radiant/Photos/0087068602_700567.jpeg deleted file mode 100644 index f66d57b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087068602_700567.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087068801_526871.jpeg b/radiantproduction/Societes/radiant/Photos/0087068801_526871.jpeg deleted file mode 100644 index ff8362d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087068801_526871.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087069301_935969.jpeg b/radiantproduction/Societes/radiant/Photos/0087069301_935969.jpeg deleted file mode 100644 index 7f229d2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087069301_935969.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087069302_760079.jpeg b/radiantproduction/Societes/radiant/Photos/0087069302_760079.jpeg deleted file mode 100644 index f31cfe6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087069302_760079.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087069303_130319.jpeg b/radiantproduction/Societes/radiant/Photos/0087069303_130319.jpeg deleted file mode 100644 index 7873da4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087069303_130319.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087069304_173106.jpeg b/radiantproduction/Societes/radiant/Photos/0087069304_173106.jpeg deleted file mode 100644 index 9b99981..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087069304_173106.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070701_593339.jpeg b/radiantproduction/Societes/radiant/Photos/0087070701_593339.jpeg deleted file mode 100644 index 867ee0c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070701_593339.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070702_307878.jpeg b/radiantproduction/Societes/radiant/Photos/0087070702_307878.jpeg deleted file mode 100644 index dc91108..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070702_307878.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_102177.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_102177.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_102177.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_133304.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_133304.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_133304.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_179547.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_179547.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_179547.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_200951.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_200951.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_200951.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_255908.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_255908.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_255908.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_308340.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_308340.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_308340.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_326942.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_326942.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_326942.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_328080.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_328080.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_328080.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_360370.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_360370.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_360370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_366552.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_366552.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_366552.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_371226.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_371226.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_371226.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_48705.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_48705.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_48705.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_510214.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_510214.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_510214.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_517216.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_517216.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_517216.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_531253.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_531253.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_531253.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_54137.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_54137.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_54137.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_601216.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_601216.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_601216.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_608040.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_608040.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_608040.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_648400.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_648400.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_648400.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_679456.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_679456.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_679456.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_760823.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_760823.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_760823.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_761513.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_761513.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_761513.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_832753.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_832753.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_832753.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_862717.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_862717.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_862717.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_884261.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_884261.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_884261.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_896990.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_896990.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_896990.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087070901_926336.jpeg b/radiantproduction/Societes/radiant/Photos/0087070901_926336.jpeg deleted file mode 100644 index 8df5200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087070901_926336.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087071201_693769.jpeg b/radiantproduction/Societes/radiant/Photos/0087071201_693769.jpeg deleted file mode 100644 index c16c26d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087071201_693769.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087071501_324437.jpeg b/radiantproduction/Societes/radiant/Photos/0087071501_324437.jpeg deleted file mode 100644 index d01aaa3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087071501_324437.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087071502_837324.jpeg b/radiantproduction/Societes/radiant/Photos/0087071502_837324.jpeg deleted file mode 100644 index 7b0f738..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087071502_837324.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087071602_583319.jpeg b/radiantproduction/Societes/radiant/Photos/0087071602_583319.jpeg deleted file mode 100644 index ef4c62b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087071602_583319.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087072301_649824.jpeg b/radiantproduction/Societes/radiant/Photos/0087072301_649824.jpeg deleted file mode 100644 index 840342a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087072301_649824.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087072502_529710.jpeg b/radiantproduction/Societes/radiant/Photos/0087072502_529710.jpeg deleted file mode 100644 index c1f7e85..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087072502_529710.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087072701_38471.jpeg b/radiantproduction/Societes/radiant/Photos/0087072701_38471.jpeg deleted file mode 100644 index c94bb68..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087072701_38471.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087072901_291502.jpeg b/radiantproduction/Societes/radiant/Photos/0087072901_291502.jpeg deleted file mode 100644 index c6fa1c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087072901_291502.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087073501_620805.jpeg b/radiantproduction/Societes/radiant/Photos/0087073501_620805.jpeg deleted file mode 100644 index 21e1174..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087073501_620805.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087074201_980088.jpeg b/radiantproduction/Societes/radiant/Photos/0087074201_980088.jpeg deleted file mode 100644 index dec50f7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087074201_980088.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087074303_277058.jpeg b/radiantproduction/Societes/radiant/Photos/0087074303_277058.jpeg deleted file mode 100644 index 5035adc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087074303_277058.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087074501_229481.jpeg b/radiantproduction/Societes/radiant/Photos/0087074501_229481.jpeg deleted file mode 100644 index 381b98c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087074501_229481.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087074704_257912.jpeg b/radiantproduction/Societes/radiant/Photos/0087074704_257912.jpeg deleted file mode 100644 index a36b439..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087074704_257912.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087075001_101356.jpeg b/radiantproduction/Societes/radiant/Photos/0087075001_101356.jpeg deleted file mode 100644 index 9af78dd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087075001_101356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087075401_1742.jpeg b/radiantproduction/Societes/radiant/Photos/0087075401_1742.jpeg deleted file mode 100644 index 5e99728..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087075401_1742.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087075403_945847.jpeg b/radiantproduction/Societes/radiant/Photos/0087075403_945847.jpeg deleted file mode 100644 index 1f1fbca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087075403_945847.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087077101_983334.jpeg b/radiantproduction/Societes/radiant/Photos/0087077101_983334.jpeg deleted file mode 100644 index c53600f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087077101_983334.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087077701_334638.jpeg b/radiantproduction/Societes/radiant/Photos/0087077701_334638.jpeg deleted file mode 100644 index 0e0502e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087077701_334638.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087078001_289590.jpeg b/radiantproduction/Societes/radiant/Photos/0087078001_289590.jpeg deleted file mode 100644 index 74377f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087078001_289590.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087078002_215274.jpeg b/radiantproduction/Societes/radiant/Photos/0087078002_215274.jpeg deleted file mode 100644 index 5b44ad5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087078002_215274.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087078202_67871.jpeg b/radiantproduction/Societes/radiant/Photos/0087078202_67871.jpeg deleted file mode 100644 index 4a52992..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087078202_67871.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087078204_252423.jpeg b/radiantproduction/Societes/radiant/Photos/0087078204_252423.jpeg deleted file mode 100644 index f4e8b47..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087078204_252423.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087078601_341228.jpeg b/radiantproduction/Societes/radiant/Photos/0087078601_341228.jpeg deleted file mode 100644 index b12793e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087078601_341228.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087078901_602824.jpeg b/radiantproduction/Societes/radiant/Photos/0087078901_602824.jpeg deleted file mode 100644 index 6ae61bb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087078901_602824.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087079601_283650.jpeg b/radiantproduction/Societes/radiant/Photos/0087079601_283650.jpeg deleted file mode 100644 index 6854f1b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087079601_283650.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087079801_720517.jpeg b/radiantproduction/Societes/radiant/Photos/0087079801_720517.jpeg deleted file mode 100644 index b9448b1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087079801_720517.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087081601_948085.jpeg b/radiantproduction/Societes/radiant/Photos/0087081601_948085.jpeg deleted file mode 100644 index f97bf0b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087081601_948085.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087081901_513558.jpeg b/radiantproduction/Societes/radiant/Photos/0087081901_513558.jpeg deleted file mode 100644 index 9a47658..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087081901_513558.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087082601_44976.jpeg b/radiantproduction/Societes/radiant/Photos/0087082601_44976.jpeg deleted file mode 100644 index e5efc85..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087082601_44976.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087082601_475831.jpeg b/radiantproduction/Societes/radiant/Photos/0087082601_475831.jpeg deleted file mode 100644 index 47f8ad3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087082601_475831.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087083002_609791.jpeg b/radiantproduction/Societes/radiant/Photos/0087083002_609791.jpeg deleted file mode 100644 index 86006af..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087083002_609791.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087083003_807901.jpeg b/radiantproduction/Societes/radiant/Photos/0087083003_807901.jpeg deleted file mode 100644 index 809df1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087083003_807901.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087083201_927781.jpeg b/radiantproduction/Societes/radiant/Photos/0087083201_927781.jpeg deleted file mode 100644 index 69e0530..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087083201_927781.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087083501_857832.jpeg b/radiantproduction/Societes/radiant/Photos/0087083501_857832.jpeg deleted file mode 100644 index e6b1119..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087083501_857832.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087083801_522710.jpeg b/radiantproduction/Societes/radiant/Photos/0087083801_522710.jpeg deleted file mode 100644 index 5342c97..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087083801_522710.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084101_867386.jpeg b/radiantproduction/Societes/radiant/Photos/0087084101_867386.jpeg deleted file mode 100644 index 9c8ff48..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084101_867386.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084201_167600.jpeg b/radiantproduction/Societes/radiant/Photos/0087084201_167600.jpeg deleted file mode 100644 index c9d4153..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084201_167600.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084501_839282.jpeg b/radiantproduction/Societes/radiant/Photos/0087084501_839282.jpeg deleted file mode 100644 index 6992074..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084501_839282.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084502_639608.jpeg b/radiantproduction/Societes/radiant/Photos/0087084502_639608.jpeg deleted file mode 100644 index 268a14c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084502_639608.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084503_594829.jpeg b/radiantproduction/Societes/radiant/Photos/0087084503_594829.jpeg deleted file mode 100644 index 2dc900e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084503_594829.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084601_671466.jpeg b/radiantproduction/Societes/radiant/Photos/0087084601_671466.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084601_671466.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084601_959297.jpeg b/radiantproduction/Societes/radiant/Photos/0087084601_959297.jpeg deleted file mode 100644 index 341bd3f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084601_959297.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087084901_29181.jpeg b/radiantproduction/Societes/radiant/Photos/0087084901_29181.jpeg deleted file mode 100644 index 184246b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087084901_29181.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087086401_92543.jpeg b/radiantproduction/Societes/radiant/Photos/0087086401_92543.jpeg deleted file mode 100644 index 27c4225..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087086401_92543.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087086402_727938.jpeg b/radiantproduction/Societes/radiant/Photos/0087086402_727938.jpeg deleted file mode 100644 index 1f0647a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087086402_727938.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087086501_838347.jpeg b/radiantproduction/Societes/radiant/Photos/0087086501_838347.jpeg deleted file mode 100644 index cd9be80..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087086501_838347.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087086901_895322.jpeg b/radiantproduction/Societes/radiant/Photos/0087086901_895322.jpeg deleted file mode 100644 index 70ab1c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087086901_895322.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087087301_914765.jpeg b/radiantproduction/Societes/radiant/Photos/0087087301_914765.jpeg deleted file mode 100644 index 6923eee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087087301_914765.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087087701_411044.jpeg b/radiantproduction/Societes/radiant/Photos/0087087701_411044.jpeg deleted file mode 100644 index cf5085d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087087701_411044.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087087703_670640.jpeg b/radiantproduction/Societes/radiant/Photos/0087087703_670640.jpeg deleted file mode 100644 index 668860d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087087703_670640.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087088005_597096.jpeg b/radiantproduction/Societes/radiant/Photos/0087088005_597096.jpeg deleted file mode 100644 index 1179720..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087088005_597096.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087088101_22173.jpeg b/radiantproduction/Societes/radiant/Photos/0087088101_22173.jpeg deleted file mode 100644 index f9e37a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087088101_22173.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087088401_474548.jpeg b/radiantproduction/Societes/radiant/Photos/0087088401_474548.jpeg deleted file mode 100644 index ddb810c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087088401_474548.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087088501_398527.jpeg b/radiantproduction/Societes/radiant/Photos/0087088501_398527.jpeg deleted file mode 100644 index 9c5bcc7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087088501_398527.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087088801_766676.jpeg b/radiantproduction/Societes/radiant/Photos/0087088801_766676.jpeg deleted file mode 100644 index 9586975..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087088801_766676.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087089101_176643.jpeg b/radiantproduction/Societes/radiant/Photos/0087089101_176643.jpeg deleted file mode 100644 index 10690da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087089101_176643.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087089501_696768.jpeg b/radiantproduction/Societes/radiant/Photos/0087089501_696768.jpeg deleted file mode 100644 index a8c1e7b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087089501_696768.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087089601_991174.jpeg b/radiantproduction/Societes/radiant/Photos/0087089601_991174.jpeg deleted file mode 100644 index 28bd11f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087089601_991174.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087091201_874296.jpeg b/radiantproduction/Societes/radiant/Photos/0087091201_874296.jpeg deleted file mode 100644 index e491ef3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087091201_874296.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087091601_276469.jpeg b/radiantproduction/Societes/radiant/Photos/0087091601_276469.jpeg deleted file mode 100644 index 2e22071..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087091601_276469.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087092401_199262.jpeg b/radiantproduction/Societes/radiant/Photos/0087092401_199262.jpeg deleted file mode 100644 index b9eabb1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087092401_199262.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087093201_629.jpeg b/radiantproduction/Societes/radiant/Photos/0087093201_629.jpeg deleted file mode 100644 index d879484..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087093201_629.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087093401_899792.jpeg b/radiantproduction/Societes/radiant/Photos/0087093401_899792.jpeg deleted file mode 100644 index cfc390b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087093401_899792.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087093801_573137.jpeg b/radiantproduction/Societes/radiant/Photos/0087093801_573137.jpeg deleted file mode 100644 index 6ec2fe8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087093801_573137.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087094001_521944.jpeg b/radiantproduction/Societes/radiant/Photos/0087094001_521944.jpeg deleted file mode 100644 index eecb727..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087094001_521944.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087094201_638079.jpeg b/radiantproduction/Societes/radiant/Photos/0087094201_638079.jpeg deleted file mode 100644 index cc1d4ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087094201_638079.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087094701_454298.jpeg b/radiantproduction/Societes/radiant/Photos/0087094701_454298.jpeg deleted file mode 100644 index 464075a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087094701_454298.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087095101_395803.jpeg b/radiantproduction/Societes/radiant/Photos/0087095101_395803.jpeg deleted file mode 100644 index a174502..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087095101_395803.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087095102_96538.jpeg b/radiantproduction/Societes/radiant/Photos/0087095102_96538.jpeg deleted file mode 100644 index df0b304..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087095102_96538.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087095201_214402.jpeg b/radiantproduction/Societes/radiant/Photos/0087095201_214402.jpeg deleted file mode 100644 index 6b5497b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087095201_214402.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087095801_922545.jpeg b/radiantproduction/Societes/radiant/Photos/0087095801_922545.jpeg deleted file mode 100644 index 9b9c89d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087095801_922545.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087096601_12293.jpeg b/radiantproduction/Societes/radiant/Photos/0087096601_12293.jpeg deleted file mode 100644 index 6bc9d0f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087096601_12293.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087097501_949877.jpeg b/radiantproduction/Societes/radiant/Photos/0087097501_949877.jpeg deleted file mode 100644 index d21719e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087097501_949877.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087097901_613783.jpeg b/radiantproduction/Societes/radiant/Photos/0087097901_613783.jpeg deleted file mode 100644 index 6cfc67a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087097901_613783.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087098401_916894.jpeg b/radiantproduction/Societes/radiant/Photos/0087098401_916894.jpeg deleted file mode 100644 index ae7f31e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087098401_916894.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087098501_122500.jpeg b/radiantproduction/Societes/radiant/Photos/0087098501_122500.jpeg deleted file mode 100644 index c192e51..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087098501_122500.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087099001_354164.jpeg b/radiantproduction/Societes/radiant/Photos/0087099001_354164.jpeg deleted file mode 100644 index b8bb6a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087099001_354164.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087099601_443930.jpeg b/radiantproduction/Societes/radiant/Photos/0087099601_443930.jpeg deleted file mode 100644 index 8c4d886..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087099601_443930.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087099601_992202.jpeg b/radiantproduction/Societes/radiant/Photos/0087099601_992202.jpeg deleted file mode 100644 index af43bc2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087099601_992202.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087100201_875918.jpeg b/radiantproduction/Societes/radiant/Photos/0087100201_875918.jpeg deleted file mode 100644 index 2f44823..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087100201_875918.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0087100401_138449.jpeg b/radiantproduction/Societes/radiant/Photos/0087100401_138449.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0087100401_138449.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089000402_776684.jpeg b/radiantproduction/Societes/radiant/Photos/0089000402_776684.jpeg deleted file mode 100644 index 50efb83..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089000402_776684.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089000404_666009.jpeg b/radiantproduction/Societes/radiant/Photos/0089000404_666009.jpeg deleted file mode 100644 index 56974ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089000404_666009.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089001304_159074.jpeg b/radiantproduction/Societes/radiant/Photos/0089001304_159074.jpeg deleted file mode 100644 index cdc9ba7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089001304_159074.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089001805_243245.jpeg b/radiantproduction/Societes/radiant/Photos/0089001805_243245.jpeg deleted file mode 100644 index c6d77ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089001805_243245.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089001901_420904.jpeg b/radiantproduction/Societes/radiant/Photos/0089001901_420904.jpeg deleted file mode 100644 index 86c9335..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089001901_420904.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089001901_760342.jpeg b/radiantproduction/Societes/radiant/Photos/0089001901_760342.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089001901_760342.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089004301_40499.jpeg b/radiantproduction/Societes/radiant/Photos/0089004301_40499.jpeg deleted file mode 100644 index 5e3aff9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089004301_40499.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089004307_187386.jpeg b/radiantproduction/Societes/radiant/Photos/0089004307_187386.jpeg deleted file mode 100644 index 52942e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089004307_187386.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089006102_112127.jpeg b/radiantproduction/Societes/radiant/Photos/0089006102_112127.jpeg deleted file mode 100644 index c530206..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089006102_112127.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089006102_899255.jpeg b/radiantproduction/Societes/radiant/Photos/0089006102_899255.jpeg deleted file mode 100644 index c530206..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089006102_899255.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089007502_913901.jpeg b/radiantproduction/Societes/radiant/Photos/0089007502_913901.jpeg deleted file mode 100644 index 3456917..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089007502_913901.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089007706_672713.jpeg b/radiantproduction/Societes/radiant/Photos/0089007706_672713.jpeg deleted file mode 100644 index d875502..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089007706_672713.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089008704_777636.jpeg b/radiantproduction/Societes/radiant/Photos/0089008704_777636.jpeg deleted file mode 100644 index eb71cd5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089008704_777636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089008904_790749.jpeg b/radiantproduction/Societes/radiant/Photos/0089008904_790749.jpeg deleted file mode 100644 index 2087b76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089008904_790749.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089009101_978912.jpeg b/radiantproduction/Societes/radiant/Photos/0089009101_978912.jpeg deleted file mode 100644 index 5f6df6d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089009101_978912.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089012505_608633.jpeg b/radiantproduction/Societes/radiant/Photos/0089012505_608633.jpeg deleted file mode 100644 index 17b1d70..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089012505_608633.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089012506_117975.jpeg b/radiantproduction/Societes/radiant/Photos/0089012506_117975.jpeg deleted file mode 100644 index d106909..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089012506_117975.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089013904_52310.jpeg b/radiantproduction/Societes/radiant/Photos/0089013904_52310.jpeg deleted file mode 100644 index 9f9b9a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089013904_52310.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089014903_65636.jpeg b/radiantproduction/Societes/radiant/Photos/0089014903_65636.jpeg deleted file mode 100644 index ef80839..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089014903_65636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089014904_908651.jpeg b/radiantproduction/Societes/radiant/Photos/0089014904_908651.jpeg deleted file mode 100644 index d0f4885..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089014904_908651.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089016501_571571.jpeg b/radiantproduction/Societes/radiant/Photos/0089016501_571571.jpeg deleted file mode 100644 index 648086c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089016501_571571.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089016502_400639.jpeg b/radiantproduction/Societes/radiant/Photos/0089016502_400639.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089016502_400639.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089016502_836622.jpeg b/radiantproduction/Societes/radiant/Photos/0089016502_836622.jpeg deleted file mode 100644 index 8d96c6d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089016502_836622.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089017503_261847.jpeg b/radiantproduction/Societes/radiant/Photos/0089017503_261847.jpeg deleted file mode 100644 index adecba5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089017503_261847.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089017703_755500.jpeg b/radiantproduction/Societes/radiant/Photos/0089017703_755500.jpeg deleted file mode 100644 index 64eabe0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089017703_755500.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089018102_349693.jpeg b/radiantproduction/Societes/radiant/Photos/0089018102_349693.jpeg deleted file mode 100644 index 50fd1b2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089018102_349693.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089018701_145477.jpeg b/radiantproduction/Societes/radiant/Photos/0089018701_145477.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089018701_145477.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089018701_485789.jpeg b/radiantproduction/Societes/radiant/Photos/0089018701_485789.jpeg deleted file mode 100644 index 5d6e103..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089018701_485789.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089018903_624122.jpeg b/radiantproduction/Societes/radiant/Photos/0089018903_624122.jpeg deleted file mode 100644 index a8d5b7c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089018903_624122.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089018904_299552.jpeg b/radiantproduction/Societes/radiant/Photos/0089018904_299552.jpeg deleted file mode 100644 index 86f7934..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089018904_299552.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089019303_257224.jpeg b/radiantproduction/Societes/radiant/Photos/0089019303_257224.jpeg deleted file mode 100644 index 8f8132e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089019303_257224.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089019305_235603.jpeg b/radiantproduction/Societes/radiant/Photos/0089019305_235603.jpeg deleted file mode 100644 index 845142f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089019305_235603.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089020201_507124.jpeg b/radiantproduction/Societes/radiant/Photos/0089020201_507124.jpeg deleted file mode 100644 index c90306b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089020201_507124.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089021501_196900.jpeg b/radiantproduction/Societes/radiant/Photos/0089021501_196900.jpeg deleted file mode 100644 index f4f9b54..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089021501_196900.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089021701_743498.jpeg b/radiantproduction/Societes/radiant/Photos/0089021701_743498.jpeg deleted file mode 100644 index cefbdc0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089021701_743498.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089021801_305916.jpeg b/radiantproduction/Societes/radiant/Photos/0089021801_305916.jpeg deleted file mode 100644 index c3e5a98..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089021801_305916.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089021902_944653.jpeg b/radiantproduction/Societes/radiant/Photos/0089021902_944653.jpeg deleted file mode 100644 index b04be3f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089021902_944653.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089022801_281910.jpeg b/radiantproduction/Societes/radiant/Photos/0089022801_281910.jpeg deleted file mode 100644 index 70e828e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089022801_281910.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089023901_245924.jpeg b/radiantproduction/Societes/radiant/Photos/0089023901_245924.jpeg deleted file mode 100644 index 372fb30..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089023901_245924.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089024401_987220.jpeg b/radiantproduction/Societes/radiant/Photos/0089024401_987220.jpeg deleted file mode 100644 index 2638b4b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089024401_987220.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089024501_97209.jpeg b/radiantproduction/Societes/radiant/Photos/0089024501_97209.jpeg deleted file mode 100644 index fc94ca0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089024501_97209.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089024604_936174.jpeg b/radiantproduction/Societes/radiant/Photos/0089024604_936174.jpeg deleted file mode 100644 index 7475b66..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089024604_936174.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089024702_555.jpeg b/radiantproduction/Societes/radiant/Photos/0089024702_555.jpeg deleted file mode 100644 index 379dd19..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089024702_555.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089024901_359782.jpeg b/radiantproduction/Societes/radiant/Photos/0089024901_359782.jpeg deleted file mode 100644 index 0706bc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089024901_359782.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089024902_930942.jpeg b/radiantproduction/Societes/radiant/Photos/0089024902_930942.jpeg deleted file mode 100644 index 6da86fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089024902_930942.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089025101_323181.jpeg b/radiantproduction/Societes/radiant/Photos/0089025101_323181.jpeg deleted file mode 100644 index c5e862a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089025101_323181.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089025301_364137.jpeg b/radiantproduction/Societes/radiant/Photos/0089025301_364137.jpeg deleted file mode 100644 index 9716da3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089025301_364137.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0089025302_922301.jpeg b/radiantproduction/Societes/radiant/Photos/0089025302_922301.jpeg deleted file mode 100644 index 67d856c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0089025302_922301.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097000204_135476.jpeg b/radiantproduction/Societes/radiant/Photos/0097000204_135476.jpeg deleted file mode 100644 index 0b6d067..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097000204_135476.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097000501_948663.jpeg b/radiantproduction/Societes/radiant/Photos/0097000501_948663.jpeg deleted file mode 100644 index fb3408c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097000501_948663.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097000502_653630.jpeg b/radiantproduction/Societes/radiant/Photos/0097000502_653630.jpeg deleted file mode 100644 index a42cfe6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097000502_653630.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097001601_158279.jpeg b/radiantproduction/Societes/radiant/Photos/0097001601_158279.jpeg deleted file mode 100644 index ad427cd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097001601_158279.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097002602_182459.jpeg b/radiantproduction/Societes/radiant/Photos/0097002602_182459.jpeg deleted file mode 100644 index 692641b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097002602_182459.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097002603_970229.jpeg b/radiantproduction/Societes/radiant/Photos/0097002603_970229.jpeg deleted file mode 100644 index ca0c94b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097002603_970229.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097002801_598008.jpeg b/radiantproduction/Societes/radiant/Photos/0097002801_598008.jpeg deleted file mode 100644 index 6fdbc75..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097002801_598008.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0097003101_374418.jpeg b/radiantproduction/Societes/radiant/Photos/0097003101_374418.jpeg deleted file mode 100644 index 5f55d93..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0097003101_374418.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0098001303_771419.jpeg b/radiantproduction/Societes/radiant/Photos/0098001303_771419.jpeg deleted file mode 100644 index 70d9b57..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0098001303_771419.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099000601_374427.jpeg b/radiantproduction/Societes/radiant/Photos/0099000601_374427.jpeg deleted file mode 100644 index 5dd426f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099000601_374427.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099000601_579078.jpeg b/radiantproduction/Societes/radiant/Photos/0099000601_579078.jpeg deleted file mode 100644 index 8d218a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099000601_579078.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099001401_865955.jpeg b/radiantproduction/Societes/radiant/Photos/0099001401_865955.jpeg deleted file mode 100644 index c8e8b7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099001401_865955.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099001401_980463.jpeg b/radiantproduction/Societes/radiant/Photos/0099001401_980463.jpeg deleted file mode 100644 index 2e8dd91..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099001401_980463.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099001501_932288.jpeg b/radiantproduction/Societes/radiant/Photos/0099001501_932288.jpeg deleted file mode 100644 index ca3132e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099001501_932288.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099001601_352456.jpeg b/radiantproduction/Societes/radiant/Photos/0099001601_352456.jpeg deleted file mode 100644 index ca6e97a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099001601_352456.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099002504_14546.jpeg b/radiantproduction/Societes/radiant/Photos/0099002504_14546.jpeg deleted file mode 100644 index 703c104..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099002504_14546.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099002801_396981.jpeg b/radiantproduction/Societes/radiant/Photos/0099002801_396981.jpeg deleted file mode 100644 index a9b8770..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099002801_396981.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099005903_63967.jpeg b/radiantproduction/Societes/radiant/Photos/0099005903_63967.jpeg deleted file mode 100644 index 302e943..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099005903_63967.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099005904_309460.jpeg b/radiantproduction/Societes/radiant/Photos/0099005904_309460.jpeg deleted file mode 100644 index 25dae42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099005904_309460.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099006201_184970.jpeg b/radiantproduction/Societes/radiant/Photos/0099006201_184970.jpeg deleted file mode 100644 index 4729c0d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099006201_184970.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099006501_696021.jpeg b/radiantproduction/Societes/radiant/Photos/0099006501_696021.jpeg deleted file mode 100644 index 9310c17..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099006501_696021.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0099006803_667408.jpeg b/radiantproduction/Societes/radiant/Photos/0099006803_667408.jpeg deleted file mode 100644 index 4fee696..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0099006803_667408.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0104000405_772811.jpeg b/radiantproduction/Societes/radiant/Photos/0104000405_772811.jpeg deleted file mode 100644 index e858dba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0104000405_772811.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0104000407_761579.jpeg b/radiantproduction/Societes/radiant/Photos/0104000407_761579.jpeg deleted file mode 100644 index 413c792..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0104000407_761579.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0104001002_527236.jpeg b/radiantproduction/Societes/radiant/Photos/0104001002_527236.jpeg deleted file mode 100644 index 0331ac6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0104001002_527236.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0104001301_409463.jpeg b/radiantproduction/Societes/radiant/Photos/0104001301_409463.jpeg deleted file mode 100644 index 049df46..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0104001301_409463.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105000503_943039.jpeg b/radiantproduction/Societes/radiant/Photos/0105000503_943039.jpeg deleted file mode 100644 index 275dfaf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105000503_943039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105000504_291126.jpeg b/radiantproduction/Societes/radiant/Photos/0105000504_291126.jpeg deleted file mode 100644 index bddb68c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105000504_291126.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105000505_173859.jpeg b/radiantproduction/Societes/radiant/Photos/0105000505_173859.jpeg deleted file mode 100644 index d50cc13..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105000505_173859.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105003701_80118.jpeg b/radiantproduction/Societes/radiant/Photos/0105003701_80118.jpeg deleted file mode 100644 index 08cd6b0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105003701_80118.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105003706_816999.jpeg b/radiantproduction/Societes/radiant/Photos/0105003706_816999.jpeg deleted file mode 100644 index bba997d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105003706_816999.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105004202_947469.jpeg b/radiantproduction/Societes/radiant/Photos/0105004202_947469.jpeg deleted file mode 100644 index b205643..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105004202_947469.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105004203_425981.jpeg b/radiantproduction/Societes/radiant/Photos/0105004203_425981.jpeg deleted file mode 100644 index 44e980b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105004203_425981.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105004205_789818.jpeg b/radiantproduction/Societes/radiant/Photos/0105004205_789818.jpeg deleted file mode 100644 index 70bc3eb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105004205_789818.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105006102_624861.jpeg b/radiantproduction/Societes/radiant/Photos/0105006102_624861.jpeg deleted file mode 100644 index 145c3c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105006102_624861.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105006104_597184.jpeg b/radiantproduction/Societes/radiant/Photos/0105006104_597184.jpeg deleted file mode 100644 index 3eae9b3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105006104_597184.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105006105_682335.jpeg b/radiantproduction/Societes/radiant/Photos/0105006105_682335.jpeg deleted file mode 100644 index 3b65887..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105006105_682335.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105006401_333130.jpeg b/radiantproduction/Societes/radiant/Photos/0105006401_333130.jpeg deleted file mode 100644 index 943de4b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105006401_333130.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0105006401_908139.jpeg b/radiantproduction/Societes/radiant/Photos/0105006401_908139.jpeg deleted file mode 100644 index aa1b4b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0105006401_908139.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0110000101_552474.jpeg b/radiantproduction/Societes/radiant/Photos/0110000101_552474.jpeg deleted file mode 100644 index 4bae92f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0110000101_552474.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0200004802_180026.jpeg b/radiantproduction/Societes/radiant/Photos/0200004802_180026.jpeg deleted file mode 100644 index 0f31c67..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0200004802_180026.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0218000301_257534.jpeg b/radiantproduction/Societes/radiant/Photos/0218000301_257534.jpeg deleted file mode 100644 index cadda76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0218000301_257534.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0218000301_401048.jpeg b/radiantproduction/Societes/radiant/Photos/0218000301_401048.jpeg deleted file mode 100644 index cadda76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0218000301_401048.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0218000401_756046.jpeg b/radiantproduction/Societes/radiant/Photos/0218000401_756046.jpeg deleted file mode 100644 index 85e3969..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0218000401_756046.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0218000403_107035.jpeg b/radiantproduction/Societes/radiant/Photos/0218000403_107035.jpeg deleted file mode 100644 index 0ac45a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0218000403_107035.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0218001302_719169.jpeg b/radiantproduction/Societes/radiant/Photos/0218001302_719169.jpeg deleted file mode 100644 index a71a19c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0218001302_719169.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0218001304_582977.jpeg b/radiantproduction/Societes/radiant/Photos/0218001304_582977.jpeg deleted file mode 100644 index b52596a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0218001304_582977.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220000601_572021.jpeg b/radiantproduction/Societes/radiant/Photos/0220000601_572021.jpeg deleted file mode 100644 index a717653..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220000601_572021.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220000601_904467.jpeg b/radiantproduction/Societes/radiant/Photos/0220000601_904467.jpeg deleted file mode 100644 index 7b64b64..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220000601_904467.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220000605_282133.jpeg b/radiantproduction/Societes/radiant/Photos/0220000605_282133.jpeg deleted file mode 100644 index 4de8f02..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220000605_282133.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220000606_571432.jpeg b/radiantproduction/Societes/radiant/Photos/0220000606_571432.jpeg deleted file mode 100644 index 240c9ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220000606_571432.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220000609_18335.jpeg b/radiantproduction/Societes/radiant/Photos/0220000609_18335.jpeg deleted file mode 100644 index 7c879b4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220000609_18335.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220003401_388406.jpeg b/radiantproduction/Societes/radiant/Photos/0220003401_388406.jpeg deleted file mode 100644 index 9ccb546..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220003401_388406.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220008502_737973.jpeg b/radiantproduction/Societes/radiant/Photos/0220008502_737973.jpeg deleted file mode 100644 index 5b932ff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220008502_737973.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220008503_848553.jpeg b/radiantproduction/Societes/radiant/Photos/0220008503_848553.jpeg deleted file mode 100644 index 7302b79..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220008503_848553.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220008505_117015.jpeg b/radiantproduction/Societes/radiant/Photos/0220008505_117015.jpeg deleted file mode 100644 index b2dca52..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220008505_117015.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220009403_404677.jpeg b/radiantproduction/Societes/radiant/Photos/0220009403_404677.jpeg deleted file mode 100644 index 54e2143..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220009403_404677.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220009404_116167.jpeg b/radiantproduction/Societes/radiant/Photos/0220009404_116167.jpeg deleted file mode 100644 index 4962de7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220009404_116167.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220011701_523622.jpeg b/radiantproduction/Societes/radiant/Photos/0220011701_523622.jpeg deleted file mode 100644 index faeb1aa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220011701_523622.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220012802_889492.jpeg b/radiantproduction/Societes/radiant/Photos/0220012802_889492.jpeg deleted file mode 100644 index 4144d21..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220012802_889492.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220012804_939738.jpeg b/radiantproduction/Societes/radiant/Photos/0220012804_939738.jpeg deleted file mode 100644 index 81cb635..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220012804_939738.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220012901_161978.jpeg b/radiantproduction/Societes/radiant/Photos/0220012901_161978.jpeg deleted file mode 100644 index cdd3f51..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220012901_161978.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0220014502_648873.jpeg b/radiantproduction/Societes/radiant/Photos/0220014502_648873.jpeg deleted file mode 100644 index 9a6f8b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0220014502_648873.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221003701_950132.jpeg b/radiantproduction/Societes/radiant/Photos/0221003701_950132.jpeg deleted file mode 100644 index dd5e116..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221003701_950132.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221003702_750721.jpeg b/radiantproduction/Societes/radiant/Photos/0221003702_750721.jpeg deleted file mode 100644 index b0e7033..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221003702_750721.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221003703_461257.jpeg b/radiantproduction/Societes/radiant/Photos/0221003703_461257.jpeg deleted file mode 100644 index 1304e60..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221003703_461257.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221004201_838478.jpeg b/radiantproduction/Societes/radiant/Photos/0221004201_838478.jpeg deleted file mode 100644 index de46499..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221004201_838478.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221004206_58860.jpeg b/radiantproduction/Societes/radiant/Photos/0221004206_58860.jpeg deleted file mode 100644 index 92b26a6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221004206_58860.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221006702_896247.jpeg b/radiantproduction/Societes/radiant/Photos/0221006702_896247.jpeg deleted file mode 100644 index 9193be5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221006702_896247.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221007702_892913.jpeg b/radiantproduction/Societes/radiant/Photos/0221007702_892913.jpeg deleted file mode 100644 index 2520f96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221007702_892913.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221007901_872478.jpeg b/radiantproduction/Societes/radiant/Photos/0221007901_872478.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221007901_872478.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221008101_502889.jpeg b/radiantproduction/Societes/radiant/Photos/0221008101_502889.jpeg deleted file mode 100644 index 6bf598a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221008101_502889.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0221008901_895286.jpeg b/radiantproduction/Societes/radiant/Photos/0221008901_895286.jpeg deleted file mode 100644 index 7e12bd8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0221008901_895286.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0222010002_552233.jpeg b/radiantproduction/Societes/radiant/Photos/0222010002_552233.jpeg deleted file mode 100644 index c3d16b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0222010002_552233.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0223000201_64761.jpeg b/radiantproduction/Societes/radiant/Photos/0223000201_64761.jpeg deleted file mode 100644 index 59bc7d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0223000201_64761.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0223000402_545652.jpeg b/radiantproduction/Societes/radiant/Photos/0223000402_545652.jpeg deleted file mode 100644 index 4fdd13a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0223000402_545652.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0223000404_879870.jpeg b/radiantproduction/Societes/radiant/Photos/0223000404_879870.jpeg deleted file mode 100644 index 3a3443a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0223000404_879870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229005601_519107.jpeg b/radiantproduction/Societes/radiant/Photos/0229005601_519107.jpeg deleted file mode 100644 index 801da04..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229005601_519107.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229005602_200198.jpeg b/radiantproduction/Societes/radiant/Photos/0229005602_200198.jpeg deleted file mode 100644 index 1cf8e2b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229005602_200198.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229005604_366146.jpeg b/radiantproduction/Societes/radiant/Photos/0229005604_366146.jpeg deleted file mode 100644 index 4caa530..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229005604_366146.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229005701_790922.jpeg b/radiantproduction/Societes/radiant/Photos/0229005701_790922.jpeg deleted file mode 100644 index 8848352..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229005701_790922.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229005704_981840.jpeg b/radiantproduction/Societes/radiant/Photos/0229005704_981840.jpeg deleted file mode 100644 index 3a76da4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229005704_981840.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229005705_959883.jpeg b/radiantproduction/Societes/radiant/Photos/0229005705_959883.jpeg deleted file mode 100644 index 267035c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229005705_959883.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229007701_489251.jpeg b/radiantproduction/Societes/radiant/Photos/0229007701_489251.jpeg deleted file mode 100644 index 8c5ea5a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229007701_489251.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0229007703_533423.jpeg b/radiantproduction/Societes/radiant/Photos/0229007703_533423.jpeg deleted file mode 100644 index f435169..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0229007703_533423.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241000401_278506.jpeg b/radiantproduction/Societes/radiant/Photos/0241000401_278506.jpeg deleted file mode 100644 index 9c34272..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241000401_278506.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241000403_185090.jpeg b/radiantproduction/Societes/radiant/Photos/0241000403_185090.jpeg deleted file mode 100644 index f7d7aa1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241000403_185090.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241000503_341634.jpeg b/radiantproduction/Societes/radiant/Photos/0241000503_341634.jpeg deleted file mode 100644 index 30b22f2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241000503_341634.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241002001_201151.jpeg b/radiantproduction/Societes/radiant/Photos/0241002001_201151.jpeg deleted file mode 100644 index fa805c7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241002001_201151.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241003401_40389.jpeg b/radiantproduction/Societes/radiant/Photos/0241003401_40389.jpeg deleted file mode 100644 index d6f906b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241003401_40389.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241003701_527044.jpeg b/radiantproduction/Societes/radiant/Photos/0241003701_527044.jpeg deleted file mode 100644 index 445841a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241003701_527044.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241003702_33819.jpeg b/radiantproduction/Societes/radiant/Photos/0241003702_33819.jpeg deleted file mode 100644 index 1f1f8fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241003702_33819.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241003703_630896.jpeg b/radiantproduction/Societes/radiant/Photos/0241003703_630896.jpeg deleted file mode 100644 index f44ae7f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241003703_630896.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241003704_669441.jpeg b/radiantproduction/Societes/radiant/Photos/0241003704_669441.jpeg deleted file mode 100644 index eb39c41..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241003704_669441.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241003904_499015.jpeg b/radiantproduction/Societes/radiant/Photos/0241003904_499015.jpeg deleted file mode 100644 index 49a9a2f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241003904_499015.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241004003_639537.jpeg b/radiantproduction/Societes/radiant/Photos/0241004003_639537.jpeg deleted file mode 100644 index 68a4dc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241004003_639537.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241004102_659045.jpeg b/radiantproduction/Societes/radiant/Photos/0241004102_659045.jpeg deleted file mode 100644 index 5e6551e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241004102_659045.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241004303_569338.jpeg b/radiantproduction/Societes/radiant/Photos/0241004303_569338.jpeg deleted file mode 100644 index 13e59de..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241004303_569338.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241004603_823573.jpeg b/radiantproduction/Societes/radiant/Photos/0241004603_823573.jpeg deleted file mode 100644 index 22c7fa9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241004603_823573.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241005201_810542.jpeg b/radiantproduction/Societes/radiant/Photos/0241005201_810542.jpeg deleted file mode 100644 index 2001c0b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241005201_810542.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0241005303_61318.jpeg b/radiantproduction/Societes/radiant/Photos/0241005303_61318.jpeg deleted file mode 100644 index 75dc9ef..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0241005303_61318.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0243000401_83819.jpeg b/radiantproduction/Societes/radiant/Photos/0243000401_83819.jpeg deleted file mode 100644 index c21459f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0243000401_83819.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0243000703_158753.jpeg b/radiantproduction/Societes/radiant/Photos/0243000703_158753.jpeg deleted file mode 100644 index 29a8024..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0243000703_158753.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0243000704_135678.jpeg b/radiantproduction/Societes/radiant/Photos/0243000704_135678.jpeg deleted file mode 100644 index 8751af9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0243000704_135678.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0243000704_332021.jpeg b/radiantproduction/Societes/radiant/Photos/0243000704_332021.jpeg deleted file mode 100644 index dddc6ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0243000704_332021.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0247001401_425012.jpeg b/radiantproduction/Societes/radiant/Photos/0247001401_425012.jpeg deleted file mode 100644 index 7a5fa6f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0247001401_425012.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0266000101_168786.jpeg b/radiantproduction/Societes/radiant/Photos/0266000101_168786.jpeg deleted file mode 100644 index 8d5b1d0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0266000101_168786.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0266000102_376385.jpeg b/radiantproduction/Societes/radiant/Photos/0266000102_376385.jpeg deleted file mode 100644 index 9fbe99d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0266000102_376385.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0266000103_533152.jpeg b/radiantproduction/Societes/radiant/Photos/0266000103_533152.jpeg deleted file mode 100644 index 80369d6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0266000103_533152.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000101_11966.jpeg b/radiantproduction/Societes/radiant/Photos/0268000101_11966.jpeg deleted file mode 100644 index ed84364..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000101_11966.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000101_35370.jpeg b/radiantproduction/Societes/radiant/Photos/0268000101_35370.jpeg deleted file mode 100644 index ed84364..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000101_35370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000201_102471.jpeg b/radiantproduction/Societes/radiant/Photos/0268000201_102471.jpeg deleted file mode 100644 index 073ccff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000201_102471.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000206_779251.jpeg b/radiantproduction/Societes/radiant/Photos/0268000206_779251.jpeg deleted file mode 100644 index db2ffe0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000206_779251.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000302_788354.jpeg b/radiantproduction/Societes/radiant/Photos/0268000302_788354.jpeg deleted file mode 100644 index 04fc06b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000302_788354.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000601_304967.jpeg b/radiantproduction/Societes/radiant/Photos/0268000601_304967.jpeg deleted file mode 100644 index 4d9d199..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000601_304967.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000603_601862.jpeg b/radiantproduction/Societes/radiant/Photos/0268000603_601862.jpeg deleted file mode 100644 index 391ecab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000603_601862.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268000604_631238.jpeg b/radiantproduction/Societes/radiant/Photos/0268000604_631238.jpeg deleted file mode 100644 index f0ac643..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268000604_631238.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268003901_577978.jpeg b/radiantproduction/Societes/radiant/Photos/0268003901_577978.jpeg deleted file mode 100644 index 02d4077..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268003901_577978.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268003902_593926.jpeg b/radiantproduction/Societes/radiant/Photos/0268003902_593926.jpeg deleted file mode 100644 index ab35a33..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268003902_593926.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268003903_910017.jpeg b/radiantproduction/Societes/radiant/Photos/0268003903_910017.jpeg deleted file mode 100644 index 4772095..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268003903_910017.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268004202_441627.jpeg b/radiantproduction/Societes/radiant/Photos/0268004202_441627.jpeg deleted file mode 100644 index dcf7783..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268004202_441627.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268004301_462791.jpeg b/radiantproduction/Societes/radiant/Photos/0268004301_462791.jpeg deleted file mode 100644 index d419ded..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268004301_462791.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268005202_247895.jpeg b/radiantproduction/Societes/radiant/Photos/0268005202_247895.jpeg deleted file mode 100644 index e882ddf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268005202_247895.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268005301_884265.jpeg b/radiantproduction/Societes/radiant/Photos/0268005301_884265.jpeg deleted file mode 100644 index b452b2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268005301_884265.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268005502_625928.jpeg b/radiantproduction/Societes/radiant/Photos/0268005502_625928.jpeg deleted file mode 100644 index 38468db..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268005502_625928.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0268005504_322752.jpeg b/radiantproduction/Societes/radiant/Photos/0268005504_322752.jpeg deleted file mode 100644 index 8efaa78..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0268005504_322752.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273000804_128171.jpeg b/radiantproduction/Societes/radiant/Photos/0273000804_128171.jpeg deleted file mode 100644 index 93f53f3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273000804_128171.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273000901_461523.jpeg b/radiantproduction/Societes/radiant/Photos/0273000901_461523.jpeg deleted file mode 100644 index e39ace9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273000901_461523.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273000902_284483.jpeg b/radiantproduction/Societes/radiant/Photos/0273000902_284483.jpeg deleted file mode 100644 index 0e7b2e5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273000902_284483.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273002301_422460.jpeg b/radiantproduction/Societes/radiant/Photos/0273002301_422460.jpeg deleted file mode 100644 index d7eaf2a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273002301_422460.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273002304_864512.jpeg b/radiantproduction/Societes/radiant/Photos/0273002304_864512.jpeg deleted file mode 100644 index 2cba01d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273002304_864512.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273002401_266987.jpeg b/radiantproduction/Societes/radiant/Photos/0273002401_266987.jpeg deleted file mode 100644 index e301946..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273002401_266987.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0273002402_829695.jpeg b/radiantproduction/Societes/radiant/Photos/0273002402_829695.jpeg deleted file mode 100644 index 30c919e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0273002402_829695.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278000103_464678.jpeg b/radiantproduction/Societes/radiant/Photos/0278000103_464678.jpeg deleted file mode 100644 index 57986c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278000103_464678.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278000105_931665.jpeg b/radiantproduction/Societes/radiant/Photos/0278000105_931665.jpeg deleted file mode 100644 index 6391a45..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278000105_931665.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278000201_528574.jpeg b/radiantproduction/Societes/radiant/Photos/0278000201_528574.jpeg deleted file mode 100644 index 0b3cc87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278000201_528574.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278000401_866817.jpeg b/radiantproduction/Societes/radiant/Photos/0278000401_866817.jpeg deleted file mode 100644 index 8dbe236..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278000401_866817.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278000701_766944.jpeg b/radiantproduction/Societes/radiant/Photos/0278000701_766944.jpeg deleted file mode 100644 index 6c15fda..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278000701_766944.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278000704_684816.jpeg b/radiantproduction/Societes/radiant/Photos/0278000704_684816.jpeg deleted file mode 100644 index 3b91e7e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278000704_684816.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278001203_410348.jpeg b/radiantproduction/Societes/radiant/Photos/0278001203_410348.jpeg deleted file mode 100644 index 577c795..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278001203_410348.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278001203_97504.jpeg b/radiantproduction/Societes/radiant/Photos/0278001203_97504.jpeg deleted file mode 100644 index 53c73d2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278001203_97504.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278001401_366242.jpeg b/radiantproduction/Societes/radiant/Photos/0278001401_366242.jpeg deleted file mode 100644 index c509788..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278001401_366242.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278001405_283829.jpeg b/radiantproduction/Societes/radiant/Photos/0278001405_283829.jpeg deleted file mode 100644 index 3f6f455..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278001405_283829.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002001_709732.jpeg b/radiantproduction/Societes/radiant/Photos/0278002001_709732.jpeg deleted file mode 100644 index 7ffcc14..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002001_709732.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002002_856992.jpeg b/radiantproduction/Societes/radiant/Photos/0278002002_856992.jpeg deleted file mode 100644 index 52bce95..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002002_856992.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002002_874475.jpeg b/radiantproduction/Societes/radiant/Photos/0278002002_874475.jpeg deleted file mode 100644 index c447ff3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002002_874475.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002005_152121.jpeg b/radiantproduction/Societes/radiant/Photos/0278002005_152121.jpeg deleted file mode 100644 index 3299986..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002005_152121.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002101_313521.jpeg b/radiantproduction/Societes/radiant/Photos/0278002101_313521.jpeg deleted file mode 100644 index 1e68823..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002101_313521.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002402_508545.jpeg b/radiantproduction/Societes/radiant/Photos/0278002402_508545.jpeg deleted file mode 100644 index 4ba9cab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002402_508545.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002403_633099.jpeg b/radiantproduction/Societes/radiant/Photos/0278002403_633099.jpeg deleted file mode 100644 index a2dae84..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002403_633099.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002404_323820.jpeg b/radiantproduction/Societes/radiant/Photos/0278002404_323820.jpeg deleted file mode 100644 index 1f91df2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002404_323820.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002501_313326.jpeg b/radiantproduction/Societes/radiant/Photos/0278002501_313326.jpeg deleted file mode 100644 index 568e6aa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002501_313326.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002504_68689.jpeg b/radiantproduction/Societes/radiant/Photos/0278002504_68689.jpeg deleted file mode 100644 index 63b0ac5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002504_68689.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002602_558688.jpeg b/radiantproduction/Societes/radiant/Photos/0278002602_558688.jpeg deleted file mode 100644 index bb6fe5e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002602_558688.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002604_777415.jpeg b/radiantproduction/Societes/radiant/Photos/0278002604_777415.jpeg deleted file mode 100644 index bcc6a39..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002604_777415.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002702_324709.jpeg b/radiantproduction/Societes/radiant/Photos/0278002702_324709.jpeg deleted file mode 100644 index aa5e145..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002702_324709.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002704_507445.jpeg b/radiantproduction/Societes/radiant/Photos/0278002704_507445.jpeg deleted file mode 100644 index 79a5ab9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002704_507445.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002705_47750.jpeg b/radiantproduction/Societes/radiant/Photos/0278002705_47750.jpeg deleted file mode 100644 index f0a631a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002705_47750.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002803_861008.jpeg b/radiantproduction/Societes/radiant/Photos/0278002803_861008.jpeg deleted file mode 100644 index ecec5a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002803_861008.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278002804_406895.jpeg b/radiantproduction/Societes/radiant/Photos/0278002804_406895.jpeg deleted file mode 100644 index f8879f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278002804_406895.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003001_346954.jpeg b/radiantproduction/Societes/radiant/Photos/0278003001_346954.jpeg deleted file mode 100644 index fd35e94..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003001_346954.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003002_710590.jpeg b/radiantproduction/Societes/radiant/Photos/0278003002_710590.jpeg deleted file mode 100644 index daef17d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003002_710590.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003401_791449.jpeg b/radiantproduction/Societes/radiant/Photos/0278003401_791449.jpeg deleted file mode 100644 index ba86d8f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003401_791449.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003402_555384.jpeg b/radiantproduction/Societes/radiant/Photos/0278003402_555384.jpeg deleted file mode 100644 index 7ede9ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003402_555384.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003502_808607.jpeg b/radiantproduction/Societes/radiant/Photos/0278003502_808607.jpeg deleted file mode 100644 index 9711a87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003502_808607.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003603_363482.jpeg b/radiantproduction/Societes/radiant/Photos/0278003603_363482.jpeg deleted file mode 100644 index e43dc04..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003603_363482.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003604_630071.jpeg b/radiantproduction/Societes/radiant/Photos/0278003604_630071.jpeg deleted file mode 100644 index 20c3250..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003604_630071.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003802_38289.jpeg b/radiantproduction/Societes/radiant/Photos/0278003802_38289.jpeg deleted file mode 100644 index 9f10301..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003802_38289.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003805_850348.jpeg b/radiantproduction/Societes/radiant/Photos/0278003805_850348.jpeg deleted file mode 100644 index 453c5ba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003805_850348.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278003901_225812.jpeg b/radiantproduction/Societes/radiant/Photos/0278003901_225812.jpeg deleted file mode 100644 index 5b229fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278003901_225812.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004002_925457.jpeg b/radiantproduction/Societes/radiant/Photos/0278004002_925457.jpeg deleted file mode 100644 index 881c2d3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004002_925457.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004005_437662.jpeg b/radiantproduction/Societes/radiant/Photos/0278004005_437662.jpeg deleted file mode 100644 index 389b0c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004005_437662.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004101_367844.jpeg b/radiantproduction/Societes/radiant/Photos/0278004101_367844.jpeg deleted file mode 100644 index 66f808c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004101_367844.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004404_765058.jpeg b/radiantproduction/Societes/radiant/Photos/0278004404_765058.jpeg deleted file mode 100644 index b87d32d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004404_765058.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004501_702877.jpeg b/radiantproduction/Societes/radiant/Photos/0278004501_702877.jpeg deleted file mode 100644 index 40bad53..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004501_702877.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004702_527832.jpeg b/radiantproduction/Societes/radiant/Photos/0278004702_527832.jpeg deleted file mode 100644 index 66db369..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004702_527832.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004703_678145.jpeg b/radiantproduction/Societes/radiant/Photos/0278004703_678145.jpeg deleted file mode 100644 index f53be89..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004703_678145.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004704_57660.jpeg b/radiantproduction/Societes/radiant/Photos/0278004704_57660.jpeg deleted file mode 100644 index eb97fce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004704_57660.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004704_866690.jpeg b/radiantproduction/Societes/radiant/Photos/0278004704_866690.jpeg deleted file mode 100644 index 2f279ae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004704_866690.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278004705_62083.jpeg b/radiantproduction/Societes/radiant/Photos/0278004705_62083.jpeg deleted file mode 100644 index 8800be4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278004705_62083.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005001_738069.jpeg b/radiantproduction/Societes/radiant/Photos/0278005001_738069.jpeg deleted file mode 100644 index 0fac264..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005001_738069.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005003_295845.jpeg b/radiantproduction/Societes/radiant/Photos/0278005003_295845.jpeg deleted file mode 100644 index 60a0a6b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005003_295845.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005004_852866.jpeg b/radiantproduction/Societes/radiant/Photos/0278005004_852866.jpeg deleted file mode 100644 index 15a87c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005004_852866.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005102_348301.jpeg b/radiantproduction/Societes/radiant/Photos/0278005102_348301.jpeg deleted file mode 100644 index b013fb4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005102_348301.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005301_816723.jpeg b/radiantproduction/Societes/radiant/Photos/0278005301_816723.jpeg deleted file mode 100644 index 4ce03c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005301_816723.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005302_204156.jpeg b/radiantproduction/Societes/radiant/Photos/0278005302_204156.jpeg deleted file mode 100644 index 4056725..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005302_204156.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005401_877584.jpeg b/radiantproduction/Societes/radiant/Photos/0278005401_877584.jpeg deleted file mode 100644 index 44a34ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005401_877584.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005402_777623.jpeg b/radiantproduction/Societes/radiant/Photos/0278005402_777623.jpeg deleted file mode 100644 index ec98852..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005402_777623.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005403_559733.jpeg b/radiantproduction/Societes/radiant/Photos/0278005403_559733.jpeg deleted file mode 100644 index 9867432..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005403_559733.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005404_305827.jpeg b/radiantproduction/Societes/radiant/Photos/0278005404_305827.jpeg deleted file mode 100644 index c981e6d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005404_305827.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005501_323936.jpeg b/radiantproduction/Societes/radiant/Photos/0278005501_323936.jpeg deleted file mode 100644 index e30b88f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005501_323936.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278005901_143178.jpeg b/radiantproduction/Societes/radiant/Photos/0278005901_143178.jpeg deleted file mode 100644 index 01160ce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278005901_143178.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006201_718544.jpeg b/radiantproduction/Societes/radiant/Photos/0278006201_718544.jpeg deleted file mode 100644 index 91a888f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006201_718544.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006301_109799.jpeg b/radiantproduction/Societes/radiant/Photos/0278006301_109799.jpeg deleted file mode 100644 index 052ad24..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006301_109799.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006301_525526.jpeg b/radiantproduction/Societes/radiant/Photos/0278006301_525526.jpeg deleted file mode 100644 index 54eac23..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006301_525526.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006302_511521.jpeg b/radiantproduction/Societes/radiant/Photos/0278006302_511521.jpeg deleted file mode 100644 index 04691e9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006302_511521.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006303_578982.jpeg b/radiantproduction/Societes/radiant/Photos/0278006303_578982.jpeg deleted file mode 100644 index c1774ce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006303_578982.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006304_847827.jpeg b/radiantproduction/Societes/radiant/Photos/0278006304_847827.jpeg deleted file mode 100644 index 355992b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006304_847827.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006402_809421.jpeg b/radiantproduction/Societes/radiant/Photos/0278006402_809421.jpeg deleted file mode 100644 index e12064a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006402_809421.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006403_67653.jpeg b/radiantproduction/Societes/radiant/Photos/0278006403_67653.jpeg deleted file mode 100644 index e8c49c3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006403_67653.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278006805_756310.jpeg b/radiantproduction/Societes/radiant/Photos/0278006805_756310.jpeg deleted file mode 100644 index e64b3e0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278006805_756310.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278007302_14740.jpeg b/radiantproduction/Societes/radiant/Photos/0278007302_14740.jpeg deleted file mode 100644 index a0634c7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278007302_14740.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278007401_173961.jpeg b/radiantproduction/Societes/radiant/Photos/0278007401_173961.jpeg deleted file mode 100644 index 09584fd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278007401_173961.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278008101_898041.jpeg b/radiantproduction/Societes/radiant/Photos/0278008101_898041.jpeg deleted file mode 100644 index aacb3b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278008101_898041.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278008601_586596.jpeg b/radiantproduction/Societes/radiant/Photos/0278008601_586596.jpeg deleted file mode 100644 index b2e3038..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278008601_586596.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278009101_90563.jpeg b/radiantproduction/Societes/radiant/Photos/0278009101_90563.jpeg deleted file mode 100644 index 586ad5b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278009101_90563.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278009404_508198.jpeg b/radiantproduction/Societes/radiant/Photos/0278009404_508198.jpeg deleted file mode 100644 index f32f3a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278009404_508198.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278010305_641858.jpeg b/radiantproduction/Societes/radiant/Photos/0278010305_641858.jpeg deleted file mode 100644 index 708af8f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278010305_641858.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278010505_998485.jpeg b/radiantproduction/Societes/radiant/Photos/0278010505_998485.jpeg deleted file mode 100644 index 04b3b22..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278010505_998485.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011101_513467.jpeg b/radiantproduction/Societes/radiant/Photos/0278011101_513467.jpeg deleted file mode 100644 index edd3b2e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011101_513467.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011103_543689.jpeg b/radiantproduction/Societes/radiant/Photos/0278011103_543689.jpeg deleted file mode 100644 index 7b70d1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011103_543689.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011502_379691.jpeg b/radiantproduction/Societes/radiant/Photos/0278011502_379691.jpeg deleted file mode 100644 index 04df4a1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011502_379691.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011702_211815.jpeg b/radiantproduction/Societes/radiant/Photos/0278011702_211815.jpeg deleted file mode 100644 index 2713db3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011702_211815.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011703_755569.jpeg b/radiantproduction/Societes/radiant/Photos/0278011703_755569.jpeg deleted file mode 100644 index 0e7183e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011703_755569.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011703_956230.jpeg b/radiantproduction/Societes/radiant/Photos/0278011703_956230.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011703_956230.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278011704_645075.jpeg b/radiantproduction/Societes/radiant/Photos/0278011704_645075.jpeg deleted file mode 100644 index 7a56f61..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278011704_645075.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012102_430724.jpeg b/radiantproduction/Societes/radiant/Photos/0278012102_430724.jpeg deleted file mode 100644 index d272e98..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012102_430724.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012602_910514.jpeg b/radiantproduction/Societes/radiant/Photos/0278012602_910514.jpeg deleted file mode 100644 index eee489e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012602_910514.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012603_146372.jpeg b/radiantproduction/Societes/radiant/Photos/0278012603_146372.jpeg deleted file mode 100644 index 3ae4e5e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012603_146372.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012604_336821.jpeg b/radiantproduction/Societes/radiant/Photos/0278012604_336821.jpeg deleted file mode 100644 index 34fcc1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012604_336821.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012605_428501.jpeg b/radiantproduction/Societes/radiant/Photos/0278012605_428501.jpeg deleted file mode 100644 index 15e71dd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012605_428501.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012803_466803.jpeg b/radiantproduction/Societes/radiant/Photos/0278012803_466803.jpeg deleted file mode 100644 index fef6235..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012803_466803.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278012903_805716.jpeg b/radiantproduction/Societes/radiant/Photos/0278012903_805716.jpeg deleted file mode 100644 index acf8427..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278012903_805716.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278013401_328818.jpeg b/radiantproduction/Societes/radiant/Photos/0278013401_328818.jpeg deleted file mode 100644 index e7a3327..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278013401_328818.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278013403_7401.jpeg b/radiantproduction/Societes/radiant/Photos/0278013403_7401.jpeg deleted file mode 100644 index 582a303..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278013403_7401.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278013701_312124.jpeg b/radiantproduction/Societes/radiant/Photos/0278013701_312124.jpeg deleted file mode 100644 index be9b2b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278013701_312124.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278013801_820651.jpeg b/radiantproduction/Societes/radiant/Photos/0278013801_820651.jpeg deleted file mode 100644 index a728590..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278013801_820651.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014002_53201.jpeg b/radiantproduction/Societes/radiant/Photos/0278014002_53201.jpeg deleted file mode 100644 index 3ef40dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014002_53201.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014004_520987.jpeg b/radiantproduction/Societes/radiant/Photos/0278014004_520987.jpeg deleted file mode 100644 index e0ffc53..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014004_520987.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014201_18970.jpeg b/radiantproduction/Societes/radiant/Photos/0278014201_18970.jpeg deleted file mode 100644 index 54cfd5b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014201_18970.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014404_581355.jpeg b/radiantproduction/Societes/radiant/Photos/0278014404_581355.jpeg deleted file mode 100644 index bd4e866..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014404_581355.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014601_901665.jpeg b/radiantproduction/Societes/radiant/Photos/0278014601_901665.jpeg deleted file mode 100644 index 1852752..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014601_901665.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014602_724356.jpeg b/radiantproduction/Societes/radiant/Photos/0278014602_724356.jpeg deleted file mode 100644 index 7e7a799..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014602_724356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014603_338291.jpeg b/radiantproduction/Societes/radiant/Photos/0278014603_338291.jpeg deleted file mode 100644 index 539a219..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014603_338291.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014604_592928.jpeg b/radiantproduction/Societes/radiant/Photos/0278014604_592928.jpeg deleted file mode 100644 index 031eb59..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014604_592928.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014605_938745.jpeg b/radiantproduction/Societes/radiant/Photos/0278014605_938745.jpeg deleted file mode 100644 index 7d05e8a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014605_938745.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014802_543425.jpeg b/radiantproduction/Societes/radiant/Photos/0278014802_543425.jpeg deleted file mode 100644 index de517de..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014802_543425.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014904_942983.jpeg b/radiantproduction/Societes/radiant/Photos/0278014904_942983.jpeg deleted file mode 100644 index a159d7a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014904_942983.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278014905_105045.jpeg b/radiantproduction/Societes/radiant/Photos/0278014905_105045.jpeg deleted file mode 100644 index 8023ed9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278014905_105045.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015502_151833.jpeg b/radiantproduction/Societes/radiant/Photos/0278015502_151833.jpeg deleted file mode 100644 index f441220..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015502_151833.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015503_80954.jpeg b/radiantproduction/Societes/radiant/Photos/0278015503_80954.jpeg deleted file mode 100644 index 32d7acb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015503_80954.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015504_433366.jpeg b/radiantproduction/Societes/radiant/Photos/0278015504_433366.jpeg deleted file mode 100644 index 8c26895..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015504_433366.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015601_59122.jpeg b/radiantproduction/Societes/radiant/Photos/0278015601_59122.jpeg deleted file mode 100644 index e584b10..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015601_59122.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015602_724735.jpeg b/radiantproduction/Societes/radiant/Photos/0278015602_724735.jpeg deleted file mode 100644 index 6f30aba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015602_724735.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015603_204121.jpeg b/radiantproduction/Societes/radiant/Photos/0278015603_204121.jpeg deleted file mode 100644 index 46421ef..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015603_204121.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015603_514029.jpeg b/radiantproduction/Societes/radiant/Photos/0278015603_514029.jpeg deleted file mode 100644 index 46421ef..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015603_514029.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015603_593095.jpeg b/radiantproduction/Societes/radiant/Photos/0278015603_593095.jpeg deleted file mode 100644 index 993955d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015603_593095.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015701_883755.jpeg b/radiantproduction/Societes/radiant/Photos/0278015701_883755.jpeg deleted file mode 100644 index bb91772..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015701_883755.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278015704_232489.jpeg b/radiantproduction/Societes/radiant/Photos/0278015704_232489.jpeg deleted file mode 100644 index 5ce1077..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278015704_232489.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016302_343836.jpeg b/radiantproduction/Societes/radiant/Photos/0278016302_343836.jpeg deleted file mode 100644 index 70e0c3c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016302_343836.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016305_494343.jpeg b/radiantproduction/Societes/radiant/Photos/0278016305_494343.jpeg deleted file mode 100644 index 0774233..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016305_494343.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016501_782742.jpeg b/radiantproduction/Societes/radiant/Photos/0278016501_782742.jpeg deleted file mode 100644 index 48bc164..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016501_782742.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016502_936761.jpeg b/radiantproduction/Societes/radiant/Photos/0278016502_936761.jpeg deleted file mode 100644 index 9d0c1ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016502_936761.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016503_484443.jpeg b/radiantproduction/Societes/radiant/Photos/0278016503_484443.jpeg deleted file mode 100644 index cbe8ee5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016503_484443.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016503_741873.jpeg b/radiantproduction/Societes/radiant/Photos/0278016503_741873.jpeg deleted file mode 100644 index 35aefde..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016503_741873.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016504_192728.jpeg b/radiantproduction/Societes/radiant/Photos/0278016504_192728.jpeg deleted file mode 100644 index 2bf1586..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016504_192728.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016504_375972.jpeg b/radiantproduction/Societes/radiant/Photos/0278016504_375972.jpeg deleted file mode 100644 index ea1ccee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016504_375972.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016505_240769.jpeg b/radiantproduction/Societes/radiant/Photos/0278016505_240769.jpeg deleted file mode 100644 index 820c08d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016505_240769.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278016801_844046.jpeg b/radiantproduction/Societes/radiant/Photos/0278016801_844046.jpeg deleted file mode 100644 index 4cee330..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278016801_844046.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278017302_530028.jpeg b/radiantproduction/Societes/radiant/Photos/0278017302_530028.jpeg deleted file mode 100644 index 36446e0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278017302_530028.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278017502_800658.jpeg b/radiantproduction/Societes/radiant/Photos/0278017502_800658.jpeg deleted file mode 100644 index 34c5877..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278017502_800658.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278017602_327529.jpeg b/radiantproduction/Societes/radiant/Photos/0278017602_327529.jpeg deleted file mode 100644 index 8392332..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278017602_327529.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018101_748566.jpeg b/radiantproduction/Societes/radiant/Photos/0278018101_748566.jpeg deleted file mode 100644 index dfe7943..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018101_748566.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018102_438867.jpeg b/radiantproduction/Societes/radiant/Photos/0278018102_438867.jpeg deleted file mode 100644 index 3990fbf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018102_438867.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018104_56036.jpeg b/radiantproduction/Societes/radiant/Photos/0278018104_56036.jpeg deleted file mode 100644 index 730964c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018104_56036.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018105_185389.jpeg b/radiantproduction/Societes/radiant/Photos/0278018105_185389.jpeg deleted file mode 100644 index 3f32904..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018105_185389.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018503_614329.jpeg b/radiantproduction/Societes/radiant/Photos/0278018503_614329.jpeg deleted file mode 100644 index 0a68a01..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018503_614329.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018601_102721.jpeg b/radiantproduction/Societes/radiant/Photos/0278018601_102721.jpeg deleted file mode 100644 index bd58adb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018601_102721.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278018801_838887.jpeg b/radiantproduction/Societes/radiant/Photos/0278018801_838887.jpeg deleted file mode 100644 index ba479d3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278018801_838887.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019101_666296.jpeg b/radiantproduction/Societes/radiant/Photos/0278019101_666296.jpeg deleted file mode 100644 index 0276826..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019101_666296.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019105_741131.jpeg b/radiantproduction/Societes/radiant/Photos/0278019105_741131.jpeg deleted file mode 100644 index 3f7d66a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019105_741131.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019106_636745.jpeg b/radiantproduction/Societes/radiant/Photos/0278019106_636745.jpeg deleted file mode 100644 index f4ff5c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019106_636745.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019107_886496.jpeg b/radiantproduction/Societes/radiant/Photos/0278019107_886496.jpeg deleted file mode 100644 index 46f5fb3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019107_886496.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019501_998983.jpeg b/radiantproduction/Societes/radiant/Photos/0278019501_998983.jpeg deleted file mode 100644 index 3de8ab7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019501_998983.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019502_677366.jpeg b/radiantproduction/Societes/radiant/Photos/0278019502_677366.jpeg deleted file mode 100644 index 24cdad8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019502_677366.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019503_662860.jpeg b/radiantproduction/Societes/radiant/Photos/0278019503_662860.jpeg deleted file mode 100644 index 3e3167d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019503_662860.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019506_389041.jpeg b/radiantproduction/Societes/radiant/Photos/0278019506_389041.jpeg deleted file mode 100644 index 40f8b26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019506_389041.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019702_92427.jpeg b/radiantproduction/Societes/radiant/Photos/0278019702_92427.jpeg deleted file mode 100644 index 5028d59..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019702_92427.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019901_677571.jpeg b/radiantproduction/Societes/radiant/Photos/0278019901_677571.jpeg deleted file mode 100644 index c5650d3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019901_677571.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019902_70054.jpeg b/radiantproduction/Societes/radiant/Photos/0278019902_70054.jpeg deleted file mode 100644 index 24d17cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019902_70054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278019903_959404.jpeg b/radiantproduction/Societes/radiant/Photos/0278019903_959404.jpeg deleted file mode 100644 index 766eb60..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278019903_959404.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278020602_88904.jpeg b/radiantproduction/Societes/radiant/Photos/0278020602_88904.jpeg deleted file mode 100644 index 6ee1192..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278020602_88904.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278020605_19549.jpeg b/radiantproduction/Societes/radiant/Photos/0278020605_19549.jpeg deleted file mode 100644 index 94f6503..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278020605_19549.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278021102_371517.jpeg b/radiantproduction/Societes/radiant/Photos/0278021102_371517.jpeg deleted file mode 100644 index 70d8815..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278021102_371517.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278021402_848907.jpeg b/radiantproduction/Societes/radiant/Photos/0278021402_848907.jpeg deleted file mode 100644 index ce483b6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278021402_848907.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278021901_766046.jpeg b/radiantproduction/Societes/radiant/Photos/0278021901_766046.jpeg deleted file mode 100644 index 6b238f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278021901_766046.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278022905_63040.jpeg b/radiantproduction/Societes/radiant/Photos/0278022905_63040.jpeg deleted file mode 100644 index 0c5382e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278022905_63040.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023102_727187.jpeg b/radiantproduction/Societes/radiant/Photos/0278023102_727187.jpeg deleted file mode 100644 index 3786929..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023102_727187.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023303_491912.jpeg b/radiantproduction/Societes/radiant/Photos/0278023303_491912.jpeg deleted file mode 100644 index 8f4c0cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023303_491912.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023304_688739.jpeg b/radiantproduction/Societes/radiant/Photos/0278023304_688739.jpeg deleted file mode 100644 index 53aca2e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023304_688739.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023305_553932.jpeg b/radiantproduction/Societes/radiant/Photos/0278023305_553932.jpeg deleted file mode 100644 index 6377d64..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023305_553932.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023401_377565.jpeg b/radiantproduction/Societes/radiant/Photos/0278023401_377565.jpeg deleted file mode 100644 index b412af8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023401_377565.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023404_283027.jpeg b/radiantproduction/Societes/radiant/Photos/0278023404_283027.jpeg deleted file mode 100644 index fb0d26b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023404_283027.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023406_896469.jpeg b/radiantproduction/Societes/radiant/Photos/0278023406_896469.jpeg deleted file mode 100644 index 3cde68b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023406_896469.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023501_454586.jpeg b/radiantproduction/Societes/radiant/Photos/0278023501_454586.jpeg deleted file mode 100644 index e40376c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023501_454586.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023701_836953.jpeg b/radiantproduction/Societes/radiant/Photos/0278023701_836953.jpeg deleted file mode 100644 index 7704ff7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023701_836953.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023704_329292.jpeg b/radiantproduction/Societes/radiant/Photos/0278023704_329292.jpeg deleted file mode 100644 index 994682f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023704_329292.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278023704_50813.jpeg b/radiantproduction/Societes/radiant/Photos/0278023704_50813.jpeg deleted file mode 100644 index 70a1b79..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278023704_50813.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024101_902419.jpeg b/radiantproduction/Societes/radiant/Photos/0278024101_902419.jpeg deleted file mode 100644 index 6f4bd10..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024101_902419.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024103_337588.jpeg b/radiantproduction/Societes/radiant/Photos/0278024103_337588.jpeg deleted file mode 100644 index 571a6f3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024103_337588.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024104_480850.jpeg b/radiantproduction/Societes/radiant/Photos/0278024104_480850.jpeg deleted file mode 100644 index c3bfb7e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024104_480850.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024201_971010.jpeg b/radiantproduction/Societes/radiant/Photos/0278024201_971010.jpeg deleted file mode 100644 index 5d392fb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024201_971010.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024209_320106.jpeg b/radiantproduction/Societes/radiant/Photos/0278024209_320106.jpeg deleted file mode 100644 index 81d0e9b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024209_320106.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024209_651650.jpeg b/radiantproduction/Societes/radiant/Photos/0278024209_651650.jpeg deleted file mode 100644 index 4d0d597..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024209_651650.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024306_610970.jpeg b/radiantproduction/Societes/radiant/Photos/0278024306_610970.jpeg deleted file mode 100644 index ce40539..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024306_610970.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024306_978060.jpeg b/radiantproduction/Societes/radiant/Photos/0278024306_978060.jpeg deleted file mode 100644 index 5df1774..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024306_978060.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024402_857284.jpeg b/radiantproduction/Societes/radiant/Photos/0278024402_857284.jpeg deleted file mode 100644 index 25687e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024402_857284.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024501_604008.jpeg b/radiantproduction/Societes/radiant/Photos/0278024501_604008.jpeg deleted file mode 100644 index bf14c86..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024501_604008.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024503_541911.jpeg b/radiantproduction/Societes/radiant/Photos/0278024503_541911.jpeg deleted file mode 100644 index 5b60279..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024503_541911.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024504_551338.jpeg b/radiantproduction/Societes/radiant/Photos/0278024504_551338.jpeg deleted file mode 100644 index 1dfcd1c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024504_551338.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278024901_626811.jpeg b/radiantproduction/Societes/radiant/Photos/0278024901_626811.jpeg deleted file mode 100644 index 61ea027..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278024901_626811.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278025002_780961.jpeg b/radiantproduction/Societes/radiant/Photos/0278025002_780961.jpeg deleted file mode 100644 index 0fa9a37..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278025002_780961.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027401_732290.jpeg b/radiantproduction/Societes/radiant/Photos/0278027401_732290.jpeg deleted file mode 100644 index d827055..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027401_732290.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027504_978002.jpeg b/radiantproduction/Societes/radiant/Photos/0278027504_978002.jpeg deleted file mode 100644 index c599fb5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027504_978002.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027801_747470.jpeg b/radiantproduction/Societes/radiant/Photos/0278027801_747470.jpeg deleted file mode 100644 index 154df4f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027801_747470.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027803_135652.jpeg b/radiantproduction/Societes/radiant/Photos/0278027803_135652.jpeg deleted file mode 100644 index cfcf90c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027803_135652.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027804_871636.jpeg b/radiantproduction/Societes/radiant/Photos/0278027804_871636.jpeg deleted file mode 100644 index 9221763..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027804_871636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027901_554390.jpeg b/radiantproduction/Societes/radiant/Photos/0278027901_554390.jpeg deleted file mode 100644 index c92eb72..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027901_554390.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278027903_210073.jpeg b/radiantproduction/Societes/radiant/Photos/0278027903_210073.jpeg deleted file mode 100644 index 486853a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278027903_210073.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278029704_951512.jpeg b/radiantproduction/Societes/radiant/Photos/0278029704_951512.jpeg deleted file mode 100644 index 42f3418..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278029704_951512.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278030302_898135.jpeg b/radiantproduction/Societes/radiant/Photos/0278030302_898135.jpeg deleted file mode 100644 index 36266fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278030302_898135.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278031002_845524.jpeg b/radiantproduction/Societes/radiant/Photos/0278031002_845524.jpeg deleted file mode 100644 index d24dc7b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278031002_845524.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278031003_200081.jpeg b/radiantproduction/Societes/radiant/Photos/0278031003_200081.jpeg deleted file mode 100644 index 0cc8f28..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278031003_200081.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278031201_723550.jpeg b/radiantproduction/Societes/radiant/Photos/0278031201_723550.jpeg deleted file mode 100644 index c72e1a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278031201_723550.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278031903_884153.jpeg b/radiantproduction/Societes/radiant/Photos/0278031903_884153.jpeg deleted file mode 100644 index ad535d6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278031903_884153.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278031904_856706.jpeg b/radiantproduction/Societes/radiant/Photos/0278031904_856706.jpeg deleted file mode 100644 index 1f40a63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278031904_856706.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278031905_680102.jpeg b/radiantproduction/Societes/radiant/Photos/0278031905_680102.jpeg deleted file mode 100644 index e3321b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278031905_680102.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278032502_53966.jpeg b/radiantproduction/Societes/radiant/Photos/0278032502_53966.jpeg deleted file mode 100644 index ad70ca1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278032502_53966.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278033602_545028.jpeg b/radiantproduction/Societes/radiant/Photos/0278033602_545028.jpeg deleted file mode 100644 index 42970df..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278033602_545028.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278033603_188556.jpeg b/radiantproduction/Societes/radiant/Photos/0278033603_188556.jpeg deleted file mode 100644 index 0a6270c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278033603_188556.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278033605_107025.jpeg b/radiantproduction/Societes/radiant/Photos/0278033605_107025.jpeg deleted file mode 100644 index e276863..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278033605_107025.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278033606_513214.jpeg b/radiantproduction/Societes/radiant/Photos/0278033606_513214.jpeg deleted file mode 100644 index 0304081..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278033606_513214.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278034601_178171.jpeg b/radiantproduction/Societes/radiant/Photos/0278034601_178171.jpeg deleted file mode 100644 index 2f09c55..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278034601_178171.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278034601_716609.jpeg b/radiantproduction/Societes/radiant/Photos/0278034601_716609.jpeg deleted file mode 100644 index 355499c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278034601_716609.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278034601_868750.jpeg b/radiantproduction/Societes/radiant/Photos/0278034601_868750.jpeg deleted file mode 100644 index 2f09c55..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278034601_868750.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278036501_627264.jpeg b/radiantproduction/Societes/radiant/Photos/0278036501_627264.jpeg deleted file mode 100644 index 4aaf639..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278036501_627264.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278036801_39933.jpeg b/radiantproduction/Societes/radiant/Photos/0278036801_39933.jpeg deleted file mode 100644 index 3c8d809..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278036801_39933.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278036803_647616.jpeg b/radiantproduction/Societes/radiant/Photos/0278036803_647616.jpeg deleted file mode 100644 index 906d8fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278036803_647616.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278036804_166884.jpeg b/radiantproduction/Societes/radiant/Photos/0278036804_166884.jpeg deleted file mode 100644 index 2855bbb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278036804_166884.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278036805_61416.jpeg b/radiantproduction/Societes/radiant/Photos/0278036805_61416.jpeg deleted file mode 100644 index 846440f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278036805_61416.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278036901_270905.jpeg b/radiantproduction/Societes/radiant/Photos/0278036901_270905.jpeg deleted file mode 100644 index a6b2f83..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278036901_270905.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278037001_601794.jpeg b/radiantproduction/Societes/radiant/Photos/0278037001_601794.jpeg deleted file mode 100644 index 7d229d7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278037001_601794.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278037602_459086.jpeg b/radiantproduction/Societes/radiant/Photos/0278037602_459086.jpeg deleted file mode 100644 index 7b25aac..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278037602_459086.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278037604_685827.jpeg b/radiantproduction/Societes/radiant/Photos/0278037604_685827.jpeg deleted file mode 100644 index e1cd5ff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278037604_685827.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278038201_378260.jpeg b/radiantproduction/Societes/radiant/Photos/0278038201_378260.jpeg deleted file mode 100644 index f8dc0c1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278038201_378260.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278038603_818325.jpeg b/radiantproduction/Societes/radiant/Photos/0278038603_818325.jpeg deleted file mode 100644 index 51afefa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278038603_818325.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278038801_155504.jpeg b/radiantproduction/Societes/radiant/Photos/0278038801_155504.jpeg deleted file mode 100644 index da01e93..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278038801_155504.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278038802_662347.jpeg b/radiantproduction/Societes/radiant/Photos/0278038802_662347.jpeg deleted file mode 100644 index 1a516ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278038802_662347.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278039001_261573.jpeg b/radiantproduction/Societes/radiant/Photos/0278039001_261573.jpeg deleted file mode 100644 index 67c6355..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278039001_261573.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278039002_363390.jpeg b/radiantproduction/Societes/radiant/Photos/0278039002_363390.jpeg deleted file mode 100644 index beda9a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278039002_363390.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278039003_728095.jpeg b/radiantproduction/Societes/radiant/Photos/0278039003_728095.jpeg deleted file mode 100644 index a00f50a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278039003_728095.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278039004_395335.jpeg b/radiantproduction/Societes/radiant/Photos/0278039004_395335.jpeg deleted file mode 100644 index c4ea36d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278039004_395335.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278039005_414667.jpeg b/radiantproduction/Societes/radiant/Photos/0278039005_414667.jpeg deleted file mode 100644 index 8df2dbc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278039005_414667.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278040401_587186.jpeg b/radiantproduction/Societes/radiant/Photos/0278040401_587186.jpeg deleted file mode 100644 index 42afcc8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278040401_587186.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278041104_605116.jpeg b/radiantproduction/Societes/radiant/Photos/0278041104_605116.jpeg deleted file mode 100644 index 0319b7a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278041104_605116.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278041203_734630.jpeg b/radiantproduction/Societes/radiant/Photos/0278041203_734630.jpeg deleted file mode 100644 index 38c606f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278041203_734630.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278041301_275949.jpeg b/radiantproduction/Societes/radiant/Photos/0278041301_275949.jpeg deleted file mode 100644 index 7ea66fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278041301_275949.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278041302_468818.jpeg b/radiantproduction/Societes/radiant/Photos/0278041302_468818.jpeg deleted file mode 100644 index 068255c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278041302_468818.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278041801_238848.jpeg b/radiantproduction/Societes/radiant/Photos/0278041801_238848.jpeg deleted file mode 100644 index c61d8b3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278041801_238848.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278041803_276882.jpeg b/radiantproduction/Societes/radiant/Photos/0278041803_276882.jpeg deleted file mode 100644 index fc31e96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278041803_276882.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278042902_275670.jpeg b/radiantproduction/Societes/radiant/Photos/0278042902_275670.jpeg deleted file mode 100644 index 2e3a7f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278042902_275670.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278043101_17181.jpeg b/radiantproduction/Societes/radiant/Photos/0278043101_17181.jpeg deleted file mode 100644 index 95548ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278043101_17181.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044102_562894.jpeg b/radiantproduction/Societes/radiant/Photos/0278044102_562894.jpeg deleted file mode 100644 index 400a2d7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044102_562894.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044203_880324.jpeg b/radiantproduction/Societes/radiant/Photos/0278044203_880324.jpeg deleted file mode 100644 index 3e9ee9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044203_880324.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044502_236344.jpeg b/radiantproduction/Societes/radiant/Photos/0278044502_236344.jpeg deleted file mode 100644 index 4872d32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044502_236344.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044504_380393.jpeg b/radiantproduction/Societes/radiant/Photos/0278044504_380393.jpeg deleted file mode 100644 index a3b8783..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044504_380393.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044901_519571.jpeg b/radiantproduction/Societes/radiant/Photos/0278044901_519571.jpeg deleted file mode 100644 index e86d61c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044901_519571.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044901_553817.jpeg b/radiantproduction/Societes/radiant/Photos/0278044901_553817.jpeg deleted file mode 100644 index 3a16c29..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044901_553817.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278044903_374393.jpeg b/radiantproduction/Societes/radiant/Photos/0278044903_374393.jpeg deleted file mode 100644 index 3f94daf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278044903_374393.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278045901_989275.jpeg b/radiantproduction/Societes/radiant/Photos/0278045901_989275.jpeg deleted file mode 100644 index 45cbc42..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278045901_989275.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046402_472856.jpeg b/radiantproduction/Societes/radiant/Photos/0278046402_472856.jpeg deleted file mode 100644 index 6263474..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046402_472856.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046403_819658.jpeg b/radiantproduction/Societes/radiant/Photos/0278046403_819658.jpeg deleted file mode 100644 index 0a6a0c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046403_819658.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046404_580727.jpeg b/radiantproduction/Societes/radiant/Photos/0278046404_580727.jpeg deleted file mode 100644 index fc5e3a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046404_580727.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046604_348093.jpeg b/radiantproduction/Societes/radiant/Photos/0278046604_348093.jpeg deleted file mode 100644 index 9145474..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046604_348093.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046805_840976.jpeg b/radiantproduction/Societes/radiant/Photos/0278046805_840976.jpeg deleted file mode 100644 index 8314339..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046805_840976.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046903_315676.jpeg b/radiantproduction/Societes/radiant/Photos/0278046903_315676.jpeg deleted file mode 100644 index 6f870be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046903_315676.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278046904_813176.jpeg b/radiantproduction/Societes/radiant/Photos/0278046904_813176.jpeg deleted file mode 100644 index 55c3607..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278046904_813176.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278047704_15821.jpeg b/radiantproduction/Societes/radiant/Photos/0278047704_15821.jpeg deleted file mode 100644 index 0c47d3a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278047704_15821.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278047901_314815.jpeg b/radiantproduction/Societes/radiant/Photos/0278047901_314815.jpeg deleted file mode 100644 index 4e0b3ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278047901_314815.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278047904_927467.jpeg b/radiantproduction/Societes/radiant/Photos/0278047904_927467.jpeg deleted file mode 100644 index d87770f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278047904_927467.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278048601_289389.jpeg b/radiantproduction/Societes/radiant/Photos/0278048601_289389.jpeg deleted file mode 100644 index a9bdfad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278048601_289389.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278048603_787382.jpeg b/radiantproduction/Societes/radiant/Photos/0278048603_787382.jpeg deleted file mode 100644 index c3b2835..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278048603_787382.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049502_752106.jpeg b/radiantproduction/Societes/radiant/Photos/0278049502_752106.jpeg deleted file mode 100644 index d2f06c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049502_752106.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049504_833569.jpeg b/radiantproduction/Societes/radiant/Photos/0278049504_833569.jpeg deleted file mode 100644 index 302ea93..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049504_833569.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049505_83102.jpeg b/radiantproduction/Societes/radiant/Photos/0278049505_83102.jpeg deleted file mode 100644 index 1fd39b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049505_83102.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049601_377432.jpeg b/radiantproduction/Societes/radiant/Photos/0278049601_377432.jpeg deleted file mode 100644 index 22a1c32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049601_377432.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049701_119647.jpeg b/radiantproduction/Societes/radiant/Photos/0278049701_119647.jpeg deleted file mode 100644 index 364160b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049701_119647.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049702_504542.jpeg b/radiantproduction/Societes/radiant/Photos/0278049702_504542.jpeg deleted file mode 100644 index 13c9b8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049702_504542.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049703_103525.jpeg b/radiantproduction/Societes/radiant/Photos/0278049703_103525.jpeg deleted file mode 100644 index f39f3a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049703_103525.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049704_663620.jpeg b/radiantproduction/Societes/radiant/Photos/0278049704_663620.jpeg deleted file mode 100644 index 0748754..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049704_663620.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049901_326185.jpeg b/radiantproduction/Societes/radiant/Photos/0278049901_326185.jpeg deleted file mode 100644 index 6631c85..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049901_326185.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049902_26581.jpeg b/radiantproduction/Societes/radiant/Photos/0278049902_26581.jpeg deleted file mode 100644 index 482ad31..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049902_26581.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278049904_68133.jpeg b/radiantproduction/Societes/radiant/Photos/0278049904_68133.jpeg deleted file mode 100644 index d35aefd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278049904_68133.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278050002_762354.jpeg b/radiantproduction/Societes/radiant/Photos/0278050002_762354.jpeg deleted file mode 100644 index 5e0582a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278050002_762354.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278052001_984725.jpeg b/radiantproduction/Societes/radiant/Photos/0278052001_984725.jpeg deleted file mode 100644 index 3f30da9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278052001_984725.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278052003_983901.jpeg b/radiantproduction/Societes/radiant/Photos/0278052003_983901.jpeg deleted file mode 100644 index c4e01a8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278052003_983901.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278052004_482933.jpeg b/radiantproduction/Societes/radiant/Photos/0278052004_482933.jpeg deleted file mode 100644 index f606911..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278052004_482933.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278052902_554003.jpeg b/radiantproduction/Societes/radiant/Photos/0278052902_554003.jpeg deleted file mode 100644 index b522bde..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278052902_554003.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053004_793610.jpeg b/radiantproduction/Societes/radiant/Photos/0278053004_793610.jpeg deleted file mode 100644 index dddd469..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053004_793610.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053104_719787.jpeg b/radiantproduction/Societes/radiant/Photos/0278053104_719787.jpeg deleted file mode 100644 index ac157eb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053104_719787.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053106_577162.jpeg b/radiantproduction/Societes/radiant/Photos/0278053106_577162.jpeg deleted file mode 100644 index 1654aad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053106_577162.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053201_579046.jpeg b/radiantproduction/Societes/radiant/Photos/0278053201_579046.jpeg deleted file mode 100644 index b7f2bfe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053201_579046.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053301_361229.jpeg b/radiantproduction/Societes/radiant/Photos/0278053301_361229.jpeg deleted file mode 100644 index e73d41e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053301_361229.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053302_161256.jpeg b/radiantproduction/Societes/radiant/Photos/0278053302_161256.jpeg deleted file mode 100644 index 73fcc54..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053302_161256.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053303_902555.jpeg b/radiantproduction/Societes/radiant/Photos/0278053303_902555.jpeg deleted file mode 100644 index f29fd3c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053303_902555.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053401_701998.jpeg b/radiantproduction/Societes/radiant/Photos/0278053401_701998.jpeg deleted file mode 100644 index 43da38e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053401_701998.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053502_441238.jpeg b/radiantproduction/Societes/radiant/Photos/0278053502_441238.jpeg deleted file mode 100644 index 97d5ac4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053502_441238.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278053801_75257.jpeg b/radiantproduction/Societes/radiant/Photos/0278053801_75257.jpeg deleted file mode 100644 index f4667bf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278053801_75257.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278054301_227114.jpeg b/radiantproduction/Societes/radiant/Photos/0278054301_227114.jpeg deleted file mode 100644 index 302866a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278054301_227114.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278054501_261943.jpeg b/radiantproduction/Societes/radiant/Photos/0278054501_261943.jpeg deleted file mode 100644 index 7a482ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278054501_261943.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278054501_50699.jpeg b/radiantproduction/Societes/radiant/Photos/0278054501_50699.jpeg deleted file mode 100644 index 7a482ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278054501_50699.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278054501_797468.jpeg b/radiantproduction/Societes/radiant/Photos/0278054501_797468.jpeg deleted file mode 100644 index 7a482ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278054501_797468.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278054904_279489.jpeg b/radiantproduction/Societes/radiant/Photos/0278054904_279489.jpeg deleted file mode 100644 index a4a6f6b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278054904_279489.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278055003_4318.jpeg b/radiantproduction/Societes/radiant/Photos/0278055003_4318.jpeg deleted file mode 100644 index b1c00a1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278055003_4318.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278055004_1140.jpeg b/radiantproduction/Societes/radiant/Photos/0278055004_1140.jpeg deleted file mode 100644 index 5fb8ca4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278055004_1140.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278055201_108363.jpeg b/radiantproduction/Societes/radiant/Photos/0278055201_108363.jpeg deleted file mode 100644 index 32544b0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278055201_108363.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278055203_466498.jpeg b/radiantproduction/Societes/radiant/Photos/0278055203_466498.jpeg deleted file mode 100644 index 2f73e57..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278055203_466498.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278055901_623685.jpeg b/radiantproduction/Societes/radiant/Photos/0278055901_623685.jpeg deleted file mode 100644 index 7c1b827..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278055901_623685.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278056001_473212.jpeg b/radiantproduction/Societes/radiant/Photos/0278056001_473212.jpeg deleted file mode 100644 index a870717..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278056001_473212.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278056202_200023.jpeg b/radiantproduction/Societes/radiant/Photos/0278056202_200023.jpeg deleted file mode 100644 index bd68410..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278056202_200023.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278056203_287863.jpeg b/radiantproduction/Societes/radiant/Photos/0278056203_287863.jpeg deleted file mode 100644 index b795231..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278056203_287863.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0278057004_772179.jpeg b/radiantproduction/Societes/radiant/Photos/0278057004_772179.jpeg deleted file mode 100644 index 29a125f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0278057004_772179.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279001201_732488.jpeg b/radiantproduction/Societes/radiant/Photos/0279001201_732488.jpeg deleted file mode 100644 index 479142e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279001201_732488.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279001202_471866.jpeg b/radiantproduction/Societes/radiant/Photos/0279001202_471866.jpeg deleted file mode 100644 index 3defc29..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279001202_471866.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279001203_526933.jpeg b/radiantproduction/Societes/radiant/Photos/0279001203_526933.jpeg deleted file mode 100644 index 4c5b651..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279001203_526933.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279001204_407324.jpeg b/radiantproduction/Societes/radiant/Photos/0279001204_407324.jpeg deleted file mode 100644 index df7d675..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279001204_407324.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279001901_939802.jpeg b/radiantproduction/Societes/radiant/Photos/0279001901_939802.jpeg deleted file mode 100644 index 441fb7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279001901_939802.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279002103_352489.jpeg b/radiantproduction/Societes/radiant/Photos/0279002103_352489.jpeg deleted file mode 100644 index 25bee9b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279002103_352489.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279002103_478554.jpeg b/radiantproduction/Societes/radiant/Photos/0279002103_478554.jpeg deleted file mode 100644 index 207df95..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279002103_478554.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279002203_191359.jpeg b/radiantproduction/Societes/radiant/Photos/0279002203_191359.jpeg deleted file mode 100644 index 364b1cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279002203_191359.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279002204_513256.jpeg b/radiantproduction/Societes/radiant/Photos/0279002204_513256.jpeg deleted file mode 100644 index 517f889..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279002204_513256.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279002305_600870.jpeg b/radiantproduction/Societes/radiant/Photos/0279002305_600870.jpeg deleted file mode 100644 index 7b97a55..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279002305_600870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279003002_282687.jpeg b/radiantproduction/Societes/radiant/Photos/0279003002_282687.jpeg deleted file mode 100644 index e9ec4e4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279003002_282687.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0279003301_723956.jpeg b/radiantproduction/Societes/radiant/Photos/0279003301_723956.jpeg deleted file mode 100644 index 08b6878..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0279003301_723956.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0288004502_109916.jpeg b/radiantproduction/Societes/radiant/Photos/0288004502_109916.jpeg deleted file mode 100644 index 8f357f0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0288004502_109916.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0289000901_350492.jpeg b/radiantproduction/Societes/radiant/Photos/0289000901_350492.jpeg deleted file mode 100644 index 83a3c36..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0289000901_350492.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0289001303_308064.jpeg b/radiantproduction/Societes/radiant/Photos/0289001303_308064.jpeg deleted file mode 100644 index f48604b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0289001303_308064.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0289002001_7574.jpeg b/radiantproduction/Societes/radiant/Photos/0289002001_7574.jpeg deleted file mode 100644 index 34cf43e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0289002001_7574.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0289002002_681420.jpeg b/radiantproduction/Societes/radiant/Photos/0289002002_681420.jpeg deleted file mode 100644 index f67de6c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0289002002_681420.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0312000102_100099.jpeg b/radiantproduction/Societes/radiant/Photos/0312000102_100099.jpeg deleted file mode 100644 index d6dc579..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0312000102_100099.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0312000203_603598.jpeg b/radiantproduction/Societes/radiant/Photos/0312000203_603598.jpeg deleted file mode 100644 index 9db38ba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0312000203_603598.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0312000208_962304.jpeg b/radiantproduction/Societes/radiant/Photos/0312000208_962304.jpeg deleted file mode 100644 index acdcdc9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0312000208_962304.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0312000602_324529.jpeg b/radiantproduction/Societes/radiant/Photos/0312000602_324529.jpeg deleted file mode 100644 index 738580f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0312000602_324529.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314002001_908187.jpeg b/radiantproduction/Societes/radiant/Photos/0314002001_908187.jpeg deleted file mode 100644 index 7b08d74..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314002001_908187.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314002002_585440.jpeg b/radiantproduction/Societes/radiant/Photos/0314002002_585440.jpeg deleted file mode 100644 index 29ad1e5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314002002_585440.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314002003_352212.jpeg b/radiantproduction/Societes/radiant/Photos/0314002003_352212.jpeg deleted file mode 100644 index 4a675d9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314002003_352212.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314002004_220103.jpeg b/radiantproduction/Societes/radiant/Photos/0314002004_220103.jpeg deleted file mode 100644 index 16c53a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314002004_220103.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314002203_290810.jpeg b/radiantproduction/Societes/radiant/Photos/0314002203_290810.jpeg deleted file mode 100644 index 682cf36..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314002203_290810.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003501_813444.jpeg b/radiantproduction/Societes/radiant/Photos/0314003501_813444.jpeg deleted file mode 100644 index c4e0b1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003501_813444.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003502_113915.jpeg b/radiantproduction/Societes/radiant/Photos/0314003502_113915.jpeg deleted file mode 100644 index 241adc2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003502_113915.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003503_847629.jpeg b/radiantproduction/Societes/radiant/Photos/0314003503_847629.jpeg deleted file mode 100644 index 85b2bd5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003503_847629.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003504_363765.jpeg b/radiantproduction/Societes/radiant/Photos/0314003504_363765.jpeg deleted file mode 100644 index b8402a5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003504_363765.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003505_116686.jpeg b/radiantproduction/Societes/radiant/Photos/0314003505_116686.jpeg deleted file mode 100644 index 0bc152a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003505_116686.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003506_324455.jpeg b/radiantproduction/Societes/radiant/Photos/0314003506_324455.jpeg deleted file mode 100644 index 59bb418..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003506_324455.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003604_28316.jpeg b/radiantproduction/Societes/radiant/Photos/0314003604_28316.jpeg deleted file mode 100644 index 44080db..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003604_28316.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003701_711335.jpeg b/radiantproduction/Societes/radiant/Photos/0314003701_711335.jpeg deleted file mode 100644 index 0f79b72..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003701_711335.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003702_157490.jpeg b/radiantproduction/Societes/radiant/Photos/0314003702_157490.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003702_157490.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314003702_563444.jpeg b/radiantproduction/Societes/radiant/Photos/0314003702_563444.jpeg deleted file mode 100644 index 5897b72..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314003702_563444.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314004001_504474.jpeg b/radiantproduction/Societes/radiant/Photos/0314004001_504474.jpeg deleted file mode 100644 index 4a1f00a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314004001_504474.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314005302_531511.jpeg b/radiantproduction/Societes/radiant/Photos/0314005302_531511.jpeg deleted file mode 100644 index 137d26e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314005302_531511.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314005802_848198.jpeg b/radiantproduction/Societes/radiant/Photos/0314005802_848198.jpeg deleted file mode 100644 index b7fb2a1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314005802_848198.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314005803_787444.jpeg b/radiantproduction/Societes/radiant/Photos/0314005803_787444.jpeg deleted file mode 100644 index dfa7811..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314005803_787444.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314005804_530260.jpeg b/radiantproduction/Societes/radiant/Photos/0314005804_530260.jpeg deleted file mode 100644 index 2dd38f7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314005804_530260.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314005905_965395.jpeg b/radiantproduction/Societes/radiant/Photos/0314005905_965395.jpeg deleted file mode 100644 index 2fdca61..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314005905_965395.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314006501_202790.jpeg b/radiantproduction/Societes/radiant/Photos/0314006501_202790.jpeg deleted file mode 100644 index f61d8cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314006501_202790.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314007201_980066.jpeg b/radiantproduction/Societes/radiant/Photos/0314007201_980066.jpeg deleted file mode 100644 index 7b222d8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314007201_980066.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314007403_351663.jpeg b/radiantproduction/Societes/radiant/Photos/0314007403_351663.jpeg deleted file mode 100644 index e080afb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314007403_351663.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314008003_998099.jpeg b/radiantproduction/Societes/radiant/Photos/0314008003_998099.jpeg deleted file mode 100644 index af40726..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314008003_998099.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314008004_788618.jpeg b/radiantproduction/Societes/radiant/Photos/0314008004_788618.jpeg deleted file mode 100644 index 2deacbd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314008004_788618.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314008005_275826.jpeg b/radiantproduction/Societes/radiant/Photos/0314008005_275826.jpeg deleted file mode 100644 index a4cb462..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314008005_275826.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314009605_32960.jpeg b/radiantproduction/Societes/radiant/Photos/0314009605_32960.jpeg deleted file mode 100644 index 73a86b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314009605_32960.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314009902_171480.jpeg b/radiantproduction/Societes/radiant/Photos/0314009902_171480.jpeg deleted file mode 100644 index c0c026a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314009902_171480.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314010603_108878.jpeg b/radiantproduction/Societes/radiant/Photos/0314010603_108878.jpeg deleted file mode 100644 index 07ce197..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314010603_108878.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314010901_181424.jpeg b/radiantproduction/Societes/radiant/Photos/0314010901_181424.jpeg deleted file mode 100644 index 5af7f63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314010901_181424.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314013701_796162.jpeg b/radiantproduction/Societes/radiant/Photos/0314013701_796162.jpeg deleted file mode 100644 index dda87d7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314013701_796162.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314013801_53452.jpeg b/radiantproduction/Societes/radiant/Photos/0314013801_53452.jpeg deleted file mode 100644 index f7e6bbc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314013801_53452.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314014501_517226.jpeg b/radiantproduction/Societes/radiant/Photos/0314014501_517226.jpeg deleted file mode 100644 index 89860bd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314014501_517226.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314016502_958883.jpeg b/radiantproduction/Societes/radiant/Photos/0314016502_958883.jpeg deleted file mode 100644 index 43492e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314016502_958883.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314016701_324356.jpeg b/radiantproduction/Societes/radiant/Photos/0314016701_324356.jpeg deleted file mode 100644 index 390ec43..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314016701_324356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314016901_392707.jpeg b/radiantproduction/Societes/radiant/Photos/0314016901_392707.jpeg deleted file mode 100644 index f31da6e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314016901_392707.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314017101_611770.jpeg b/radiantproduction/Societes/radiant/Photos/0314017101_611770.jpeg deleted file mode 100644 index e771ad9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314017101_611770.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314017701_369638.jpeg b/radiantproduction/Societes/radiant/Photos/0314017701_369638.jpeg deleted file mode 100644 index b44dd94..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314017701_369638.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314019701_776137.jpeg b/radiantproduction/Societes/radiant/Photos/0314019701_776137.jpeg deleted file mode 100644 index a5e4be8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314019701_776137.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314020102_195241.jpeg b/radiantproduction/Societes/radiant/Photos/0314020102_195241.jpeg deleted file mode 100644 index d7111ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314020102_195241.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314020401_322458.jpeg b/radiantproduction/Societes/radiant/Photos/0314020401_322458.jpeg deleted file mode 100644 index 9b686ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314020401_322458.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314020902_421922.jpeg b/radiantproduction/Societes/radiant/Photos/0314020902_421922.jpeg deleted file mode 100644 index 3c8b359..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314020902_421922.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314021203_994977.jpeg b/radiantproduction/Societes/radiant/Photos/0314021203_994977.jpeg deleted file mode 100644 index 9b153ee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314021203_994977.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314021205_96537.jpeg b/radiantproduction/Societes/radiant/Photos/0314021205_96537.jpeg deleted file mode 100644 index bc77d17..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314021205_96537.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314021206_644952.jpeg b/radiantproduction/Societes/radiant/Photos/0314021206_644952.jpeg deleted file mode 100644 index 81b0935..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314021206_644952.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314023801_779716.jpeg b/radiantproduction/Societes/radiant/Photos/0314023801_779716.jpeg deleted file mode 100644 index 8f62c26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314023801_779716.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314023802_781853.jpeg b/radiantproduction/Societes/radiant/Photos/0314023802_781853.jpeg deleted file mode 100644 index 73b9398..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314023802_781853.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314023803_990469.jpeg b/radiantproduction/Societes/radiant/Photos/0314023803_990469.jpeg deleted file mode 100644 index f3f2a7e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314023803_990469.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0314023901_622792.jpeg b/radiantproduction/Societes/radiant/Photos/0314023901_622792.jpeg deleted file mode 100644 index a184f88..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0314023901_622792.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001001_211093.jpeg b/radiantproduction/Societes/radiant/Photos/0315001001_211093.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001001_211093.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001002_348114.jpeg b/radiantproduction/Societes/radiant/Photos/0315001002_348114.jpeg deleted file mode 100644 index 24580be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001002_348114.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001004_552552.jpeg b/radiantproduction/Societes/radiant/Photos/0315001004_552552.jpeg deleted file mode 100644 index 66ad03f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001004_552552.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001005_270799.jpeg b/radiantproduction/Societes/radiant/Photos/0315001005_270799.jpeg deleted file mode 100644 index fc3ea9b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001005_270799.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001006_722552.jpeg b/radiantproduction/Societes/radiant/Photos/0315001006_722552.jpeg deleted file mode 100644 index 484bec9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001006_722552.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001007_399533.jpeg b/radiantproduction/Societes/radiant/Photos/0315001007_399533.jpeg deleted file mode 100644 index 1004eea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001007_399533.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001701_238399.jpeg b/radiantproduction/Societes/radiant/Photos/0315001701_238399.jpeg deleted file mode 100644 index 30e5d82..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001701_238399.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001705_331421.jpeg b/radiantproduction/Societes/radiant/Photos/0315001705_331421.jpeg deleted file mode 100644 index b78a1e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001705_331421.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001706_283963.jpeg b/radiantproduction/Societes/radiant/Photos/0315001706_283963.jpeg deleted file mode 100644 index f9f2da6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001706_283963.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315001707_178938.jpeg b/radiantproduction/Societes/radiant/Photos/0315001707_178938.jpeg deleted file mode 100644 index f238d1b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315001707_178938.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315002002_108152.jpeg b/radiantproduction/Societes/radiant/Photos/0315002002_108152.jpeg deleted file mode 100644 index 7fc5ce1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315002002_108152.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315002004_857763.jpeg b/radiantproduction/Societes/radiant/Photos/0315002004_857763.jpeg deleted file mode 100644 index e36eccd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315002004_857763.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315002005_868745.jpeg b/radiantproduction/Societes/radiant/Photos/0315002005_868745.jpeg deleted file mode 100644 index 00f8a22..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315002005_868745.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315002403_301462.jpeg b/radiantproduction/Societes/radiant/Photos/0315002403_301462.jpeg deleted file mode 100644 index 2037d6b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315002403_301462.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315002404_675901.jpeg b/radiantproduction/Societes/radiant/Photos/0315002404_675901.jpeg deleted file mode 100644 index 80750ed..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315002404_675901.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315003101_78544.jpeg b/radiantproduction/Societes/radiant/Photos/0315003101_78544.jpeg deleted file mode 100644 index 0840490..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315003101_78544.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315004501_729967.jpeg b/radiantproduction/Societes/radiant/Photos/0315004501_729967.jpeg deleted file mode 100644 index a93d13d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315004501_729967.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315004505_227875.jpeg b/radiantproduction/Societes/radiant/Photos/0315004505_227875.jpeg deleted file mode 100644 index b2b802a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315004505_227875.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315004601_440015.jpeg b/radiantproduction/Societes/radiant/Photos/0315004601_440015.jpeg deleted file mode 100644 index e794355..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315004601_440015.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315004603_888182.jpeg b/radiantproduction/Societes/radiant/Photos/0315004603_888182.jpeg deleted file mode 100644 index 4ffdf96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315004603_888182.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315004605_112099.jpeg b/radiantproduction/Societes/radiant/Photos/0315004605_112099.jpeg deleted file mode 100644 index d92ad9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315004605_112099.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315005003_869149.jpeg b/radiantproduction/Societes/radiant/Photos/0315005003_869149.jpeg deleted file mode 100644 index 8002098..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315005003_869149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0315005503_849274.jpeg b/radiantproduction/Societes/radiant/Photos/0315005503_849274.jpeg deleted file mode 100644 index 3ebbd4a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0315005503_849274.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322000301_299542.jpeg b/radiantproduction/Societes/radiant/Photos/0322000301_299542.jpeg deleted file mode 100644 index 52df58e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322000301_299542.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322000302_390396.jpeg b/radiantproduction/Societes/radiant/Photos/0322000302_390396.jpeg deleted file mode 100644 index ae6fdf0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322000302_390396.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322000902_101523.jpeg b/radiantproduction/Societes/radiant/Photos/0322000902_101523.jpeg deleted file mode 100644 index cd01c7b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322000902_101523.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322000903_128519.jpeg b/radiantproduction/Societes/radiant/Photos/0322000903_128519.jpeg deleted file mode 100644 index 546c86e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322000903_128519.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322001401_131508.jpeg b/radiantproduction/Societes/radiant/Photos/0322001401_131508.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322001401_131508.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322001402_838743.jpeg b/radiantproduction/Societes/radiant/Photos/0322001402_838743.jpeg deleted file mode 100644 index fff10c9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322001402_838743.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322002401_304554.jpeg b/radiantproduction/Societes/radiant/Photos/0322002401_304554.jpeg deleted file mode 100644 index 75555d0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322002401_304554.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322002401_83016.jpeg b/radiantproduction/Societes/radiant/Photos/0322002401_83016.jpeg deleted file mode 100644 index b01638a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322002401_83016.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322002501_802238.jpeg b/radiantproduction/Societes/radiant/Photos/0322002501_802238.jpeg deleted file mode 100644 index 30e7377..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322002501_802238.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322002901_244327.jpeg b/radiantproduction/Societes/radiant/Photos/0322002901_244327.jpeg deleted file mode 100644 index 95424f0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322002901_244327.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322003301_162461.jpeg b/radiantproduction/Societes/radiant/Photos/0322003301_162461.jpeg deleted file mode 100644 index ade6b77..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322003301_162461.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322003305_56562.jpeg b/radiantproduction/Societes/radiant/Photos/0322003305_56562.jpeg deleted file mode 100644 index 4afd74c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322003305_56562.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322003402_744640.jpeg b/radiantproduction/Societes/radiant/Photos/0322003402_744640.jpeg deleted file mode 100644 index 6654eab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322003402_744640.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322003404_513641.jpeg b/radiantproduction/Societes/radiant/Photos/0322003404_513641.jpeg deleted file mode 100644 index a7befa2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322003404_513641.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322003405_429161.jpeg b/radiantproduction/Societes/radiant/Photos/0322003405_429161.jpeg deleted file mode 100644 index 14615fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322003405_429161.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322003704_898589.jpeg b/radiantproduction/Societes/radiant/Photos/0322003704_898589.jpeg deleted file mode 100644 index 7ceba5e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322003704_898589.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322004101_922252.jpeg b/radiantproduction/Societes/radiant/Photos/0322004101_922252.jpeg deleted file mode 100644 index 814acfb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322004101_922252.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322004102_470322.jpeg b/radiantproduction/Societes/radiant/Photos/0322004102_470322.jpeg deleted file mode 100644 index c1ee245..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322004102_470322.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322004304_404334.jpeg b/radiantproduction/Societes/radiant/Photos/0322004304_404334.jpeg deleted file mode 100644 index 4f9d1e5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322004304_404334.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322004401_529979.jpeg b/radiantproduction/Societes/radiant/Photos/0322004401_529979.jpeg deleted file mode 100644 index ea914e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322004401_529979.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322006203_112156.jpeg b/radiantproduction/Societes/radiant/Photos/0322006203_112156.jpeg deleted file mode 100644 index 38d8262..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322006203_112156.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322006905_926372.jpeg b/radiantproduction/Societes/radiant/Photos/0322006905_926372.jpeg deleted file mode 100644 index cb6ce9f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322006905_926372.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007101_294786.jpeg b/radiantproduction/Societes/radiant/Photos/0322007101_294786.jpeg deleted file mode 100644 index f554abb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007101_294786.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007201_486089.jpeg b/radiantproduction/Societes/radiant/Photos/0322007201_486089.jpeg deleted file mode 100644 index d9c1865..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007201_486089.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007303_349343.jpeg b/radiantproduction/Societes/radiant/Photos/0322007303_349343.jpeg deleted file mode 100644 index 2668870..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007303_349343.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007305_895202.jpeg b/radiantproduction/Societes/radiant/Photos/0322007305_895202.jpeg deleted file mode 100644 index 30bacfd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007305_895202.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007602_81488.jpeg b/radiantproduction/Societes/radiant/Photos/0322007602_81488.jpeg deleted file mode 100644 index 9331a15..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007602_81488.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007804_72826.jpeg b/radiantproduction/Societes/radiant/Photos/0322007804_72826.jpeg deleted file mode 100644 index f72681e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007804_72826.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007902_683968.jpeg b/radiantproduction/Societes/radiant/Photos/0322007902_683968.jpeg deleted file mode 100644 index ac7872e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007902_683968.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007902_929636.jpeg b/radiantproduction/Societes/radiant/Photos/0322007902_929636.jpeg deleted file mode 100644 index 08decc3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007902_929636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322007904_703564.jpeg b/radiantproduction/Societes/radiant/Photos/0322007904_703564.jpeg deleted file mode 100644 index 38f10cd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322007904_703564.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322008201_56449.jpeg b/radiantproduction/Societes/radiant/Photos/0322008201_56449.jpeg deleted file mode 100644 index 1b43a5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322008201_56449.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322008202_894304.jpeg b/radiantproduction/Societes/radiant/Photos/0322008202_894304.jpeg deleted file mode 100644 index 47b3bf9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322008202_894304.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322008205_935452.jpeg b/radiantproduction/Societes/radiant/Photos/0322008205_935452.jpeg deleted file mode 100644 index eef442d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322008205_935452.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009101_781329.jpeg b/radiantproduction/Societes/radiant/Photos/0322009101_781329.jpeg deleted file mode 100644 index 6d0eda6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009101_781329.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009301_350557.jpeg b/radiantproduction/Societes/radiant/Photos/0322009301_350557.jpeg deleted file mode 100644 index dba6195..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009301_350557.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009303_67544.jpeg b/radiantproduction/Societes/radiant/Photos/0322009303_67544.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009303_67544.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009303_762753.jpeg b/radiantproduction/Societes/radiant/Photos/0322009303_762753.jpeg deleted file mode 100644 index e018fbc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009303_762753.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009304_192512.jpeg b/radiantproduction/Societes/radiant/Photos/0322009304_192512.jpeg deleted file mode 100644 index e30f834..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009304_192512.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009401_435091.jpeg b/radiantproduction/Societes/radiant/Photos/0322009401_435091.jpeg deleted file mode 100644 index 918d889..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009401_435091.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009402_530329.jpeg b/radiantproduction/Societes/radiant/Photos/0322009402_530329.jpeg deleted file mode 100644 index 05b68ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009402_530329.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009403_937339.jpeg b/radiantproduction/Societes/radiant/Photos/0322009403_937339.jpeg deleted file mode 100644 index 502aed6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009403_937339.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009406_906420.jpeg b/radiantproduction/Societes/radiant/Photos/0322009406_906420.jpeg deleted file mode 100644 index a83d862..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009406_906420.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322009901_120525.jpeg b/radiantproduction/Societes/radiant/Photos/0322009901_120525.jpeg deleted file mode 100644 index cfbdeb6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322009901_120525.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322010101_739673.jpeg b/radiantproduction/Societes/radiant/Photos/0322010101_739673.jpeg deleted file mode 100644 index 8da257a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322010101_739673.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322010104_177472.jpeg b/radiantproduction/Societes/radiant/Photos/0322010104_177472.jpeg deleted file mode 100644 index 55f299b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322010104_177472.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322010106_214775.jpeg b/radiantproduction/Societes/radiant/Photos/0322010106_214775.jpeg deleted file mode 100644 index 7c59bf7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322010106_214775.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0322010704_853104.jpeg b/radiantproduction/Societes/radiant/Photos/0322010704_853104.jpeg deleted file mode 100644 index 2c3b59b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0322010704_853104.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323000401_257429.jpeg b/radiantproduction/Societes/radiant/Photos/0323000401_257429.jpeg deleted file mode 100644 index 9927043..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323000401_257429.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323000601_767799.jpeg b/radiantproduction/Societes/radiant/Photos/0323000601_767799.jpeg deleted file mode 100644 index 9181754..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323000601_767799.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323000605_787771.jpeg b/radiantproduction/Societes/radiant/Photos/0323000605_787771.jpeg deleted file mode 100644 index 441c548..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323000605_787771.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323000802_267013.jpeg b/radiantproduction/Societes/radiant/Photos/0323000802_267013.jpeg deleted file mode 100644 index ac53fcc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323000802_267013.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323001202_577435.jpeg b/radiantproduction/Societes/radiant/Photos/0323001202_577435.jpeg deleted file mode 100644 index 644293d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323001202_577435.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323001302_380674.jpeg b/radiantproduction/Societes/radiant/Photos/0323001302_380674.jpeg deleted file mode 100644 index bdc09e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323001302_380674.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323001305_120574.jpeg b/radiantproduction/Societes/radiant/Photos/0323001305_120574.jpeg deleted file mode 100644 index 1653b7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323001305_120574.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323002501_392157.jpeg b/radiantproduction/Societes/radiant/Photos/0323002501_392157.jpeg deleted file mode 100644 index b89023b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323002501_392157.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323002502_146376.jpeg b/radiantproduction/Societes/radiant/Photos/0323002502_146376.jpeg deleted file mode 100644 index 279e42c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323002502_146376.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323002902_583013.jpeg b/radiantproduction/Societes/radiant/Photos/0323002902_583013.jpeg deleted file mode 100644 index c9a26c3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323002902_583013.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323002904_182091.jpeg b/radiantproduction/Societes/radiant/Photos/0323002904_182091.jpeg deleted file mode 100644 index f601954..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323002904_182091.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323003101_844149.jpeg b/radiantproduction/Societes/radiant/Photos/0323003101_844149.jpeg deleted file mode 100644 index f63a749..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323003101_844149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323003102_256855.jpeg b/radiantproduction/Societes/radiant/Photos/0323003102_256855.jpeg deleted file mode 100644 index 3ea2a81..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323003102_256855.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323003301_617113.jpeg b/radiantproduction/Societes/radiant/Photos/0323003301_617113.jpeg deleted file mode 100644 index 47bc11b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323003301_617113.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323003302_667591.jpeg b/radiantproduction/Societes/radiant/Photos/0323003302_667591.jpeg deleted file mode 100644 index 9146966..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323003302_667591.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323003303_958527.jpeg b/radiantproduction/Societes/radiant/Photos/0323003303_958527.jpeg deleted file mode 100644 index 3b8a1f3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323003303_958527.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0323003305_932818.jpeg b/radiantproduction/Societes/radiant/Photos/0323003305_932818.jpeg deleted file mode 100644 index 829b653..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0323003305_932818.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0324000201_494416.jpeg b/radiantproduction/Societes/radiant/Photos/0324000201_494416.jpeg deleted file mode 100644 index 01f7f68..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0324000201_494416.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0324000202_346604.jpeg b/radiantproduction/Societes/radiant/Photos/0324000202_346604.jpeg deleted file mode 100644 index 692ea91..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0324000202_346604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335007001_496198.jpeg b/radiantproduction/Societes/radiant/Photos/0335007001_496198.jpeg deleted file mode 100644 index 364f2b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335007001_496198.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335007001_561523.jpeg b/radiantproduction/Societes/radiant/Photos/0335007001_561523.jpeg deleted file mode 100644 index e5d4759..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335007001_561523.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335017801_766948.jpeg b/radiantproduction/Societes/radiant/Photos/0335017801_766948.jpeg deleted file mode 100644 index dc7d14c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335017801_766948.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335017801_80978.jpeg b/radiantproduction/Societes/radiant/Photos/0335017801_80978.jpeg deleted file mode 100644 index f432f1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335017801_80978.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335024302_413903.jpeg b/radiantproduction/Societes/radiant/Photos/0335024302_413903.jpeg deleted file mode 100644 index c4bf516..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335024302_413903.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335032804_739237.jpeg b/radiantproduction/Societes/radiant/Photos/0335032804_739237.jpeg deleted file mode 100644 index 86856cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335032804_739237.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335032806_108733.jpeg b/radiantproduction/Societes/radiant/Photos/0335032806_108733.jpeg deleted file mode 100644 index 2290f59..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335032806_108733.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335033501_868864.jpeg b/radiantproduction/Societes/radiant/Photos/0335033501_868864.jpeg deleted file mode 100644 index 22ed8e1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335033501_868864.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335033502_146577.jpeg b/radiantproduction/Societes/radiant/Photos/0335033502_146577.jpeg deleted file mode 100644 index f98e43a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335033502_146577.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0335033503_280714.jpeg b/radiantproduction/Societes/radiant/Photos/0335033503_280714.jpeg deleted file mode 100644 index 3ffdd5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0335033503_280714.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0339000306_409974.jpeg b/radiantproduction/Societes/radiant/Photos/0339000306_409974.jpeg deleted file mode 100644 index 370f8c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0339000306_409974.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0339001101_277789.jpeg b/radiantproduction/Societes/radiant/Photos/0339001101_277789.jpeg deleted file mode 100644 index e4befb5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0339001101_277789.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0339002301_900431.jpeg b/radiantproduction/Societes/radiant/Photos/0339002301_900431.jpeg deleted file mode 100644 index 9929094..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0339002301_900431.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347000502_712164.jpeg b/radiantproduction/Societes/radiant/Photos/0347000502_712164.jpeg deleted file mode 100644 index bc0d098..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347000502_712164.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347000506_800142.jpeg b/radiantproduction/Societes/radiant/Photos/0347000506_800142.jpeg deleted file mode 100644 index 3a87210..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347000506_800142.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347000601_664024.jpeg b/radiantproduction/Societes/radiant/Photos/0347000601_664024.jpeg deleted file mode 100644 index 33ece0b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347000601_664024.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347000903_78361.jpeg b/radiantproduction/Societes/radiant/Photos/0347000903_78361.jpeg deleted file mode 100644 index 186fde8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347000903_78361.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347000904_60447.jpeg b/radiantproduction/Societes/radiant/Photos/0347000904_60447.jpeg deleted file mode 100644 index 00730ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347000904_60447.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347001001_538448.jpeg b/radiantproduction/Societes/radiant/Photos/0347001001_538448.jpeg deleted file mode 100644 index 2e39adc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347001001_538448.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347001003_973922.jpeg b/radiantproduction/Societes/radiant/Photos/0347001003_973922.jpeg deleted file mode 100644 index 29365c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347001003_973922.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347001306_816269.jpeg b/radiantproduction/Societes/radiant/Photos/0347001306_816269.jpeg deleted file mode 100644 index 5204a20..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347001306_816269.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347001401_805140.jpeg b/radiantproduction/Societes/radiant/Photos/0347001401_805140.jpeg deleted file mode 100644 index 3fbd373..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347001401_805140.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347001502_826713.jpeg b/radiantproduction/Societes/radiant/Photos/0347001502_826713.jpeg deleted file mode 100644 index 5aecd6f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347001502_826713.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347001503_772738.jpeg b/radiantproduction/Societes/radiant/Photos/0347001503_772738.jpeg deleted file mode 100644 index e7934e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347001503_772738.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347002903_720015.jpeg b/radiantproduction/Societes/radiant/Photos/0347002903_720015.jpeg deleted file mode 100644 index b0e2783..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347002903_720015.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347002904_596121.jpeg b/radiantproduction/Societes/radiant/Photos/0347002904_596121.jpeg deleted file mode 100644 index ca43a5a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347002904_596121.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347002905_639439.jpeg b/radiantproduction/Societes/radiant/Photos/0347002905_639439.jpeg deleted file mode 100644 index ea8bf7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347002905_639439.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347003001_968795.jpeg b/radiantproduction/Societes/radiant/Photos/0347003001_968795.jpeg deleted file mode 100644 index 865a464..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347003001_968795.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347003103_800549.jpeg b/radiantproduction/Societes/radiant/Photos/0347003103_800549.jpeg deleted file mode 100644 index 854c3be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347003103_800549.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347003104_244379.jpeg b/radiantproduction/Societes/radiant/Photos/0347003104_244379.jpeg deleted file mode 100644 index b0725d8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347003104_244379.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347003202_501344.jpeg b/radiantproduction/Societes/radiant/Photos/0347003202_501344.jpeg deleted file mode 100644 index 96deb1b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347003202_501344.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0347003504_715966.jpeg b/radiantproduction/Societes/radiant/Photos/0347003504_715966.jpeg deleted file mode 100644 index 452de7d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0347003504_715966.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348000402_724265.jpeg b/radiantproduction/Societes/radiant/Photos/0348000402_724265.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348000402_724265.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348000402_800830.jpeg b/radiantproduction/Societes/radiant/Photos/0348000402_800830.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348000402_800830.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348001102_109419.jpeg b/radiantproduction/Societes/radiant/Photos/0348001102_109419.jpeg deleted file mode 100644 index 71dbd92..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348001102_109419.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348001601_215824.jpeg b/radiantproduction/Societes/radiant/Photos/0348001601_215824.jpeg deleted file mode 100644 index bdc4750..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348001601_215824.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348001602_829814.jpeg b/radiantproduction/Societes/radiant/Photos/0348001602_829814.jpeg deleted file mode 100644 index 3884bc1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348001602_829814.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348002002_609753.jpeg b/radiantproduction/Societes/radiant/Photos/0348002002_609753.jpeg deleted file mode 100644 index 6b491d9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348002002_609753.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348002301_682481.jpeg b/radiantproduction/Societes/radiant/Photos/0348002301_682481.jpeg deleted file mode 100644 index 86353c0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348002301_682481.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348002303_696180.jpeg b/radiantproduction/Societes/radiant/Photos/0348002303_696180.jpeg deleted file mode 100644 index febff78..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348002303_696180.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348002401_530697.jpeg b/radiantproduction/Societes/radiant/Photos/0348002401_530697.jpeg deleted file mode 100644 index d136654..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348002401_530697.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348002403_57814.jpeg b/radiantproduction/Societes/radiant/Photos/0348002403_57814.jpeg deleted file mode 100644 index 0d61d00..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348002403_57814.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348002406_253861.jpeg b/radiantproduction/Societes/radiant/Photos/0348002406_253861.jpeg deleted file mode 100644 index 90953ba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348002406_253861.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348003101_284162.jpeg b/radiantproduction/Societes/radiant/Photos/0348003101_284162.jpeg deleted file mode 100644 index 48c56b2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348003101_284162.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348003502_157872.jpeg b/radiantproduction/Societes/radiant/Photos/0348003502_157872.jpeg deleted file mode 100644 index b14d3bc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348003502_157872.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348003702_952501.jpeg b/radiantproduction/Societes/radiant/Photos/0348003702_952501.jpeg deleted file mode 100644 index 0577630..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348003702_952501.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348003903_449055.jpeg b/radiantproduction/Societes/radiant/Photos/0348003903_449055.jpeg deleted file mode 100644 index 37f2e94..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348003903_449055.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348004101_430073.jpeg b/radiantproduction/Societes/radiant/Photos/0348004101_430073.jpeg deleted file mode 100644 index 4aaf082..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348004101_430073.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348004102_312825.jpeg b/radiantproduction/Societes/radiant/Photos/0348004102_312825.jpeg deleted file mode 100644 index ed7c9b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348004102_312825.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348004102_318041.jpeg b/radiantproduction/Societes/radiant/Photos/0348004102_318041.jpeg deleted file mode 100644 index b90592b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348004102_318041.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348004103_58211.jpeg b/radiantproduction/Societes/radiant/Photos/0348004103_58211.jpeg deleted file mode 100644 index 28d1605..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348004103_58211.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348004302_483237.jpeg b/radiantproduction/Societes/radiant/Photos/0348004302_483237.jpeg deleted file mode 100644 index a316646..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348004302_483237.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348004303_645350.jpeg b/radiantproduction/Societes/radiant/Photos/0348004303_645350.jpeg deleted file mode 100644 index 7405bf9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348004303_645350.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348005203_450599.jpeg b/radiantproduction/Societes/radiant/Photos/0348005203_450599.jpeg deleted file mode 100644 index a5bea24..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348005203_450599.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348005204_769140.jpeg b/radiantproduction/Societes/radiant/Photos/0348005204_769140.jpeg deleted file mode 100644 index cc73213..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348005204_769140.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348006601_125518.jpeg b/radiantproduction/Societes/radiant/Photos/0348006601_125518.jpeg deleted file mode 100644 index 48cb6da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348006601_125518.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348006801_20227.jpeg b/radiantproduction/Societes/radiant/Photos/0348006801_20227.jpeg deleted file mode 100644 index 826d58b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348006801_20227.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348006805_769489.jpeg b/radiantproduction/Societes/radiant/Photos/0348006805_769489.jpeg deleted file mode 100644 index da5279f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348006805_769489.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348006901_954954.jpeg b/radiantproduction/Societes/radiant/Photos/0348006901_954954.jpeg deleted file mode 100644 index e6f69cd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348006901_954954.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348006904_180240.jpeg b/radiantproduction/Societes/radiant/Photos/0348006904_180240.jpeg deleted file mode 100644 index f0f939d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348006904_180240.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348007801_149850.jpeg b/radiantproduction/Societes/radiant/Photos/0348007801_149850.jpeg deleted file mode 100644 index 499a125..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348007801_149850.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348007801_310149.jpeg b/radiantproduction/Societes/radiant/Photos/0348007801_310149.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348007801_310149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008101_177893.jpeg b/radiantproduction/Societes/radiant/Photos/0348008101_177893.jpeg deleted file mode 100644 index 2104027..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008101_177893.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008101_681650.jpeg b/radiantproduction/Societes/radiant/Photos/0348008101_681650.jpeg deleted file mode 100644 index 4b4cc84..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008101_681650.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008201_400074.jpeg b/radiantproduction/Societes/radiant/Photos/0348008201_400074.jpeg deleted file mode 100644 index 844c8e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008201_400074.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008203_66606.jpeg b/radiantproduction/Societes/radiant/Photos/0348008203_66606.jpeg deleted file mode 100644 index 30fd151..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008203_66606.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008903_453026.jpeg b/radiantproduction/Societes/radiant/Photos/0348008903_453026.jpeg deleted file mode 100644 index 5fae85b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008903_453026.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008904_786644.jpeg b/radiantproduction/Societes/radiant/Photos/0348008904_786644.jpeg deleted file mode 100644 index 4e355a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008904_786644.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348008905_843317.jpeg b/radiantproduction/Societes/radiant/Photos/0348008905_843317.jpeg deleted file mode 100644 index 755bf55..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348008905_843317.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009101_140133.jpeg b/radiantproduction/Societes/radiant/Photos/0348009101_140133.jpeg deleted file mode 100644 index c2d6855..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009101_140133.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009102_254568.jpeg b/radiantproduction/Societes/radiant/Photos/0348009102_254568.jpeg deleted file mode 100644 index b0b575a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009102_254568.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009103_903309.jpeg b/radiantproduction/Societes/radiant/Photos/0348009103_903309.jpeg deleted file mode 100644 index 3416460..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009103_903309.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009104_552636.jpeg b/radiantproduction/Societes/radiant/Photos/0348009104_552636.jpeg deleted file mode 100644 index 3cb0105..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009104_552636.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009105_174449.jpeg b/radiantproduction/Societes/radiant/Photos/0348009105_174449.jpeg deleted file mode 100644 index b84cc9c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009105_174449.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009402_358900.jpeg b/radiantproduction/Societes/radiant/Photos/0348009402_358900.jpeg deleted file mode 100644 index 6e67edb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009402_358900.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009404_482084.jpeg b/radiantproduction/Societes/radiant/Photos/0348009404_482084.jpeg deleted file mode 100644 index 6afa94b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009404_482084.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348009601_7548.jpeg b/radiantproduction/Societes/radiant/Photos/0348009601_7548.jpeg deleted file mode 100644 index 5e7cd23..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348009601_7548.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011004_515184.jpeg b/radiantproduction/Societes/radiant/Photos/0348011004_515184.jpeg deleted file mode 100644 index c2cf679..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011004_515184.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011006_518912.jpeg b/radiantproduction/Societes/radiant/Photos/0348011006_518912.jpeg deleted file mode 100644 index 3857637..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011006_518912.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011007_845175.jpeg b/radiantproduction/Societes/radiant/Photos/0348011007_845175.jpeg deleted file mode 100644 index 55f50c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011007_845175.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011101_362045.jpeg b/radiantproduction/Societes/radiant/Photos/0348011101_362045.jpeg deleted file mode 100644 index c22c56c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011101_362045.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011102_874988.jpeg b/radiantproduction/Societes/radiant/Photos/0348011102_874988.jpeg deleted file mode 100644 index 9fe6989..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011102_874988.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011103_951862.jpeg b/radiantproduction/Societes/radiant/Photos/0348011103_951862.jpeg deleted file mode 100644 index 9e002e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011103_951862.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011104_483141.jpeg b/radiantproduction/Societes/radiant/Photos/0348011104_483141.jpeg deleted file mode 100644 index e0adfce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011104_483141.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348011203_876177.jpeg b/radiantproduction/Societes/radiant/Photos/0348011203_876177.jpeg deleted file mode 100644 index d1952aa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348011203_876177.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348012301_182037.jpeg b/radiantproduction/Societes/radiant/Photos/0348012301_182037.jpeg deleted file mode 100644 index 19a9f96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348012301_182037.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348012602_330141.jpeg b/radiantproduction/Societes/radiant/Photos/0348012602_330141.jpeg deleted file mode 100644 index 821ef87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348012602_330141.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348013101_307927.jpeg b/radiantproduction/Societes/radiant/Photos/0348013101_307927.jpeg deleted file mode 100644 index fa70518..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348013101_307927.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348013802_797566.jpeg b/radiantproduction/Societes/radiant/Photos/0348013802_797566.jpeg deleted file mode 100644 index a82be90..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348013802_797566.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348013903_241723.jpeg b/radiantproduction/Societes/radiant/Photos/0348013903_241723.jpeg deleted file mode 100644 index 393715e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348013903_241723.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348014202_681509.jpeg b/radiantproduction/Societes/radiant/Photos/0348014202_681509.jpeg deleted file mode 100644 index f27dd48..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348014202_681509.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348014501_305311.jpeg b/radiantproduction/Societes/radiant/Photos/0348014501_305311.jpeg deleted file mode 100644 index ddecdcf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348014501_305311.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0348014902_443244.jpeg b/radiantproduction/Societes/radiant/Photos/0348014902_443244.jpeg deleted file mode 100644 index e3e19b6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0348014902_443244.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349000403_884605.jpeg b/radiantproduction/Societes/radiant/Photos/0349000403_884605.jpeg deleted file mode 100644 index c6a28ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349000403_884605.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349000701_346887.jpeg b/radiantproduction/Societes/radiant/Photos/0349000701_346887.jpeg deleted file mode 100644 index 4b7e611..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349000701_346887.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349000702_977275.jpeg b/radiantproduction/Societes/radiant/Photos/0349000702_977275.jpeg deleted file mode 100644 index da0c927..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349000702_977275.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349000703_655445.jpeg b/radiantproduction/Societes/radiant/Photos/0349000703_655445.jpeg deleted file mode 100644 index caca30d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349000703_655445.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001001_844049.jpeg b/radiantproduction/Societes/radiant/Photos/0349001001_844049.jpeg deleted file mode 100644 index 40cc5d8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001001_844049.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001101_412433.jpeg b/radiantproduction/Societes/radiant/Photos/0349001101_412433.jpeg deleted file mode 100644 index e7f8050..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001101_412433.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001105_125863.jpeg b/radiantproduction/Societes/radiant/Photos/0349001105_125863.jpeg deleted file mode 100644 index 5544883..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001105_125863.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001106_559939.jpeg b/radiantproduction/Societes/radiant/Photos/0349001106_559939.jpeg deleted file mode 100644 index 58b513d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001106_559939.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001107_129118.jpeg b/radiantproduction/Societes/radiant/Photos/0349001107_129118.jpeg deleted file mode 100644 index fa49f16..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001107_129118.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001108_444917.jpeg b/radiantproduction/Societes/radiant/Photos/0349001108_444917.jpeg deleted file mode 100644 index bcf5b6f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001108_444917.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349001403_99198.jpeg b/radiantproduction/Societes/radiant/Photos/0349001403_99198.jpeg deleted file mode 100644 index 76d0f34..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349001403_99198.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349003703_790505.jpeg b/radiantproduction/Societes/radiant/Photos/0349003703_790505.jpeg deleted file mode 100644 index 92f7918..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349003703_790505.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0349003704_92011.jpeg b/radiantproduction/Societes/radiant/Photos/0349003704_92011.jpeg deleted file mode 100644 index b8c0ad4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0349003704_92011.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000401_66720.jpeg b/radiantproduction/Societes/radiant/Photos/0350000401_66720.jpeg deleted file mode 100644 index 7fbfefe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000401_66720.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000404_181732.jpeg b/radiantproduction/Societes/radiant/Photos/0350000404_181732.jpeg deleted file mode 100644 index ff3431b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000404_181732.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000409_905523.jpeg b/radiantproduction/Societes/radiant/Photos/0350000409_905523.jpeg deleted file mode 100644 index 299ce1e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000409_905523.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000501_823833.jpeg b/radiantproduction/Societes/radiant/Photos/0350000501_823833.jpeg deleted file mode 100644 index b9ba3b3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000501_823833.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000503_326964.jpeg b/radiantproduction/Societes/radiant/Photos/0350000503_326964.jpeg deleted file mode 100644 index 704b1ee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000503_326964.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000902_599261.jpeg b/radiantproduction/Societes/radiant/Photos/0350000902_599261.jpeg deleted file mode 100644 index cae3abb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000902_599261.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350000902_672253.jpeg b/radiantproduction/Societes/radiant/Photos/0350000902_672253.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350000902_672253.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350001205_305588.jpeg b/radiantproduction/Societes/radiant/Photos/0350001205_305588.jpeg deleted file mode 100644 index aec4cc9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350001205_305588.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350001901_980211.jpeg b/radiantproduction/Societes/radiant/Photos/0350001901_980211.jpeg deleted file mode 100644 index 788cf1c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350001901_980211.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350002106_566948.jpeg b/radiantproduction/Societes/radiant/Photos/0350002106_566948.jpeg deleted file mode 100644 index 6163229..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350002106_566948.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0350002303_740087.jpeg b/radiantproduction/Societes/radiant/Photos/0350002303_740087.jpeg deleted file mode 100644 index 6d46416..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0350002303_740087.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0403000401_439608.jpeg b/radiantproduction/Societes/radiant/Photos/0403000401_439608.jpeg deleted file mode 100644 index 79c4e0d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0403000401_439608.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0403000401_490311.jpeg b/radiantproduction/Societes/radiant/Photos/0403000401_490311.jpeg deleted file mode 100644 index 3ae3a87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0403000401_490311.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0403000405_299741.jpeg b/radiantproduction/Societes/radiant/Photos/0403000405_299741.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0403000405_299741.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0403002504_407561.jpeg b/radiantproduction/Societes/radiant/Photos/0403002504_407561.jpeg deleted file mode 100644 index b63589a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0403002504_407561.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0479000101_781086.jpeg b/radiantproduction/Societes/radiant/Photos/0479000101_781086.jpeg deleted file mode 100644 index 42574ff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0479000101_781086.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0482000101_157840.jpeg b/radiantproduction/Societes/radiant/Photos/0482000101_157840.jpeg deleted file mode 100644 index 6449eff..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0482000101_157840.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504016201_926776.jpeg b/radiantproduction/Societes/radiant/Photos/0504016201_926776.jpeg deleted file mode 100644 index 2727c5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504016201_926776.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504016202_526102.jpeg b/radiantproduction/Societes/radiant/Photos/0504016202_526102.jpeg deleted file mode 100644 index 4f24153..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504016202_526102.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504016203_896638.jpeg b/radiantproduction/Societes/radiant/Photos/0504016203_896638.jpeg deleted file mode 100644 index 3d35b26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504016203_896638.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504023501_194049.jpeg b/radiantproduction/Societes/radiant/Photos/0504023501_194049.jpeg deleted file mode 100644 index 45c4d19..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504023501_194049.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504023502_196989.jpeg b/radiantproduction/Societes/radiant/Photos/0504023502_196989.jpeg deleted file mode 100644 index ae0acea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504023502_196989.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504023503_559849.jpeg b/radiantproduction/Societes/radiant/Photos/0504023503_559849.jpeg deleted file mode 100644 index dfef90f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504023503_559849.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504023504_964418.jpeg b/radiantproduction/Societes/radiant/Photos/0504023504_964418.jpeg deleted file mode 100644 index e579427..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504023504_964418.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504043802_562977.jpeg b/radiantproduction/Societes/radiant/Photos/0504043802_562977.jpeg deleted file mode 100644 index f779318..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504043802_562977.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504043803_334629.jpeg b/radiantproduction/Societes/radiant/Photos/0504043803_334629.jpeg deleted file mode 100644 index 77e9243..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504043803_334629.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504048301_516965.jpeg b/radiantproduction/Societes/radiant/Photos/0504048301_516965.jpeg deleted file mode 100644 index e241e8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504048301_516965.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504048302_401984.jpeg b/radiantproduction/Societes/radiant/Photos/0504048302_401984.jpeg deleted file mode 100644 index cc3bfb1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504048302_401984.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504085702_413423.jpeg b/radiantproduction/Societes/radiant/Photos/0504085702_413423.jpeg deleted file mode 100644 index b656fca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504085702_413423.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504085802_148302.jpeg b/radiantproduction/Societes/radiant/Photos/0504085802_148302.jpeg deleted file mode 100644 index 0eed72b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504085802_148302.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504085803_140225.jpeg b/radiantproduction/Societes/radiant/Photos/0504085803_140225.jpeg deleted file mode 100644 index 049c9d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504085803_140225.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504086401_375003.jpeg b/radiantproduction/Societes/radiant/Photos/0504086401_375003.jpeg deleted file mode 100644 index c5c3aa3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504086401_375003.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504086402_258177.jpeg b/radiantproduction/Societes/radiant/Photos/0504086402_258177.jpeg deleted file mode 100644 index 6e48818..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504086402_258177.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0504086404_422697.jpeg b/radiantproduction/Societes/radiant/Photos/0504086404_422697.jpeg deleted file mode 100644 index 9dedd45..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0504086404_422697.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000102_26288.jpeg b/radiantproduction/Societes/radiant/Photos/0573000102_26288.jpeg deleted file mode 100644 index dbfde75..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000102_26288.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000104_680668.jpeg b/radiantproduction/Societes/radiant/Photos/0573000104_680668.jpeg deleted file mode 100644 index 7e902c7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000104_680668.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000303_672084.jpeg b/radiantproduction/Societes/radiant/Photos/0573000303_672084.jpeg deleted file mode 100644 index 2c506c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000303_672084.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000702_353468.jpeg b/radiantproduction/Societes/radiant/Photos/0573000702_353468.jpeg deleted file mode 100644 index 8e83146..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000702_353468.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000703_56170.jpeg b/radiantproduction/Societes/radiant/Photos/0573000703_56170.jpeg deleted file mode 100644 index 5cc1ce7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000703_56170.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000704_661568.jpeg b/radiantproduction/Societes/radiant/Photos/0573000704_661568.jpeg deleted file mode 100644 index f809ec3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000704_661568.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573000901_769478.jpeg b/radiantproduction/Societes/radiant/Photos/0573000901_769478.jpeg deleted file mode 100644 index 3359e0e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573000901_769478.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573001301_79298.jpeg b/radiantproduction/Societes/radiant/Photos/0573001301_79298.jpeg deleted file mode 100644 index b97c121..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573001301_79298.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573001602_522561.jpeg b/radiantproduction/Societes/radiant/Photos/0573001602_522561.jpeg deleted file mode 100644 index 8019c9c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573001602_522561.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573001603_193136.jpeg b/radiantproduction/Societes/radiant/Photos/0573001603_193136.jpeg deleted file mode 100644 index 11f8bee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573001603_193136.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573001702_892578.jpeg b/radiantproduction/Societes/radiant/Photos/0573001702_892578.jpeg deleted file mode 100644 index 2f5911c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573001702_892578.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573001703_645174.jpeg b/radiantproduction/Societes/radiant/Photos/0573001703_645174.jpeg deleted file mode 100644 index bc27273..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573001703_645174.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573001707_552577.jpeg b/radiantproduction/Societes/radiant/Photos/0573001707_552577.jpeg deleted file mode 100644 index 9ddd36f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573001707_552577.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573002102_550066.jpeg b/radiantproduction/Societes/radiant/Photos/0573002102_550066.jpeg deleted file mode 100644 index 5d2176f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573002102_550066.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573002301_503017.jpeg b/radiantproduction/Societes/radiant/Photos/0573002301_503017.jpeg deleted file mode 100644 index 795d28f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573002301_503017.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0573002304_282392.jpeg b/radiantproduction/Societes/radiant/Photos/0573002304_282392.jpeg deleted file mode 100644 index 56dc8b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0573002304_282392.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0665000103_396006.jpeg b/radiantproduction/Societes/radiant/Photos/0665000103_396006.jpeg deleted file mode 100644 index 530b862..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0665000103_396006.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0698000601_506948.jpeg b/radiantproduction/Societes/radiant/Photos/0698000601_506948.jpeg deleted file mode 100644 index 81191e2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0698000601_506948.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0698000602_2128.jpeg b/radiantproduction/Societes/radiant/Photos/0698000602_2128.jpeg deleted file mode 100644 index 1da6fd4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0698000602_2128.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0698000604_876821.jpeg b/radiantproduction/Societes/radiant/Photos/0698000604_876821.jpeg deleted file mode 100644 index 83343f0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0698000604_876821.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0698000604_887692.jpeg b/radiantproduction/Societes/radiant/Photos/0698000604_887692.jpeg deleted file mode 100644 index c4264c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0698000604_887692.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0698001002_888737.jpeg b/radiantproduction/Societes/radiant/Photos/0698001002_888737.jpeg deleted file mode 100644 index 91ec692..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0698001002_888737.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0698001501_46510.jpeg b/radiantproduction/Societes/radiant/Photos/0698001501_46510.jpeg deleted file mode 100644 index 22b0a7b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0698001501_46510.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704007404_793705.jpeg b/radiantproduction/Societes/radiant/Photos/0704007404_793705.jpeg deleted file mode 100644 index c83b67c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704007404_793705.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704008804_99415.jpeg b/radiantproduction/Societes/radiant/Photos/0704008804_99415.jpeg deleted file mode 100644 index 7945cf4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704008804_99415.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704008807_32677.jpeg b/radiantproduction/Societes/radiant/Photos/0704008807_32677.jpeg deleted file mode 100644 index 2d5f375..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704008807_32677.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704017501_319650.jpeg b/radiantproduction/Societes/radiant/Photos/0704017501_319650.jpeg deleted file mode 100644 index 1583ff8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704017501_319650.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704017502_135612.jpeg b/radiantproduction/Societes/radiant/Photos/0704017502_135612.jpeg deleted file mode 100644 index 1885fe9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704017502_135612.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704017503_698473.jpeg b/radiantproduction/Societes/radiant/Photos/0704017503_698473.jpeg deleted file mode 100644 index c08729c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704017503_698473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704017604_59478.jpeg b/radiantproduction/Societes/radiant/Photos/0704017604_59478.jpeg deleted file mode 100644 index 8a63713..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704017604_59478.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704017605_605157.jpeg b/radiantproduction/Societes/radiant/Photos/0704017605_605157.jpeg deleted file mode 100644 index acabee4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704017605_605157.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0704018906_756068.jpeg b/radiantproduction/Societes/radiant/Photos/0704018906_756068.jpeg deleted file mode 100644 index 36dc763..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0704018906_756068.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0710003401_438828.jpeg b/radiantproduction/Societes/radiant/Photos/0710003401_438828.jpeg deleted file mode 100644 index 41c3c92..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0710003401_438828.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0716001004_51620.jpeg b/radiantproduction/Societes/radiant/Photos/0716001004_51620.jpeg deleted file mode 100644 index 47d223a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0716001004_51620.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0716001006_275030.jpeg b/radiantproduction/Societes/radiant/Photos/0716001006_275030.jpeg deleted file mode 100644 index 4265abe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0716001006_275030.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0717000202_651810.jpeg b/radiantproduction/Societes/radiant/Photos/0717000202_651810.jpeg deleted file mode 100644 index 45b0940..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0717000202_651810.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0717000501_213505.jpeg b/radiantproduction/Societes/radiant/Photos/0717000501_213505.jpeg deleted file mode 100644 index cd40ae8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0717000501_213505.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0719000603_364764.jpeg b/radiantproduction/Societes/radiant/Photos/0719000603_364764.jpeg deleted file mode 100644 index 4a03ff8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0719000603_364764.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727002301_503837.jpeg b/radiantproduction/Societes/radiant/Photos/0727002301_503837.jpeg deleted file mode 100644 index 32f0882..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727002301_503837.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727002302_926694.jpeg b/radiantproduction/Societes/radiant/Photos/0727002302_926694.jpeg deleted file mode 100644 index 8f6cb27..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727002302_926694.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727003602_633604.jpeg b/radiantproduction/Societes/radiant/Photos/0727003602_633604.jpeg deleted file mode 100644 index beaecd7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727003602_633604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727003603_744503.jpeg b/radiantproduction/Societes/radiant/Photos/0727003603_744503.jpeg deleted file mode 100644 index 43bc663..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727003603_744503.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727005001_203430.jpeg b/radiantproduction/Societes/radiant/Photos/0727005001_203430.jpeg deleted file mode 100644 index 43c1b2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727005001_203430.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727006101_12745.jpeg b/radiantproduction/Societes/radiant/Photos/0727006101_12745.jpeg deleted file mode 100644 index 84712dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727006101_12745.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0727006901_912643.jpeg b/radiantproduction/Societes/radiant/Photos/0727006901_912643.jpeg deleted file mode 100644 index 825259b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0727006901_912643.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733001101_629563.jpeg b/radiantproduction/Societes/radiant/Photos/0733001101_629563.jpeg deleted file mode 100644 index 2297efd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733001101_629563.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733001202_87285.jpeg b/radiantproduction/Societes/radiant/Photos/0733001202_87285.jpeg deleted file mode 100644 index 7697f92..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733001202_87285.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733001703_764782.jpeg b/radiantproduction/Societes/radiant/Photos/0733001703_764782.jpeg deleted file mode 100644 index 62b00fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733001703_764782.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733001704_177487.jpeg b/radiantproduction/Societes/radiant/Photos/0733001704_177487.jpeg deleted file mode 100644 index 98117f3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733001704_177487.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733001704_464114.jpeg b/radiantproduction/Societes/radiant/Photos/0733001704_464114.jpeg deleted file mode 100644 index 7d4a32d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733001704_464114.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733002602_287112.jpeg b/radiantproduction/Societes/radiant/Photos/0733002602_287112.jpeg deleted file mode 100644 index 40999fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733002602_287112.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733002602_650771.jpeg b/radiantproduction/Societes/radiant/Photos/0733002602_650771.jpeg deleted file mode 100644 index 40999fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733002602_650771.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733002602_658862.jpeg b/radiantproduction/Societes/radiant/Photos/0733002602_658862.jpeg deleted file mode 100644 index 40999fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733002602_658862.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733003201_891262.jpeg b/radiantproduction/Societes/radiant/Photos/0733003201_891262.jpeg deleted file mode 100644 index 424ef78..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733003201_891262.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733003203_375224.jpeg b/radiantproduction/Societes/radiant/Photos/0733003203_375224.jpeg deleted file mode 100644 index 96b7dcf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733003203_375224.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733003203_838524.jpeg b/radiantproduction/Societes/radiant/Photos/0733003203_838524.jpeg deleted file mode 100644 index a6d7900..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733003203_838524.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733003204_323608.jpeg b/radiantproduction/Societes/radiant/Photos/0733003204_323608.jpeg deleted file mode 100644 index 8f84a92a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733003204_323608.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733003204_678214.jpeg b/radiantproduction/Societes/radiant/Photos/0733003204_678214.jpeg deleted file mode 100644 index ee9d89a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733003204_678214.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733003205_32768.jpeg b/radiantproduction/Societes/radiant/Photos/0733003205_32768.jpeg deleted file mode 100644 index d08aaab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733003205_32768.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733004501_827744.jpeg b/radiantproduction/Societes/radiant/Photos/0733004501_827744.jpeg deleted file mode 100644 index 6c3c70c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733004501_827744.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733005702_827905.jpeg b/radiantproduction/Societes/radiant/Photos/0733005702_827905.jpeg deleted file mode 100644 index b362909..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733005702_827905.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733007002_630758.jpeg b/radiantproduction/Societes/radiant/Photos/0733007002_630758.jpeg deleted file mode 100644 index 06f4396..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733007002_630758.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733007005_532621.jpeg b/radiantproduction/Societes/radiant/Photos/0733007005_532621.jpeg deleted file mode 100644 index b06d066..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733007005_532621.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0733008201_798678.jpeg b/radiantproduction/Societes/radiant/Photos/0733008201_798678.jpeg deleted file mode 100644 index c6b47b3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0733008201_798678.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0749000101_344581.jpeg b/radiantproduction/Societes/radiant/Photos/0749000101_344581.jpeg deleted file mode 100644 index c1de2dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0749000101_344581.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0749000102_385931.jpeg b/radiantproduction/Societes/radiant/Photos/0749000102_385931.jpeg deleted file mode 100644 index 5e7ef4e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0749000102_385931.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759000201_749688.jpeg b/radiantproduction/Societes/radiant/Photos/0759000201_749688.jpeg deleted file mode 100644 index c8e043f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759000201_749688.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759000201_851541.jpeg b/radiantproduction/Societes/radiant/Photos/0759000201_851541.jpeg deleted file mode 100644 index 56e7a66..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759000201_851541.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759000301_58898.jpeg b/radiantproduction/Societes/radiant/Photos/0759000301_58898.jpeg deleted file mode 100644 index d9e5732..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759000301_58898.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759000301_749361.jpeg b/radiantproduction/Societes/radiant/Photos/0759000301_749361.jpeg deleted file mode 100644 index 69b0b12..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759000301_749361.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759000801_634935.jpeg b/radiantproduction/Societes/radiant/Photos/0759000801_634935.jpeg deleted file mode 100644 index cea3cc9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759000801_634935.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759001102_645533.jpeg b/radiantproduction/Societes/radiant/Photos/0759001102_645533.jpeg deleted file mode 100644 index 583f9dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759001102_645533.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759001102_788249.jpeg b/radiantproduction/Societes/radiant/Photos/0759001102_788249.jpeg deleted file mode 100644 index e7733f0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759001102_788249.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759001102_979050.jpeg b/radiantproduction/Societes/radiant/Photos/0759001102_979050.jpeg deleted file mode 100644 index 0f9c797..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759001102_979050.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759001501_81238.jpeg b/radiantproduction/Societes/radiant/Photos/0759001501_81238.jpeg deleted file mode 100644 index efb2403..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759001501_81238.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0759001801_408309.jpeg b/radiantproduction/Societes/radiant/Photos/0759001801_408309.jpeg deleted file mode 100644 index 3b35e63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0759001801_408309.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0796000103_197297.jpeg b/radiantproduction/Societes/radiant/Photos/0796000103_197297.jpeg deleted file mode 100644 index 0ebdbc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0796000103_197297.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0799004101_732308.jpeg b/radiantproduction/Societes/radiant/Photos/0799004101_732308.jpeg deleted file mode 100644 index d7e1270..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0799004101_732308.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0799004104_938108.jpeg b/radiantproduction/Societes/radiant/Photos/0799004104_938108.jpeg deleted file mode 100644 index 598d782..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0799004104_938108.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834000604_595314.jpeg b/radiantproduction/Societes/radiant/Photos/0834000604_595314.jpeg deleted file mode 100644 index 6980d76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834000604_595314.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834000702_329110.jpeg b/radiantproduction/Societes/radiant/Photos/0834000702_329110.jpeg deleted file mode 100644 index b0659e0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834000702_329110.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834000703_792252.jpeg b/radiantproduction/Societes/radiant/Photos/0834000703_792252.jpeg deleted file mode 100644 index ef3aa26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834000703_792252.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834000905_102246.jpeg b/radiantproduction/Societes/radiant/Photos/0834000905_102246.jpeg deleted file mode 100644 index d872ab5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834000905_102246.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834001101_736490.jpeg b/radiantproduction/Societes/radiant/Photos/0834001101_736490.jpeg deleted file mode 100644 index 8ba3258..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834001101_736490.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834001103_976574.jpeg b/radiantproduction/Societes/radiant/Photos/0834001103_976574.jpeg deleted file mode 100644 index 1d45300..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834001103_976574.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834001104_299142.jpeg b/radiantproduction/Societes/radiant/Photos/0834001104_299142.jpeg deleted file mode 100644 index e6a9069..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834001104_299142.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834001902_108612.jpeg b/radiantproduction/Societes/radiant/Photos/0834001902_108612.jpeg deleted file mode 100644 index d72d529..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834001902_108612.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834002001_36465.jpeg b/radiantproduction/Societes/radiant/Photos/0834002001_36465.jpeg deleted file mode 100644 index 27661a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834002001_36465.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834002101_562486.jpeg b/radiantproduction/Societes/radiant/Photos/0834002101_562486.jpeg deleted file mode 100644 index 70915be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834002101_562486.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834002501_876810.jpeg b/radiantproduction/Societes/radiant/Photos/0834002501_876810.jpeg deleted file mode 100644 index f772d68..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834002501_876810.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834002903_286436.jpeg b/radiantproduction/Societes/radiant/Photos/0834002903_286436.jpeg deleted file mode 100644 index 5e102fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834002903_286436.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834003102_22676.jpeg b/radiantproduction/Societes/radiant/Photos/0834003102_22676.jpeg deleted file mode 100644 index 1799f2f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834003102_22676.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834003104_685737.jpeg b/radiantproduction/Societes/radiant/Photos/0834003104_685737.jpeg deleted file mode 100644 index b4e5e52..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834003104_685737.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834003105_757503.jpeg b/radiantproduction/Societes/radiant/Photos/0834003105_757503.jpeg deleted file mode 100644 index ed1179b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834003105_757503.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834004202_773202.jpeg b/radiantproduction/Societes/radiant/Photos/0834004202_773202.jpeg deleted file mode 100644 index 26972fc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834004202_773202.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834004203_200508.jpeg b/radiantproduction/Societes/radiant/Photos/0834004203_200508.jpeg deleted file mode 100644 index c597b17..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834004203_200508.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834004701_258624.jpeg b/radiantproduction/Societes/radiant/Photos/0834004701_258624.jpeg deleted file mode 100644 index 1d35081..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834004701_258624.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834005403_23662.jpeg b/radiantproduction/Societes/radiant/Photos/0834005403_23662.jpeg deleted file mode 100644 index 64a65c5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834005403_23662.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/0834005403_254272.jpeg b/radiantproduction/Societes/radiant/Photos/0834005403_254272.jpeg deleted file mode 100644 index eb54887..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/0834005403_254272.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2059000301_544140.jpeg b/radiantproduction/Societes/radiant/Photos/2059000301_544140.jpeg deleted file mode 100644 index 943c227..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2059000301_544140.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2059000302_747038.jpeg b/radiantproduction/Societes/radiant/Photos/2059000302_747038.jpeg deleted file mode 100644 index 2a9e3c1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2059000302_747038.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2059000401_757225.jpeg b/radiantproduction/Societes/radiant/Photos/2059000401_757225.jpeg deleted file mode 100644 index be28a78..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2059000401_757225.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2059000501_451519.jpeg b/radiantproduction/Societes/radiant/Photos/2059000501_451519.jpeg deleted file mode 100644 index 5da6e78..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2059000501_451519.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2059000502_127717.jpeg b/radiantproduction/Societes/radiant/Photos/2059000502_127717.jpeg deleted file mode 100644 index 0c34703..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2059000502_127717.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2102000101_48019.jpeg b/radiantproduction/Societes/radiant/Photos/2102000101_48019.jpeg deleted file mode 100644 index bdcfe76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2102000101_48019.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103001001_186219.jpeg b/radiantproduction/Societes/radiant/Photos/2103001001_186219.jpeg deleted file mode 100644 index da058ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103001001_186219.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103001103_851702.jpeg b/radiantproduction/Societes/radiant/Photos/2103001103_851702.jpeg deleted file mode 100644 index b670da3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103001103_851702.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103001201_436754.jpeg b/radiantproduction/Societes/radiant/Photos/2103001201_436754.jpeg deleted file mode 100644 index a116878..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103001201_436754.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103001201_607406.jpeg b/radiantproduction/Societes/radiant/Photos/2103001201_607406.jpeg deleted file mode 100644 index a116878..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103001201_607406.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103001203_67703.jpeg b/radiantproduction/Societes/radiant/Photos/2103001203_67703.jpeg deleted file mode 100644 index 0635fb5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103001203_67703.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103001204_786926.jpeg b/radiantproduction/Societes/radiant/Photos/2103001204_786926.jpeg deleted file mode 100644 index 14f6852..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103001204_786926.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103002201_825376.jpeg b/radiantproduction/Societes/radiant/Photos/2103002201_825376.jpeg deleted file mode 100644 index 204b344..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103002201_825376.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103002401_285854.jpeg b/radiantproduction/Societes/radiant/Photos/2103002401_285854.jpeg deleted file mode 100644 index 1c289ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103002401_285854.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2103003401_986708.jpeg b/radiantproduction/Societes/radiant/Photos/2103003401_986708.jpeg deleted file mode 100644 index 6320e63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2103003401_986708.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2120000701_189847.jpeg b/radiantproduction/Societes/radiant/Photos/2120000701_189847.jpeg deleted file mode 100644 index b8d6fdb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2120000701_189847.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2142005702_74296.jpeg b/radiantproduction/Societes/radiant/Photos/2142005702_74296.jpeg deleted file mode 100644 index 7aa42a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2142005702_74296.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2142005703_359706.jpeg b/radiantproduction/Societes/radiant/Photos/2142005703_359706.jpeg deleted file mode 100644 index 9293308..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2142005703_359706.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2142005704_61320.jpeg b/radiantproduction/Societes/radiant/Photos/2142005704_61320.jpeg deleted file mode 100644 index 473a201..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2142005704_61320.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2153000101_891580.jpeg b/radiantproduction/Societes/radiant/Photos/2153000101_891580.jpeg deleted file mode 100644 index 0d3665e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2153000101_891580.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2153000102_351076.jpeg b/radiantproduction/Societes/radiant/Photos/2153000102_351076.jpeg deleted file mode 100644 index 9b2d987..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2153000102_351076.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2153000103_312733.jpeg b/radiantproduction/Societes/radiant/Photos/2153000103_312733.jpeg deleted file mode 100644 index 34a4beb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2153000103_312733.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2153000104_946667.jpeg b/radiantproduction/Societes/radiant/Photos/2153000104_946667.jpeg deleted file mode 100644 index d893502..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2153000104_946667.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2168000102_884991.jpeg b/radiantproduction/Societes/radiant/Photos/2168000102_884991.jpeg deleted file mode 100644 index 729f1a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2168000102_884991.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2168000103_994044.jpeg b/radiantproduction/Societes/radiant/Photos/2168000103_994044.jpeg deleted file mode 100644 index 89e9964..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2168000103_994044.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2175000101_412300.jpeg b/radiantproduction/Societes/radiant/Photos/2175000101_412300.jpeg deleted file mode 100644 index 581b2af..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2175000101_412300.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325000804_385333.jpeg b/radiantproduction/Societes/radiant/Photos/2325000804_385333.jpeg deleted file mode 100644 index 33b86fd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325000804_385333.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325001003_553062.jpeg b/radiantproduction/Societes/radiant/Photos/2325001003_553062.jpeg deleted file mode 100644 index 26ed9cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325001003_553062.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325001301_430213.jpeg b/radiantproduction/Societes/radiant/Photos/2325001301_430213.jpeg deleted file mode 100644 index f6b2b66..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325001301_430213.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325001403_860513.jpeg b/radiantproduction/Societes/radiant/Photos/2325001403_860513.jpeg deleted file mode 100644 index 01d605b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325001403_860513.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325001405_290345.jpeg b/radiantproduction/Societes/radiant/Photos/2325001405_290345.jpeg deleted file mode 100644 index b49520b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325001405_290345.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325001405_808394.jpeg b/radiantproduction/Societes/radiant/Photos/2325001405_808394.jpeg deleted file mode 100644 index ad73b83..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325001405_808394.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325002006_246052.jpeg b/radiantproduction/Societes/radiant/Photos/2325002006_246052.jpeg deleted file mode 100644 index bf53db0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325002006_246052.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325002203_862860.jpeg b/radiantproduction/Societes/radiant/Photos/2325002203_862860.jpeg deleted file mode 100644 index 38af1dd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325002203_862860.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325002901_4966.jpeg b/radiantproduction/Societes/radiant/Photos/2325002901_4966.jpeg deleted file mode 100644 index 76aa662..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325002901_4966.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325003002_570037.jpeg b/radiantproduction/Societes/radiant/Photos/2325003002_570037.jpeg deleted file mode 100644 index 32672e4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325003002_570037.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325003003_371035.jpeg b/radiantproduction/Societes/radiant/Photos/2325003003_371035.jpeg deleted file mode 100644 index 0462993..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325003003_371035.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325003003_454995.jpeg b/radiantproduction/Societes/radiant/Photos/2325003003_454995.jpeg deleted file mode 100644 index a69cf4b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325003003_454995.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325003202_808402.jpeg b/radiantproduction/Societes/radiant/Photos/2325003202_808402.jpeg deleted file mode 100644 index e093af3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325003202_808402.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325003701_28748.jpeg b/radiantproduction/Societes/radiant/Photos/2325003701_28748.jpeg deleted file mode 100644 index 903af8c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325003701_28748.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325007101_993905.jpeg b/radiantproduction/Societes/radiant/Photos/2325007101_993905.jpeg deleted file mode 100644 index 4d5d580..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325007101_993905.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325008501_265453.jpeg b/radiantproduction/Societes/radiant/Photos/2325008501_265453.jpeg deleted file mode 100644 index 17b6114..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325008501_265453.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325008501_801336.jpeg b/radiantproduction/Societes/radiant/Photos/2325008501_801336.jpeg deleted file mode 100644 index 17b6114..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325008501_801336.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325008704_939836.jpeg b/radiantproduction/Societes/radiant/Photos/2325008704_939836.jpeg deleted file mode 100644 index 9ec8cc5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325008704_939836.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325010002_367644.jpeg b/radiantproduction/Societes/radiant/Photos/2325010002_367644.jpeg deleted file mode 100644 index d8a15b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325010002_367644.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325010703_537443.jpeg b/radiantproduction/Societes/radiant/Photos/2325010703_537443.jpeg deleted file mode 100644 index 8507dbd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325010703_537443.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325010703_929396.jpeg b/radiantproduction/Societes/radiant/Photos/2325010703_929396.jpeg deleted file mode 100644 index 7631ce4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325010703_929396.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325010802_841481.jpeg b/radiantproduction/Societes/radiant/Photos/2325010802_841481.jpeg deleted file mode 100644 index e080481..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325010802_841481.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325011601_733272.jpeg b/radiantproduction/Societes/radiant/Photos/2325011601_733272.jpeg deleted file mode 100644 index 7d30685..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325011601_733272.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325015301_775081.jpeg b/radiantproduction/Societes/radiant/Photos/2325015301_775081.jpeg deleted file mode 100644 index 374dcb9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325015301_775081.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325015302_195370.jpeg b/radiantproduction/Societes/radiant/Photos/2325015302_195370.jpeg deleted file mode 100644 index 069a546..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325015302_195370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325015303_7887.jpeg b/radiantproduction/Societes/radiant/Photos/2325015303_7887.jpeg deleted file mode 100644 index a5a5dfe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325015303_7887.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325016201_261896.jpeg b/radiantproduction/Societes/radiant/Photos/2325016201_261896.jpeg deleted file mode 100644 index 5425e1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325016201_261896.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325016601_735370.jpeg b/radiantproduction/Societes/radiant/Photos/2325016601_735370.jpeg deleted file mode 100644 index 4379a11..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325016601_735370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325018901_890414.jpeg b/radiantproduction/Societes/radiant/Photos/2325018901_890414.jpeg deleted file mode 100644 index d801982..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325018901_890414.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325020701_225904.jpeg b/radiantproduction/Societes/radiant/Photos/2325020701_225904.jpeg deleted file mode 100644 index e49ef8c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325020701_225904.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325020703_138514.jpeg b/radiantproduction/Societes/radiant/Photos/2325020703_138514.jpeg deleted file mode 100644 index 0db58e8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325020703_138514.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325020704_203528.jpeg b/radiantproduction/Societes/radiant/Photos/2325020704_203528.jpeg deleted file mode 100644 index df0c244..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325020704_203528.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325021301_251176.jpeg b/radiantproduction/Societes/radiant/Photos/2325021301_251176.jpeg deleted file mode 100644 index 56ee5e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325021301_251176.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325021301_38724.jpeg b/radiantproduction/Societes/radiant/Photos/2325021301_38724.jpeg deleted file mode 100644 index 56ee5e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325021301_38724.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325021301_628811.jpeg b/radiantproduction/Societes/radiant/Photos/2325021301_628811.jpeg deleted file mode 100644 index 56ee5e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325021301_628811.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325021301_701990.jpeg b/radiantproduction/Societes/radiant/Photos/2325021301_701990.jpeg deleted file mode 100644 index 56ee5e7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325021301_701990.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325022801_597455.jpeg b/radiantproduction/Societes/radiant/Photos/2325022801_597455.jpeg deleted file mode 100644 index 57da4fb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325022801_597455.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325022802_867059.jpeg b/radiantproduction/Societes/radiant/Photos/2325022802_867059.jpeg deleted file mode 100644 index d5eb6a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325022802_867059.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325025402_948220.jpeg b/radiantproduction/Societes/radiant/Photos/2325025402_948220.jpeg deleted file mode 100644 index e59484b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325025402_948220.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325025701_976355.jpeg b/radiantproduction/Societes/radiant/Photos/2325025701_976355.jpeg deleted file mode 100644 index d197855..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325025701_976355.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325027003_108009.jpeg b/radiantproduction/Societes/radiant/Photos/2325027003_108009.jpeg deleted file mode 100644 index c27edc2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325027003_108009.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325027403_916919.jpeg b/radiantproduction/Societes/radiant/Photos/2325027403_916919.jpeg deleted file mode 100644 index 59ea118..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325027403_916919.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2325027703_420501.jpeg b/radiantproduction/Societes/radiant/Photos/2325027703_420501.jpeg deleted file mode 100644 index 0da862b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2325027703_420501.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2332000701_806470.jpeg b/radiantproduction/Societes/radiant/Photos/2332000701_806470.jpeg deleted file mode 100644 index 9447376..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2332000701_806470.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2332001202_751579.jpeg b/radiantproduction/Societes/radiant/Photos/2332001202_751579.jpeg deleted file mode 100644 index 4b06af7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2332001202_751579.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2332001202_989503.jpeg b/radiantproduction/Societes/radiant/Photos/2332001202_989503.jpeg deleted file mode 100644 index 55e9bee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2332001202_989503.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2332001203_165328.jpeg b/radiantproduction/Societes/radiant/Photos/2332001203_165328.jpeg deleted file mode 100644 index 10729d4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2332001203_165328.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2336003302_21587.jpeg b/radiantproduction/Societes/radiant/Photos/2336003302_21587.jpeg deleted file mode 100644 index f3a4caa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2336003302_21587.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2336006503_165658.jpeg b/radiantproduction/Societes/radiant/Photos/2336006503_165658.jpeg deleted file mode 100644 index 309f6aa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2336006503_165658.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2342007401_541673.jpeg b/radiantproduction/Societes/radiant/Photos/2342007401_541673.jpeg deleted file mode 100644 index 03729d0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2342007401_541673.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2342007401_821765.jpeg b/radiantproduction/Societes/radiant/Photos/2342007401_821765.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2342007401_821765.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2342012301_572861.jpeg b/radiantproduction/Societes/radiant/Photos/2342012301_572861.jpeg deleted file mode 100644 index e38753f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2342012301_572861.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2458000101_36808.jpeg b/radiantproduction/Societes/radiant/Photos/2458000101_36808.jpeg deleted file mode 100644 index f135434..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2458000101_36808.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2470005501_173602.jpeg b/radiantproduction/Societes/radiant/Photos/2470005501_173602.jpeg deleted file mode 100644 index 9b25f93..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2470005501_173602.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2470008802_328837.jpeg b/radiantproduction/Societes/radiant/Photos/2470008802_328837.jpeg deleted file mode 100644 index 179520a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2470008802_328837.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2470008803_78626.jpeg b/radiantproduction/Societes/radiant/Photos/2470008803_78626.jpeg deleted file mode 100644 index ceeac29..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2470008803_78626.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2470008901_681310.jpeg b/radiantproduction/Societes/radiant/Photos/2470008901_681310.jpeg deleted file mode 100644 index f1cb14b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2470008901_681310.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2470009801_60187.jpeg b/radiantproduction/Societes/radiant/Photos/2470009801_60187.jpeg deleted file mode 100644 index 152a66e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2470009801_60187.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2470010901_428508.jpeg b/radiantproduction/Societes/radiant/Photos/2470010901_428508.jpeg deleted file mode 100644 index 00b2915..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2470010901_428508.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2480000101_514203.jpeg b/radiantproduction/Societes/radiant/Photos/2480000101_514203.jpeg deleted file mode 100644 index 9aec255..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2480000101_514203.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2499000105_86548.jpeg b/radiantproduction/Societes/radiant/Photos/2499000105_86548.jpeg deleted file mode 100644 index 400f9b4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2499000105_86548.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2499000904_689038.jpeg b/radiantproduction/Societes/radiant/Photos/2499000904_689038.jpeg deleted file mode 100644 index 809a746..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2499000904_689038.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2499001101_163659.jpeg b/radiantproduction/Societes/radiant/Photos/2499001101_163659.jpeg deleted file mode 100644 index 20d61ec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2499001101_163659.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2499001201_574747.jpeg b/radiantproduction/Societes/radiant/Photos/2499001201_574747.jpeg deleted file mode 100644 index d0e166a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2499001201_574747.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2525000106_918606.jpeg b/radiantproduction/Societes/radiant/Photos/2525000106_918606.jpeg deleted file mode 100644 index 271ab3a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2525000106_918606.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2535000101_133926.jpeg b/radiantproduction/Societes/radiant/Photos/2535000101_133926.jpeg deleted file mode 100644 index 86dbbbc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2535000101_133926.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2599000101_635333.jpeg b/radiantproduction/Societes/radiant/Photos/2599000101_635333.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2599000101_635333.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606000102_456117.jpeg b/radiantproduction/Societes/radiant/Photos/2606000102_456117.jpeg deleted file mode 100644 index bf2135e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606000102_456117.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606000103_220289.jpeg b/radiantproduction/Societes/radiant/Photos/2606000103_220289.jpeg deleted file mode 100644 index 59dc806..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606000103_220289.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606000802_727179.jpeg b/radiantproduction/Societes/radiant/Photos/2606000802_727179.jpeg deleted file mode 100644 index b19b820..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606000802_727179.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606000901_985666.jpeg b/radiantproduction/Societes/radiant/Photos/2606000901_985666.jpeg deleted file mode 100644 index 1cec85b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606000901_985666.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001101_792359.jpeg b/radiantproduction/Societes/radiant/Photos/2606001101_792359.jpeg deleted file mode 100644 index 94cef5d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001101_792359.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001202_466229.jpeg b/radiantproduction/Societes/radiant/Photos/2606001202_466229.jpeg deleted file mode 100644 index 002250a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001202_466229.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001701_575354.jpeg b/radiantproduction/Societes/radiant/Photos/2606001701_575354.jpeg deleted file mode 100644 index 5a1c3ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001701_575354.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001703_127021.jpeg b/radiantproduction/Societes/radiant/Photos/2606001703_127021.jpeg deleted file mode 100644 index 2751a21..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001703_127021.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001705_41472.jpeg b/radiantproduction/Societes/radiant/Photos/2606001705_41472.jpeg deleted file mode 100644 index 5178d93..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001705_41472.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001901_135460.jpeg b/radiantproduction/Societes/radiant/Photos/2606001901_135460.jpeg deleted file mode 100644 index 096c5e0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001901_135460.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606001902_981546.jpeg b/radiantproduction/Societes/radiant/Photos/2606001902_981546.jpeg deleted file mode 100644 index b647ef6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606001902_981546.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002003_790270.jpeg b/radiantproduction/Societes/radiant/Photos/2606002003_790270.jpeg deleted file mode 100644 index 1366781..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002003_790270.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002103_693991.jpeg b/radiantproduction/Societes/radiant/Photos/2606002103_693991.jpeg deleted file mode 100644 index 7abc226..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002103_693991.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002104_514990.jpeg b/radiantproduction/Societes/radiant/Photos/2606002104_514990.jpeg deleted file mode 100644 index 2c142ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002104_514990.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002501_989371.jpeg b/radiantproduction/Societes/radiant/Photos/2606002501_989371.jpeg deleted file mode 100644 index 5042618..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002501_989371.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002701_253857.jpeg b/radiantproduction/Societes/radiant/Photos/2606002701_253857.jpeg deleted file mode 100644 index 69ec1f9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002701_253857.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002702_555683.jpeg b/radiantproduction/Societes/radiant/Photos/2606002702_555683.jpeg deleted file mode 100644 index 077474c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002702_555683.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002801_816886.jpeg b/radiantproduction/Societes/radiant/Photos/2606002801_816886.jpeg deleted file mode 100644 index eab71a7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002801_816886.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002802_541072.jpeg b/radiantproduction/Societes/radiant/Photos/2606002802_541072.jpeg deleted file mode 100644 index 034f6f8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002802_541072.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606002804_134580.jpeg b/radiantproduction/Societes/radiant/Photos/2606002804_134580.jpeg deleted file mode 100644 index ff60d81..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606002804_134580.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606003002_804213.jpeg b/radiantproduction/Societes/radiant/Photos/2606003002_804213.jpeg deleted file mode 100644 index 47ed151..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606003002_804213.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606003104_492530.jpeg b/radiantproduction/Societes/radiant/Photos/2606003104_492530.jpeg deleted file mode 100644 index 25681a6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606003104_492530.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606003202_17648.jpeg b/radiantproduction/Societes/radiant/Photos/2606003202_17648.jpeg deleted file mode 100644 index f2b8c70..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606003202_17648.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2606003203_49698.jpeg b/radiantproduction/Societes/radiant/Photos/2606003203_49698.jpeg deleted file mode 100644 index fdd7248..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2606003203_49698.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2638000103_555326.jpeg b/radiantproduction/Societes/radiant/Photos/2638000103_555326.jpeg deleted file mode 100644 index 79ec874..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2638000103_555326.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2638000104_169766.jpeg b/radiantproduction/Societes/radiant/Photos/2638000104_169766.jpeg deleted file mode 100644 index 71b9f87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2638000104_169766.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2686000101_739093.jpeg b/radiantproduction/Societes/radiant/Photos/2686000101_739093.jpeg deleted file mode 100644 index eb8b548..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2686000101_739093.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2686000102_922783.jpeg b/radiantproduction/Societes/radiant/Photos/2686000102_922783.jpeg deleted file mode 100644 index 4ea0573..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2686000102_922783.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2706000201_300648.jpeg b/radiantproduction/Societes/radiant/Photos/2706000201_300648.jpeg deleted file mode 100644 index 46a4f1d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2706000201_300648.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2706000404_737621.jpeg b/radiantproduction/Societes/radiant/Photos/2706000404_737621.jpeg deleted file mode 100644 index 7379d32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2706000404_737621.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2706000405_102442.jpeg b/radiantproduction/Societes/radiant/Photos/2706000405_102442.jpeg deleted file mode 100644 index 1693803..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2706000405_102442.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2706000501_903847.jpeg b/radiantproduction/Societes/radiant/Photos/2706000501_903847.jpeg deleted file mode 100644 index 3b2e340..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2706000501_903847.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2706000508_397184.jpeg b/radiantproduction/Societes/radiant/Photos/2706000508_397184.jpeg deleted file mode 100644 index 6ef6c5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2706000508_397184.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2706000701_293752.jpeg b/radiantproduction/Societes/radiant/Photos/2706000701_293752.jpeg deleted file mode 100644 index 27eb657..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2706000701_293752.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2748000102_776583.jpeg b/radiantproduction/Societes/radiant/Photos/2748000102_776583.jpeg deleted file mode 100644 index 303ada1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2748000102_776583.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2800000102_719372.jpeg b/radiantproduction/Societes/radiant/Photos/2800000102_719372.jpeg deleted file mode 100644 index e551f72..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2800000102_719372.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2801000101_644069.jpeg b/radiantproduction/Societes/radiant/Photos/2801000101_644069.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2801000101_644069.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2970000102_715286.jpeg b/radiantproduction/Societes/radiant/Photos/2970000102_715286.jpeg deleted file mode 100644 index 2f8522a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2970000102_715286.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/2970000103_229541.jpeg b/radiantproduction/Societes/radiant/Photos/2970000103_229541.jpeg deleted file mode 100644 index eddae7a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/2970000103_229541.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3033000901_732473.jpeg b/radiantproduction/Societes/radiant/Photos/3033000901_732473.jpeg deleted file mode 100644 index b8374ae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3033000901_732473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3033000903_346891.jpeg b/radiantproduction/Societes/radiant/Photos/3033000903_346891.jpeg deleted file mode 100644 index 2799ae9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3033000903_346891.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3033002605_712461.jpeg b/radiantproduction/Societes/radiant/Photos/3033002605_712461.jpeg deleted file mode 100644 index 9b8ab2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3033002605_712461.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3033002901_21151.jpeg b/radiantproduction/Societes/radiant/Photos/3033002901_21151.jpeg deleted file mode 100644 index bb9348e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3033002901_21151.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3106000403_762042.jpeg b/radiantproduction/Societes/radiant/Photos/3106000403_762042.jpeg deleted file mode 100644 index ded6c46..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3106000403_762042.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3106000901_561620.jpeg b/radiantproduction/Societes/radiant/Photos/3106000901_561620.jpeg deleted file mode 100644 index cf4f0a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3106000901_561620.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3106001701_447464.jpeg b/radiantproduction/Societes/radiant/Photos/3106001701_447464.jpeg deleted file mode 100644 index 6f0ae21..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3106001701_447464.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3129000102_608404.jpeg b/radiantproduction/Societes/radiant/Photos/3129000102_608404.jpeg deleted file mode 100644 index 5e09aa9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3129000102_608404.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3129000103_794689.jpeg b/radiantproduction/Societes/radiant/Photos/3129000103_794689.jpeg deleted file mode 100644 index 2bb0602..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3129000103_794689.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3129000104_442316.jpeg b/radiantproduction/Societes/radiant/Photos/3129000104_442316.jpeg deleted file mode 100644 index 3c79fc4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3129000104_442316.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231000401_759614.jpeg b/radiantproduction/Societes/radiant/Photos/3231000401_759614.jpeg deleted file mode 100644 index cd193bd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231000401_759614.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231000405_70030.jpeg b/radiantproduction/Societes/radiant/Photos/3231000405_70030.jpeg deleted file mode 100644 index 268b9b0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231000405_70030.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231000406_977537.jpeg b/radiantproduction/Societes/radiant/Photos/3231000406_977537.jpeg deleted file mode 100644 index fbb480c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231000406_977537.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231000701_93054.jpeg b/radiantproduction/Societes/radiant/Photos/3231000701_93054.jpeg deleted file mode 100644 index 99a5281..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231000701_93054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231000901_389225.jpeg b/radiantproduction/Societes/radiant/Photos/3231000901_389225.jpeg deleted file mode 100644 index 7b9de8e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231000901_389225.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231001203_843510.jpeg b/radiantproduction/Societes/radiant/Photos/3231001203_843510.jpeg deleted file mode 100644 index 28129f8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231001203_843510.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231001204_411586.jpeg b/radiantproduction/Societes/radiant/Photos/3231001204_411586.jpeg deleted file mode 100644 index ab78842..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231001204_411586.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231003302_341026.jpeg b/radiantproduction/Societes/radiant/Photos/3231003302_341026.jpeg deleted file mode 100644 index 9f101a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231003302_341026.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3231003303_570863.jpeg b/radiantproduction/Societes/radiant/Photos/3231003303_570863.jpeg deleted file mode 100644 index bf57618..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3231003303_570863.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3275000102_65224.jpeg b/radiantproduction/Societes/radiant/Photos/3275000102_65224.jpeg deleted file mode 100644 index 0a7f648..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3275000102_65224.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3275000103_290431.jpeg b/radiantproduction/Societes/radiant/Photos/3275000103_290431.jpeg deleted file mode 100644 index f99c319..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3275000103_290431.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3275000104_663854.jpeg b/radiantproduction/Societes/radiant/Photos/3275000104_663854.jpeg deleted file mode 100644 index 3de3701..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3275000104_663854.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3361000103_475873.jpeg b/radiantproduction/Societes/radiant/Photos/3361000103_475873.jpeg deleted file mode 100644 index 9e1c7f6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3361000103_475873.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/3553000103_185776.jpeg b/radiantproduction/Societes/radiant/Photos/3553000103_185776.jpeg deleted file mode 100644 index a96c0cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/3553000103_185776.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4360000101_815587.jpeg b/radiantproduction/Societes/radiant/Photos/4360000101_815587.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4360000101_815587.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4376000102_924779.jpeg b/radiantproduction/Societes/radiant/Photos/4376000102_924779.jpeg deleted file mode 100644 index 9879961..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4376000102_924779.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4417001303_303080.jpeg b/radiantproduction/Societes/radiant/Photos/4417001303_303080.jpeg deleted file mode 100644 index 7f37410..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4417001303_303080.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4459000103_251426.jpeg b/radiantproduction/Societes/radiant/Photos/4459000103_251426.jpeg deleted file mode 100644 index e085165..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4459000103_251426.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466001101_698201.jpeg b/radiantproduction/Societes/radiant/Photos/4466001101_698201.jpeg deleted file mode 100644 index e5b58c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466001101_698201.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466001101_882955.jpeg b/radiantproduction/Societes/radiant/Photos/4466001101_882955.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466001101_882955.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466001101_919422.jpeg b/radiantproduction/Societes/radiant/Photos/4466001101_919422.jpeg deleted file mode 100644 index b619abe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466001101_919422.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466001301_805296.jpeg b/radiantproduction/Societes/radiant/Photos/4466001301_805296.jpeg deleted file mode 100644 index 315d034..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466001301_805296.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466001501_325848.jpeg b/radiantproduction/Societes/radiant/Photos/4466001501_325848.jpeg deleted file mode 100644 index 6213c09..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466001501_325848.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466002302_399083.jpeg b/radiantproduction/Societes/radiant/Photos/4466002302_399083.jpeg deleted file mode 100644 index d9e05a6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466002302_399083.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466003201_317166.jpeg b/radiantproduction/Societes/radiant/Photos/4466003201_317166.jpeg deleted file mode 100644 index 812ba5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466003201_317166.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466004601_687166.jpeg b/radiantproduction/Societes/radiant/Photos/4466004601_687166.jpeg deleted file mode 100644 index 42c60b0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466004601_687166.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466005101_590760.jpeg b/radiantproduction/Societes/radiant/Photos/4466005101_590760.jpeg deleted file mode 100644 index b51eade..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466005101_590760.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466005601_426597.jpeg b/radiantproduction/Societes/radiant/Photos/4466005601_426597.jpeg deleted file mode 100644 index e9e1fc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466005601_426597.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466005701_627019.jpeg b/radiantproduction/Societes/radiant/Photos/4466005701_627019.jpeg deleted file mode 100644 index 36ee571..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466005701_627019.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466005901_930014.jpeg b/radiantproduction/Societes/radiant/Photos/4466005901_930014.jpeg deleted file mode 100644 index ea02540..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466005901_930014.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466006101_803320.jpeg b/radiantproduction/Societes/radiant/Photos/4466006101_803320.jpeg deleted file mode 100644 index 828401c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466006101_803320.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4466006201_372389.jpeg b/radiantproduction/Societes/radiant/Photos/4466006201_372389.jpeg deleted file mode 100644 index 487dbc6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4466006201_372389.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4491000101_815946.jpeg b/radiantproduction/Societes/radiant/Photos/4491000101_815946.jpeg deleted file mode 100644 index 4062845..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4491000101_815946.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4494000101_281158.jpeg b/radiantproduction/Societes/radiant/Photos/4494000101_281158.jpeg deleted file mode 100644 index db79b56..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4494000101_281158.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4501000103_179433.jpeg b/radiantproduction/Societes/radiant/Photos/4501000103_179433.jpeg deleted file mode 100644 index 1dc9712..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4501000103_179433.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4501000104_467484.jpeg b/radiantproduction/Societes/radiant/Photos/4501000104_467484.jpeg deleted file mode 100644 index 635a642..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4501000104_467484.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4502000101_494865.jpeg b/radiantproduction/Societes/radiant/Photos/4502000101_494865.jpeg deleted file mode 100644 index 44a56da..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4502000101_494865.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4502000102_811435.jpeg b/radiantproduction/Societes/radiant/Photos/4502000102_811435.jpeg deleted file mode 100644 index cd59756..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4502000102_811435.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4510000603_39537.jpeg b/radiantproduction/Societes/radiant/Photos/4510000603_39537.jpeg deleted file mode 100644 index f86bf57..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4510000603_39537.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4510000604_140720.jpeg b/radiantproduction/Societes/radiant/Photos/4510000604_140720.jpeg deleted file mode 100644 index 92a3d6b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4510000604_140720.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4515049201_446003.jpeg b/radiantproduction/Societes/radiant/Photos/4515049201_446003.jpeg deleted file mode 100644 index fb67c53..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4515049201_446003.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4522000102_885655.jpeg b/radiantproduction/Societes/radiant/Photos/4522000102_885655.jpeg deleted file mode 100644 index 240dee0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4522000102_885655.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4536015201_251102.jpeg b/radiantproduction/Societes/radiant/Photos/4536015201_251102.jpeg deleted file mode 100644 index 2c1d516..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4536015201_251102.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4561000102_794039.jpeg b/radiantproduction/Societes/radiant/Photos/4561000102_794039.jpeg deleted file mode 100644 index acdbd17..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4561000102_794039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4561000104_740174.jpeg b/radiantproduction/Societes/radiant/Photos/4561000104_740174.jpeg deleted file mode 100644 index 0cfb9eb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4561000104_740174.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4564000101_125540.jpeg b/radiantproduction/Societes/radiant/Photos/4564000101_125540.jpeg deleted file mode 100644 index fd89393..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4564000101_125540.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4566000101_502978.jpeg b/radiantproduction/Societes/radiant/Photos/4566000101_502978.jpeg deleted file mode 100644 index 9dd2819..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4566000101_502978.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4571005701_832473.jpeg b/radiantproduction/Societes/radiant/Photos/4571005701_832473.jpeg deleted file mode 100644 index b3da1af..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4571005701_832473.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4608000101_999929.jpeg b/radiantproduction/Societes/radiant/Photos/4608000101_999929.jpeg deleted file mode 100644 index cd45b4e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4608000101_999929.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4608000201_647369.jpeg b/radiantproduction/Societes/radiant/Photos/4608000201_647369.jpeg deleted file mode 100644 index 846df32..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4608000201_647369.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4608000301_419210.jpeg b/radiantproduction/Societes/radiant/Photos/4608000301_419210.jpeg deleted file mode 100644 index 5739fc9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4608000301_419210.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4624000101_458099.jpeg b/radiantproduction/Societes/radiant/Photos/4624000101_458099.jpeg deleted file mode 100644 index b2fedf9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4624000101_458099.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4634000101_508277.jpeg b/radiantproduction/Societes/radiant/Photos/4634000101_508277.jpeg deleted file mode 100644 index 5319dfd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4634000101_508277.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4635000101_968268.jpeg b/radiantproduction/Societes/radiant/Photos/4635000101_968268.jpeg deleted file mode 100644 index 1330d62..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4635000101_968268.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4660000101_948722.jpeg b/radiantproduction/Societes/radiant/Photos/4660000101_948722.jpeg deleted file mode 100644 index 54277e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4660000101_948722.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4661000101_71758.jpeg b/radiantproduction/Societes/radiant/Photos/4661000101_71758.jpeg deleted file mode 100644 index 10f0f3d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4661000101_71758.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4681000102_910704.jpeg b/radiantproduction/Societes/radiant/Photos/4681000102_910704.jpeg deleted file mode 100644 index f0e63ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4681000102_910704.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4696000101_781452.jpeg b/radiantproduction/Societes/radiant/Photos/4696000101_781452.jpeg deleted file mode 100644 index 06ac899..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4696000101_781452.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4716000103_542272.jpeg b/radiantproduction/Societes/radiant/Photos/4716000103_542272.jpeg deleted file mode 100644 index 2c05529..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4716000103_542272.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4716000104_653063.jpeg b/radiantproduction/Societes/radiant/Photos/4716000104_653063.jpeg deleted file mode 100644 index 9e16c6d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4716000104_653063.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4718000102_450743.jpeg b/radiantproduction/Societes/radiant/Photos/4718000102_450743.jpeg deleted file mode 100644 index 85b10a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4718000102_450743.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4718000103_510804.jpeg b/radiantproduction/Societes/radiant/Photos/4718000103_510804.jpeg deleted file mode 100644 index 852f7c6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4718000103_510804.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4737000101_690408.jpeg b/radiantproduction/Societes/radiant/Photos/4737000101_690408.jpeg deleted file mode 100644 index e27f24f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4737000101_690408.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4749000101_661633.jpeg b/radiantproduction/Societes/radiant/Photos/4749000101_661633.jpeg deleted file mode 100644 index d216e6b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4749000101_661633.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4749000104_84616.jpeg b/radiantproduction/Societes/radiant/Photos/4749000104_84616.jpeg deleted file mode 100644 index 82f66a4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4749000104_84616.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4751000103_183500.jpeg b/radiantproduction/Societes/radiant/Photos/4751000103_183500.jpeg deleted file mode 100644 index 5f89f7f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4751000103_183500.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4794000203_835346.jpeg b/radiantproduction/Societes/radiant/Photos/4794000203_835346.jpeg deleted file mode 100644 index a6f56cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4794000203_835346.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4794000501_912668.jpeg b/radiantproduction/Societes/radiant/Photos/4794000501_912668.jpeg deleted file mode 100644 index 5466205..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4794000501_912668.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4799000103_327082.jpeg b/radiantproduction/Societes/radiant/Photos/4799000103_327082.jpeg deleted file mode 100644 index a95841c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4799000103_327082.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4799000104_22000.jpeg b/radiantproduction/Societes/radiant/Photos/4799000104_22000.jpeg deleted file mode 100644 index 0b27149..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4799000104_22000.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4801000101_302598.jpeg b/radiantproduction/Societes/radiant/Photos/4801000101_302598.jpeg deleted file mode 100644 index 2792c1a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4801000101_302598.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4816000102_495402.jpeg b/radiantproduction/Societes/radiant/Photos/4816000102_495402.jpeg deleted file mode 100644 index 0de17a3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4816000102_495402.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4831000101_372088.jpeg b/radiantproduction/Societes/radiant/Photos/4831000101_372088.jpeg deleted file mode 100644 index 2efb019..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4831000101_372088.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4831000102_733395.jpeg b/radiantproduction/Societes/radiant/Photos/4831000102_733395.jpeg deleted file mode 100644 index 71d147e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4831000102_733395.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4831000103_566383.jpeg b/radiantproduction/Societes/radiant/Photos/4831000103_566383.jpeg deleted file mode 100644 index ec89224..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4831000103_566383.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4831000104_183124.jpeg b/radiantproduction/Societes/radiant/Photos/4831000104_183124.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4831000104_183124.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4831000105_473920.jpeg b/radiantproduction/Societes/radiant/Photos/4831000105_473920.jpeg deleted file mode 100644 index 554d497..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4831000105_473920.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4831000106_696978.jpeg b/radiantproduction/Societes/radiant/Photos/4831000106_696978.jpeg deleted file mode 100644 index 5ecd7cf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4831000106_696978.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4837000103_563929.jpeg b/radiantproduction/Societes/radiant/Photos/4837000103_563929.jpeg deleted file mode 100644 index bbad4f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4837000103_563929.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4838000503_206307.jpeg b/radiantproduction/Societes/radiant/Photos/4838000503_206307.jpeg deleted file mode 100644 index 72f7f3f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4838000503_206307.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4847000102_489186.jpeg b/radiantproduction/Societes/radiant/Photos/4847000102_489186.jpeg deleted file mode 100644 index 963c2d9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4847000102_489186.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4847000103_932149.jpeg b/radiantproduction/Societes/radiant/Photos/4847000103_932149.jpeg deleted file mode 100644 index 20200a2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4847000103_932149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4885000404_360878.jpeg b/radiantproduction/Societes/radiant/Photos/4885000404_360878.jpeg deleted file mode 100644 index 94bf2fb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4885000404_360878.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4893000104_621093.jpeg b/radiantproduction/Societes/radiant/Photos/4893000104_621093.jpeg deleted file mode 100644 index 0949c7a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4893000104_621093.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4893000105_633365.jpeg b/radiantproduction/Societes/radiant/Photos/4893000105_633365.jpeg deleted file mode 100644 index d5013d9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4893000105_633365.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4896004301_36618.jpeg b/radiantproduction/Societes/radiant/Photos/4896004301_36618.jpeg deleted file mode 100644 index e2d0350..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4896004301_36618.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4901000101_25065.jpeg b/radiantproduction/Societes/radiant/Photos/4901000101_25065.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4901000101_25065.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4917000101_440199.jpeg b/radiantproduction/Societes/radiant/Photos/4917000101_440199.jpeg deleted file mode 100644 index 619665b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4917000101_440199.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4939000102_561054.jpeg b/radiantproduction/Societes/radiant/Photos/4939000102_561054.jpeg deleted file mode 100644 index f1e6b8b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4939000102_561054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4958001101_897251.jpeg b/radiantproduction/Societes/radiant/Photos/4958001101_897251.jpeg deleted file mode 100644 index a93c6f2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4958001101_897251.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4962000101_376180.jpeg b/radiantproduction/Societes/radiant/Photos/4962000101_376180.jpeg deleted file mode 100644 index 5aa5ded..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4962000101_376180.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4962000102_168833.jpeg b/radiantproduction/Societes/radiant/Photos/4962000102_168833.jpeg deleted file mode 100644 index 23e7388..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4962000102_168833.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4962000102_930548.jpeg b/radiantproduction/Societes/radiant/Photos/4962000102_930548.jpeg deleted file mode 100644 index 87bb74d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4962000102_930548.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974000501_370273.jpeg b/radiantproduction/Societes/radiant/Photos/4974000501_370273.jpeg deleted file mode 100644 index 07bb533..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974000501_370273.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974001101_591994.jpeg b/radiantproduction/Societes/radiant/Photos/4974001101_591994.jpeg deleted file mode 100644 index 4e4e94c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974001101_591994.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974001305_87928.jpeg b/radiantproduction/Societes/radiant/Photos/4974001305_87928.jpeg deleted file mode 100644 index 2745ba9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974001305_87928.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974001401_582630.jpeg b/radiantproduction/Societes/radiant/Photos/4974001401_582630.jpeg deleted file mode 100644 index 8cc8110..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974001401_582630.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974002101_53876.jpeg b/radiantproduction/Societes/radiant/Photos/4974002101_53876.jpeg deleted file mode 100644 index 7c01283..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974002101_53876.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974002101_93984.jpeg b/radiantproduction/Societes/radiant/Photos/4974002101_93984.jpeg deleted file mode 100644 index 9a5866f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974002101_93984.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974003101_645481.jpeg b/radiantproduction/Societes/radiant/Photos/4974003101_645481.jpeg deleted file mode 100644 index 87b24c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974003101_645481.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974003201_11925.jpeg b/radiantproduction/Societes/radiant/Photos/4974003201_11925.jpeg deleted file mode 100644 index 6f0ff0e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974003201_11925.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974003203_340392.jpeg b/radiantproduction/Societes/radiant/Photos/4974003203_340392.jpeg deleted file mode 100644 index 81edfa2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974003203_340392.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974004401_837417.jpeg b/radiantproduction/Societes/radiant/Photos/4974004401_837417.jpeg deleted file mode 100644 index 322f700..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974004401_837417.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974004501_795708.jpeg b/radiantproduction/Societes/radiant/Photos/4974004501_795708.jpeg deleted file mode 100644 index ffb1535..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974004501_795708.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974005002_538589.jpeg b/radiantproduction/Societes/radiant/Photos/4974005002_538589.jpeg deleted file mode 100644 index 2cbaef5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974005002_538589.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974005101_833970.jpeg b/radiantproduction/Societes/radiant/Photos/4974005101_833970.jpeg deleted file mode 100644 index 87b2837..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974005101_833970.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974005501_821384.jpeg b/radiantproduction/Societes/radiant/Photos/4974005501_821384.jpeg deleted file mode 100644 index c15c72d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974005501_821384.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974005801_578907.jpeg b/radiantproduction/Societes/radiant/Photos/4974005801_578907.jpeg deleted file mode 100644 index 1a46c11..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974005801_578907.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974005901_50094.jpeg b/radiantproduction/Societes/radiant/Photos/4974005901_50094.jpeg deleted file mode 100644 index 32f4c27..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974005901_50094.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974005901_805874.jpeg b/radiantproduction/Societes/radiant/Photos/4974005901_805874.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974005901_805874.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974006001_120400.jpeg b/radiantproduction/Societes/radiant/Photos/4974006001_120400.jpeg deleted file mode 100644 index 82e093b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974006001_120400.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974006003_25861.jpeg b/radiantproduction/Societes/radiant/Photos/4974006003_25861.jpeg deleted file mode 100644 index 766c31d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974006003_25861.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974006301_295784.jpeg b/radiantproduction/Societes/radiant/Photos/4974006301_295784.jpeg deleted file mode 100644 index a7fc930..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974006301_295784.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974007001_392026.jpeg b/radiantproduction/Societes/radiant/Photos/4974007001_392026.jpeg deleted file mode 100644 index e264268..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974007001_392026.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974007101_368086.jpeg b/radiantproduction/Societes/radiant/Photos/4974007101_368086.jpeg deleted file mode 100644 index 00157fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974007101_368086.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974007701_330570.jpeg b/radiantproduction/Societes/radiant/Photos/4974007701_330570.jpeg deleted file mode 100644 index aed6039..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974007701_330570.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974007702_895623.jpeg b/radiantproduction/Societes/radiant/Photos/4974007702_895623.jpeg deleted file mode 100644 index e904001..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974007702_895623.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974007804_106119.jpeg b/radiantproduction/Societes/radiant/Photos/4974007804_106119.jpeg deleted file mode 100644 index a2c447a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974007804_106119.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974008101_436568.jpeg b/radiantproduction/Societes/radiant/Photos/4974008101_436568.jpeg deleted file mode 100644 index 52b8a16..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974008101_436568.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974008801_549394.jpeg b/radiantproduction/Societes/radiant/Photos/4974008801_549394.jpeg deleted file mode 100644 index 95aa755..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974008801_549394.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974008801_971858.jpeg b/radiantproduction/Societes/radiant/Photos/4974008801_971858.jpeg deleted file mode 100644 index a4c2a1c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974008801_971858.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974009702_882803.jpeg b/radiantproduction/Societes/radiant/Photos/4974009702_882803.jpeg deleted file mode 100644 index 5365bb6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974009702_882803.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974010302_630400.jpeg b/radiantproduction/Societes/radiant/Photos/4974010302_630400.jpeg deleted file mode 100644 index e162f6e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974010302_630400.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974010303_397639.jpeg b/radiantproduction/Societes/radiant/Photos/4974010303_397639.jpeg deleted file mode 100644 index da53321..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974010303_397639.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974010304_469617.jpeg b/radiantproduction/Societes/radiant/Photos/4974010304_469617.jpeg deleted file mode 100644 index f5af89b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974010304_469617.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974011001_460792.jpeg b/radiantproduction/Societes/radiant/Photos/4974011001_460792.jpeg deleted file mode 100644 index 9206d2c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974011001_460792.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974011403_307486.jpeg b/radiantproduction/Societes/radiant/Photos/4974011403_307486.jpeg deleted file mode 100644 index 29dc023..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974011403_307486.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974012701_213364.jpeg b/radiantproduction/Societes/radiant/Photos/4974012701_213364.jpeg deleted file mode 100644 index 0db8073..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974012701_213364.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974012803_106855.jpeg b/radiantproduction/Societes/radiant/Photos/4974012803_106855.jpeg deleted file mode 100644 index b1ad987..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974012803_106855.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974012901_684206.jpeg b/radiantproduction/Societes/radiant/Photos/4974012901_684206.jpeg deleted file mode 100644 index 7b555bc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974012901_684206.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974013602_863569.jpeg b/radiantproduction/Societes/radiant/Photos/4974013602_863569.jpeg deleted file mode 100644 index 36ddb46..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974013602_863569.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974013801_557498.jpeg b/radiantproduction/Societes/radiant/Photos/4974013801_557498.jpeg deleted file mode 100644 index 718fe7f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974013801_557498.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974013801_665346.jpg b/radiantproduction/Societes/radiant/Photos/4974013801_665346.jpg deleted file mode 100644 index a2f3354..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974013801_665346.jpg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974013801_709273.jpg b/radiantproduction/Societes/radiant/Photos/4974013801_709273.jpg deleted file mode 100644 index d910090..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974013801_709273.jpg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974013805_49327.jpeg b/radiantproduction/Societes/radiant/Photos/4974013805_49327.jpeg deleted file mode 100644 index eac4e47..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974013805_49327.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974013806_192245.jpeg b/radiantproduction/Societes/radiant/Photos/4974013806_192245.jpeg deleted file mode 100644 index 4f3e6be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974013806_192245.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974014601_360219.jpeg b/radiantproduction/Societes/radiant/Photos/4974014601_360219.jpeg deleted file mode 100644 index ee1a0f6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974014601_360219.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974014901_830406.jpeg b/radiantproduction/Societes/radiant/Photos/4974014901_830406.jpeg deleted file mode 100644 index 86121f8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974014901_830406.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974015301_238979.jpeg b/radiantproduction/Societes/radiant/Photos/4974015301_238979.jpeg deleted file mode 100644 index a8632d8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974015301_238979.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974015702_874341.jpeg b/radiantproduction/Societes/radiant/Photos/4974015702_874341.jpeg deleted file mode 100644 index 465dce8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974015702_874341.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974015806_97964.jpeg b/radiantproduction/Societes/radiant/Photos/4974015806_97964.jpeg deleted file mode 100644 index e6d6bad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974015806_97964.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974015901_127195.jpeg b/radiantproduction/Societes/radiant/Photos/4974015901_127195.jpeg deleted file mode 100644 index e60cfbc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974015901_127195.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974015902_855996.jpeg b/radiantproduction/Societes/radiant/Photos/4974015902_855996.jpeg deleted file mode 100644 index 221663f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974015902_855996.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974016501_383777.jpeg b/radiantproduction/Societes/radiant/Photos/4974016501_383777.jpeg deleted file mode 100644 index e6b1c85..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974016501_383777.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974016503_280861.jpeg b/radiantproduction/Societes/radiant/Photos/4974016503_280861.jpeg deleted file mode 100644 index 1ecfd6d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974016503_280861.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974016801_26620.jpeg b/radiantproduction/Societes/radiant/Photos/4974016801_26620.jpeg deleted file mode 100644 index 49b7916..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974016801_26620.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974017201_466289.jpeg b/radiantproduction/Societes/radiant/Photos/4974017201_466289.jpeg deleted file mode 100644 index 0e0f9be..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974017201_466289.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974017402_75883.jpeg b/radiantproduction/Societes/radiant/Photos/4974017402_75883.jpeg deleted file mode 100644 index 47f6f4e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974017402_75883.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974018001_356189.jpeg b/radiantproduction/Societes/radiant/Photos/4974018001_356189.jpeg deleted file mode 100644 index 9e47615..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974018001_356189.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974019301_936437.jpeg b/radiantproduction/Societes/radiant/Photos/4974019301_936437.jpeg deleted file mode 100644 index 417bfcb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974019301_936437.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974019802_291083.jpeg b/radiantproduction/Societes/radiant/Photos/4974019802_291083.jpeg deleted file mode 100644 index 75daba1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974019802_291083.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974019804_510645.jpeg b/radiantproduction/Societes/radiant/Photos/4974019804_510645.jpeg deleted file mode 100644 index a30bb09..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974019804_510645.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974020805_977104.jpeg b/radiantproduction/Societes/radiant/Photos/4974020805_977104.jpeg deleted file mode 100644 index fc4ad22..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974020805_977104.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974020902_361082.jpeg b/radiantproduction/Societes/radiant/Photos/4974020902_361082.jpeg deleted file mode 100644 index 5e1ad0a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974020902_361082.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974020902_804554.jpeg b/radiantproduction/Societes/radiant/Photos/4974020902_804554.jpeg deleted file mode 100644 index 7f73e26..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974020902_804554.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974021301_780858.jpeg b/radiantproduction/Societes/radiant/Photos/4974021301_780858.jpeg deleted file mode 100644 index 8e9271d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974021301_780858.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974022301_6389.jpeg b/radiantproduction/Societes/radiant/Photos/4974022301_6389.jpeg deleted file mode 100644 index 73e9791..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974022301_6389.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974023902_705054.jpeg b/radiantproduction/Societes/radiant/Photos/4974023902_705054.jpeg deleted file mode 100644 index 9cb114c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974023902_705054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974024002_6711.jpeg b/radiantproduction/Societes/radiant/Photos/4974024002_6711.jpeg deleted file mode 100644 index fe162df..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974024002_6711.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974024102_153149.jpeg b/radiantproduction/Societes/radiant/Photos/4974024102_153149.jpeg deleted file mode 100644 index 16e5209..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974024102_153149.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974024401_548774.jpeg b/radiantproduction/Societes/radiant/Photos/4974024401_548774.jpeg deleted file mode 100644 index a61e0c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974024401_548774.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974024801_607336.jpeg b/radiantproduction/Societes/radiant/Photos/4974024801_607336.jpeg deleted file mode 100644 index 36eb93d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974024801_607336.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974025401_848302.jpeg b/radiantproduction/Societes/radiant/Photos/4974025401_848302.jpeg deleted file mode 100644 index 2e56941..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974025401_848302.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974025501_42674.jpeg b/radiantproduction/Societes/radiant/Photos/4974025501_42674.jpeg deleted file mode 100644 index ab20b07..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974025501_42674.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974025502_38993.jpeg b/radiantproduction/Societes/radiant/Photos/4974025502_38993.jpeg deleted file mode 100644 index f3e89b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974025502_38993.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4974025504_355401.jpeg b/radiantproduction/Societes/radiant/Photos/4974025504_355401.jpeg deleted file mode 100644 index 5dc8e1b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4974025504_355401.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4975000501_913366.jpeg b/radiantproduction/Societes/radiant/Photos/4975000501_913366.jpeg deleted file mode 100644 index 2578e25..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4975000501_913366.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/4994001601_752676.jpeg b/radiantproduction/Societes/radiant/Photos/4994001601_752676.jpeg deleted file mode 100644 index aaa7be5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/4994001601_752676.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5032000102_2844.jpeg b/radiantproduction/Societes/radiant/Photos/5032000102_2844.jpeg deleted file mode 100644 index a769640..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5032000102_2844.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5032000103_520369.jpeg b/radiantproduction/Societes/radiant/Photos/5032000103_520369.jpeg deleted file mode 100644 index c30552e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5032000103_520369.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035000301_799724.jpeg b/radiantproduction/Societes/radiant/Photos/5035000301_799724.jpeg deleted file mode 100644 index d88ece4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035000301_799724.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035000404_35308.jpeg b/radiantproduction/Societes/radiant/Photos/5035000404_35308.jpeg deleted file mode 100644 index dee4355..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035000404_35308.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035001601_433039.jpeg b/radiantproduction/Societes/radiant/Photos/5035001601_433039.jpeg deleted file mode 100644 index c23edaf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035001601_433039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035001604_558021.jpeg b/radiantproduction/Societes/radiant/Photos/5035001604_558021.jpeg deleted file mode 100644 index 510ea10..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035001604_558021.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035003103_718623.jpeg b/radiantproduction/Societes/radiant/Photos/5035003103_718623.jpeg deleted file mode 100644 index c47a968..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035003103_718623.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035003601_987242.jpeg b/radiantproduction/Societes/radiant/Photos/5035003601_987242.jpeg deleted file mode 100644 index 4f960a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035003601_987242.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035003605_248566.jpeg b/radiantproduction/Societes/radiant/Photos/5035003605_248566.jpeg deleted file mode 100644 index 3adfc02..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035003605_248566.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5035003701_988697.jpeg b/radiantproduction/Societes/radiant/Photos/5035003701_988697.jpeg deleted file mode 100644 index e6d0d30..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5035003701_988697.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5045000101_223706.jpeg b/radiantproduction/Societes/radiant/Photos/5045000101_223706.jpeg deleted file mode 100644 index 7db40d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5045000101_223706.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5045000101_328301.jpeg b/radiantproduction/Societes/radiant/Photos/5045000101_328301.jpeg deleted file mode 100644 index 5e9f46c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5045000101_328301.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5045000101_815648.jpeg b/radiantproduction/Societes/radiant/Photos/5045000101_815648.jpeg deleted file mode 100644 index 5e9f46c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5045000101_815648.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5045000102_908257.jpeg b/radiantproduction/Societes/radiant/Photos/5045000102_908257.jpeg deleted file mode 100644 index beb1ed8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5045000102_908257.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5045000104_588661.jpeg b/radiantproduction/Societes/radiant/Photos/5045000104_588661.jpeg deleted file mode 100644 index 339e400..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5045000104_588661.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5056000101_843135.jpeg b/radiantproduction/Societes/radiant/Photos/5056000101_843135.jpeg deleted file mode 100644 index e6a777a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5056000101_843135.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5056000102_509302.jpeg b/radiantproduction/Societes/radiant/Photos/5056000102_509302.jpeg deleted file mode 100644 index 42838a1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5056000102_509302.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5063000103_317454.jpeg b/radiantproduction/Societes/radiant/Photos/5063000103_317454.jpeg deleted file mode 100644 index 94b050b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5063000103_317454.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5064000102_388065.jpeg b/radiantproduction/Societes/radiant/Photos/5064000102_388065.jpeg deleted file mode 100644 index 3768a68..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5064000102_388065.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5068004401_903681.jpeg b/radiantproduction/Societes/radiant/Photos/5068004401_903681.jpeg deleted file mode 100644 index 935998f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5068004401_903681.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5085000101_632520.jpeg b/radiantproduction/Societes/radiant/Photos/5085000101_632520.jpeg deleted file mode 100644 index 75e8129..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5085000101_632520.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5088000101_423881.jpeg b/radiantproduction/Societes/radiant/Photos/5088000101_423881.jpeg deleted file mode 100644 index d232d96..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5088000101_423881.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5088000102_264719.jpeg b/radiantproduction/Societes/radiant/Photos/5088000102_264719.jpeg deleted file mode 100644 index 02def2b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5088000102_264719.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5088000103_666509.jpeg b/radiantproduction/Societes/radiant/Photos/5088000103_666509.jpeg deleted file mode 100644 index 2c29d20..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5088000103_666509.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5088000104_153937.jpeg b/radiantproduction/Societes/radiant/Photos/5088000104_153937.jpeg deleted file mode 100644 index 32f91c9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5088000104_153937.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5095000102_793364.jpeg b/radiantproduction/Societes/radiant/Photos/5095000102_793364.jpeg deleted file mode 100644 index 6a559dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5095000102_793364.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5095000103_90120.jpeg b/radiantproduction/Societes/radiant/Photos/5095000103_90120.jpeg deleted file mode 100644 index e89fb75..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5095000103_90120.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5095000104_372262.jpeg b/radiantproduction/Societes/radiant/Photos/5095000104_372262.jpeg deleted file mode 100644 index 95858ad..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5095000104_372262.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5111000101_120873.jpeg b/radiantproduction/Societes/radiant/Photos/5111000101_120873.jpeg deleted file mode 100644 index eab1e86..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5111000101_120873.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5111000101_252932.jpeg b/radiantproduction/Societes/radiant/Photos/5111000101_252932.jpeg deleted file mode 100644 index eab1e86..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5111000101_252932.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5111000102_990846.jpeg b/radiantproduction/Societes/radiant/Photos/5111000102_990846.jpeg deleted file mode 100644 index 50f026b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5111000102_990846.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5111000103_252594.jpeg b/radiantproduction/Societes/radiant/Photos/5111000103_252594.jpeg deleted file mode 100644 index 00889cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5111000103_252594.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5121000101_47949.jpeg b/radiantproduction/Societes/radiant/Photos/5121000101_47949.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5121000101_47949.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5122000101_583817.jpeg b/radiantproduction/Societes/radiant/Photos/5122000101_583817.jpeg deleted file mode 100644 index 0faa8d0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5122000101_583817.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5122000102_808820.jpeg b/radiantproduction/Societes/radiant/Photos/5122000102_808820.jpeg deleted file mode 100644 index b17778f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5122000102_808820.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5138001002_121468.jpeg b/radiantproduction/Societes/radiant/Photos/5138001002_121468.jpeg deleted file mode 100644 index a746bd9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5138001002_121468.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5138001004_11210.jpeg b/radiantproduction/Societes/radiant/Photos/5138001004_11210.jpeg deleted file mode 100644 index 3860e82..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5138001004_11210.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5138004001_974900.jpeg b/radiantproduction/Societes/radiant/Photos/5138004001_974900.jpeg deleted file mode 100644 index 40635dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5138004001_974900.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5138004003_248632.jpeg b/radiantproduction/Societes/radiant/Photos/5138004003_248632.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5138004003_248632.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5138004003_597141.jpeg b/radiantproduction/Societes/radiant/Photos/5138004003_597141.jpeg deleted file mode 100644 index b91804f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5138004003_597141.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5160000402_881773.jpeg b/radiantproduction/Societes/radiant/Photos/5160000402_881773.jpeg deleted file mode 100644 index 5ef3e3b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5160000402_881773.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165000203_178067.jpeg b/radiantproduction/Societes/radiant/Photos/5165000203_178067.jpeg deleted file mode 100644 index 8205447..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165000203_178067.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165000402_562168.jpeg b/radiantproduction/Societes/radiant/Photos/5165000402_562168.jpeg deleted file mode 100644 index 83395d5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165000402_562168.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165000501_883584.jpeg b/radiantproduction/Societes/radiant/Photos/5165000501_883584.jpeg deleted file mode 100644 index e4932a6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165000501_883584.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165001001_23899.jpeg b/radiantproduction/Societes/radiant/Photos/5165001001_23899.jpeg deleted file mode 100644 index a5e5347..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165001001_23899.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165001703_821748.jpeg b/radiantproduction/Societes/radiant/Photos/5165001703_821748.jpeg deleted file mode 100644 index 7398a54..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165001703_821748.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165001801_198441.jpeg b/radiantproduction/Societes/radiant/Photos/5165001801_198441.jpeg deleted file mode 100644 index d714f48..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165001801_198441.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002201_253020.jpeg b/radiantproduction/Societes/radiant/Photos/5165002201_253020.jpeg deleted file mode 100644 index c2f011f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002201_253020.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002203_799069.jpeg b/radiantproduction/Societes/radiant/Photos/5165002203_799069.jpeg deleted file mode 100644 index e8cfe52..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002203_799069.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002204_679841.jpeg b/radiantproduction/Societes/radiant/Photos/5165002204_679841.jpeg deleted file mode 100644 index 599d736..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002204_679841.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002401_679587.jpeg b/radiantproduction/Societes/radiant/Photos/5165002401_679587.jpeg deleted file mode 100644 index 482a739..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002401_679587.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002504_274779.jpeg b/radiantproduction/Societes/radiant/Photos/5165002504_274779.jpeg deleted file mode 100644 index 09a10b5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002504_274779.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002801_950327.jpeg b/radiantproduction/Societes/radiant/Photos/5165002801_950327.jpeg deleted file mode 100644 index 05ffbf5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002801_950327.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165002807_181462.jpeg b/radiantproduction/Societes/radiant/Photos/5165002807_181462.jpeg deleted file mode 100644 index b560b62..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165002807_181462.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165003202_264907.jpeg b/radiantproduction/Societes/radiant/Photos/5165003202_264907.jpeg deleted file mode 100644 index 53a4200..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165003202_264907.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165003401_864743.jpeg b/radiantproduction/Societes/radiant/Photos/5165003401_864743.jpeg deleted file mode 100644 index a9aef3d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165003401_864743.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165004703_98693.jpeg b/radiantproduction/Societes/radiant/Photos/5165004703_98693.jpeg deleted file mode 100644 index 06ac74c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165004703_98693.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165004704_57999.jpeg b/radiantproduction/Societes/radiant/Photos/5165004704_57999.jpeg deleted file mode 100644 index 2d48542..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165004704_57999.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165005001_804664.jpeg b/radiantproduction/Societes/radiant/Photos/5165005001_804664.jpeg deleted file mode 100644 index f4b5e6e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165005001_804664.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165005101_174553.jpeg b/radiantproduction/Societes/radiant/Photos/5165005101_174553.jpeg deleted file mode 100644 index 5eab14a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165005101_174553.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165005901_829159.jpeg b/radiantproduction/Societes/radiant/Photos/5165005901_829159.jpeg deleted file mode 100644 index 76a13d0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165005901_829159.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165005904_327186.jpeg b/radiantproduction/Societes/radiant/Photos/5165005904_327186.jpeg deleted file mode 100644 index e5d2cca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165005904_327186.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165006601_56396.jpeg b/radiantproduction/Societes/radiant/Photos/5165006601_56396.jpeg deleted file mode 100644 index b832723..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165006601_56396.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165007001_696305.jpeg b/radiantproduction/Societes/radiant/Photos/5165007001_696305.jpeg deleted file mode 100644 index 34f2141..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165007001_696305.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165007301_375730.jpeg b/radiantproduction/Societes/radiant/Photos/5165007301_375730.jpeg deleted file mode 100644 index 48a9b70..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165007301_375730.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165007801_593939.jpeg b/radiantproduction/Societes/radiant/Photos/5165007801_593939.jpeg deleted file mode 100644 index 5e71c18..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165007801_593939.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008001_53019.jpeg b/radiantproduction/Societes/radiant/Photos/5165008001_53019.jpeg deleted file mode 100644 index 4dce2dc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008001_53019.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008303_246851.jpeg b/radiantproduction/Societes/radiant/Photos/5165008303_246851.jpeg deleted file mode 100644 index 0cbdfd6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008303_246851.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008303_249348.jpeg b/radiantproduction/Societes/radiant/Photos/5165008303_249348.jpeg deleted file mode 100644 index fd67c1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008303_249348.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008303_58270.jpeg b/radiantproduction/Societes/radiant/Photos/5165008303_58270.jpeg deleted file mode 100644 index fd67c1f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008303_58270.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008401_62401.jpeg b/radiantproduction/Societes/radiant/Photos/5165008401_62401.jpeg deleted file mode 100644 index f075fcd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008401_62401.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008501_182599.jpeg b/radiantproduction/Societes/radiant/Photos/5165008501_182599.jpeg deleted file mode 100644 index 687e75c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008501_182599.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008501_840540.jpeg b/radiantproduction/Societes/radiant/Photos/5165008501_840540.jpeg deleted file mode 100644 index e305a5c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008501_840540.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008504_451892.jpeg b/radiantproduction/Societes/radiant/Photos/5165008504_451892.jpeg deleted file mode 100644 index b7102c1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008504_451892.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008601_555779.jpeg b/radiantproduction/Societes/radiant/Photos/5165008601_555779.jpeg deleted file mode 100644 index 453ac53..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008601_555779.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165008602_785670.jpeg b/radiantproduction/Societes/radiant/Photos/5165008602_785670.jpeg deleted file mode 100644 index c05820a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165008602_785670.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009101_553635.jpeg b/radiantproduction/Societes/radiant/Photos/5165009101_553635.jpeg deleted file mode 100644 index 8aaee5d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009101_553635.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009104_106433.jpeg b/radiantproduction/Societes/radiant/Photos/5165009104_106433.jpeg deleted file mode 100644 index 216c88a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009104_106433.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009201_122172.jpeg b/radiantproduction/Societes/radiant/Photos/5165009201_122172.jpeg deleted file mode 100644 index 9a8f4a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009201_122172.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009501_291467.jpeg b/radiantproduction/Societes/radiant/Photos/5165009501_291467.jpeg deleted file mode 100644 index 3ae3711..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009501_291467.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009702_71871.jpeg b/radiantproduction/Societes/radiant/Photos/5165009702_71871.jpeg deleted file mode 100644 index 7df2be4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009702_71871.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009702_758714.jpeg b/radiantproduction/Societes/radiant/Photos/5165009702_758714.jpeg deleted file mode 100644 index 7df2be4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009702_758714.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165009905_688852.jpeg b/radiantproduction/Societes/radiant/Photos/5165009905_688852.jpeg deleted file mode 100644 index 1875eea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165009905_688852.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165010001_740901.jpeg b/radiantproduction/Societes/radiant/Photos/5165010001_740901.jpeg deleted file mode 100644 index 310a8c4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165010001_740901.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165010301_93531.jpeg b/radiantproduction/Societes/radiant/Photos/5165010301_93531.jpeg deleted file mode 100644 index a173bcf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165010301_93531.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165010401_801709.jpeg b/radiantproduction/Societes/radiant/Photos/5165010401_801709.jpeg deleted file mode 100644 index 9fcf761..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165010401_801709.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165011101_263417.jpeg b/radiantproduction/Societes/radiant/Photos/5165011101_263417.jpeg deleted file mode 100644 index 990a835..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165011101_263417.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165011301_877973.jpeg b/radiantproduction/Societes/radiant/Photos/5165011301_877973.jpeg deleted file mode 100644 index aab31b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165011301_877973.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165011901_223115.jpeg b/radiantproduction/Societes/radiant/Photos/5165011901_223115.jpeg deleted file mode 100644 index 956f095..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165011901_223115.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165011902_526992.jpeg b/radiantproduction/Societes/radiant/Photos/5165011902_526992.jpeg deleted file mode 100644 index 471359d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165011902_526992.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012001_821941.jpeg b/radiantproduction/Societes/radiant/Photos/5165012001_821941.jpeg deleted file mode 100644 index 3a3b4a5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012001_821941.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012201_748366.jpeg b/radiantproduction/Societes/radiant/Photos/5165012201_748366.jpeg deleted file mode 100644 index 67f5a63..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012201_748366.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012604_250978.jpeg b/radiantproduction/Societes/radiant/Photos/5165012604_250978.jpeg deleted file mode 100644 index e1c1180..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012604_250978.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012701_764228.jpeg b/radiantproduction/Societes/radiant/Photos/5165012701_764228.jpeg deleted file mode 100644 index a9a1504..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012701_764228.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012702_82324.jpeg b/radiantproduction/Societes/radiant/Photos/5165012702_82324.jpeg deleted file mode 100644 index bc998cd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012702_82324.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012704_479350.jpeg b/radiantproduction/Societes/radiant/Photos/5165012704_479350.jpeg deleted file mode 100644 index bf77fce..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012704_479350.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165012901_961670.jpeg b/radiantproduction/Societes/radiant/Photos/5165012901_961670.jpeg deleted file mode 100644 index 6a3f192..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165012901_961670.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013001_238306.jpeg b/radiantproduction/Societes/radiant/Photos/5165013001_238306.jpeg deleted file mode 100644 index 205246d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013001_238306.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013002_313024.jpeg b/radiantproduction/Societes/radiant/Photos/5165013002_313024.jpeg deleted file mode 100644 index b3f36df..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013002_313024.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013101_545008.jpeg b/radiantproduction/Societes/radiant/Photos/5165013101_545008.jpeg deleted file mode 100644 index 02b5ca7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013101_545008.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013102_664457.jpeg b/radiantproduction/Societes/radiant/Photos/5165013102_664457.jpeg deleted file mode 100644 index 09671ba..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013102_664457.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013104_94909.jpeg b/radiantproduction/Societes/radiant/Photos/5165013104_94909.jpeg deleted file mode 100644 index 18e5f0f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013104_94909.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013401_566242.jpeg b/radiantproduction/Societes/radiant/Photos/5165013401_566242.jpeg deleted file mode 100644 index 06c6c8d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013401_566242.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013901_457939.jpeg b/radiantproduction/Societes/radiant/Photos/5165013901_457939.jpeg deleted file mode 100644 index 20dd1e5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013901_457939.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165013903_315823.jpeg b/radiantproduction/Societes/radiant/Photos/5165013903_315823.jpeg deleted file mode 100644 index 306014a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165013903_315823.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165014602_462066.jpeg b/radiantproduction/Societes/radiant/Photos/5165014602_462066.jpeg deleted file mode 100644 index e0d94db..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165014602_462066.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165014701_758054.jpeg b/radiantproduction/Societes/radiant/Photos/5165014701_758054.jpeg deleted file mode 100644 index 12447b9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165014701_758054.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165015301_103307.jpeg b/radiantproduction/Societes/radiant/Photos/5165015301_103307.jpeg deleted file mode 100644 index 699fd91..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165015301_103307.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165015301_430989.jpeg b/radiantproduction/Societes/radiant/Photos/5165015301_430989.jpeg deleted file mode 100644 index 7c15cb3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165015301_430989.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165015702_632926.jpeg b/radiantproduction/Societes/radiant/Photos/5165015702_632926.jpeg deleted file mode 100644 index 154e351..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165015702_632926.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165015801_212502.jpeg b/radiantproduction/Societes/radiant/Photos/5165015801_212502.jpeg deleted file mode 100644 index 3a2badd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165015801_212502.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165015901_874838.jpeg b/radiantproduction/Societes/radiant/Photos/5165015901_874838.jpeg deleted file mode 100644 index ea3bda3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165015901_874838.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165016101_104628.jpeg b/radiantproduction/Societes/radiant/Photos/5165016101_104628.jpeg deleted file mode 100644 index e16df5f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165016101_104628.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165016202_616012.jpeg b/radiantproduction/Societes/radiant/Photos/5165016202_616012.jpeg deleted file mode 100644 index ea078b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165016202_616012.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165016204_708608.jpeg b/radiantproduction/Societes/radiant/Photos/5165016204_708608.jpeg deleted file mode 100644 index 125d410..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165016204_708608.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165016301_535515.jpeg b/radiantproduction/Societes/radiant/Photos/5165016301_535515.jpeg deleted file mode 100644 index c31109b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165016301_535515.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165016802_528684.jpeg b/radiantproduction/Societes/radiant/Photos/5165016802_528684.jpeg deleted file mode 100644 index cff463d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165016802_528684.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165017301_700900.jpeg b/radiantproduction/Societes/radiant/Photos/5165017301_700900.jpeg deleted file mode 100644 index 4bc3594..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165017301_700900.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165017702_77053.jpeg b/radiantproduction/Societes/radiant/Photos/5165017702_77053.jpeg deleted file mode 100644 index 433cfcb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165017702_77053.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165018304_140352.jpeg b/radiantproduction/Societes/radiant/Photos/5165018304_140352.jpeg deleted file mode 100644 index 5b82066..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165018304_140352.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165018401_385227.jpeg b/radiantproduction/Societes/radiant/Photos/5165018401_385227.jpeg deleted file mode 100644 index 8e1fa84..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165018401_385227.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165018501_678956.jpeg b/radiantproduction/Societes/radiant/Photos/5165018501_678956.jpeg deleted file mode 100644 index e4b963a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165018501_678956.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165019001_899266.jpeg b/radiantproduction/Societes/radiant/Photos/5165019001_899266.jpeg deleted file mode 100644 index aa66416..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165019001_899266.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165020301_10217.jpeg b/radiantproduction/Societes/radiant/Photos/5165020301_10217.jpeg deleted file mode 100644 index 5b160bb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165020301_10217.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165021001_223393.jpeg b/radiantproduction/Societes/radiant/Photos/5165021001_223393.jpeg deleted file mode 100644 index 118a30e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165021001_223393.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165021201_547274.jpeg b/radiantproduction/Societes/radiant/Photos/5165021201_547274.jpeg deleted file mode 100644 index aa037bb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165021201_547274.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165021401_459300.jpeg b/radiantproduction/Societes/radiant/Photos/5165021401_459300.jpeg deleted file mode 100644 index e4b5711..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165021401_459300.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165021703_255177.jpeg b/radiantproduction/Societes/radiant/Photos/5165021703_255177.jpeg deleted file mode 100644 index 34062fd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165021703_255177.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165021802_179093.jpeg b/radiantproduction/Societes/radiant/Photos/5165021802_179093.jpeg deleted file mode 100644 index b8ed450..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165021802_179093.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165021902_65333.jpeg b/radiantproduction/Societes/radiant/Photos/5165021902_65333.jpeg deleted file mode 100644 index 793819e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165021902_65333.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165022101_661248.jpeg b/radiantproduction/Societes/radiant/Photos/5165022101_661248.jpeg deleted file mode 100644 index 5569fdf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165022101_661248.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023001_364522.jpeg b/radiantproduction/Societes/radiant/Photos/5165023001_364522.jpeg deleted file mode 100644 index 0a7f1e8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023001_364522.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023202_205654.jpeg b/radiantproduction/Societes/radiant/Photos/5165023202_205654.jpeg deleted file mode 100644 index 1238d7c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023202_205654.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023203_67771.jpeg b/radiantproduction/Societes/radiant/Photos/5165023203_67771.jpeg deleted file mode 100644 index 9b04ea7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023203_67771.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023301_841800.jpeg b/radiantproduction/Societes/radiant/Photos/5165023301_841800.jpeg deleted file mode 100644 index e2d8292..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023301_841800.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023302_41988.jpeg b/radiantproduction/Societes/radiant/Photos/5165023302_41988.jpeg deleted file mode 100644 index cd40a87..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023302_41988.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023303_226379.jpeg b/radiantproduction/Societes/radiant/Photos/5165023303_226379.jpeg deleted file mode 100644 index 271264c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023303_226379.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023501_360881.jpeg b/radiantproduction/Societes/radiant/Photos/5165023501_360881.jpeg deleted file mode 100644 index c3ad496..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023501_360881.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023801_542380.jpeg b/radiantproduction/Societes/radiant/Photos/5165023801_542380.jpeg deleted file mode 100644 index c100884..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023801_542380.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165023901_149768.jpeg b/radiantproduction/Societes/radiant/Photos/5165023901_149768.jpeg deleted file mode 100644 index a332557..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165023901_149768.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165024101_482274.jpeg b/radiantproduction/Societes/radiant/Photos/5165024101_482274.jpeg deleted file mode 100644 index cc2b9c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165024101_482274.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165024301_529884.jpeg b/radiantproduction/Societes/radiant/Photos/5165024301_529884.jpeg deleted file mode 100644 index 691debf..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165024301_529884.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165024601_177441.jpeg b/radiantproduction/Societes/radiant/Photos/5165024601_177441.jpeg deleted file mode 100644 index ad9baec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165024601_177441.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165024602_252604.jpeg b/radiantproduction/Societes/radiant/Photos/5165024602_252604.jpeg deleted file mode 100644 index fba603d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165024602_252604.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165024801_209641.jpeg b/radiantproduction/Societes/radiant/Photos/5165024801_209641.jpeg deleted file mode 100644 index ee1a5ca..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165024801_209641.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165025201_240838.jpeg b/radiantproduction/Societes/radiant/Photos/5165025201_240838.jpeg deleted file mode 100644 index f9d3a94..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165025201_240838.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165025301_559562.jpeg b/radiantproduction/Societes/radiant/Photos/5165025301_559562.jpeg deleted file mode 100644 index ebd06b8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165025301_559562.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165025302_515356.jpeg b/radiantproduction/Societes/radiant/Photos/5165025302_515356.jpeg deleted file mode 100644 index d8aaf3c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165025302_515356.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165025903_958541.jpeg b/radiantproduction/Societes/radiant/Photos/5165025903_958541.jpeg deleted file mode 100644 index bd0fcf1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165025903_958541.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165025904_7124.jpeg b/radiantproduction/Societes/radiant/Photos/5165025904_7124.jpeg deleted file mode 100644 index f36d261..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165025904_7124.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165026101_537885.jpeg b/radiantproduction/Societes/radiant/Photos/5165026101_537885.jpeg deleted file mode 100644 index 5416af6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165026101_537885.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5165026301_529815.jpeg b/radiantproduction/Societes/radiant/Photos/5165026301_529815.jpeg deleted file mode 100644 index 8b7e1e9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5165026301_529815.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5167000101_2699.jpeg b/radiantproduction/Societes/radiant/Photos/5167000101_2699.jpeg deleted file mode 100644 index fbaea93..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5167000101_2699.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000301_852341.jpeg b/radiantproduction/Societes/radiant/Photos/5174000301_852341.jpeg deleted file mode 100644 index fdf006b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000301_852341.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000303_396675.jpeg b/radiantproduction/Societes/radiant/Photos/5174000303_396675.jpeg deleted file mode 100644 index f19f16c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000303_396675.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000304_897056.jpeg b/radiantproduction/Societes/radiant/Photos/5174000304_897056.jpeg deleted file mode 100644 index cbec70b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000304_897056.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000305_549489.jpeg b/radiantproduction/Societes/radiant/Photos/5174000305_549489.jpeg deleted file mode 100644 index 8e452fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000305_549489.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000401_946741.jpeg b/radiantproduction/Societes/radiant/Photos/5174000401_946741.jpeg deleted file mode 100644 index 233cad3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000401_946741.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000402_853388.jpeg b/radiantproduction/Societes/radiant/Photos/5174000402_853388.jpeg deleted file mode 100644 index 7c4f8f7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000402_853388.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000403_639048.jpeg b/radiantproduction/Societes/radiant/Photos/5174000403_639048.jpeg deleted file mode 100644 index c3e0495..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000403_639048.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000601_597814.jpeg b/radiantproduction/Societes/radiant/Photos/5174000601_597814.jpeg deleted file mode 100644 index ba42801..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000601_597814.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000701_34236.jpeg b/radiantproduction/Societes/radiant/Photos/5174000701_34236.jpeg deleted file mode 100644 index 8c32288..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000701_34236.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174000901_432358.jpeg b/radiantproduction/Societes/radiant/Photos/5174000901_432358.jpeg deleted file mode 100644 index 9e5b5cc..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174000901_432358.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5174001401_525142.jpeg b/radiantproduction/Societes/radiant/Photos/5174001401_525142.jpeg deleted file mode 100644 index 01576c8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5174001401_525142.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5185000101_585787.jpeg b/radiantproduction/Societes/radiant/Photos/5185000101_585787.jpeg deleted file mode 100644 index 3936348..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5185000101_585787.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5185000105_83586.jpeg b/radiantproduction/Societes/radiant/Photos/5185000105_83586.jpeg deleted file mode 100644 index bea3bfb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5185000105_83586.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5185000106_896205.jpeg b/radiantproduction/Societes/radiant/Photos/5185000106_896205.jpeg deleted file mode 100644 index e218976..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5185000106_896205.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5185000504_131705.jpeg b/radiantproduction/Societes/radiant/Photos/5185000504_131705.jpeg deleted file mode 100644 index 3fb5af6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5185000504_131705.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5185000702_606810.jpeg b/radiantproduction/Societes/radiant/Photos/5185000702_606810.jpeg deleted file mode 100644 index 0ff1355..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5185000702_606810.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5192003201_283834.jpeg b/radiantproduction/Societes/radiant/Photos/5192003201_283834.jpeg deleted file mode 100644 index 23cb45d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5192003201_283834.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5192003401_182296.jpg b/radiantproduction/Societes/radiant/Photos/5192003401_182296.jpg deleted file mode 100644 index d910090..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5192003401_182296.jpg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5192003401_485414.jpeg b/radiantproduction/Societes/radiant/Photos/5192003401_485414.jpeg deleted file mode 100644 index 6be272a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5192003401_485414.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5194000202_209587.jpeg b/radiantproduction/Societes/radiant/Photos/5194000202_209587.jpeg deleted file mode 100644 index 6dd3355..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5194000202_209587.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5194000203_60427.jpeg b/radiantproduction/Societes/radiant/Photos/5194000203_60427.jpeg deleted file mode 100644 index 7ec2743..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5194000203_60427.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5194000206_671415.jpeg b/radiantproduction/Societes/radiant/Photos/5194000206_671415.jpeg deleted file mode 100644 index 6e827ee..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5194000206_671415.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5194000207_347321.jpeg b/radiantproduction/Societes/radiant/Photos/5194000207_347321.jpeg deleted file mode 100644 index cdc4b02..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5194000207_347321.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5194000901_95426.jpeg b/radiantproduction/Societes/radiant/Photos/5194000901_95426.jpeg deleted file mode 100644 index c525604..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5194000901_95426.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5194001102_561452.jpeg b/radiantproduction/Societes/radiant/Photos/5194001102_561452.jpeg deleted file mode 100644 index c1e02e3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5194001102_561452.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5201000102_447123.jpeg b/radiantproduction/Societes/radiant/Photos/5201000102_447123.jpeg deleted file mode 100644 index be9a91f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5201000102_447123.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5202000101_967723.jpeg b/radiantproduction/Societes/radiant/Photos/5202000101_967723.jpeg deleted file mode 100644 index 4739a11..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5202000101_967723.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5203000101_410397.jpeg b/radiantproduction/Societes/radiant/Photos/5203000101_410397.jpeg deleted file mode 100644 index c1ace43..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5203000101_410397.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5226002101_988868.jpeg b/radiantproduction/Societes/radiant/Photos/5226002101_988868.jpeg deleted file mode 100644 index 37f633e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5226002101_988868.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5226002401_564397.jpeg b/radiantproduction/Societes/radiant/Photos/5226002401_564397.jpeg deleted file mode 100644 index 44edf55..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5226002401_564397.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241000401_339716.jpeg b/radiantproduction/Societes/radiant/Photos/5241000401_339716.jpeg deleted file mode 100644 index 9de6f71..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241000401_339716.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241000701_326838.jpeg b/radiantproduction/Societes/radiant/Photos/5241000701_326838.jpeg deleted file mode 100644 index f4bf739..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241000701_326838.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241001101_331370.jpeg b/radiantproduction/Societes/radiant/Photos/5241001101_331370.jpeg deleted file mode 100644 index a55f01e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241001101_331370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241001301_516621.jpeg b/radiantproduction/Societes/radiant/Photos/5241001301_516621.jpeg deleted file mode 100644 index 68b930b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241001301_516621.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241001601_882879.jpeg b/radiantproduction/Societes/radiant/Photos/5241001601_882879.jpeg deleted file mode 100644 index 75d265b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241001601_882879.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002103_720798.jpeg b/radiantproduction/Societes/radiant/Photos/5241002103_720798.jpeg deleted file mode 100644 index d6225b7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002103_720798.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002301_903617.jpeg b/radiantproduction/Societes/radiant/Photos/5241002301_903617.jpeg deleted file mode 100644 index e828ae1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002301_903617.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002501_278049.jpeg b/radiantproduction/Societes/radiant/Photos/5241002501_278049.jpeg deleted file mode 100644 index 8a7567a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002501_278049.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002502_694906.jpeg b/radiantproduction/Societes/radiant/Photos/5241002502_694906.jpeg deleted file mode 100644 index 8a46233..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002502_694906.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002701_879047.jpeg b/radiantproduction/Societes/radiant/Photos/5241002701_879047.jpeg deleted file mode 100644 index b9d6f8e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002701_879047.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002702_907932.jpeg b/radiantproduction/Societes/radiant/Photos/5241002702_907932.jpeg deleted file mode 100644 index 66f1245..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002702_907932.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241002801_458041.jpeg b/radiantproduction/Societes/radiant/Photos/5241002801_458041.jpeg deleted file mode 100644 index 5d16359..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241002801_458041.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241003001_39870.jpeg b/radiantproduction/Societes/radiant/Photos/5241003001_39870.jpeg deleted file mode 100644 index c7a7430..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241003001_39870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241003601_342430.jpeg b/radiantproduction/Societes/radiant/Photos/5241003601_342430.jpeg deleted file mode 100644 index ec401c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241003601_342430.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241003605_915888.jpeg b/radiantproduction/Societes/radiant/Photos/5241003605_915888.jpeg deleted file mode 100644 index e3bb511..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241003605_915888.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241003702_111878.jpeg b/radiantproduction/Societes/radiant/Photos/5241003702_111878.jpeg deleted file mode 100644 index e194ff2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241003702_111878.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241003901_325114.jpeg b/radiantproduction/Societes/radiant/Photos/5241003901_325114.jpeg deleted file mode 100644 index 1c485e9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241003901_325114.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241004401_763291.jpeg b/radiantproduction/Societes/radiant/Photos/5241004401_763291.jpeg deleted file mode 100644 index f30ccd0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241004401_763291.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241004403_354424.jpeg b/radiantproduction/Societes/radiant/Photos/5241004403_354424.jpeg deleted file mode 100644 index 333201d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241004403_354424.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241004501_676046.jpeg b/radiantproduction/Societes/radiant/Photos/5241004501_676046.jpeg deleted file mode 100644 index 2c1a862..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241004501_676046.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241004801_54251.jpeg b/radiantproduction/Societes/radiant/Photos/5241004801_54251.jpeg deleted file mode 100644 index dd16d6a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241004801_54251.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005102_359459.jpeg b/radiantproduction/Societes/radiant/Photos/5241005102_359459.jpeg deleted file mode 100644 index 2637e33..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005102_359459.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005103_279465.jpeg b/radiantproduction/Societes/radiant/Photos/5241005103_279465.jpeg deleted file mode 100644 index 17728bd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005103_279465.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005301_206696.jpeg b/radiantproduction/Societes/radiant/Photos/5241005301_206696.jpeg deleted file mode 100644 index 2b0b899..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005301_206696.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005401_843362.jpeg b/radiantproduction/Societes/radiant/Photos/5241005401_843362.jpeg deleted file mode 100644 index c3da6fd..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005401_843362.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005403_449048.jpeg b/radiantproduction/Societes/radiant/Photos/5241005403_449048.jpeg deleted file mode 100644 index cba840d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005403_449048.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005502_29544.jpeg b/radiantproduction/Societes/radiant/Photos/5241005502_29544.jpeg deleted file mode 100644 index 9bb914d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005502_29544.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005702_460837.jpeg b/radiantproduction/Societes/radiant/Photos/5241005702_460837.jpeg deleted file mode 100644 index 67e2565..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005702_460837.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005801_312002.jpeg b/radiantproduction/Societes/radiant/Photos/5241005801_312002.jpeg deleted file mode 100644 index 14229f5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005801_312002.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241005901_775665.jpeg b/radiantproduction/Societes/radiant/Photos/5241005901_775665.jpeg deleted file mode 100644 index 170c6fa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241005901_775665.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241006101_855869.jpeg b/radiantproduction/Societes/radiant/Photos/5241006101_855869.jpeg deleted file mode 100644 index e32ef5e..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241006101_855869.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241006104_206881.jpeg b/radiantproduction/Societes/radiant/Photos/5241006104_206881.jpeg deleted file mode 100644 index 274d6ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241006104_206881.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241006301_481370.jpeg b/radiantproduction/Societes/radiant/Photos/5241006301_481370.jpeg deleted file mode 100644 index 0ae22ea..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241006301_481370.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241006901_568062.jpeg b/radiantproduction/Societes/radiant/Photos/5241006901_568062.jpeg deleted file mode 100644 index 3a48237..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241006901_568062.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241006901_676643.jpeg b/radiantproduction/Societes/radiant/Photos/5241006901_676643.jpeg deleted file mode 100644 index a7f235c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241006901_676643.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241007004_638325.jpeg b/radiantproduction/Societes/radiant/Photos/5241007004_638325.jpeg deleted file mode 100644 index 308ed09..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241007004_638325.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241007202_297212.jpeg b/radiantproduction/Societes/radiant/Photos/5241007202_297212.jpeg deleted file mode 100644 index 196a5a9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241007202_297212.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241007301_404231.jpeg b/radiantproduction/Societes/radiant/Photos/5241007301_404231.jpeg deleted file mode 100644 index e2d452c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241007301_404231.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008103_166956.jpeg b/radiantproduction/Societes/radiant/Photos/5241008103_166956.jpeg deleted file mode 100644 index 7001522..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008103_166956.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008104_295254.jpeg b/radiantproduction/Societes/radiant/Photos/5241008104_295254.jpeg deleted file mode 100644 index 6dc8a0c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008104_295254.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008205_569279.jpeg b/radiantproduction/Societes/radiant/Photos/5241008205_569279.jpeg deleted file mode 100644 index af942e5..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008205_569279.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008501_653088.jpeg b/radiantproduction/Societes/radiant/Photos/5241008501_653088.jpeg deleted file mode 100644 index ca265b6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008501_653088.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008504_597010.jpeg b/radiantproduction/Societes/radiant/Photos/5241008504_597010.jpeg deleted file mode 100644 index 9630459..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008504_597010.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008601_294920.jpeg b/radiantproduction/Societes/radiant/Photos/5241008601_294920.jpeg deleted file mode 100644 index f675380..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008601_294920.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008602_187622.jpeg b/radiantproduction/Societes/radiant/Photos/5241008602_187622.jpeg deleted file mode 100644 index c188a76..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008602_187622.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008603_774335.jpeg b/radiantproduction/Societes/radiant/Photos/5241008603_774335.jpeg deleted file mode 100644 index 49dcfe6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008603_774335.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008603_949931.jpeg b/radiantproduction/Societes/radiant/Photos/5241008603_949931.jpeg deleted file mode 100644 index 62e92f9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008603_949931.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008802_902336.jpeg b/radiantproduction/Societes/radiant/Photos/5241008802_902336.jpeg deleted file mode 100644 index 6eedc1a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008802_902336.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241008804_149463.jpeg b/radiantproduction/Societes/radiant/Photos/5241008804_149463.jpeg deleted file mode 100644 index 870119d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241008804_149463.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009002_557503.jpeg b/radiantproduction/Societes/radiant/Photos/5241009002_557503.jpeg deleted file mode 100644 index 39caa11..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009002_557503.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009003_251125.jpeg b/radiantproduction/Societes/radiant/Photos/5241009003_251125.jpeg deleted file mode 100644 index 7c3c132..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009003_251125.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009003_383245.jpeg b/radiantproduction/Societes/radiant/Photos/5241009003_383245.jpeg deleted file mode 100644 index 7c3c132..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009003_383245.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009004_938752.jpeg b/radiantproduction/Societes/radiant/Photos/5241009004_938752.jpeg deleted file mode 100644 index 2d3ef66..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009004_938752.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009302_941207.jpeg b/radiantproduction/Societes/radiant/Photos/5241009302_941207.jpeg deleted file mode 100644 index 5c9e7b6..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009302_941207.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009505_596788.jpeg b/radiantproduction/Societes/radiant/Photos/5241009505_596788.jpeg deleted file mode 100644 index be976f0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009505_596788.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241009701_819310.jpeg b/radiantproduction/Societes/radiant/Photos/5241009701_819310.jpeg deleted file mode 100644 index 755aaf2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241009701_819310.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241011601_286952.jpeg b/radiantproduction/Societes/radiant/Photos/5241011601_286952.jpeg deleted file mode 100644 index 3e01434..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241011601_286952.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241011701_823861.jpeg b/radiantproduction/Societes/radiant/Photos/5241011701_823861.jpeg deleted file mode 100644 index 08597f4..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241011701_823861.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241011804_229945.jpeg b/radiantproduction/Societes/radiant/Photos/5241011804_229945.jpeg deleted file mode 100644 index 58c0a77..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241011804_229945.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241011804_674607.jpeg b/radiantproduction/Societes/radiant/Photos/5241011804_674607.jpeg deleted file mode 100644 index f46e8d2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241011804_674607.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241012203_639301.jpeg b/radiantproduction/Societes/radiant/Photos/5241012203_639301.jpeg deleted file mode 100644 index 87d5bf1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241012203_639301.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241012301_680306.jpeg b/radiantproduction/Societes/radiant/Photos/5241012301_680306.jpeg deleted file mode 100644 index ab61df1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241012301_680306.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241012503_395321.jpeg b/radiantproduction/Societes/radiant/Photos/5241012503_395321.jpeg deleted file mode 100644 index c0e9bfa..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241012503_395321.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241013201_262602.jpeg b/radiantproduction/Societes/radiant/Photos/5241013201_262602.jpeg deleted file mode 100644 index 751727d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241013201_262602.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241013905_760886.jpeg b/radiantproduction/Societes/radiant/Photos/5241013905_760886.jpeg deleted file mode 100644 index 724d5fe..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241013905_760886.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014101_956395.jpeg b/radiantproduction/Societes/radiant/Photos/5241014101_956395.jpeg deleted file mode 100644 index 527d0eb..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014101_956395.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014106_219663.jpeg b/radiantproduction/Societes/radiant/Photos/5241014106_219663.jpeg deleted file mode 100644 index cf56880..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014106_219663.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014402_727203.jpeg b/radiantproduction/Societes/radiant/Photos/5241014402_727203.jpeg deleted file mode 100644 index facd84c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014402_727203.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014504_661385.jpeg b/radiantproduction/Societes/radiant/Photos/5241014504_661385.jpeg deleted file mode 100644 index 4c3533a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014504_661385.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014602_950405.jpeg b/radiantproduction/Societes/radiant/Photos/5241014602_950405.jpeg deleted file mode 100644 index 194be9c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014602_950405.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014701_250870.jpeg b/radiantproduction/Societes/radiant/Photos/5241014701_250870.jpeg deleted file mode 100644 index 2706865..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014701_250870.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014703_970526.jpeg b/radiantproduction/Societes/radiant/Photos/5241014703_970526.jpeg deleted file mode 100644 index 39420d7..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014703_970526.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014705_518386.jpeg b/radiantproduction/Societes/radiant/Photos/5241014705_518386.jpeg deleted file mode 100644 index 527e862..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014705_518386.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241014901_603658.jpeg b/radiantproduction/Societes/radiant/Photos/5241014901_603658.jpeg deleted file mode 100644 index 9aa6fc8..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241014901_603658.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241015003_557308.jpeg b/radiantproduction/Societes/radiant/Photos/5241015003_557308.jpeg deleted file mode 100644 index d2139c2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241015003_557308.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241015004_140122.jpeg b/radiantproduction/Societes/radiant/Photos/5241015004_140122.jpeg deleted file mode 100644 index 8adc407..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241015004_140122.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241015401_751199.jpeg b/radiantproduction/Societes/radiant/Photos/5241015401_751199.jpeg deleted file mode 100644 index d1c9b30..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241015401_751199.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241015504_13679.jpeg b/radiantproduction/Societes/radiant/Photos/5241015504_13679.jpeg deleted file mode 100644 index 7e158a0..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241015504_13679.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241015701_256934.jpeg b/radiantproduction/Societes/radiant/Photos/5241015701_256934.jpeg deleted file mode 100644 index fbdf34f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241015701_256934.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241015901_703376.jpeg b/radiantproduction/Societes/radiant/Photos/5241015901_703376.jpeg deleted file mode 100644 index 0154a2a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241015901_703376.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016203_272343.jpeg b/radiantproduction/Societes/radiant/Photos/5241016203_272343.jpeg deleted file mode 100644 index c30ff3a..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016203_272343.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016204_563163.jpeg b/radiantproduction/Societes/radiant/Photos/5241016204_563163.jpeg deleted file mode 100644 index 64f9bae..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016204_563163.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016205_591976.jpeg b/radiantproduction/Societes/radiant/Photos/5241016205_591976.jpeg deleted file mode 100644 index 3fc1736..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016205_591976.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016402_178163.jpeg b/radiantproduction/Societes/radiant/Photos/5241016402_178163.jpeg deleted file mode 100644 index c8d9321..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016402_178163.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016503_185538.jpeg b/radiantproduction/Societes/radiant/Photos/5241016503_185538.jpeg deleted file mode 100644 index 25771ab..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016503_185538.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016601_133648.jpeg b/radiantproduction/Societes/radiant/Photos/5241016601_133648.jpeg deleted file mode 100644 index 4803679..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016601_133648.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241016801_405549.jpeg b/radiantproduction/Societes/radiant/Photos/5241016801_405549.jpeg deleted file mode 100644 index c064ec3..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241016801_405549.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017401_942886.jpeg b/radiantproduction/Societes/radiant/Photos/5241017401_942886.jpeg deleted file mode 100644 index dd1d170..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017401_942886.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017402_91926.jpeg b/radiantproduction/Societes/radiant/Photos/5241017402_91926.jpeg deleted file mode 100644 index e0d0583..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017402_91926.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017502_345613.jpeg b/radiantproduction/Societes/radiant/Photos/5241017502_345613.jpeg deleted file mode 100644 index 580f613..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017502_345613.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017901_238179.jpeg b/radiantproduction/Societes/radiant/Photos/5241017901_238179.jpeg deleted file mode 100644 index 2988b0c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017901_238179.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017903_89239.jpeg b/radiantproduction/Societes/radiant/Photos/5241017903_89239.jpeg deleted file mode 100644 index 2657ad1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017903_89239.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017904_935868.jpeg b/radiantproduction/Societes/radiant/Photos/5241017904_935868.jpeg deleted file mode 100644 index 1a6914b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017904_935868.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241017905_827157.jpeg b/radiantproduction/Societes/radiant/Photos/5241017905_827157.jpeg deleted file mode 100644 index 8eb5a36..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241017905_827157.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5241018303_301949.jpeg b/radiantproduction/Societes/radiant/Photos/5241018303_301949.jpeg deleted file mode 100644 index 2cae140..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5241018303_301949.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5293000101_175655.jpeg b/radiantproduction/Societes/radiant/Photos/5293000101_175655.jpeg deleted file mode 100644 index 5b5103c..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5293000101_175655.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5300000103_198182.jpeg b/radiantproduction/Societes/radiant/Photos/5300000103_198182.jpeg deleted file mode 100644 index 634b4d1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5300000103_198182.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5346000101_390263.jpeg b/radiantproduction/Societes/radiant/Photos/5346000101_390263.jpeg deleted file mode 100644 index 4689f72..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5346000101_390263.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5348000101_33244.jpeg b/radiantproduction/Societes/radiant/Photos/5348000101_33244.jpeg deleted file mode 100644 index 09708a2..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5348000101_33244.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5406000102_313258.jpeg b/radiantproduction/Societes/radiant/Photos/5406000102_313258.jpeg deleted file mode 100644 index 1c3118f..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5406000102_313258.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5406000105_617028.jpeg b/radiantproduction/Societes/radiant/Photos/5406000105_617028.jpeg deleted file mode 100644 index 98a1451..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5406000105_617028.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5410000102_311644.jpeg b/radiantproduction/Societes/radiant/Photos/5410000102_311644.jpeg deleted file mode 100644 index 393a038..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5410000102_311644.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5411001204_462536.jpeg b/radiantproduction/Societes/radiant/Photos/5411001204_462536.jpeg deleted file mode 100644 index 4cd1bb1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5411001204_462536.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5411003805_631301.jpeg b/radiantproduction/Societes/radiant/Photos/5411003805_631301.jpeg deleted file mode 100644 index df9cfec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5411003805_631301.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5448000103_341483.jpeg b/radiantproduction/Societes/radiant/Photos/5448000103_341483.jpeg deleted file mode 100644 index 43bb752..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5448000103_341483.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5452000101_647193.jpeg b/radiantproduction/Societes/radiant/Photos/5452000101_647193.jpeg deleted file mode 100644 index 51d917b..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5452000101_647193.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5452000102_217674.jpeg b/radiantproduction/Societes/radiant/Photos/5452000102_217674.jpeg deleted file mode 100644 index eb137f1..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5452000102_217674.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5453000101_28039.jpeg b/radiantproduction/Societes/radiant/Photos/5453000101_28039.jpeg deleted file mode 100644 index 4d7f990..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5453000101_28039.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/5589000101_568864.jpeg b/radiantproduction/Societes/radiant/Photos/5589000101_568864.jpeg deleted file mode 100644 index d6c9fec..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/5589000101_568864.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/_73155.jpeg b/radiantproduction/Societes/radiant/Photos/_73155.jpeg deleted file mode 100644 index fe21ce9..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/_73155.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Photos/_976450.jpeg b/radiantproduction/Societes/radiant/Photos/_976450.jpeg deleted file mode 100644 index 97f311d..0000000 Binary files a/radiantproduction/Societes/radiant/Photos/_976450.jpeg and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Consultercollegeindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Consultercollegeindex.php deleted file mode 100644 index 4e5e3ef..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Consultercollegeindex.php +++ /dev/null @@ -1,24 +0,0 @@ -requete->existeParametre("id")) - { - $_SESSION['idCollege']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $this->college_temp->initModifCollege($idCollege, $user); - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - $this->rediriger("Consultercollege"); - } - else - { - $idCollege = $_SESSION['idCollege']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm)); - } -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc1eng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc1eng.php deleted file mode 100644 index bc4fad9..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc1eng.php +++ /dev/null @@ -1,265 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice); - - $listeassures = $this->police->getcpfclisteassures($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC1") - { - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("INDIVIDUAL HEALTH INSURANCE CONTRACT"),1,1,'C',true); - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(0,$ht,convertirc("POLICY NUMBER : ".$entetecp['numeroPolice']),0,1,'C',false); - // $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURER :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Name"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Radiant Insurance Company"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Address"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Kigali, KN 2 Avenue, CHIC Building; P.O. BOX: 1861, Kigali-Rwanda"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Tel"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": +250 788 50 08 77/ 2050"),0,1,'L',false); - - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Names"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Type of Insurance"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Individual Cover"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("TIN/PASSPORT/NID"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Village/Cell/Sector"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("District"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Signing Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Commencement Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEffet']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Ending Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEcheance']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("PERSONS TO BE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Contracting Party’s staff members aged more than 18 years and less than 65 years as of the commencement of the insurance contract, the individual insured person, his/her spouse as well as their dependent children of less than 21 years of age."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); // Page 2 - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("LIST OF PERSONS TO BE INSURED IN THIS CONTRACT :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Names'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Date of Birth'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('Membership Number'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Premiums'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Total'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ANNUAL CEILINGS :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('Guarantee'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amount'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The health insurance scheme will pay the charges incurred for medical care due to, illness, accident, dental and eye care or maternity."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ACCESS TO HEALTH CARE FACILITIES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The insured will receive medical services at All health centers, District, Provincial and Referral hospitals, Kanombe Military Hospital, CHUB, CHUK, and Ndera Hospital, All pharmacies that have partnership with RADIANT INSURANCE COMPANY. -The insured shall a 10% co-pay in public health and pharmacies."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); // Page 3 - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("V. UNCOVERED GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- All medical services that are not related to sickness are not covered; -- Maternity cover becomes effective from 10 months of insurance for the 1st year and immediately when the contract is renewed on the date it was due to expire; -- Vaccination, family planning, infertility, crutches and orthosis, kidney transplantation (dialysis) and other special activities or tests not related to normal illness is not guaranteed. -- CT Scan and MRI are covered for Inpatient cases -- Optical Frames"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("A Procedure for incorporating a new dependent :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Addition of a child born to or spouse shall take place not later than thirty (30) days from the date of birth of the child or from the date of marriage. -Members of the new insured family will be included in the contract plus 50% of the insurance premiums paid by the insured when he or she adds the spouse and 25% when he/she adds the child born regardless of the remaining days until the end of the contract year. Members of his family will have the right to medical treatment from the time their names and birthdays are submitted to RADIANT."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("TERMINATION OF THE AGREEMENT :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The agreement can be terminated if the insured chooses to cancel it and will be refunded the premium paid minus fifteen thousand Rwandan Francs (15,000 Frw) for each card issued, only if it has been done less than 30 days since the first premium payment, meaning they have not yet started using the insurance for themselves or their dependents. -The agreement can be terminated if it is found that the insured has used or attempted to use the insurance for someone not covered by the policy or has knowingly attempted to claim for services not covered by this agreement. In such cases, the premium paid will not be refunded."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); // Page 3 - // $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("FINAL PROVISIONS :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("RADIANT INSURANCE COMPANY cannot be held responsible for any health consequences of the insured arising from treatments received at the hospital or medications prescribed. -These agreements have been approved by both parties involved and are effective from"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Done at Kigali, on ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("THE SUBSCRIBER"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("THE INSURER"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC1 contact"),0,1,'C',false); - } - - /* - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
Output($fichierSimple,"F"); - - // 08/11/2025 => conversion image pdf - pdf_to_image($fichierSimple, $uniqid); - -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc1kiny.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc1kiny.php deleted file mode 100644 index 56dcd5b..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc1kiny.php +++ /dev/null @@ -1,269 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice); - $listeassures = $this->police->getcpfclisteassures($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=8; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC1") - { - $pdf->SetFillColor(135,206,250); // bleu - - $text = convertirc("AMASEZERANO Y’UBWISHINGIZI BWO KWIVUZA BW’UMUNTU KU GITI CYE HAMWE N’ABAGIZE UMURYANGO WE"); - $pdf->MultiCell(0, $ht, $text, 1, 'C',true); - - // MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) - - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("UBWISHINGIZI No"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("AMAZINA YOSE"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Itariki y’amavuko"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(30,$ht,convertirc(dateFr($adherent['dateNaissance'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("No y’indangamuntu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - /* - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Ubwenegihugu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": "),0,1,'L',false); - */ - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Umudugudu/Akagari/Umurenge"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Akarere "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Agiranye amasezerano na"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": RADIANT INSURANCE COMPANY"),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Italiki amasezerano akorewe"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("Ingingo ya 1: IGIHE AMASEZERANO AMARA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Aya masezerano amara umwaka wuzuye utangira kubarwa nyuma y’ukwezi kuzuye uhereye igihe uwabufashe yishyuriye umusanzu bwa mbere."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Cell(48,$ht,convertirc("Igihe cyo gutangira kwivuza : "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc($entetecp['dateEffet']),0,1,'L',false); - - // $pdf->AddPage(); - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 2: ABISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Buri muntu mu bagize umunyamuryango ufite hagati y’imyaka 18 na 65, uwo bashakanye n’abana babo batarengeje imyaka 21 nk’uko bagaragara mu mbonerahamwe iri hasi hamwe n’imisanzu yabo : "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Amazina'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Itariki y’amavuko'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('No y’ubwishingizi'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Umusanzu'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Igiteranyo'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 3: IBYISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Amasezerano y’ubwishingizi bwo kwivuza akubiyemo serivise zo kwivuza biturutse ku mpamvu zo kubyara, impanuka, kwivuza amaso, amenyo ndetse n’ubundi burwayi busanzwe."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 4: AHO BIVURIZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Abafashe ubu bwishingizi bahabwa serivise z’ubuvuzi zitangirwa mu bigo nderabuzima, ibitaro by’uturere n’intara. ibitaro bya gisirikare by’i Kanombe, CHUB, CHUK, n’ibitaro bya NDERA, bitabaye ngombwa gusaba taransiferi. -Uwishingiwe ahabwa imiti yandikiwe na muganga kandi muri farumasi zose mu Rwanda zikorana na Radiant Insurance Company. -Uwishingiwe yishyura buri 10% kuri fagitire y’ibyo yakorewe mu mavuriro ya leta cyangwa imiti yahawe muri farumasi. -Nyuma y’itangira ry’aya masezerano, uwafashe ubwishingizi ku giti cye ashobora kongeramo uwo bashakanye mu gihe yashyingiwe cyangwa umwana bibarutse ku bafashe ubwishingizi nk’umuryango. - -Abagize umuryango w’uwishingiwe bashya bazinjizwa muri aya masezerano hongeweho 50% by’amafaranga yishyuwe n’uwafashe ubwishingizi igihe yongeyemo uwo bashakanye na 25% ku mwana wavutse hatitawe ku minsi isigaye ngo umwaka w’amasezerano urangire. Abagize umuryango we bazahita bagira uburenganzira bwo kwivuza kuva igihe amazina yabo n’imyaka y’amavuko byashyikirijwe RADIANT INSURANCE COMPANY. - -Buri wese ahabwa ikarita y’ubwishingizi agomba kwitwaza igihe agiye kwivuza igafasha abamwakira nawe ubwe kumenya amafaranga yo kwivuza asigaranye ndetse n’ibyo yemerewe gukorerwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ICYITONDERWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Ubu bwishingizi bumara umwaka wuzuye (amezi 12) ushobora kongera kuvugururwa ku bushake bw’uwabufashe, bityo rero, iyo amafaranga yo kwivuza ashize uwafashe ubwishingizi n’abagize umuryango we bongera gukoresha ubwishingizi nyuma yo kongera kwishyura imisanzu y’umwaka ukurikiyeho kandi mu gihe amasezerano ahise avugururwa hatabayeho gukererwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ngingo ya 5: AMAFARANGA YO KWIVUZA KU MWAKA"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('IBITEGANYIJWE'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amafaranga'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieKin']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - // $pdf->AddPage(); - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 6: IBITISHINGIRWA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- Ibintu byose uwishingiwe yifuza gukorerwa kwa muganga bidaturutse ku mpamvu z’uburwayi; -- Ubuvuzi n’imiti y’ibibazo byo kubura urubyaro; -- Imbago, inyunganirangingo n’insimburangingo; -- Indorerwamo z’amaso -- Ibijyanye no kuyungurura impyiko (diyalize), imiti ya diabete, imiti y’ibibazo by’umuvuduko w’amaraso n’ibindi bikorwa cyangwa ibizamini byihariye bitagendanye n’uburwayi; -- Guca mu byuma kabuhariwe nka MRI na Scanner igihe uwivuza atari mu bitaro -- Ibijyanye na serivisi zigenerwa abagore batwite bitangira kwishingirwa ku mwaka ukurikiyeho w’ubwishingizi kandi mu gihe amasezerano yahise avugururwa ku itariki yagombaga kurangiriraho; -- Kwikingiza no kuringaniza urubyaro bikorerwa ubuntu mu mavuriro n’ibigonderabuzima bya Leta."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 7: IHAGARIKWA RY’AMASEZERANO"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("• Amasezerano ashobora guhagarikwa igihe uwafashe ubwishingizi ahisemo kubusesa agasubizwa umusanzu yishyuye havuyemo ibihumbi cumi na bitanu (15,000 Frw) kuri buri karita yahawe, mu gihe gusa hatarashira iminsi 30 uhereye igihe yishyuriye umusanzu wa mbere, bivuze ko aba ataratangira kwivuza cyangwa kuvuza abo yishingiye. - -• Amasezerano ashobora guhagarikwa igihe bigaragaye ko uwafashe ubwishingizi yavuje cyangwa yagerageje kuvuza umuntu utari mubo yafatiye ubwishingizi cyangwa yashatse gukorerwa nkana ibyo azi neza ko bitishingirwa muri aya masezerano kandi umusanzu yishyuwe ntawusubizwa."); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 8: INGINGO ZISOZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("RADIANT INSURANCE COMPANY ntishobora kuryozwa ingaruka zaba ku buzima bw’uwakoresheje ubu ubwishingizi ziturutse ku buvuzi yakorewe kwa muganga cyangwa imiti yandikiwe. -Aya masezerano yemejwe n’impande zombi ziyagiranye kandi afite agaciro uhereye kuwa"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Bikorewe i Kigali, kuwa ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("RADIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc(" UFASHE UBWISHINGIZI"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC1 contact"),0,1,'C',false); - } - -/* - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
Output($fichierSimple,"F"); - - // 08/11/2025 => conversion image pdf - pdf_to_image($fichierSimple, $uniqid); -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php deleted file mode 100644 index 8f80f5f..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php +++ /dev/null @@ -1,275 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice); - $listeassures = $this->police->getcpfclisteassures($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC2") - { - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("INDIVIDUAL HEALTH INSURANCE CONTRACT"),1,1,'C',true); - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(0,$ht,convertirc("POLICY NUMBER : ".$entetecp['numeroPolice']),0,1,'C',false); - // $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURER :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Name"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Radiant Insurance Company"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Address"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Kigali, KN 2 Avenue, CHIC Building; P.O. BOX: 1861, Kigali-Rwanda"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Tel"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": +250 788 50 08 77/ 2050"),0,1,'L',false); - - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Names"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Type of Insurance"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Individual Cover"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("TIN/PASSPORT/NID"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Village/Cell/Sector"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("District"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Signing Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Commencement Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEffet']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Ending Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEcheance']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("PERSONS TO BE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Contracting Party’s staff members aged more than 18 years and less than 65 years as of the commencement of the insurance contract, the individual insured person, his/her spouse as well as their dependent children of less than 21 years of age."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("LIST OF PERSONS TO BE INSURED IN THIS CONTRACT :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Names'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Date of Birth'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('Membership Number'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Premiums'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Total'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ANNUAL CEILINGS :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('Guarantee'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amount'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The health insurance scheme will pay the charges incurred for medical care due to, illness, accident, dental and eye care or maternity."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ACCESS TO HEALTH CARE FACILITIES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The insured will receive medical services at all health centers, district and provincial hospitals, Kanombe Military Hospital, CHUB, CHUK, and Ndera Hospital, plus some clinics as per the list attached on this contract as well as all pharmacies that have partnership with RADIANT INSURANCE COMPANY. -The insured shall a 10% co-pay in public health facilities&Pharmacies and 15% in private clinics."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','BI', 10); - $text = convertirc("Note: This list should be updated by adding or removing a provider any time in accordance with the agreement between RADIANT INSURANCE COMPANY LTD and the provider. In this event, RADIANT INSURANCE COMPANY LTD shall inform the client through the email address or telephone number provided by the client in this contract."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The insured shall a 10% co-pay in public health&pharmacies and 15% in private clinics."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("V. UNCOVERED GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- All medical services that are not related to sickness are not covered; -- Maternity cover becomes effective from 10 months of insurance for the 1st year and immediately when the contract is renewed on the date it was due to expire; -- Vaccination, family planning, infertility, crutches and orthosis, kidney transplantation (dialysis) and other special activities or tests not related to normal illness is not guaranteed. -- CT Scan and MRI are covered for Inpatient cases -- Optical Frame"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("A Procedure for incorporating a new dependent :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Addition of a child born to or spouse shall take place not later than thirty (30) days from the date of birth of the child or from the date of marriage. -Members of the new insured family will be included in the contract plus 75% of the insurance premiums paid by the insured when he or she adds the spouse and 37.5% when he/she adds the child born regardless of the remaining days until the end of the contract year. Members of his family will have the right to medical treatment from the time their names and birthdays are submitted to RADIANT."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("TERMINATION OF THE AGREEMENT :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The agreement can be terminated if the insured chooses to cancel it and will be refunded the premium paid minus fifteen thousand Rwandan Francs (15,000 Frw) for each card issued, only if it has been done less than 30 days since the first premium payment, meaning they have not yet started using the insurance for themselves or their dependents. -The agreement can be terminated if it is found that the insured has used or attempted to use the insurance for someone not covered by the policy or has knowingly attempted to claim for services not covered by this agreement. In such cases, the premium paid will not be refunded."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("FINAL PROVISIONS :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); -$text = convertirc("RADIANT INSURANCE COMPANY cannot be held responsible for any health consequences of the insured arising from treatments received at the hospital or medications prescribed. -These agreements have been approved by both parties involved and are effective from"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Done at Kigali, on ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("THE SUBSCRIBER"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("THE INSURER"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC2 contact"),0,1,'C',false); - } - /* - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
Output($fichierSimple,"F"); - - // 08/11/2025 => conversion image pdf - pdf_to_image($fichierSimple, $uniqid); -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc2kiny.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc2kiny.php deleted file mode 100644 index 39d8205..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpfc2kiny.php +++ /dev/null @@ -1,274 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice); - $listeassures = $this->police->getcpfclisteassures($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=8; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC2") - { - $pdf->SetFillColor(135,206,250); // bleu - - $text = convertirc("AMASEZERANO Y’UBWISHINGIZI BWO KWIVUZA BW’UMUNTU KU GITI CYE HAMWE N’ABAGIZE UMURYANGO WE"); - $pdf->MultiCell(0, $ht, $text, 1, 'C',true); - - // MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) - - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("UBWISHINGIZI No"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("AMAZINA YOSE"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Itariki y’amavuko"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(30,$ht,convertirc(dateFr($adherent['dateNaissance'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("No y’indangamuntu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - /* - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Ubwenegihugu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": "),0,1,'L',false); - */ - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Umudugudu/Akagari/Umurenge"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Akarere "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Agiranye amasezerano na"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": RADIANT INSURANCE COMPANY"),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Italiki amasezerano akorewe"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("Ingingo ya 1: IGIHE AMASEZERANO AMARA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Aya masezerano amara umwaka wuzuye utangira kubarwa nyuma y’ukwezi kuzuye uhereye igihe uwabufashe yishyuriye umusanzu bwa mbere."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Cell(48,$ht,convertirc("Igihe cyo gutangira kwivuza : "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc($entetecp['dateEffet']),0,1,'L',false); - - - $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 2: ABISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Buri muntu mu bagize umunyamuryango ufite hagati y’imyaka 18 na 65, uwo bashakanye n’abana babo batarengeje imyaka 21 nk’uko bagaragara mu mbonerahamwe iri hasi hamwe n’imisanzu yabo : "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Amazina'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Itariki y’amavuko'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('No y’ubwishingizi'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Umusanzu'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Igiteranyo'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 3: IBYISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Amasezerano y’ubwishingizi bwo kwivuza akubiyemo serivise zo kwivuza biturutse ku mpamvu zo kubyara, impanuka, kwivuza amaso, amenyo ndetse n’ubundi burwayi busanzwe."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 4: AHO BIVURIZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Abafashe ubu bwishingizi bahabwa serivise z’ubuvuzi zitangirwa mu bigo nderabuzima, ibitaro by’uturere n’intara. ibitaro bya gisirikare by’i Kanombe, CHUB, CHUK, n’ibitaro bya NDERA, bitabaye ngombwa gusaba taransiferi. Bahabwa kandi serivisi zitangirwa mu mavuriro yigenga agaragara ku rutonde ruri ku mugereka w’aya masezerano. -Uwishingiwe ahabwa imiti yandikiwe na muganga kandi muri farumasi zose mu Rwanda zikorana na Radiant Insurance Company."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','BI', 10); - $text = convertirc("ICYITONDERWA: Amavuriro amwe ashobora kuvanwa cyangwa kwiyongera kuri uru rutonde igihe icyo ari cyo cyose biturutse ku masezerano y’imikoranire RADIANT INSURANCE COMPANY LTD yagiranye n’amavuriro ndetse na Farumasi. Igihe urutonde ruhindutse, uwishingiwe abimenyeshwa binyuze kuri nomero ya telephone cyangwa aderesi imeyili yatanze igihe yafataga ubwishingizi."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Uwishingiwe yishyura buri 10% kuri fagitire y’ibyo yakorewe mu mavuriro ya leta cyangwa imiti yahawe muri farumasi na 15% mu mavuriro yigenga. -Nyuma y’itangira ry’aya masezerano, uwafashe ubwishingizi ku giti cye ashobora kongeramo uwo bashakanye mu gihe yashyingiwe cyangwa umwana bibarutse ku bafashe ubwishingizi nk’umuryango. - -Abagize umuryango w’uwishingiwe bashya bazinjizwa muri aya masezerano hongeweho 75% by’amafaranga yishyuwe n’uwafashe ubwishingizi igihe yongeyemo uwo bashakanye na 37.5% ku mwana wavutse hatitawe ku minsi isigaye ngo umwaka w’amasezerano urangire. Abagize umuryango we bazahita bagira uburenganzira bwo kwivuza kuva igihe amazina yabo n’imyaka y’amavuko byashyikirijwe RADIANT INSURANCE COMPANY."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ICYITONDERWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Ubu bwishingizi bumara umwaka wuzuye (amezi 12) ushobora kongera kuvugururwa ku bushake bw’uwabufashe, bityo rero, iyo amafaranga yo kwivuza ashize uwafashe ubwishingizi n’abagize umuryango we bongera gukoresha ubwishingizi nyuma yo kongera kwishyura imisanzu y’umwaka ukurikiyeho kandi mu gihe amasezerano ahise avugururwa hatabayeho gukererwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ngingo ya 5: AMAFARANGA YO KWIVUZA KU MWAKA"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('IBITEGANYIJWE'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amafaranga'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieKin']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - // $pdf->AddPage(); - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 6: IBITISHINGIRWA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- Ibintu byose uwishingiwe yifuza gukorerwa kwa muganga bidaturutse ku mpamvu z’uburwayi; -- Ubuvuzi n’imiti y’ibibazo byo kubura urubyaro; -- Imbago, inyunganirangingo n’insimburangingo; -- Indorerwamo z’amaso -- Ibijyanye no kuyungurura impyiko (diyalize), n’ibindi bikorwa cyangwa ibizamini byihariye bitagendanye n’uburwayi; -- Guca mu byuma kabuhariwe nka MRI na Scanner igihe uwivuza atari mu bitaro -- Ibijyanye na serivisi zigenerwa abagore batwite bitangira kwishingirwa guhera hashize amezi 10 umuntu afashe ubwishingizi igihe ari ubwa mbere abufashe ndetse n’igihe amasezerano ahise avugururwa ku munsi yarangiriyeho. -- Kwikingiza no kuringaniza urubyaro bikorerwa ubuntu mu mavuriro n’ibigonderabuzima bya Leta."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 7: IHAGARIKWA RY’AMASEZERANO"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("• Amasezerano ashobora guhagarikwa igihe uwafashe ubwishingizi ahisemo kubusesa agasubizwa umusanzu yishyuye havuyemo ibihumbi cumi na bitanu (15,000 Frw) kuri buri karita yahawe, mu gihe gusa hatarashira iminsi 30 uhereye igihe yishyuriye umusanzu wa mbere, bivuze ko aba ataratangira kwivuza cyangwa kuvuza abo yishingiye. - -• Amasezerano ashobora guhagarikwa igihe bigaragaye ko uwafashe ubwishingizi yavuje cyangwa yagerageje kuvuza umuntu utari mubo yafatiye ubwishingizi cyangwa yashatse gukorerwa nkana ibyo azi neza ko bitishingirwa muri aya masezerano kandi umusanzu yishyuwe ntawusubizwa."); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 8: INGINGO ZISOZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("RADIANT INSURANCE COMPANY ntishobora kuryozwa ingaruka zaba ku buzima bw’uwakoresheje ubu ubwishingizi ziturutse ku buvuzi yakorewe kwa muganga cyangwa imiti yandikiwe. -Aya masezerano yemejwe n’impande zombi ziyagiranye kandi afite agaciro uhereye kuwa"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Bikorewe i Kigali, kuwa ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("RADIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc(" UFASHE UBWISHINGIZI"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC1 contact"),0,1,'C',false); - } - - /* - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
Output($fichierSimple,"F"); - - // 08/11/2025 => conversion image pdf - pdf_to_image($fichierSimple, $uniqid); -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpstandard.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpstandard.php deleted file mode 100644 index 275702e..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpstandard.php +++ /dev/null @@ -1,675 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - // $tableauajustementcps = $this->police->gettableauAjustementCP($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - if($entetecp['codeTypeContrat'] == "G") - { - $pdf->Cell(0,$ht,convertirc("CONTRAT - GROUPE D'ASSURANCE SANTE"),1,1,'C',true); - } - else - { - $pdf->Cell(0,$ht,convertirc("CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true); - } - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(50,$ht,convertirc("No POLICE"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(50,$ht,convertirc("SOUSCRITE PAR"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(50,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("En qualité de CONTRACTANT "),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Le présent contrat est constitué et régi par les CONDITIONS PARTICULIERES, les DISPOSITIONS"),0,1,'C',false); - $pdf->Cell(0,$ht,convertirc("SPECIALES ainsi que par les CONDITIONS GENERALES."),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Il a pour objet la garantie suivante :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("CONDITIONS PARTICULIERES"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat "); - $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']); - $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à "); - $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - foreach ($collegecps as $collegecp) - { - $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 9); - $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées "); - $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec "); - $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture."); - $pdf->MultiCell(0, $ht, $text); - $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident. -Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU CONTRAT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Le présent contrat est souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']." -Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité. -Ainsi, sont prises en charge les prestations médicales suivantes : -- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques. -- Les conditions de prématurité sont couvertes -- L'IRM et d'autres tests spéciaux sont tous couverts -- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande -le remboursement ou la différence à RDIANT INSURANCE COMPANY (applicable pour les options avec ticket modérateur) -- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable -- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant -- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé). -- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale). -- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de RDIANT INSURANCE COMPANY -- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement. -- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger -- La chambre individuelle est couverte -- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte -- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata -- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge -- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement. -- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré. -- La liste de tous les partenaires de RDIANT INSURANCE COMPANY est jointe à cette offre technique -- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec RDIANT INSURANCE COMPANY et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques. -- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours -- Gestion commune avec l'employeur des cas de fraudes -- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner. -- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement. -- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, RDIANT INSURANCE COMPANY peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste. -Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableau ci-dessous :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['codeProduit']." : ".$tableaupretationcp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleCollege']; - } - - // $pdf->AddPage(); - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['codeProduit']." : ".$garantiescollegecp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleCollege']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - // $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties définies ci-dessus sont accordées moyennant des cotisations de :"); - - $pdf->MultiCell(0, $ht, $text); - - /* - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoireBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total Général"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($entetecp['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - } - else - { - */ - $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total Général"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($entetecp['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - // } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT DE LA PRIME"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes (déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Traitement cosmétique et chirurgie esthétique -- Blessures dues à la participation aux jeux et activités dangereuses -- Blessures dues à la participation aux greves et émeutes -- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance -- Traitement prophylactique, les compléments alimentaires -- Cardiopathie ischemique -- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue -- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins) -- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers -- Coût d'appareils auditifs, à moins qu’il résulte d’un accident -- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident -- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("POUR RDIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false); - - /* - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
Output($fichierSimple,"F"); - - // 08/11/2025 => conversion image pdf - pdf_to_image($fichierSimple, $uniqid); -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php deleted file mode 100644 index 828410c..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php +++ /dev/null @@ -1,578 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("MEDICOR – HEALTH INSURANCE"),1,1,'C',true); - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(45,$ht,convertirc("No Policy"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(45,$ht,convertirc("SUBSCRIBER"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->Ln(15); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - foreach ($collegecps as $collegecp) - { - $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 9); - $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured: -- From the effective date of the contract for persons to be insured who are already in the Contractor's service. -- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage. -- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].". -It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry. -No obligation to renew the contract is incubent upon the parties. RDIANT INSURANCE COMPANY reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness. - -Thus, the following medical benefits are covered: --outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases. - --conditions of prematurity are covered - --MRI and other special tests are all covered - --Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to RDIANT INSURANCE COMPANY (applicable for options with co-payment) - -- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs. -However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization. - --Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student. - --Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized) - --Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage). - --Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of RDIANT INSURANCE COMPANY. - --The extension in East African countries is covered within the limit of coverage for dependents of the insured. - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. - --Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad - --The single room is covered - --Automatic addition of a newborn and/or spouse without additional premium except card fees - --Automatic addition of a new member with a prorated premium - --Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated - --pro rata, if no medical service has been paid for him and his dependents - --The issue of health insurance cards within 7 days of notification and/or proof of payment. - --Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].". - --The list of all RDIANT INSURANCE COMPANY partners is attached to this technical offer - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. -For expenses paid to a provider who has no partnership with RDIANT INSURANCE COMPANY and which has not been terminated or suspended for fault or bad practice. - --Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days - --Joint management with the employer of cases of fraud - --Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate. - --The list of staff and reports of medical consumption will be provided monthly. - --If the limit of the insured person is exceeded during the insurance period, RDIANT INSURANCE COMPANY may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon. - -No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer. - -The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer. - -The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances. - -For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed. - -Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students. - -This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor. - -In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - // $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false); - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleCollege']; - } - - $pdf->AddPage(); - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleCollege']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies. -In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods."); - $pdf->MultiCell(0, $ht, $text); - - - // $pdf->AddPage(); - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The guarantees defined above will be granted with :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal. -The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year. -To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. "); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Cosmetic treatment and cosmetic surgery -- Injuries due to participation in games and dangerous activities -- Injuries due to participation in strikes and riots -- Fertility treatment, namely treatment costs related to infertility and impotence -- Prophylactic treatment, dietary supplements --Ischemic heart disease -- Intentional self-harm, suicide or the influence of alcohol or drugs -- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas) -- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers -- Cost of hearing aids, unless resulting from an accident -- Nervous breakdown, psychoneurosis, unless it results from an accident"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art. -In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility. -The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("FOR RDIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false); - -/* - $fichier="Temp/TMP_particuliars_conditions"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
Output($fichierSimple,"F"); - - // 08/11/2025 => conversion image pdf - pdf_to_image($fichierSimple, $uniqid); - -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php deleted file mode 100644 index 0bd006f..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php +++ /dev/null @@ -1,33 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Creercolleged"); - } - else - { - $this->college_temp->enregistrer($idCollegeTemp); - $this->rediriger("Fichedevis"); - } -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php deleted file mode 100644 index 39158bc..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php +++ /dev/null @@ -1,18 +0,0 @@ -college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp); - - $optionstarif = $this->college_temp->getoptionstarif($idPolice); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, 'optionstarif' => $optionstarif, - 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond)); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php deleted file mode 100644 index 6a071d4..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php +++ /dev/null @@ -1,8 +0,0 @@ -requete->getSession()->getAttribut('login'); - - $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user); - - $this->rediriger("Creercolleged"); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php deleted file mode 100644 index df62264..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php +++ /dev/null @@ -1,32 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $tauxPrimeFraisFuneraire); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Creercollege"); - } - else - { - $this->college_temp->enregistrer($idCollegeTemp); - $this->rediriger("Collegepolice"); - } -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php deleted file mode 100644 index 3abfbca..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php +++ /dev/null @@ -1,16 +0,0 @@ -college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond)); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php deleted file mode 100644 index 22aaae4..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php +++ /dev/null @@ -1,8 +0,0 @@ -requete->getSession()->getAttribut('login'); - - $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user); - - $this->rediriger("Creercollege"); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Devisstandard.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Devisstandard.php deleted file mode 100644 index 2c27214..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Devisstandard.php +++ /dev/null @@ -1,694 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - if($entetecp['codeTypeContrat'] == "G") - { - $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE"),1,1,'C',true); - } - else - { - $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true); - } - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(45,$ht,convertirc("No DEVIS"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(45,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - // $pdf->Cell(0,$ht,convertirc("En qualité de PROSPECT "),0,0,'C',false); - // $pdf->Cell(0,$ht,convertirc("En qualité de CLIENT "),0,0,'C',false); - $pdf->Cell(0,$ht,convertirc("En qualité d'Assuré "),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Le futur contrat aura pour objet la garantie suivante :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("DISPOSITIONS PARTICULIERES"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat "); - $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']); - $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à "); - $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $oldnumeroOptionTarif = "0"; - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $categorie = "0"; - - foreach ($collegecps as $collegecp) - { - $numeroOptionTarif = $collegecp['numeroOptionTarif']; - - if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0") - { - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$oldnumeroOptionTarif),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $pdf->Ln(5); - } - - if($categorie!=$collegecp['numeroOptionTarif']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - - $nbAdherent += $collegecp['nbAdherent']; - $nbAyantdroit += $collegecp['nbAyantdroit']; - $primeTtcAdherent += $collegecp['primeTtcAdherent']; - $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire']; - $primeTtcTotal += $collegecp['primeTtcTotal']; - - $oldnumeroOptionTarif = $numeroOptionTarif; - $categorie = $collegecp['numeroOptionTarif']; - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $pdf->Ln(5); - - $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées "); - $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec "); - $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture."); - $pdf->MultiCell(0, $ht, $text); - $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. "); - $pdf->MultiCell(0, $ht, $text); - $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident. -Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU FUTUR CONTRAT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Le contrat sera souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']." -Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - - $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité. -Ainsi, sont prises en charge les prestations médicales suivantes : -- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques. -- Les conditions de prématurité sont couvertes -- L'IRM et d'autres tests spéciaux sont tous couverts -- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande -le remboursement ou la différence à BICOR VIE ET CAPITALISATION (applicable pour les options avec ticket modérateur) -- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable -- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant -- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé). -- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale). -- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de BICOR VIE ET CAPITALISATION -- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement. -- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger -- La chambre individuelle est couverte -- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte -- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata -- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge -- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement. -- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré. -- La liste de tous les partenaires de BICOR VIE ET CAPITALISATION est jointe à cette offre technique -- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec BICOR VIE ET CAPITALISATION et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques. -- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours -- Gestion commune avec l'employeur des cas de fraudes -- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner. -- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement. -- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, BICOR VIE ET CAPITALISATION peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste. -Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - // $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableaux ci-dessous :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleComplet']; - } - - $pdf->AddPage(); - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleComplet']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - // $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties définies ci-dessus seront accordées moyennant des cotisations de :"); - - $pdf->MultiCell(0, $ht, $text); - - /* - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - } - else - { - */ - $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - // $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - // } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes(déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Traitement cosmétique et chirurgie esthétique -- Blessures dues à la participation aux jeux et activités dangereuses -- Blessures dues à la participation aux greves et émeutes -- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance -- Traitement prophylactique, les compléments alimentaires -- Cardiopathie ischemique -- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue -- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins) -- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers -- Coût d'appareils auditifs, à moins qu’il résulte d’un accident -- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident -- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("POUR BICOR VIE ET CAPITALISATION"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false); - - $fichier="Temp/TMP_devis"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php deleted file mode 100644 index 9beacd3..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php +++ /dev/null @@ -1,681 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - - // $pdf = new FPDF(); - $pdf = new FPDF_Protection(); - $pdf->SetProtection(array('print')); - - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("MEDICOR PROPOSAL – HEALTH INSURANCE"),1,1,'C',true); - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(45,$ht,convertirc("No Quotation"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->Ln(15); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $oldnumeroOptionTarif = "0"; - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $categorie = "0"; - - foreach ($collegecps as $collegecp) - { - $numeroOptionTarif = $collegecp['numeroOptionTarif']; - - if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0") - { - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total : Option ".$oldnumeroOptionTarif),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $pdf->Ln(5); - } - - if($categorie!=$collegecp['numeroOptionTarif']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - - $nbAdherent += $collegecp['nbAdherent']; - $nbAyantdroit += $collegecp['nbAyantdroit']; - $primeTtcAdherent += $collegecp['primeTtcAdherent']; - $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire']; - $primeTtcTotal += $collegecp['primeTtcTotal']; - - $oldnumeroOptionTarif = $numeroOptionTarif; - $categorie = $collegecp['numeroOptionTarif']; - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 9); - $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured: -- From the effective date of the contract for persons to be insured who are already in the Contractor's service. -- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage. -- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].". -It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry. -No obligation to renew the contract is incubent upon the parties. BICOR VIE ET CAPITALISATION reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness. - -Thus, the following medical benefits are covered: --outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases. - --conditions of prematurity are covered - --MRI and other special tests are all covered - --Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to BICOR VIE ET CAPITALISATION (applicable for options with co-payment) - -- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs. -However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization. - --Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student. - --Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized) - --Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage). - --Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of BICOR VIE ET CAPITALISATION. - --The extension in East African countries is covered within the limit of coverage for dependents of the insured. - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. - --Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad - --The single room is covered - --Automatic addition of a newborn and/or spouse without additional premium except card fees - --Automatic addition of a new member with a prorated premium - --Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated - --pro rata, if no medical service has been paid for him and his dependents - --The issue of health insurance cards within 7 days of notification and/or proof of payment. - --Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].". - --The list of all BICOR VIE ET CAPITALISATION partners is attached to this technical offer - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. -For expenses paid to a provider who has no partnership with BICOR VIE ET CAPITALISATION and which has not been terminated or suspended for fault or bad practice. - --Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days - --Joint management with the employer of cases of fraud - --Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate. - --The list of staff and reports of medical consumption will be provided monthly. - --If the limit of the insured person is exceeded during the insurance period, BICOR VIE ET CAPITALISATION may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon. - -No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer. - -The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer. - -The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances. - -For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed. - -Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students. - -This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor. - -In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - // $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleComplet']; - } - - $pdf->AddPage(); - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleComplet']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies. -In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods."); - $pdf->MultiCell(0, $ht, $text); - - - // $pdf->AddPage(); - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The guarantees defined above will be granted with :"); - - $pdf->MultiCell(0, $ht, $text); - - /* - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - } - else - { - */ - $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - // } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal. -The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year. -To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. "); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Cosmetic treatment and cosmetic surgery -- Injuries due to participation in games and dangerous activities -- Injuries due to participation in strikes and riots -- Fertility treatment, namely treatment costs related to infertility and impotence -- Prophylactic treatment, dietary supplements --Ischemic heart disease -- Intentional self-harm, suicide or the influence of alcohol or drugs -- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas) -- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers -- Cost of hearing aids, unless resulting from an accident -- Nervous breakdown, psychoneurosis, unless it results from an accident"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art. -In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility. -The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("FOR BICOR VIE ET CAPITALISATION"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false); - - $fichier="Temp/TMP_proposal"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Editioncarteassure.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Editioncarteassure.php deleted file mode 100644 index 4fbfc9b..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Editioncarteassure.php +++ /dev/null @@ -1,130 +0,0 @@ - rendre la carte personalisable par societeuser -// Fond blanc -$pdf->SetFillColor(255, 255, 255); - -$pdf->Rect(0, 0, 85.6, 54, 'F'); - -// LOGO SOCIÉTÉ en haut à gauche -if (file_exists($logoSocietePath)) { - $logoGarantPath = $logoSocietePath; - $pdf->Image($logoSocietePath, 3, 3, 15); -} - -// LOGO GARANT en haut à droite -//if (file_exists($logoGarantPath)) { -if (is_file($logoGarantPath)) { - $pdf->Image($logoGarantPath, 67, 3, 15); -} - -// EN-TÊTE : "CARTE D'ASSURANCE" -$pdf->SetFont('Arial', 'B', 8); -$pdf->SetTextColor(33, 46, 83); -$pdf->SetXY(0, 5); -// $pdf->Cell(85.6, 4, utf8_decode(_('CARTE SANTÉ')), 0, 1, 'C'); -$pdf->Cell(85.6, 4, mb_convert_encoding(_('CARTE SANTÉ'), "ISO-8859-1", "UTF-8"), 0, 1, 'C'); -$pdf->SetTextColor(0); - -// Informations de contact de la société -$pdf->SetFont('Arial', '', 5); -$pdf->SetXY(0, 9); - -$pdf->MultiCell(85.6, 3, mb_convert_encoding(_('Siège social').': '. $assure['adresseGeoSociete'].' ', "ISO-8859-1", "UTF-8"), 0, 'C'); - -$pdf->SetXY(0, 12); -$pdf->Cell(85.6, 3, mb_convert_encoding(_('Tél.').': '.$assure['telephoneSociete'], "ISO-8859-1", "UTF-8"), 0, 1, 'C'); - -// Ligne séparatrice -$pdf->Line(5, 15, 80, 15); - -// Section "Bénéficiaire" -$pdf->SetFont('Arial', 'BUI', 7); -$pdf->SetXY(5, 17); -$pdf->SetTextColor(33, 46, 83); -$pdf->Cell(30, 4, mb_convert_encoding(_('Bénéficiaire'), "ISO-8859-1", "UTF-8"), 0, 1); -$pdf->SetTextColor(0); - -// Matricule - en gras et rouge -$pdf->SetFont('Arial', '', 6); -$pdf->SetXY(5, 21); -$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0); -$pdf->SetFont('Arial', 'B', 6); -$pdf->SetTextColor(255, 0, 0); -$pdf->Cell(25, 3, ' : '.$assure['numeroBeneficiaire'], 0, 1); -$pdf->SetTextColor(0); - -// Nom -$pdf->SetFont('Arial', '', 6); -$pdf->SetXY(5, 24); -$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom'), "ISO-8859-1", "UTF-8"), 0, 0); -$pdf->SetFont('Arial', 'B', 6); -$pdf->Cell(30, 3, ' : '.substr(mb_convert_encoding($assure['nomBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1); - -// Prénoms -$pdf->SetFont('Arial', '', 6); -$pdf->SetXY(5, 27); -$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Prénoms'), "ISO-8859-1", "UTF-8"), 0, 0); -$pdf->SetFont('Arial', 'B', 6); -$pdf->Cell(25, 3, ' : '.substr(mb_convert_encoding($assure['prenomsBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1); - -// Né(e) le - si disponible -if (!empty($assure['dateNaissance'])) { - $pdf->SetFont('Arial', '', 6); - $pdf->SetXY(5, 30); - $pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Né(e) le'), "ISO-8859-1", "UTF-8"), 0, 0); - $pdf->SetFont('Arial', 'B', 6); - $pdf->Cell(25, 3, ' : '.dateLang($assure['dateNaissance'], $_SESSION['lang']), 0, 1); -} - -$pdf->SetFont('Arial', '', 6); -$pdf->SetXY(5, 33); -$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Statut'), "ISO-8859-1", "UTF-8"), 0, 0); -$pdf->SetFont('Arial', 'B', 6); -$pdf->Cell(28, 3, ' : '.substr(mb_convert_encoding($assure['lienparente'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1); - -// Section "Assuré Principal" -$pdf->SetFont('Arial', 'BUI', 7); -$pdf->SetXY(5, 38); -$pdf->SetTextColor(33, 46, 83); -$pdf->Cell(30, 4, mb_convert_encoding(_('Assuré Principal'), "ISO-8859-1", "UTF-8"), 0, 1); -$pdf->SetTextColor(0); - -// Numéro assuré - en gras et rouge -$pdf->SetFont('Arial', '', 6); -$pdf->SetXY(5, 42); -$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0); -$pdf->SetFont('Arial', 'B', 6); -$pdf->SetTextColor(255, 0, 0); -$pdf->Cell(25, 3, ' : '.$assure['numeroAdherent'], 0, 1); -$pdf->SetTextColor(0); - -// Nom et Prénoms assuré -$pdf->SetFont('Arial', '', 6); -$pdf->SetXY(5, 45); -$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom & prénoms'), "ISO-8859-1", "UTF-8"), 0, 0); -$pdf->SetFont('Arial', 'B', 6); -$pdf->Cell(15, 3, ' : '.substr(mb_convert_encoding($assure['adherent'], "ISO-8859-1", "UTF-8"), 0, 15), 0, 1); - -// Photo de l'assuré (positionnée à droite) - taille réduite -$photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto']; -$photoX = 57; -$photoY = 17; - -// Vérifier si l'URL est accessible -$headers = @get_headers($photoPath); - - -if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) { - $pdf->Image($photoPath, $photoX, $photoY, 25, 25); // Réduction de 30x30 à 25x25 -} else { - // Cadre pour la photo si non disponible - $pdf->Rect($photoX, $photoY, 25, 25); - $pdf->SetFont('Arial', '', 4); - $pdf->SetXY($photoX, $photoY + 12); - $pdf->Cell(25, 3, mb_convert_encoding(_('Photo non disponible'), "ISO-8859-1", "UTF-8"), 0, 1, 'C'); -} - -// Nom du souscripteur en bas -$pdf->SetFont('Arial', 'B', 6); -$pdf->SetXY(0, 49); -$pdf->Cell(85.6, 3, mb_convert_encoding($assure['souscripteur'], "ISO-8859-1", "UTF-8"), 0, 1, 'C'); diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegedenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegedenregistrer.php deleted file mode 100644 index 493b0a2..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegedenregistrer.php +++ /dev/null @@ -1,46 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - $_SESSION['numeroOptionTarif'] = $numeroOptionTarif; - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - $ageMoyen = $this->requete->getParametreFormulaire("ageMoyen","numerique"); - - $delaiCarenceCollege = $this->requete->getParametreFormulaire("delaiCarenceCollege","numerique"); - - $plafondAdherent = $this->requete->getParametreFormulaire("plafondAdherent","numerique"); - $plafondBeneficiaire = $this->requete->getParametreFormulaire("plafondBeneficiaire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire, $ageMoyen); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Modifiercolleged"); - } - else - { - $this->college_temp->modifiercollege($idCollegeTemp, $idCollege); - $this->rediriger("Fichedevis"); - } -?> - - - - - - diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegedindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegedindex.php deleted file mode 100644 index 3d30abb..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegedindex.php +++ /dev/null @@ -1,33 +0,0 @@ -requete->existeParametre("id")) - { - $_SESSION['idCollege']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $this->college_temp->initModifCollege($idCollege, $user); - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - $this->rediriger("Modifiercolleged"); - } - else - { - $idPolice = $_SESSION['idPolice_d_C']; - - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $optionstarif = $this->college_temp->getoptionstarif($idPolice); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'ouinonimposerplafond' => $this->ouinonimposerplafond, 'optionstarif' => $optionstarif)); - } -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegeenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegeenregistrer.php deleted file mode 100644 index 7561f7d..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegeenregistrer.php +++ /dev/null @@ -1,37 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - $delaiCarenceCollege = $this->requete->getParametreFormulaire("delaiCarenceCollege","numerique"); - - $plafondAdherent = $this->requete->getParametreFormulaire("plafondAdherent","numerique"); - $plafondBeneficiaire = $this->requete->getParametreFormulaire("plafondBeneficiaire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $tauxPrimeFraisFuneraire); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Modifiercollege"); - } - else - { - $this->college_temp->modifiercollege($idCollegeTemp, $idCollege); - $this->rediriger("Collegepolice"); - } -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegeindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegeindex.php deleted file mode 100644 index dcc4833..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur/Modifiercollegeindex.php +++ /dev/null @@ -1,27 +0,0 @@ -requete->existeParametre("id")) - { - $_SESSION['idCollege']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $this->college_temp->initModifCollege($idCollege, $user); - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - $this->rediriger("Modifiercollege"); - } - else - { - $idCollege = $_SESSION['idCollege']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'ouinonimposerplafond' => $this->ouinonimposerplafond)); - } -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Consultercollegeindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Consultercollegeindex.php deleted file mode 100644 index 4e5e3ef..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Consultercollegeindex.php +++ /dev/null @@ -1,24 +0,0 @@ -requete->existeParametre("id")) - { - $_SESSION['idCollege']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $this->college_temp->initModifCollege($idCollege, $user); - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - $this->rediriger("Consultercollege"); - } - else - { - $idCollege = $_SESSION['idCollege']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm)); - } -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc1eng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc1eng.php deleted file mode 100644 index e6ae348..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc1eng.php +++ /dev/null @@ -1,253 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - - $listeassures = $this->police->getcpfclisteassures($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC1") - { - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("INDIVIDUAL HEALTH INSURANCE CONTRACT"),1,1,'C',true); - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(0,$ht,convertirc("POLICY NUMBER : ".$entetecp['numeroPolice']),0,1,'C',false); - // $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURER :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Name"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Radiant Insurance Company"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Address"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Kigali, KN 2 Avenue, CHIC Building; P.O. BOX: 1861, Kigali-Rwanda"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Tel"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": +250 788 50 08 77/ 2050"),0,1,'L',false); - - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Names"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Type of Insurance"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Individual Cover"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("TIN/PASSPORT/NID"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Village/Cell/Sector"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("District"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Signing Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Commencement Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEffet']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Ending Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEcheance']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("PERSONS TO BE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Contracting Party’s staff members aged more than 18 years and less than 65 years as of the commencement of the insurance contract, the individual insured person, his/her spouse as well as their dependent children of less than 21 years of age."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); // Page 2 - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("LIST OF PERSONS TO BE INSURED IN THIS CONTRACT :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Names'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Date of Birth'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('Membership Number'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Premiums'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Total'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ANNUAL CEILINGS :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('Guarantee'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amount'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The health insurance scheme will pay the charges incurred for medical care due to, illness, accident, dental and eye care or maternity."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ACCESS TO HEALTH CARE FACILITIES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The insured will receive medical services at All health centers, District, Provincial and Referral hospitals, Kanombe Military Hospital, CHUB, CHUK, and Ndera Hospital, All pharmacies that have partnership with RADIANT INSURANCE COMPANY. -The insured shall a 10% co-pay in public health and pharmacies."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); // Page 3 - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("V. UNCOVERED GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- All medical services that are not related to sickness are not covered; -- Maternity cover becomes effective from 10 months of insurance for the 1st year and immediately when the contract is renewed on the date it was due to expire; -- Vaccination, family planning, infertility, crutches and orthosis, kidney transplantation (dialysis) and other special activities or tests not related to normal illness is not guaranteed. -- CT Scan and MRI are covered for Inpatient cases -- Optical Frames"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("A Procedure for incorporating a new dependent :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Addition of a child born to or spouse shall take place not later than thirty (30) days from the date of birth of the child or from the date of marriage. -Members of the new insured family will be included in the contract plus 50% of the insurance premiums paid by the insured when he or she adds the spouse and 25% when he/she adds the child born regardless of the remaining days until the end of the contract year. Members of his family will have the right to medical treatment from the time their names and birthdays are submitted to RADIANT."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("TERMINATION OF THE AGREEMENT :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The agreement can be terminated if the insured chooses to cancel it and will be refunded the premium paid minus fifteen thousand Rwandan Francs (15,000 Frw) for each card issued, only if it has been done less than 30 days since the first premium payment, meaning they have not yet started using the insurance for themselves or their dependents. -The agreement can be terminated if it is found that the insured has used or attempted to use the insurance for someone not covered by the policy or has knowingly attempted to claim for services not covered by this agreement. In such cases, the premium paid will not be refunded."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); // Page 3 - // $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("FINAL PROVISIONS :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("RADIANT INSURANCE COMPANY cannot be held responsible for any health consequences of the insured arising from treatments received at the hospital or medications prescribed. -These agreements have been approved by both parties involved and are effective from"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Done at Kigali, on ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("THE SUBSCRIBER"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("THE INSURER"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC1 contact"),0,1,'C',false); - } - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc1kiny.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc1kiny.php deleted file mode 100644 index 82c14d2..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc1kiny.php +++ /dev/null @@ -1,255 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $listeassures = $this->police->getcpfclisteassures($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=8; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC1") - { - $pdf->SetFillColor(135,206,250); // bleu - - $text = convertirc("AMASEZERANO Y’UBWISHINGIZI BWO KWIVUZA BW’UMUNTU KU GITI CYE HAMWE N’ABAGIZE UMURYANGO WE"); - $pdf->MultiCell(0, $ht, $text, 1, 'C',true); - - // MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) - - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("UBWISHINGIZI No"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("AMAZINA YOSE"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Itariki y’amavuko"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(30,$ht,convertirc(dateFr($adherent['dateNaissance'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("No y’indangamuntu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - /* - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Ubwenegihugu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": "),0,1,'L',false); - */ - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Umudugudu/Akagari/Umurenge"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Akarere "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Agiranye amasezerano na"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": RADIANT INSURANCE COMPANY"),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Italiki amasezerano akorewe"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("Ingingo ya 1: IGIHE AMASEZERANO AMARA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Aya masezerano amara umwaka wuzuye utangira kubarwa nyuma y’ukwezi kuzuye uhereye igihe uwabufashe yishyuriye umusanzu bwa mbere."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Cell(48,$ht,convertirc("Igihe cyo gutangira kwivuza : "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc($entetecp['dateEffet']),0,1,'L',false); - - // $pdf->AddPage(); - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 2: ABISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Buri muntu mu bagize umunyamuryango ufite hagati y’imyaka 18 na 65, uwo bashakanye n’abana babo batarengeje imyaka 21 nk’uko bagaragara mu mbonerahamwe iri hasi hamwe n’imisanzu yabo : "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Amazina'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Itariki y’amavuko'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('No y’ubwishingizi'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Umusanzu'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Igiteranyo'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 3: IBYISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Amasezerano y’ubwishingizi bwo kwivuza akubiyemo serivise zo kwivuza biturutse ku mpamvu zo kubyara, impanuka, kwivuza amaso, amenyo ndetse n’ubundi burwayi busanzwe."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 4: AHO BIVURIZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Abafashe ubu bwishingizi bahabwa serivise z’ubuvuzi zitangirwa mu bigo nderabuzima, ibitaro by’uturere n’intara. ibitaro bya gisirikare by’i Kanombe, CHUB, CHUK, n’ibitaro bya NDERA, bitabaye ngombwa gusaba taransiferi. -Uwishingiwe ahabwa imiti yandikiwe na muganga kandi muri farumasi zose mu Rwanda zikorana na Radiant Insurance Company. -Uwishingiwe yishyura buri 10% kuri fagitire y’ibyo yakorewe mu mavuriro ya leta cyangwa imiti yahawe muri farumasi. -Nyuma y’itangira ry’aya masezerano, uwafashe ubwishingizi ku giti cye ashobora kongeramo uwo bashakanye mu gihe yashyingiwe cyangwa umwana bibarutse ku bafashe ubwishingizi nk’umuryango. - -Abagize umuryango w’uwishingiwe bashya bazinjizwa muri aya masezerano hongeweho 50% by’amafaranga yishyuwe n’uwafashe ubwishingizi igihe yongeyemo uwo bashakanye na 25% ku mwana wavutse hatitawe ku minsi isigaye ngo umwaka w’amasezerano urangire. Abagize umuryango we bazahita bagira uburenganzira bwo kwivuza kuva igihe amazina yabo n’imyaka y’amavuko byashyikirijwe RADIANT INSURANCE COMPANY. - -Buri wese ahabwa ikarita y’ubwishingizi agomba kwitwaza igihe agiye kwivuza igafasha abamwakira nawe ubwe kumenya amafaranga yo kwivuza asigaranye ndetse n’ibyo yemerewe gukorerwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ICYITONDERWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Ubu bwishingizi bumara umwaka wuzuye (amezi 12) ushobora kongera kuvugururwa ku bushake bw’uwabufashe, bityo rero, iyo amafaranga yo kwivuza ashize uwafashe ubwishingizi n’abagize umuryango we bongera gukoresha ubwishingizi nyuma yo kongera kwishyura imisanzu y’umwaka ukurikiyeho kandi mu gihe amasezerano ahise avugururwa hatabayeho gukererwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ngingo ya 5: AMAFARANGA YO KWIVUZA KU MWAKA"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('IBITEGANYIJWE'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amafaranga'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieKin']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - // $pdf->AddPage(); - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 6: IBITISHINGIRWA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- Ibintu byose uwishingiwe yifuza gukorerwa kwa muganga bidaturutse ku mpamvu z’uburwayi; -- Ubuvuzi n’imiti y’ibibazo byo kubura urubyaro; -- Imbago, inyunganirangingo n’insimburangingo; -- Indorerwamo z’amaso -- Ibijyanye no kuyungurura impyiko (diyalize), imiti ya diabete, imiti y’ibibazo by’umuvuduko w’amaraso n’ibindi bikorwa cyangwa ibizamini byihariye bitagendanye n’uburwayi; -- Guca mu byuma kabuhariwe nka MRI na Scanner igihe uwivuza atari mu bitaro -- Ibijyanye na serivisi zigenerwa abagore batwite bitangira kwishingirwa ku mwaka ukurikiyeho w’ubwishingizi kandi mu gihe amasezerano yahise avugururwa ku itariki yagombaga kurangiriraho; -- Kwikingiza no kuringaniza urubyaro bikorerwa ubuntu mu mavuriro n’ibigonderabuzima bya Leta."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 7: IHAGARIKWA RY’AMASEZERANO"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("• Amasezerano ashobora guhagarikwa igihe uwafashe ubwishingizi ahisemo kubusesa agasubizwa umusanzu yishyuye havuyemo ibihumbi cumi na bitanu (15,000 Frw) kuri buri karita yahawe, mu gihe gusa hatarashira iminsi 30 uhereye igihe yishyuriye umusanzu wa mbere, bivuze ko aba ataratangira kwivuza cyangwa kuvuza abo yishingiye. - -• Amasezerano ashobora guhagarikwa igihe bigaragaye ko uwafashe ubwishingizi yavuje cyangwa yagerageje kuvuza umuntu utari mubo yafatiye ubwishingizi cyangwa yashatse gukorerwa nkana ibyo azi neza ko bitishingirwa muri aya masezerano kandi umusanzu yishyuwe ntawusubizwa."); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 8: INGINGO ZISOZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("RADIANT INSURANCE COMPANY ntishobora kuryozwa ingaruka zaba ku buzima bw’uwakoresheje ubu ubwishingizi ziturutse ku buvuzi yakorewe kwa muganga cyangwa imiti yandikiwe. -Aya masezerano yemejwe n’impande zombi ziyagiranye kandi afite agaciro uhereye kuwa"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Bikorewe i Kigali, kuwa ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("RADIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc(" UFASHE UBWISHINGIZI"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC1 contact"),0,1,'C',false); - } - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2eng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2eng.php deleted file mode 100644 index f273d57..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2eng.php +++ /dev/null @@ -1,261 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $listeassures = $this->police->getcpfclisteassures($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC2") - { - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("INDIVIDUAL HEALTH INSURANCE CONTRACT"),1,1,'C',true); - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(0,$ht,convertirc("POLICY NUMBER : ".$entetecp['numeroPolice']),0,1,'C',false); - // $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURER :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Name"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Radiant Insurance Company"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Address"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Kigali, KN 2 Avenue, CHIC Building; P.O. BOX: 1861, Kigali-Rwanda"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Tel"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": +250 788 50 08 77/ 2050"),0,1,'L',false); - - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Names"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Type of Insurance"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": Individual Cover"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("TIN/PASSPORT/NID"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Village/Cell/Sector"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("District"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Signing Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Commencement Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEffet']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Contract Ending Date"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEcheance']),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("PERSONS TO BE INSURED :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Contracting Party’s staff members aged more than 18 years and less than 65 years as of the commencement of the insurance contract, the individual insured person, his/her spouse as well as their dependent children of less than 21 years of age."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("LIST OF PERSONS TO BE INSURED IN THIS CONTRACT :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Names'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Date of Birth'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('Membership Number'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Premiums'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Total'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ANNUAL CEILINGS :"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('Guarantee'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amount'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The health insurance scheme will pay the charges incurred for medical care due to, illness, accident, dental and eye care or maternity."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ACCESS TO HEALTH CARE FACILITIES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The insured will receive medical services at all health centers, district and provincial hospitals, Kanombe Military Hospital, CHUB, CHUK, and Ndera Hospital, plus some clinics as per the list attached on this contract as well as all pharmacies that have partnership with RADIANT INSURANCE COMPANY. -The insured shall a 10% co-pay in public health facilities&Pharmacies and 15% in private clinics."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','BI', 10); - $text = convertirc("Note: This list should be updated by adding or removing a provider any time in accordance with the agreement between RADIANT INSURANCE COMPANY LTD and the provider. In this event, RADIANT INSURANCE COMPANY LTD shall inform the client through the email address or telephone number provided by the client in this contract."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The insured shall a 10% co-pay in public health&pharmacies and 15% in private clinics."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("V. UNCOVERED GUARANTEES :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- All medical services that are not related to sickness are not covered; -- Maternity cover becomes effective from 10 months of insurance for the 1st year and immediately when the contract is renewed on the date it was due to expire; -- Vaccination, family planning, infertility, crutches and orthosis, kidney transplantation (dialysis) and other special activities or tests not related to normal illness is not guaranteed. -- CT Scan and MRI are covered for Inpatient cases -- Optical Frame"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("A Procedure for incorporating a new dependent :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Addition of a child born to or spouse shall take place not later than thirty (30) days from the date of birth of the child or from the date of marriage. -Members of the new insured family will be included in the contract plus 50% of the insurance premiums paid by the insured when he or she adds the spouse and 25% when he/she adds the child born regardless of the remaining days until the end of the contract year. Members of his family will have the right to medical treatment from the time their names and birthdays are submitted to RADIANT."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("TERMINATION OF THE AGREEMENT :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("The agreement can be terminated if the insured chooses to cancel it and will be refunded the premium paid minus fifteen thousand Rwandan Francs (15,000 Frw) for each card issued, only if it has been done less than 30 days since the first premium payment, meaning they have not yet started using the insurance for themselves or their dependents. -The agreement can be terminated if it is found that the insured has used or attempted to use the insurance for someone not covered by the policy or has knowingly attempted to claim for services not covered by this agreement. In such cases, the premium paid will not be refunded."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("FINAL PROVISIONS :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); -$text = convertirc("RADIANT INSURANCE COMPANY cannot be held responsible for any health consequences of the insured arising from treatments received at the hospital or medications prescribed. -These agreements have been approved by both parties involved and are effective from"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Done at Kigali, on ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("THE SUBSCRIBER"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("THE INSURER"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC2 contact"),0,1,'C',false); - } - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2kiny.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2kiny.php deleted file mode 100644 index b665cf6..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2kiny.php +++ /dev/null @@ -1,261 +0,0 @@ -police->getEnteteCP($idPolice); - $adherent = $this->police->getAdherentCP($idPolice); - // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice); - $listeassures = $this->police->getcpfclisteassures($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=8; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(37); - - if($adherent['codeProduit']=="FC2") - { - $pdf->SetFillColor(135,206,250); // bleu - - $text = convertirc("AMASEZERANO Y’UBWISHINGIZI BWO KWIVUZA BW’UMUNTU KU GITI CYE HAMWE N’ABAGIZE UMURYANGO WE"); - $pdf->MultiCell(0, $ht, $text, 1, 'C',true); - - // MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) - - // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20); - $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180); - - $pdf->SetFont(''); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("UBWISHINGIZI No"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("AMAZINA YOSE"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Itariki y’amavuko"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(30,$ht,convertirc(dateFr($adherent['dateNaissance'])),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("No y’indangamuntu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false); - - /* - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Ubwenegihugu"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": "),0,1,'L',false); - */ - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Umudugudu/Akagari/Umurenge"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Akarere "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Agiranye amasezerano na"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": RADIANT INSURANCE COMPANY"),0,1,'L',false); - - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(50,$ht,convertirc("Italiki amasezerano akorewe"),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false); - - $pdf->Ln(7); - - $pdf->Cell(50,$ht,convertirc("Ingingo ya 1: IGIHE AMASEZERANO AMARA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Aya masezerano amara umwaka wuzuye utangira kubarwa nyuma y’ukwezi kuzuye uhereye igihe uwabufashe yishyuriye umusanzu bwa mbere."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Cell(48,$ht,convertirc("Igihe cyo gutangira kwivuza : "),0,0,'L',false); - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc($entetecp['dateEffet']),0,1,'L',false); - - - $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 2: ABISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Buri muntu mu bagize umunyamuryango ufite hagati y’imyaka 18 na 65, uwo bashakanye n’abana babo batarengeje imyaka 21 nk’uko bagaragara mu mbonerahamwe iri hasi hamwe n’imisanzu yabo : "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(85,$ht,convertirc('Amazina'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Itariki y’amavuko'),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc('No y’ubwishingizi'),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc('Umusanzu'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($listeassures as $assure) - { - $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false); - } - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(155,$ht,convertirc('Igiteranyo'),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 3: IBYISHINGIRWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Amasezerano y’ubwishingizi bwo kwivuza akubiyemo serivise zo kwivuza biturutse ku mpamvu zo kubyara, impanuka, kwivuza amaso, amenyo ndetse n’ubundi burwayi busanzwe."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 4: AHO BIVURIZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Abafashe ubu bwishingizi bahabwa serivise z’ubuvuzi zitangirwa mu bigo nderabuzima, ibitaro by’uturere n’intara. ibitaro bya gisirikare by’i Kanombe, CHUB, CHUK, n’ibitaro bya NDERA, bitabaye ngombwa gusaba taransiferi. Bahabwa kandi serivisi zitangirwa mu mavuriro yigenga agaragara ku rutonde ruri ku mugereka w’aya masezerano. -Uwishingiwe ahabwa imiti yandikiwe na muganga kandi muri farumasi zose mu Rwanda zikorana na Radiant Insurance Company."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','BI', 10); - $text = convertirc("ICYITONDERWA: Amavuriro amwe ashobora kuvanwa cyangwa kwiyongera kuri uru rutonde igihe icyo ari cyo cyose biturutse ku masezerano y’imikoranire RADIANT INSURANCE COMPANY LTD yagiranye n’amavuriro ndetse na Farumasi. Igihe urutonde ruhindutse, uwishingiwe abimenyeshwa binyuze kuri nomero ya telephone cyangwa aderesi imeyili yatanze igihe yafataga ubwishingizi."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Uwishingiwe yishyura buri 10% kuri fagitire y’ibyo yakorewe mu mavuriro ya leta cyangwa imiti yahawe muri farumasi na 15% mu mavuriro yigenga. -Nyuma y’itangira ry’aya masezerano, uwafashe ubwishingizi ku giti cye ashobora kongeramo uwo bashakanye mu gihe yashyingiwe cyangwa umwana bibarutse ku bafashe ubwishingizi nk’umuryango. - -Abagize umuryango w’uwishingiwe bashya bazinjizwa muri aya masezerano hongeweho 50% by’amafaranga yishyuwe n’uwafashe ubwishingizi igihe yongeyemo uwo bashakanye na 25% ku mwana wavutse hatitawe ku minsi isigaye ngo umwaka w’amasezerano urangire. Abagize umuryango we bazahita bagira uburenganzira bwo kwivuza kuva igihe amazina yabo n’imyaka y’amavuko byashyikirijwe RADIANT INSURANCE COMPANY. - -Buri wese ahabwa ikarita y’ubwishingizi agomba kwitwaza igihe agiye kwivuza igafasha abamwakira nawe ubwe kumenya amafaranga yo kwivuza asigaranye ndetse n’ibyo yemerewe gukorerwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ICYITONDERWA :"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("Ubu bwishingizi bumara umwaka wuzuye (amezi 12) ushobora kongera kuvugururwa ku bushake bw’uwabufashe, bityo rero, iyo amafaranga yo kwivuza ashize uwafashe ubwishingizi n’abagize umuryango we bongera gukoresha ubwishingizi nyuma yo kongera kwishyura imisanzu y’umwaka ukurikiyeho kandi mu gihe amasezerano ahise avugururwa hatabayeho gukererwa."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("ngingo ya 5: AMAFARANGA YO KWIVUZA KU MWAKA"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(115,$ht,convertirc('IBITEGANYIJWE'),1,0,'C',false); - $pdf->Cell(70,$ht,convertirc('Amafaranga'),1,1,'C',false); - - $pdf->SetFont('Arial','', 10); - foreach ($garantiescollegecps as $garantiescollegecp) - { - $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieKin']),1,0,'C',false); - $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false); - } - - // $pdf->AddPage(); - $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 6: IBITISHINGIRWA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("- Ibintu byose uwishingiwe yifuza gukorerwa kwa muganga bidaturutse ku mpamvu z’uburwayi; -- Ubuvuzi n’imiti y’ibibazo byo kubura urubyaro; -- Imbago, inyunganirangingo n’insimburangingo; -- Indorerwamo z’amaso -- Ibijyanye no kuyungurura impyiko (diyalize), n’ibindi bikorwa cyangwa ibizamini byihariye bitagendanye n’uburwayi; -- Guca mu byuma kabuhariwe nka MRI na Scanner igihe uwivuza atari mu bitaro -- Ibijyanye na serivisi zigenerwa abagore batwite bitangira kwishingirwa guhera hashize amezi 10 umuntu afashe ubwishingizi igihe ari ubwa mbere abufashe ndetse n’igihe amasezerano ahise avugururwa ku munsi yarangiriyeho. -- Kwikingiza no kuringaniza urubyaro bikorerwa ubuntu mu mavuriro n’ibigonderabuzima bya Leta."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(7); - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 7: IHAGARIKWA RY’AMASEZERANO"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("• Amasezerano ashobora guhagarikwa igihe uwafashe ubwishingizi ahisemo kubusesa agasubizwa umusanzu yishyuye havuyemo ibihumbi cumi na bitanu (15,000 Frw) kuri buri karita yahawe, mu gihe gusa hatarashira iminsi 30 uhereye igihe yishyuriye umusanzu wa mbere, bivuze ko aba ataratangira kwivuza cyangwa kuvuza abo yishingiye. - -• Amasezerano ashobora guhagarikwa igihe bigaragaye ko uwafashe ubwishingizi yavuje cyangwa yagerageje kuvuza umuntu utari mubo yafatiye ubwishingizi cyangwa yashatse gukorerwa nkana ibyo azi neza ko bitishingirwa muri aya masezerano kandi umusanzu yishyuwe ntawusubizwa."); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->AddPage(); - // $pdf->Ln(7); - - $pdf->SetFont('Arial','BU', 15); - $pdf->Cell(50,$ht,convertirc("Ingingo ya 8: INGINGO ZISOZA"),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - $text = convertirc("RADIANT INSURANCE COMPANY ntishobora kuryozwa ingaruka zaba ku buzima bw’uwakoresheje ubu ubwishingizi ziturutse ku buvuzi yakorewe kwa muganga cyangwa imiti yandikiwe. -Aya masezerano yemejwe n’impande zombi ziyagiranye kandi afite agaciro uhereye kuwa"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("Bikorewe i Kigali, kuwa ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->Cell(0,$ht,convertirc("RADIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc(" UFASHE UBWISHINGIZI"),0,1,'R',false); - } - else - { - $pdf->Cell(0,$ht,convertirc("Tt is not a FC1 contact"),0,1,'C',false); - } - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandard.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandard.php deleted file mode 100644 index cc6faf3..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandard.php +++ /dev/null @@ -1,662 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - // $tableauajustementcps = $this->police->gettableauAjustementCP($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - if($entetecp['codeTypeContrat'] == "G") - { - $pdf->Cell(0,$ht,convertirc("CONTRAT - GROUPE D'ASSURANCE SANTE"),1,1,'C',true); - } - else - { - $pdf->Cell(0,$ht,convertirc("CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true); - } - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(50,$ht,convertirc("No POLICE"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(50,$ht,convertirc("SOUSCRITE PAR"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(50,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("En qualité de CONTRACTANT "),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Le présent contrat est constitué et régi par les CONDITIONS PARTICULIERES, les DISPOSITIONS"),0,1,'C',false); - $pdf->Cell(0,$ht,convertirc("SPECIALES ainsi que par les CONDITIONS GENERALES."),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Il a pour objet la garantie suivante :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("CONDITIONS PARTICULIERES"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat "); - $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']); - $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à "); - $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - foreach ($collegecps as $collegecp) - { - $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 9); - $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées "); - $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec "); - $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture."); - $pdf->MultiCell(0, $ht, $text); - $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident. -Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU CONTRAT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Le présent contrat est souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']." -Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité. -Ainsi, sont prises en charge les prestations médicales suivantes : -- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques. -- Les conditions de prématurité sont couvertes -- L'IRM et d'autres tests spéciaux sont tous couverts -- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande -le remboursement ou la différence à RDIANT INSURANCE COMPANY (applicable pour les options avec ticket modérateur) -- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable -- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant -- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé). -- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale). -- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de RDIANT INSURANCE COMPANY -- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement. -- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger -- La chambre individuelle est couverte -- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte -- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata -- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge -- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement. -- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré. -- La liste de tous les partenaires de RDIANT INSURANCE COMPANY est jointe à cette offre technique -- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec RDIANT INSURANCE COMPANY et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques. -- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours -- Gestion commune avec l'employeur des cas de fraudes -- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner. -- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement. -- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, RDIANT INSURANCE COMPANY peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste. -Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableau ci-dessous :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['codeProduit']." : ".$tableaupretationcp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleCollege']; - } - - // $pdf->AddPage(); - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['codeProduit']." : ".$garantiescollegecp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleCollege']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - // $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties définies ci-dessus sont accordées moyennant des cotisations de :"); - - $pdf->MultiCell(0, $ht, $text); - - /* - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoireBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total Général"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($entetecp['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - } - else - { - */ - $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total Général"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($entetecp['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - // } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT DE LA PRIME"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes (déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Traitement cosmétique et chirurgie esthétique -- Blessures dues à la participation aux jeux et activités dangereuses -- Blessures dues à la participation aux greves et émeutes -- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance -- Traitement prophylactique, les compléments alimentaires -- Cardiopathie ischemique -- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue -- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins) -- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers -- Coût d'appareils auditifs, à moins qu’il résulte d’un accident -- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident -- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("POUR RDIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false); - - $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandardeng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandardeng.php deleted file mode 100644 index 45d7d3e..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandardeng.php +++ /dev/null @@ -1,566 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("MEDICOR – HEALTH INSURANCE"),1,1,'C',true); - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(45,$ht,convertirc("No Policy"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(45,$ht,convertirc("SUBSCRIBER"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->Ln(15); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - foreach ($collegecps as $collegecp) - { - $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 9); - $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured: -- From the effective date of the contract for persons to be insured who are already in the Contractor's service. -- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage. -- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].". -It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry. -No obligation to renew the contract is incubent upon the parties. RDIANT INSURANCE COMPANY reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness. - -Thus, the following medical benefits are covered: --outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases. - --conditions of prematurity are covered - --MRI and other special tests are all covered - --Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to RDIANT INSURANCE COMPANY (applicable for options with co-payment) - -- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs. -However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization. - --Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student. - --Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized) - --Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage). - --Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of RDIANT INSURANCE COMPANY. - --The extension in East African countries is covered within the limit of coverage for dependents of the insured. - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. - --Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad - --The single room is covered - --Automatic addition of a newborn and/or spouse without additional premium except card fees - --Automatic addition of a new member with a prorated premium - --Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated - --pro rata, if no medical service has been paid for him and his dependents - --The issue of health insurance cards within 7 days of notification and/or proof of payment. - --Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].". - --The list of all RDIANT INSURANCE COMPANY partners is attached to this technical offer - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. -For expenses paid to a provider who has no partnership with RDIANT INSURANCE COMPANY and which has not been terminated or suspended for fault or bad practice. - --Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days - --Joint management with the employer of cases of fraud - --Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate. - --The list of staff and reports of medical consumption will be provided monthly. - --If the limit of the insured person is exceeded during the insurance period, RDIANT INSURANCE COMPANY may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon. - -No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer. - -The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer. - -The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances. - -For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed. - -Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students. - -This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor. - -In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - // $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false); - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleCollege']; - } - - $pdf->AddPage(); - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleCollege']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies. -In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods."); - $pdf->MultiCell(0, $ht, $text); - - - // $pdf->AddPage(); - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The guarantees defined above will be granted with :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleCollege']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal. -The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year. -To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. "); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Cosmetic treatment and cosmetic surgery -- Injuries due to participation in games and dangerous activities -- Injuries due to participation in strikes and riots -- Fertility treatment, namely treatment costs related to infertility and impotence -- Prophylactic treatment, dietary supplements --Ischemic heart disease -- Intentional self-harm, suicide or the influence of alcohol or drugs -- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas) -- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers -- Cost of hearing aids, unless resulting from an accident -- Nervous breakdown, psychoneurosis, unless it results from an accident"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art. -In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility. -The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("FOR RDIANT INSURANCE COMPANY"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false); - - $fichier="Temp/TMP_particuliars_conditions"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedenregistrer.php deleted file mode 100644 index 0bd006f..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedenregistrer.php +++ /dev/null @@ -1,33 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Creercolleged"); - } - else - { - $this->college_temp->enregistrer($idCollegeTemp); - $this->rediriger("Fichedevis"); - } -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedindex.php deleted file mode 100644 index 39158bc..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedindex.php +++ /dev/null @@ -1,18 +0,0 @@ -college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp); - - $optionstarif = $this->college_temp->getoptionstarif($idPolice); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, 'optionstarif' => $optionstarif, - 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond)); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedinitcollege.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedinitcollege.php deleted file mode 100644 index 6a071d4..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedinitcollege.php +++ /dev/null @@ -1,8 +0,0 @@ -requete->getSession()->getAttribut('login'); - - $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user); - - $this->rediriger("Creercolleged"); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeenregistrer.php deleted file mode 100644 index df62264..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeenregistrer.php +++ /dev/null @@ -1,32 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $tauxPrimeFraisFuneraire); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Creercollege"); - } - else - { - $this->college_temp->enregistrer($idCollegeTemp); - $this->rediriger("Collegepolice"); - } -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeindex.php deleted file mode 100644 index 3abfbca..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeindex.php +++ /dev/null @@ -1,16 +0,0 @@ -college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond)); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeinitcollege.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeinitcollege.php deleted file mode 100644 index 22aaae4..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeinitcollege.php +++ /dev/null @@ -1,8 +0,0 @@ -requete->getSession()->getAttribut('login'); - - $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user); - - $this->rediriger("Creercollege"); -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandard.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandard.php deleted file mode 100644 index f144f78..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandard.php +++ /dev/null @@ -1,691 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - if($entetecp['codeTypeContrat'] == "G") - { - $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE"),1,1,'C',true); - } - else - { - $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true); - } - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(45,$ht,convertirc("No DEVIS"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(45,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - // $pdf->Cell(0,$ht,convertirc("En qualité de PROSPECT "),0,0,'C',false); - // $pdf->Cell(0,$ht,convertirc("En qualité de CLIENT "),0,0,'C',false); - $pdf->Cell(0,$ht,convertirc("En qualité d'Assuré "),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Le futur contrat aura pour objet la garantie suivante :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("DISPOSITIONS PARTICULIERES"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat "); - $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']); - $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à "); - $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $oldnumeroOptionTarif = "0"; - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $categorie = "0"; - - foreach ($collegecps as $collegecp) - { - $numeroOptionTarif = $collegecp['numeroOptionTarif']; - - if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0") - { - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$oldnumeroOptionTarif),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $pdf->Ln(5); - } - - if($categorie!=$collegecp['numeroOptionTarif']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - - $nbAdherent += $collegecp['nbAdherent']; - $nbAyantdroit += $collegecp['nbAyantdroit']; - $primeTtcAdherent += $collegecp['primeTtcAdherent']; - $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire']; - $primeTtcTotal += $collegecp['primeTtcTotal']; - - $oldnumeroOptionTarif = $numeroOptionTarif; - $categorie = $collegecp['numeroOptionTarif']; - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $pdf->Ln(5); - - $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : "); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées "); - $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec "); - $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture."); - $pdf->MultiCell(0, $ht, $text); - $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. "); - $pdf->MultiCell(0, $ht, $text); - $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident. -Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. "); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU FUTUR CONTRAT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Le contrat sera souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']." -Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - - $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité. -Ainsi, sont prises en charge les prestations médicales suivantes : -- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques. -- Les conditions de prématurité sont couvertes -- L'IRM et d'autres tests spéciaux sont tous couverts -- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande -le remboursement ou la différence à BICOR VIE ET CAPITALISATION (applicable pour les options avec ticket modérateur) -- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable -- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant -- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé). -- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale). -- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de BICOR VIE ET CAPITALISATION -- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement. -- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger -- La chambre individuelle est couverte -- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte -- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata -- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge -- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement. -- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré. -- La liste de tous les partenaires de BICOR VIE ET CAPITALISATION est jointe à cette offre technique -- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec BICOR VIE ET CAPITALISATION et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques. -- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours -- Gestion commune avec l'employeur des cas de fraudes -- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner. -- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement. -- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, BICOR VIE ET CAPITALISATION peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste. -Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - // $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableaux ci-dessous :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleComplet']; - } - - $pdf->AddPage(); - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleComplet']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - // $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Les garanties définies ci-dessus seront accordées moyennant des cotisations de :"); - - $pdf->MultiCell(0, $ht, $text); - - /* - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - } - else - { - */ - $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - // $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - // } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement."); - $pdf->MultiCell(0, $ht, $text); - - $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes(déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Traitement cosmétique et chirurgie esthétique -- Blessures dues à la participation aux jeux et activités dangereuses -- Blessures dues à la participation aux greves et émeutes -- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance -- Traitement prophylactique, les compléments alimentaires -- Cardiopathie ischemique -- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue -- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins) -- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers -- Coût d'appareils auditifs, à moins qu’il résulte d’un accident -- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident -- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("POUR BICOR VIE ET CAPITALISATION"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false); - - $fichier="Temp/TMP_devis"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandardeng.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandardeng.php deleted file mode 100644 index 7169a1e..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandardeng.php +++ /dev/null @@ -1,678 +0,0 @@ -police->getEnteteCP($idPolice); - $collegecps = $this->police->getCollegesCP($idPolice); - $collegecp2s = $this->police->getCollegesCP($idPolice); - $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice); - $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice); - - $pdf = new FPDF(); - $pdf->AliasNbPages(); - $pdf->AddPage(); - - $ht=10; - - $pdf->SetMargins(10, 10, 10) ; - - $pdf->SetFont('Arial','B', 15); - - $pdf->SetY(40); - - $pdf->SetFillColor(135,206,250); // bleu - - $pdf->Cell(0,$ht,convertirc("MEDICOR PROPOSAL – HEALTH INSURANCE"),1,1,'C',true); - - $pdf->SetFont(''); - - $pdf->Ln(15); - - $pdf->Cell(45,$ht,convertirc("No Quotation"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false); - - $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false); - $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false); - - $pdf->SetFont('Arial','', 10); - - $pdf->Ln(15); - - $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false); - - - $pdf->Ln(15); - - $pdf->SetFont('Arial','', 10); - $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false); - - $pdf->Ln(15); - - $pdf->SetFont('Arial','B', 13); - $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false); - - - $pdf->AddPage(); - $ht=6; - - $pdf->SetFont('Arial','B', 15); - $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false); - - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false); - $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $oldnumeroOptionTarif = "0"; - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $categorie = "0"; - - foreach ($collegecps as $collegecp) - { - $numeroOptionTarif = $collegecp['numeroOptionTarif']; - - if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0") - { - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total : Option ".$oldnumeroOptionTarif),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $nbAdherent = "0"; - $nbAyantdroit = "0"; - $primeTtcAdherent = "0"; - $primeTtcBeneficiaire = "0"; - $primeTtcTotal = "0"; - - $pdf->Ln(5); - } - - if($categorie!=$collegecp['numeroOptionTarif']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->SetFont('Arial','', 9); - - $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false); - - $nbAdherent += $collegecp['nbAdherent']; - $nbAyantdroit += $collegecp['nbAyantdroit']; - $primeTtcAdherent += $collegecp['primeTtcAdherent']; - $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire']; - $primeTtcTotal += $collegecp['primeTtcTotal']; - - $oldnumeroOptionTarif = $numeroOptionTarif; - $categorie = $collegecp['numeroOptionTarif']; - } - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false); - $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','', 9); - $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured: -- From the effective date of the contract for persons to be insured who are already in the Contractor's service. -- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage. -- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - // $pdf->Ln(5); - $pdf->AddPage(); - - $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].". -It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry. -No obligation to renew the contract is incubent upon the parties. BICOR VIE ET CAPITALISATION reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness. - -Thus, the following medical benefits are covered: --outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases. - --conditions of prematurity are covered - --MRI and other special tests are all covered - --Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to BICOR VIE ET CAPITALISATION (applicable for options with co-payment) - -- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs. -However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization. - --Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student. - --Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized) - --Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage). - --Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of BICOR VIE ET CAPITALISATION. - --The extension in East African countries is covered within the limit of coverage for dependents of the insured. - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. - --Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad - --The single room is covered - --Automatic addition of a newborn and/or spouse without additional premium except card fees - --Automatic addition of a new member with a prorated premium - --Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated - --pro rata, if no medical service has been paid for him and his dependents - --The issue of health insurance cards within 7 days of notification and/or proof of payment. - --Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].". - --The list of all BICOR VIE ET CAPITALISATION partners is attached to this technical offer - --The refund will be based on the most expensive rate depending on the category in which you are insured locally. -For expenses paid to a provider who has no partnership with BICOR VIE ET CAPITALISATION and which has not been terminated or suspended for fault or bad practice. - --Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days - --Joint management with the employer of cases of fraud - --Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate. - --The list of staff and reports of medical consumption will be provided monthly. - --If the limit of the insured person is exceeded during the insurance period, BICOR VIE ET CAPITALISATION may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%."); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon. - -No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer. - -The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer. - -The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances. - -For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed. - -Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students. - -This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor. - -In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(2); - - $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - // $pdf->Ln(2); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $pdf->Ln(2); - - $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :"); - - $pdf->MultiCell(0, $ht, $text); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false); - - $categorie = ""; - - foreach ($tableaupretationcps as $tableaupretationcp) - { - if($categorie!=$tableaupretationcp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false); - $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false); - - $categorie = $tableaupretationcp['libelleComplet']; - } - - $pdf->AddPage(); - // $pdf->Ln(5); - - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Ln(2); - - $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false); - $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false); - - $produit = ""; - - foreach ($garantiescollegecps as $garantiescollegecp) - { - if($produit!=$garantiescollegecp['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false); - $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false); - - $champApplication = ($garantiescollegecp['champApplication']=="1"); - - if($champApplication == TRUE) - $check = "4"; - else - $check = ""; - - $pdf->SetFont('ZapfDingbats','', 9); - $pdf->Cell(20, $ht, $check,1,1,'C',false); - $pdf->SetFont('Arial','', 9); - - $produit = $garantiescollegecp['libelleComplet']; - } - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies. -In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods."); - $pdf->MultiCell(0, $ht, $text); - - - // $pdf->AddPage(); - $pdf->Ln(10); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens."); - $pdf->MultiCell(0, $ht, $text); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("The guarantees defined above will be granted with :"); - - $pdf->MultiCell(0, $ht, $text); - - /* - if($entetecp['commission']>"0") - { - $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false); - $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false); - $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - - } - else - { - */ - $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false); - $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false); - // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - - $produit = ""; - - foreach ($collegecp2s as $collegecp2) - { - if($produit!=$collegecp2['libelleComplet']) - { - $pdf->SetFont('Arial','BU', 10); - $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false); - $pdf->SetFont('Arial','', 9); - } - - $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false); - - $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false); - // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false); - - $pdf->SetFont('Arial','B', 9); - - $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false); - $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false); - // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false); - $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false); - - $pdf->SetFont('Arial','', 9); - } - // } - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $pdf->AddPage(); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal. -The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year. -To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. "); - $pdf->MultiCell(0, $ht, $text); - - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("- Cosmetic treatment and cosmetic surgery -- Injuries due to participation in games and dangerous activities -- Injuries due to participation in strikes and riots -- Fertility treatment, namely treatment costs related to infertility and impotence -- Prophylactic treatment, dietary supplements --Ischemic heart disease -- Intentional self-harm, suicide or the influence of alcohol or drugs -- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas) -- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers -- Cost of hearing aids, unless resulting from an accident -- Nervous breakdown, psychoneurosis, unless it results from an accident"); - $pdf->MultiCell(0, $ht, $text); - - $pdf->Ln(5); - - $pdf->SetFont('Arial','B', 10); - - $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art. -In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility. -The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']); - $pdf->MultiCell(0, $ht, $text); - - // DEBUT TEXTE LIBRE - if ($entetecp['texteCp']>" ") - { - $pdf->AddPage(); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false); - - $pdf->Ln(2); - - $pdf->SetFont('Arial','', 9); - - $text = convertirc($entetecp['texteCp']); - - $pdf->MultiCell(0, $ht, $text); - } - // FIN TEXTE LIBRE - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BI', 10); - - $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false); - - $pdf->Ln(10); - - $pdf->SetFont('Arial','BU', 10); - - $pdf->Cell(0,$ht,convertirc("FOR BICOR VIE ET CAPITALISATION"),0,0,'L',false); - - $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false); - - $pdf->Ln(20); - - $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false); - - $fichier="Temp/TMP_proposal"."_".uniqid().".pdf"; - $pdf->Output($fichier,"F"); - - - $t_html ='
'; - $t_html .=' TELECHARGER '; - $t_html .='
diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegedenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegedenregistrer.php deleted file mode 100644 index 493b0a2..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegedenregistrer.php +++ /dev/null @@ -1,46 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif"); - $_SESSION['numeroOptionTarif'] = $numeroOptionTarif; - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - $ageMoyen = $this->requete->getParametreFormulaire("ageMoyen","numerique"); - - $delaiCarenceCollege = $this->requete->getParametreFormulaire("delaiCarenceCollege","numerique"); - - $plafondAdherent = $this->requete->getParametreFormulaire("plafondAdherent","numerique"); - $plafondBeneficiaire = $this->requete->getParametreFormulaire("plafondBeneficiaire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire, $ageMoyen); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Modifiercolleged"); - } - else - { - $this->college_temp->modifiercollege($idCollegeTemp, $idCollege); - $this->rediriger("Fichedevis"); - } -?> - - - - - - diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegedindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegedindex.php deleted file mode 100644 index 3d30abb..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegedindex.php +++ /dev/null @@ -1,33 +0,0 @@ -requete->existeParametre("id")) - { - $_SESSION['idCollege']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $this->college_temp->initModifCollege($idCollege, $user); - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - $this->rediriger("Modifiercolleged"); - } - else - { - $idPolice = $_SESSION['idPolice_d_C']; - - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $optionstarif = $this->college_temp->getoptionstarif($idPolice); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'ouinonimposerplafond' => $this->ouinonimposerplafond, 'optionstarif' => $optionstarif)); - } -?> \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegeenregistrer.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegeenregistrer.php deleted file mode 100644 index 7561f7d..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegeenregistrer.php +++ /dev/null @@ -1,37 +0,0 @@ -requete->getParametre("codeProduit"); - $libelleCollege = $this->requete->getParametre("libelleCollege"); - $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique"); - $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique"); - $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique"); - $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique"); - $rachatTm = $this->requete->getParametre("rachatTm"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique"); - $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique"); - $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique"); - $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); - $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond"); - - $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique"); - $delaiCarenceCollege = $this->requete->getParametreFormulaire("delaiCarenceCollege","numerique"); - - $plafondAdherent = $this->requete->getParametreFormulaire("plafondAdherent","numerique"); - $plafondBeneficiaire = $this->requete->getParametreFormulaire("plafondBeneficiaire","numerique"); - - $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $tauxPrimeFraisFuneraire); - - if($this->requete->existeParametre("btn_recap")) - { - $this->rediriger("Modifiercollege"); - } - else - { - $this->college_temp->modifiercollege($idCollegeTemp, $idCollege); - $this->rediriger("Collegepolice"); - } -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegeindex.php b/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegeindex.php deleted file mode 100644 index dcc4833..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Controleur_2024_10_31/Modifiercollegeindex.php +++ /dev/null @@ -1,27 +0,0 @@ -requete->existeParametre("id")) - { - $_SESSION['idCollege']=$this->requete->getParametre("id"); - $user = $_SESSION['login']; - $idCollege = $_SESSION['idCollege']; - - $idCollegeTemp = $this->college_temp->initModifCollege($idCollege, $user); - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - $this->rediriger("Modifiercollege"); - } - else - { - $idCollege = $_SESSION['idCollege']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp); - $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp); - $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp); - $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp); - - $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit, - 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles, - 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, - 'ouinonimposerplafond' => $this->ouinonimposerplafond)); - } -?> diff --git a/radiantproduction/Societes/radiant/Tarifs/Img/logo_carte.png b/radiantproduction/Societes/radiant/Tarifs/Img/logo_carte.png deleted file mode 100644 index 8dc28e1..0000000 Binary files a/radiantproduction/Societes/radiant/Tarifs/Img/logo_carte.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Tarifs/Img/logo_societe.png b/radiantproduction/Societes/radiant/Tarifs/Img/logo_societe.png deleted file mode 100644 index 410780f..0000000 Binary files a/radiantproduction/Societes/radiant/Tarifs/Img/logo_societe.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/Tarifs/Modele/College_temp.php b/radiantproduction/Societes/radiant/Tarifs/Modele/College_temp.php deleted file mode 100644 index 7af2cbb..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Modele/College_temp.php +++ /dev/null @@ -1,682 +0,0 @@ -executerRequete($sql, array($idCollegeTemp, $codeGarantie)); - } - - public function getCollegeTemp($idCollegeTemp) - { - $sql = 'call sp_afficher_college_temp(?)'; - - $collegeTemp = $this->executerRequete($sql, array($idCollegeTemp)); - - return $collegeTemp->fetch(); - } - - public function getCollegeTempPolice($idPolice, $user) - { - $sql = 'select * from college_temp where (idPolice=?) and (user=?)'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getCollegeTempPoliceRen($idPolice, $user) - { - $sql = 'select * from college_ren_temp where (idPolice=?) and (user=?) order by codeProduit, libelleCollege'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarAddCollege($idCollegeTemp) - { - $sql = 'select A.*, B.plafond as plafondOld, B.plafond+A.plafond as plafondNew from garantieaddition_temp A - join garantie_temp B on (B.user=A.user) and (B.idCollegeTemp=A.idCollegeTemp) and (B.codeGarantie=A.codeGarantie) - where (A.idCollegeTemp=?) order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarBaseCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle!="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarOptCollege($idCollegeTemp) - { - $sql = 'CALL sp_get_gar_opt_college(?);'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarOptCollegeAcq($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getPrestation($idCollegeTemp) - { - $sql = 'select A.*, B.libelle as reseausoin from prestation_temp A - join reseausoins B on (B.codeReseau=A.codeReseau) - where (A.idCollegeTemp=?) order by A.tmBase, A.tm'; - - $prestations = $this->executerRequete($sql, array($idCollegeTemp)); - return $prestations; - } - - public function supprimer($idCollegeTemp) { - $sql = 'DELETE FROM college_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - - $sql = 'DELETE FROM garantie_temp WHERE (idCollegeTemp=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function supprimergarantie($idGarantie) { - $sql = 'DELETE FROM garantie_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function initCollege($idPolice, $user) - { - $codeSociete = $_SESSION['codeSociete']; - - if (est_anglophone()) - { - $sql = 'CALL sp_init_college_eng(?, ?, ?);'; - } - else - { - $sql = 'CALL sp_init_college(?, ?, ?);'; - } - - $this->executerRequete($sql, array($idPolice, $codeSociete, $user)); - - $resultat = $this->executerRequete($sql, array($idPolice, $codeSociete, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - } - - - public function initModifCollege($idCollege, $user) - { - $this->viderCollegTemp($user); - - $sql = 'CALL sp_init_modifier_college(?, ?);'; - - $this->executerRequete($sql, array($idCollege, $user)); - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - } - - public function recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond, $tauxPrimeFraisFuneraire) - { - $sql = 'call sp_recapituller_college_temp_radiant(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - // $sql = 'call sp_recapituller_college_temp_bicor(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $tauxPrimeFraisFuneraire)); - } - - public function maj($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm) - { - $sql = 'call sp_maj_college_temp(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm)); - } - - public function enregistrer($idCollegeTemp) - { - $sql = 'insert into college (codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, - fraisCarteBeneficiaire, primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, - tauxPrimeRachatTm, imposerPlafond, tauxPrimeFraisFuneraire, delaiCarenceCollege) - - select codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, - fraisCarteBeneficiaire, primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, - tauxPrimeRachatTm, imposerPlafond, tauxPrimeFraisFuneraire, delaiCarenceCollege - from college_temp where id=?'; - - $this->executerRequete($sql, array($idCollegeTemp)); - - $idCollege = $this->dernierId(); - - $this->ajouterGarantieCollege($idCollege, $idCollegeTemp); - - $this->ajouterTableauPrestation($idCollege, $idCollegeTemp); - - $user = $_SESSION['login']; - - $this->viderCollegTemp($user); - - } - - public function modifiercollege($idCollegeTemp, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_college(?, ?, ?)'; - $this->executerRequete($sql, array($idCollegeTemp, $idCollege, $user)); - } - - - public function ajouterGarantieCollege($idCollege, $idCollegeTemp) - { - $sql = 'delete from garantiecollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into garantiecollege (codeSociete, idCollege, idPolice, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication, - tauxPrime, capital) - select codeSociete, ? as idCollege, idPolice, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication, - tauxPrime, capital - from garantie_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function ajouterTableauPrestation($idCollege, $idCollegeTemp) - { - $sql = 'delete from prestationcollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into prestationcollege ( - codeSociete, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - ) - - select - codeSociete, - ? as idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - from prestation_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function initGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - user, - plafond, - ordre, - plafondLettre, - champApplication - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.libelle as garantie, - A.libelleEng as garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - B.user, - ROUND((B.primeFamille*A.tauxPlafond),0)+A.forfaitPlafond as plafond, - A.ordre, A.plafondLettre, - A.champApplication - from garantie A - join college_temp B on (B.codeSociete=A.codeSociete) - Where (B.id=?) and optionnelle!="1"'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initPrestationCollege($idCollegeTemp) - { - $user = $_SESSION['login']; - $codeProduitBase = $_SESSION['codeProduitBase']; - - $sql = 'call sp_init_prestation_college(?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduitBase, $user)); - } - - public function initModifGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollege, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - primeOption, - user, - plafond, - ordre, - plafondLettre, - primeFamille, - champApplication - ) - select - A.codeSociete, - A.idCollege, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.garantie, - A.garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - A.primeOption, - B.user, - A.plafond, - A.ordre, A.plafondLettre, - A.primeFamille, - A.champApplication - from garantiecollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initModifPrestation($idCollegeTemp) - { - $sql = 'insert into prestation_temp ( - codeSociete, - idCollegeTemp, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - user, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm, - tauxPrimeRachatTm - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idCollege, - B.idPolice, - B.numeroPolice, - A.codeProduit, - A.codeReseau, - A.tm, - B.user, - now() as dateSysteme, - A.tmBase, - B.rachatTm, - B.tauxRachatTm, - B.tauxPrimeRachatTm - from prestationcollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function majtauxplafond($idGarantie, $tauxPlafond) - { - $sql = 'update garantie_temp set tauxPlafond=? where (id=?)'; - $this->executerRequete($sql, array($tauxPlafond, $idGarantie)); - - $sql = 'update garantie_temp set plafond= ROUND((primeFamille*tauxPlafond),0)+forfaitPlafond where (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function imposerplafond($idGarantie, $plafond) - { - $sql = 'update garantie_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majtm($idPrestation, $tm) - { - $sql = 'update prestation_temp set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function majtmprestatairenplus($idPrestation, $tm) - { - $sql = 'update prestationcollegeplus set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function retirerprestatairenplus($idPrestation) - { - $sql = 'delete from prestationcollegeplus where (id=?)'; - $this->executerRequete($sql, array($idPrestation)); - } - - public function ajouterunprestataireenplus($codePrestataire) - { - $idCollege = $_SESSION['idCollege']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouterprestataireenplus(?, ?, ?)'; - $this->executerRequete($sql, array($idCollege, $codePrestataire, $user)); - } - - public function ajouterunprestataireenmoins($codePrestataire) - { - $idCollege = $_SESSION['idCollege']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouterprestataireenmoins(?, ?, ?)'; - $this->executerRequete($sql, array($idCollege, $codePrestataire, $user)); - } - - public function retirerprestatairenmoins($idPrestation) - { - $sql = 'delete from prestationcollegemoins where (id=?)'; - $this->executerRequete($sql, array($idPrestation)); - } - - // ajouterunprestatairetm - public function ajouterunprestatairetm($codePrestataire) - { - $idCollege = $_SESSION['idCollege']; - $user = $_SESSION['login']; - - $sql = 'call sp_ajouterprestatairetm(?, ?, ?)'; - $this->executerRequete($sql, array($idCollege, $codePrestataire, $user)); - } - - public function retirerprestatairetm($idPrestation) - { - $sql = 'delete from prestationcollegetm where (id=?)'; - $this->executerRequete($sql, array($idPrestation)); - } - - public function majtmprestatairetm($idPrestation, $tm) - { - $sql = 'update prestationcollegetm set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function majPrimeOpt($idGarantie, $primeOption) - { - $sql = 'call sp_maj_prime_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $primeOption)); - } - - public function majPlafondOpt($idGarantie, $plafondOption) - { - $sql = 'call sp_maj_plafond_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $plafondOption)); - } - - public function majlibgar($idGarantie, $libellegarantie) - { - $sql = 'update garantie_temp set garantie=? where (id=?)'; - $this->executerRequete($sql, array($libellegarantie, $idGarantie)); - } - - public function viderCollegTemp($user) - { - $sql = 'DELETE FROM college_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM garantie_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM prestation_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - } - - public function init_changement_college($idAdherent) - { - $user = $_SESSION['login']; - $sql = 'call sp_init_changement_college(?, ?)'; - - $college_temp = $this->executerRequete($sql, array($idAdherent, $user)); - return $college_temp->fetch(); - } - - public function changer_college_temp($idAdherent, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_college_temp(?, ?, ?)'; - - $college_temp = $this->executerRequete($sql, array($idAdherent, $idCollege, $user)); - return $college_temp->fetch(); - } - - public function changer_college($idAdherent) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_college(?, ?)'; - $this->executerRequete($sql, array($idAdherent, $user)); - } - - public function getCollegesPolice() - { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM college_temp WHERE (user=?) order by libelleCollege'; - $college = $this->executerRequete($sql, array($user)); - return $college; - } - - public function getTotaldcollege($idPolice) { - $user = $_SESSION['login']; - $sql = 'call sp_totalcollege_temp(?, ?)'; - $totalcollege = $this->executerRequete($sql, array($idPolice, $user)); - return $totalcollege->fetch(PDO::FETCH_ASSOC); - } - - public function selectioncollegetemp($idCollegeTemp, $choix) { - $sql = 'update college_temp set choix=? WHERE (id=?)'; - $this->executerRequete($sql, array($choix, $idCollegeTemp)); - } - - public function majplafondadd($idGarantie, $plafond) - { - $sql = 'update garantieaddition_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majprimeadd($idGarantie, $primeOption) - { - $sql = 'update garantieaddition_temp set primeOption=? where (id=?)'; - $this->executerRequete($sql, array($primeOption, $idGarantie)); - } - - public function recapituler_maj_limite_college($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_recapituller_maj_limite_college(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function modifierlimitecollegetemp($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_limite_college_temp(?)'; - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function getCollegepoliceId($idCollege) { - $sql = 'SELECT A.id AS idCollege, A.*, B.libelle as produit - from college A - join produit B on (B.codeSociete=A.codeSociete) AND (B.codeProduit=A.codeProduit) - where A.id=?'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetch(); - } - - public function getprestatairehorsreseau($idCollege) { - $sql = 'call sp_getprestatairehorsreseau(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestataireenplus($idCollege) { - $sql = 'call sp_getprestataireenplus(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - // Prestataires en moins - public function getprestatairereseau($idCollege) { - $sql = 'call sp_getprestatairereseau(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestataireenmoins($idCollege) { - $sql = 'call sp_getprestataireenmoins(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getListeCollege($idPolice) { - $sql = 'SELECT id as code, CONCAT(codeProduit, " : ", libelleCollege) as libelle FROM college - where (idPolice=?) order by 2'; - $liste = $this->executerRequete($sql, array($idPolice)); - return $liste; - // return $liste->fetch(PDO::FETCH_ASSOC); - } - - // Prestataires dérogation TM - public function getprestatairereseautm($idCollege) { - $sql = 'call sp_getprestatairereseau_tm(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - public function getprestatairetm($idCollege) { - $sql = 'call sp_getprestataire_tm(?);'; - - $college = $this->executerRequete($sql, array($idCollege)); - return $college->fetchAll(PDO::FETCH_ASSOC); - } - - - public function majchampapplicationplafond($idGarantie, $choix) - { - $sql = 'update garantie_temp set champApplication=? where (id=?)'; - $this->executerRequete($sql, array($choix, $idGarantie)); - } - - public function changecategorie($codeProduit) - { - $codeSociete = $_SESSION['codeSociete']; - // $user = $_SESSION['login']; - $idCollegeTemp = $_SESSION['idCollegeTemp']; - - $sql = 'CALL sp_modifier_categorie_college_temp(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp, $codeSociete, $codeProduit)); - - return $resultat->fetch(PDO::FETCH_ASSOC); - } - - public function maj_libelle_college($idCollegeTemp, $nouvLibelleCollege) - { - $sql = 'CALL sp_maj_libelle_college(?, ?);'; - - $this->executerRequete($sql, array($idCollegeTemp, $nouvLibelleCollege)); - } - -} diff --git a/radiantproduction/Societes/radiant/Tarifs/Modele/College_temp_d.php b/radiantproduction/Societes/radiant/Tarifs/Modele/College_temp_d.php deleted file mode 100644 index 5497021..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Modele/College_temp_d.php +++ /dev/null @@ -1,528 +0,0 @@ -executerRequete($sql, array($idCollegeTemp, $codeGarantie)); - } - - public function getCollegeTemp($idCollegeTemp) - { - $sql = 'call sp_afficher_college_temp(?)'; - - $collegeTemp = $this->executerRequete($sql, array($idCollegeTemp)); - - return $collegeTemp->fetch(); - } - - public function getCollegeTempPolice($idPolice, $user) - { - $sql = 'select * from college_temp where (idPolice=?) and (user=?)'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - - public function getCollegeTempPoliceRen($idPolice, $user) - { - $sql = 'select * from college_ren_temp where (idPolice=?) and (user=?) order by codeProduit, libelleCollege'; - - $collegeTemp = $this->executerRequete($sql, array($idPolice, $user)); - return $collegeTemp->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarAddCollege($idCollegeTemp) - { - $sql = 'select A.*, B.plafond as plafondOld, B.plafond+A.plafond as plafondNew from garantieaddition_temp A - join garantie_temp B on (B.user=A.user) and (B.idCollegeTemp=A.idCollegeTemp) and (B.codeGarantie=A.codeGarantie) - where (A.idCollegeTemp=?) order by A.ordre'; - - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarBaseCollege($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle!="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getGarOptCollege($idCollegeTemp) - { - $sql = 'CALL sp_get_gar_opt_college(?);'; - - $resultat = $this->executerRequete($sql, array($idCollegeTemp)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarOptCollegeAcq($idCollegeTemp) - { - $sql = 'select * from garantie_temp where (idCollegeTemp=?) and (optionnelle="1") order by ordre'; - $garanties = $this->executerRequete($sql, array($idCollegeTemp)); - return $garanties; - } - - public function getPrestation($idCollegeTemp) - { - $sql = 'select A.*, B.libelle as reseausoin from prestation_temp A - join reseausoins B on (B.codeReseau=A.codeReseau) - where (A.idCollegeTemp=?) order by A.tmBase, A.tm'; - - $prestations = $this->executerRequete($sql, array($idCollegeTemp)); - return $prestations; - } - - public function supprimer($idCollegeTemp) { - $sql = 'DELETE FROM college_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - - $sql = 'DELETE FROM garantie_temp WHERE (idCollegeTemp=?)'; - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function supprimergarantie($idGarantie) { - $sql = 'DELETE FROM garantie_temp WHERE (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function initCollege($idPolice, $user) - { - $codeSociete = $_SESSION['codeSociete']; - $numeroOptionTarif = $_SESSION['numeroOptionTarif']; - - if (est_anglophone()) - { - $sql = 'CALL sp_init_college_d_eng(?, ?, ?, ?);'; - } - else - { - $sql = 'CALL sp_init_college_d(?, ?, ?, ?);'; - } - - $resultat = $this->executerRequete($sql, array($idPolice, $codeSociete, $numeroOptionTarif, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - } - - public function initModifCollege($idCollege, $user) - { - $sql = 'CALL sp_init_modifier_college_d(?, ?);'; - - $this->executerRequete($sql, array($idCollege, $user)); - - $resultat = $this->executerRequete($sql, array($idCollege, $user)); - - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - - $idCollegeTemp = $ligne['idCollegeTemp']; - - $_SESSION['idCollegeTemp'] = $idCollegeTemp; - - return $idCollegeTemp; - - } - - public function recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, $imposerPlafond, - $numeroOptionTarif, $tauxPrimeFraisFuneraire) - { - // $sql = 'call sp_recapituller_college_temp_d_bicor(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - $sql = 'call sp_recapituller_college_temp_d_radiant(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte, - $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire)); - } - - public function maj($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, $primeFamille, - $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm) - { - $sql = 'call sp_maj_college_temp(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit, - $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm)); - } - - public function enregistrer($idCollegeTemp) - { - $sql = 'insert into d_college (codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, fraisCarteBeneficiaire, - primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, tauxPrimeRachatTm, imposerPlafond, - idOptionTarif, numeroOptionTarif, tauxPrimeFraisFuneraire, delaiCarenceCollege) - - select codeSociete, idPolice, numeroPolice, codeProduit, libelleCollege, nbAdherent, nbAyantdroit, primeFamille, - primeBeneficiaire, surprimeOption, surprimeTm, surprimeAnt, commission, commissionAutre, primeNette, primeNetteStat, primeHt, - taxe, fraisCarte, primeTtc, primeTtcAdherent, rachatTm, cplFuneraire, primeCplFuneraire, primeTtcTotal, - user, deduireComm, surprimeOptionBeneficiaire, surprimeTmBeneficiaire, surprimeAntBeneficiaire, commissionBeneficiaire, - commissionAutreBeneficiaire, primeNetteBeneficiaire, primeNetteStatBeneficiaire, primeHtBeneficiaire, taxeBeneficiaire, fraisCarteBeneficiaire, - primeTtcBeneficiaire, cplFuneraireBeneficiaire, primeCplFuneraireBeneficiaire, tauxRachatTm, tauxPrimeRachatTm, imposerPlafond, - idOptionTarif, numeroOptionTarif, tauxPrimeFraisFuneraire, delaiCarenceCollege - from college_temp where id=?'; - - $this->executerRequete($sql, array($idCollegeTemp)); - - $idCollege = $this->dernierId(); - - $this->ajouterGarantieCollege($idCollege, $idCollegeTemp); - - $this->ajouterTableauPrestation($idCollege, $idCollegeTemp); - - $user = $_SESSION['login']; - - $this->viderCollegTemp($user); - } - - public function modifiercollege($idCollegeTemp, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_college_d(?, ?, ?)'; - $this->executerRequete($sql, array($idCollegeTemp, $idCollege, $user)); - } - - public function ajouterGarantieCollege($idCollege, $idCollegeTemp) - { - $sql = 'delete from d_garantiecollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into d_garantiecollege (codeSociete, idCollege, idPolice, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication, - tauxPrime, capital) - - select codeSociete, ? as idCollege, idPolice, numeroPolice, codeGarantie, garantie, garantieEng, optionnelle, - additionnelle, tauxPlafond, forfaitPlafond, primeOption, user, plafond, plafondLettre, primeFamille, ordre, champApplication, - tauxPrime, capital - from garantie_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function ajouterTableauPrestation($idCollege, $idCollegeTemp) - { - $sql = 'delete from d_prestationcollege where idCollege=?'; - $this->executerRequete($sql, array($idCollege)); - - $sql = 'insert into d_prestationcollege ( - codeSociete, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - ) - - select - codeSociete, - ? as idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - `user`, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm - from prestation_temp where idCollegeTemp=?'; - - $this->executerRequete($sql, array($idCollege, $idCollegeTemp)); - } - - public function initGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - user, - plafond, - ordre, - plafondLettre, - champApplication - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.libelle as garantie, - A.libelleEng as garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - B.user, - ROUND((B.primeFamille*A.tauxPlafond),0)+A.forfaitPlafond as plafond, - A.ordre, A.plafondLettre, - A.champApplication - from garantie A - join college_temp B on (B.codeSociete=A.codeSociete) - Where (B.id=?) and optionnelle!="1"'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initPrestationCollege($idCollegeTemp) - { - $user = $_SESSION['login']; - $codeProduitBase = $_SESSION['codeProduitBase']; - - $sql = 'call sp_init_prestation_college(?, ?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $codeProduitBase, $user)); - } - - public function initModifGarantieCollege($idCollegeTemp) - { - $sql = 'insert into garantie_temp - ( - codeSociete, - idCollege, - idCollegeTemp, - idPolice, - numeroPolice, - codeGarantie, - garantie, - garantieEng, - optionnelle, - additionnelle, - tauxPlafond, - forfaitPlafond, - primeOption, - user, - plafond, - ordre, - plafondLettre, - primeFamille, - champApplication - ) - select - A.codeSociete, - A.idCollege, - B.id as idCollegeTemp, - B.idPolice, - B.numeroPolice, - A.codeGarantie, - A.garantie, - A.garantieEng, - A.optionnelle, - A.additionnelle, - A.tauxPlafond, - A.forfaitPlafond, - A.primeOption, - B.user, - A.plafond, - A.ordre, A.plafondLettre, - A.primeFamille, - A.champApplication - from d_garantiecollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function initModifPrestation($idCollegeTemp) - { - $sql = 'insert into prestation_temp ( - codeSociete, - idCollegeTemp, - idCollege, - idPolice, - numeroPolice, - codeProduit, - codeReseau, - tm, - user, - dateSysteme, - tmBase, - rachatTm, - tauxRachatTm, - tauxPrimeRachatTm - ) - select - A.codeSociete, - B.id as idCollegeTemp, - B.idCollege, - B.idPolice, - B.numeroPolice, - A.codeProduit, - A.codeReseau, - A.tm, - B.user, - now() as dateSysteme, - A.tmBase, - B.rachatTm, - B.tauxRachatTm, - B.tauxPrimeRachatTm - from d_prestationcollege A - join college_temp B on (B.codeSociete=A.codeSociete) and (B.idCollege=A.idCollege) - Where (B.id=?)'; - - $this->executerRequete($sql, array($idCollegeTemp)); - } - - public function majtauxplafond($idGarantie, $tauxPlafond) - { - $sql = 'update garantie_temp set tauxPlafond=? where (id=?)'; - $this->executerRequete($sql, array($tauxPlafond, $idGarantie)); - - $sql = 'update garantie_temp set plafond= ROUND((primeFamille*tauxPlafond),0)+forfaitPlafond where (id=?)'; - $this->executerRequete($sql, array($idGarantie)); - } - - public function imposerplafond($idGarantie, $plafond) - { - $sql = 'update garantie_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majtm($idPrestation, $tm) - { - $sql = 'update prestation_temp set tm=? where (id=?)'; - $this->executerRequete($sql, array($tm, $idPrestation)); - } - - public function majPrimeOpt($idGarantie, $primeOption) - { - $sql = 'call sp_maj_prime_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $primeOption)); - } - - public function majPlafondOpt($idGarantie, $plafondOption) - { - $sql = 'call sp_maj_plafond_opt(?, ?)'; - - $this->executerRequete($sql, array($idGarantie, $plafondOption)); - } - - public function majlibgar($idGarantie, $libellegarantie) - { - $sql = 'update garantie_temp set garantie=? where (id=?)'; - $this->executerRequete($sql, array($libellegarantie, $idGarantie)); - } - - public function viderCollegTemp($user) - { - $sql = 'DELETE FROM college_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM garantie_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - - $sql = 'DELETE FROM prestation_temp WHERE (user=?)'; - $this->executerRequete($sql, array($user)); - } - - public function changer_college_temp($idAdherent, $idCollege) - { - $user = $_SESSION['login']; - $sql = 'call sp_changer_college_temp_d(?, ?, ?)'; - - $college_temp = $this->executerRequete($sql, array($idAdherent, $idCollege, $user)); - return $college_temp->fetch(); - } - - public function getCollegesPolice() - { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM college_temp WHERE (user=?) order by libelleCollege'; - $college = $this->executerRequete($sql, array($user)); - return $college; - } - - public function getTotaldcollege($idPolice) { - $user = $_SESSION['login']; - $sql = 'call sp_totalcollege_temp_d(?, ?)'; - $totalcollege = $this->executerRequete($sql, array($idPolice, $user)); - return $totalcollege->fetch(PDO::FETCH_ASSOC); - } - - public function selectioncollegetemp($idCollegeTemp, $choix) { - $sql = 'update college_temp set choix=? WHERE (id=?)'; - $this->executerRequete($sql, array($choix, $idCollegeTemp)); - } - - public function majplafondadd($idGarantie, $plafond) - { - $sql = 'update garantieaddition_temp set plafond=? where (id=?)'; - $this->executerRequete($sql, array($plafond, $idGarantie)); - } - - public function majprimeadd($idGarantie, $primeOption) - { - $sql = 'update garantieaddition_temp set primeOption=? where (id=?)'; - $this->executerRequete($sql, array($primeOption, $idGarantie)); - } - - public function recapituler_maj_limite_college($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_recapituller_maj_limite_college(?, ?)'; - - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function modifierlimitecollegetemp($idCollegeTemp) - { - $user = $_SESSION['login']; - $sql = 'call sp_modifier_limite_college_temp(?)'; - $this->executerRequete($sql, array($idCollegeTemp, $user)); - } - - public function getoptionstarif($idPolice) { - $sql = 'SELECT numeroOptionTarif as code, libelleOptionTarif as libelle from d_optionstarif where (idPolice=?) order by 1'; - $liste = $this->executerRequete($sql, array($idPolice)); - // return $liste; - return $liste->fetchAll(PDO::FETCH_ASSOC); - } - - public function nouvelleoptiontarif() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_d_C']; - - $sql = 'call sp_d_nouvelle_option_tarif(?, ?)'; - - $this->executerRequete($sql, array($idPolice, $user)); - } -} diff --git a/radiantproduction/Societes/radiant/Tarifs/Modele/Police.php b/radiantproduction/Societes/radiant/Tarifs/Modele/Police.php deleted file mode 100644 index 2b24813..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Modele/Police.php +++ /dev/null @@ -1,686 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $polices; - } - - public function getPolicesId($id) { - $sql = 'SELECT A.id, A.codeSociete, A.idClient, A.numeroClient, numeroPolice, numeroPoliceSociete, numeroDevis, - B.libelle As typeAvenant, dateEffet, dateFin, dateEcheance, numeroAvenant, dateAvenant, ADDDATE(A.dateEcheance, +1) as DateRenouvellement, - D.libelle as etatPolice, A.codeFractionnement, T.libelle As typeContrat, IFNULL(A.primeFamille,"0") as primeFamille, - IFNULL(A.primeBeneficiaire,"0") as primeBeneficiaire, rachatTm, rachatTm, TM.libelle as rachattm, garantieArchive, collegeArchive, A.gestionConfiee - FROM police A - left join typecontrat T on (T.codeTypeContrat=A.codeTypeContrat) - left join typeavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - left join etatpolice D on (D.codeEtatPolice=A.codeEtatPolice) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.idClient=?) order by A.id'; - - $polices = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $polices; - } - - public function getPolice($numeroPolice) - { - $sql = 'call sp_getPoliceNo(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - - if ($police->rowCount() > 0) - return $police->fetch(); - else - throw new Exception("Aucune police ne correspond au numéo '$numeroPolice'"); - } - - public function getPoliceId($id) - { - $sql = 'call sp_getPoliceId(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - return $police->fetch(PDO::FETCH_ASSOC); - /* - if ($police->rowCount() > 0) - return $police->fetch(); - else - throw new Exception("Aucune police ne correspond au ie '$id'"); - */ - } - - public function getPoliceIdSimple($id) { - $sql = 'SELECT A.* FROM police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - if ($police->rowCount() > 0) - return $police->fetch(); - else - throw new Exception("Aucune police ne correspond au ie '$id'"); - } - - - public function getTextecp($id) { - $sql = 'select texteCp from police where (id=?)'; - $textecp = $this->executerRequete($sql, array($id)); - return $textecp->fetch(); - } - - public function enregistrertexteCp($texteCp, $idPolice) { - $sql = 'update police set texteCp=? where (id=?)'; - $this->executerRequete($sql, array($texteCp, $idPolice)); - } - - public function getNombrePolices($numeroClient) - { - $sql = 'select count(*) as nbPolices FROM polices A WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - $ligne = $resultat->fetch(); - return $ligne['nbPolices']; - } - - public function getNombrePolicesId($id) - { - $sql = 'select count(*) as nbPolices FROM police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $ligne = $resultat->fetch(); - return $ligne['nbPolices']; - } - - public function getContextePoliceId($id) - { - $sql = 'SELECT - A.idClient, - A.numeroClient, - A.id AS idPolice, - A.numeroPolice, - IFNULL(B.tauxTaxe,"0") AS tauxTaxe, - A.codeEtape, - IFNULL(A.tauxCommission,"0") AS tauxCommission, - IFNULL(A.tauxCommissionAutre,"0") AS tauxCommissionAutre, - IFNULL(A.primeFamille,"0") AS primeFamille, - IFNULL(A.primeBeneficiaire,"0") AS primeBeneficiaire, - rachatTm, - TM.libelle AS rachattm, - garantieArchive, - collegeArchive, - A.codeTypeAvenant, - ADDDATE(A.dateEcheance, +1) AS DateRenouvellement, - A.dateEffet, - A.dateFin, - A.dateEcheance, - dateAvenant, - A.deduireComm, - A.codeEtatPolice, - A.gestionConfiee, - A.codeTypeContrat, - fn_id_entetecontrat_police_en_cours(A.id) AS idEntetecontratPolice, - fn_dernier_avenant_incorporation(A.id) AS dernierIdAvenant, - fn_derniere_date_avenant_incorporation(A.id) AS dernierDateAvenant, - fn_get_college_familiale(A.id) dernierIdCollege - FROM police A - LEFT JOIN typecontrat B ON (B.codeTypeContrat=A.codeTypeContrat) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['idPolice_C'] = $context['idPolice']; - $_SESSION['numeroPolice_C'] = $context['numeroPolice']; - $_SESSION['codeTypeContrat'] = $context['codeTypeContrat']; - $_SESSION['codeEtape_C'] = $context['codeEtape']; - $_SESSION['tauxTaxe_C'] = $context['tauxTaxe']; - $_SESSION['tauxCommission_C'] = $context['tauxCommission']; - $_SESSION['tauxCommissionAutre_C'] = $context['tauxCommissionAutre']; - $_SESSION['deduireComm_C'] = $context['deduireComm']; - $_SESSION['codeTypeAvenant_C'] = $context['codeTypeAvenant']; - $_SESSION['codeEtatPolice_C'] = $context['codeEtatPolice']; - - $_SESSION['dateEffet_C'] = $context['dateEffet']; - $_SESSION['dateFin_C'] = $context['dateFin']; - $_SESSION['dateEcheance_C'] = $context['dateEcheance']; - - $_SESSION['DateRenouvellement_C'] = $context['DateRenouvellement']; - - $_SESSION['dateAvenant_C'] = $context['dateAvenant']; - - $_SESSION['idPoliceAjax'] = $_SESSION['idPolice_C']; - - $_SESSION['primeFamille_C'] = $context['primeFamille']; - $_SESSION['primeBeneficiaire_C'] = $context['primeBeneficiaire']; - - $_SESSION['rachatTm_C'] = $context['rachatTm']; - - // $_SESSION['garantieArchive_C'] = $context['garantieArchive']; - $_SESSION['collegeArchive_C'] = $context['collegeArchive']; - - $_SESSION['idEntetecontratPolice'] = $context['idEntetecontratPolice']; - - $_SESSION['dernierIdAvenant'] = $context['dernierIdAvenant']; - $_SESSION['dernierDateAvenant'] = $context['dernierDateAvenant']; - $_SESSION['dernierIdCollege'] = $context['dernierIdCollege']; - - $_SESSION['idAdherent_C'] = ""; - $_SESSION['numeroAdherent_C'] = ""; - $_SESSION['nomAdherent_C'] = ""; - - $_SESSION['idBeneficiaire_C'] = ""; - $_SESSION['numeroBeneficiaire_C'] = ""; - $_SESSION['nomBeneficiaire_C'] = ""; - $_SESSION['lienPhoto_C'] = ""; - - $_SESSION['beneficiaire_C'] = ""; - $_SESSION['adherent_C'] = ""; - $_SESSION['enVigueur_C'] = ""; - - $_SESSION['decede_C'] = "0"; - $_SESSION['dateDeces_C'] = ""; - $_SESSION['fraisFuneraireDemande_C'] = "0"; - $_SESSION['fraisFunerairePaye_C'] = "0"; - - // nb famille et de dépendants - $sql = 'select - ifnull(sum(case when codeLienParente="A" then "1" else "0" end), "0") as ndAdh, - ifnull(SUM(case when codeLienParente="A" then "0" else "1" end), "0") as ndDep, - ifnull(SUM(case when codeEtatBeneficiaire="V" then "1" else "0" end), "0") as ndActif - from beneficiaire where (codeSociete=?) AND (idPolice=?) and (supprime!="1")'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $effectif = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['ndAdh_C'] = $effectif['ndAdh']; - $_SESSION['ndDep_C'] = $effectif['ndDep']; - $_SESSION['ndActif_C'] = $effectif['ndActif']; - } - - public function getDenierNumeroPolice($annee) - { - $sql = 'select dernierNumeroPolice from numerotationpolice WHERE (codeSociete=? AND annee=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee)); - - if ($resultat->rowCount() == 0) - { - $sql = 'insert into numerotationpolice (codeSociete, annee, dernierNumeroPolice) values (?,?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee,"0")); - return "1"; - } else - { - $ligne = $resultat->fetch(); - return $ligne['dernierNumeroPolice']+1; - } - } - - public function setDenierNumeroPolice($annee,$dernierNumeroPolice) - { - $sql = 'update numerotationpolice set dernierNumeroPolice=? WHERE (codeSociete=? AND annee=?)'; - $this->executerRequete($sql, array($dernierNumeroPolice, $_SESSION['codeSociete'], $annee)); - } - - public function ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, - $codeGestionnaire, $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, - $primeFamille, $primeBeneficiaire, $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent) - { - - $sql = 'INSERT INTO police (codeSociete, idClient, numeroClient, numeroPolice, numeroPoliceSociete, - codeTypeContrat, dateEffet, dateFin, dateEcheance, numeroAvenant, codeTypeAvenant, dateAvenant, - codeApporteur, codeGestionnaire, dateCre, userCre, codeEtatPolice, codeFractionnement, codePeriodicite, tauxCommission, - primeFamille, primeBeneficiaire, rachatTm, deduireComm, taciteReconduction, tauxRachatTm, codeCommercial, - tauxCommissionAutre, speciale, limiteConsommation, tauxRistourne, remplacementAdherent) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, - $codeGestionnaire, $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, - $primeFamille, $primeBeneficiaire, $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent)); - - $dernierId=$this->dernierId(); - - $sql = 'insert into avenant (codeSociete, idPolice, numeroPolice, codeTypeAvenant, numeroAvenant, dateEffet, dateCre, user, dateSysteme) - select codeSociete, id as idPolice, numeroPolice, codeTypeAvenant, numeroAvenant, dateEffet, dateCre, userCre as `user`, dateSysteme - from police where (id=?)'; - - $this->executerRequete($sql, array($dernierId)); - - $sql = 'call sp_creer_contrat(?, ?)'; - $this->executerRequete($sql, array($dernierId, $userCre)); - - return $dernierId; - - } - - public function modifier($id, $tauxCommission, $primeFamille, $primeBeneficiaire, $codeApporteur, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent) - { - $user = $_SESSION['login']; - - $sql = 'call sp_modifier_police(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($id, $tauxCommission, $codeApporteur, $codeCommercial, - $tauxCommissionAutre, $speciale, $limiteConsommation, $tauxRistourne, $remplacementAdherent, $user)); - } - - public function initresiliation($idPolice) - { - $dateAvenant = $_SESSION['dateAvenant_C']; - $motifavenant = $_SESSION['motifavenant_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_init_resiliation(?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $motifavenant)); - } - - public function initretrait($idPolice) - { - $dateAvenant = $_SESSION['dateAvenant_C']; - $motifavenant = $_SESSION['motifavenant_C']; - $user = $_SESSION['login']; - $idSaisie = $_SESSION['idSaisie']; - /* - $sql = 'call sp_init_retrait(?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $motifavenant, $idSaisie)); - */ - $sql = 'call sp_init_retrait(?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $motifavenant)); - } - - public function initrerenouvellement($idPolice) - { - $dateAvenant = $_SESSION['dateAvenant_C']; - $dateEcheanceRen = $_SESSION['dateEcheanceRen_C']; - $user = $_SESSION['login']; - - $sql = 'call sp_init_renouvellement(?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user, $dateEcheanceRen)); - } - - public function initLimiteAdditionnelle($idPolice, $dateAvenant) - { - $user = $_SESSION['login']; - - $sql = 'call sp_init_limite_additionnelle(?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $dateAvenant, $user)); - } - - public function getAvenantTemp() { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM avenant_temp WHERE (`user`=?) order by id desc'; - $resultat = $this->executerRequete($sql, array($user)); - return $resultat->fetch(); - } - - public function getEmissionTemp() { - $user = $_SESSION['login']; - $sql = 'SELECT * FROM emission_temp WHERE (`user`=?)'; - $resultat = $this->executerRequete($sql, array($user)); - return $resultat->fetch(); - } - - public function creeravenant($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant) - { - $user = $_SESSION['login']; - $sql = 'call sp_creer_avenant(?, ?, ?, ?, ?)'; - $this->executerRequete($sql, array($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant, $user)); - } - - public function enregistrerresiliation() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_resiliation(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function enregistrerretrait() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_retrait(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function enregistrerrenouvellement() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_renouvellement(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getIdPolice($numeroPolice) { - $sql = 'SELECT id FROM police WHERE (codeSociete=?) AND (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - $ligne = $resultat->fetch(); - return $ligne['id']; - } - - public function existeligne($numeroPolice) { - $sql = 'select id FROM police WHERE (codeSociete=?) and (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - return ($resultat->rowCount() > 0); - } - - public function formaterNumeroPolice($annee,$numeroPolice) { - $numeroPolice = "00000".$numeroPolice; - $numeroPolice = substr($numeroPolice, -6); - $numeroPolice = $annee.$numeroPolice; - return $numeroPolice; - } - - public function supprimer($idPolice) { - $sql = 'select id from college where (idPolice=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idPolice)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM police WHERE (id=?)'; - $this->executerRequete($sql, array($idPolice)); - - $sql = 'DELETE FROM contrat WHERE (idPolice=?)'; - $this->executerRequete($sql, array($idPolice)); - - return true; - } - else - { - return false; - } - } - - public function getExisteQuittance($idPolice) { - $sql = 'select id from emission where (idPolice=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idPolice)); - - if($resultat->rowCount() == 0) - { - return "0"; - } - else - { - return "Q"; - } - } - - public function archivergarantie($id) { - $sql = 'UPDATE police SET garantieArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function archivercollege($id) { - $sql = 'UPDATE police SET collegeArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getContexteAjaxPolice($id) - { - $sql = 'SELECT A.id as idPolice FROM police A WHERE (A.id=?)'; - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(); - $_SESSION['idPoliceAjax'] = $context['idPolice']; - $_SESSION['idPolice_C'] = $_SESSION['idPoliceAjax']; - } - - public function getEnteteCP($idPolice) - { - $sql = 'call sp_entete_cp(?);'; - - $entete = $this->executerRequete($sql, array($idPolice)); - return $entete->fetch(PDO::FETCH_ASSOC); - } - - public function getCollegesCP($idPolice) - { - $sql = 'call sp_collesges_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantiesCollegesCP($idPolice) - { - $sql = 'call sp_garanties_colleges_police(?);'; - - $garantiescolleges = $this->executerRequete($sql, array($idPolice)); - return $garantiescolleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function gettableauPrestationsCP($idPolice) - { - $sql = 'call sp_tableau_prestation_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getRapportSpPolice($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function getConsommationPolice($idPolice, $dateReference) - { - $sql = 'call sp_consommation_police(?, ?);'; - - $consommationpolice = $this->executerRequete($sql, array($idPolice, $dateReference)); - return $consommationpolice->fetch(PDO::FETCH_ASSOC); - } - - public function getExisteConsommationPolice($idPolice) - { - $dj = date("Y-m-d"); - $sql = 'call sp_consommation_police(?, ?);'; - - $resultat = $this->executerRequete($sql, array($idPolice, $dj)); - $ligne = $resultat->fetch(PDO::FETCH_ASSOC); - $consommationpolice = $ligne['consommation']; - - if($consommationpolice>"0") - { - return "C"; - } - else - { - return "0"; - } - } - - public function gettableauAjustementCP() - { - $sql = 'call sp_tableau_ajustement();'; - - $tableauajustementcps = $this->executerRequete($sql); - return $tableauajustementcps->fetchAll(PDO::FETCH_ASSOC); - } - - public function getClientsearchPol($numeroPolice) - { - $sql = 'select id as idPolice from police WHERE (codeSociete=?) AND (numeroPolice=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(); - return $ligne['idPolice']; - } - } - - public function getClientsearchPolId($idPolice) - { - $sql = 'select id as idPolice from police WHERE (codeSociete=?) AND (id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$idPolice)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(); - return $ligne['idPolice']; - } - } - - public function recapituler_maj_limite_police() - { - $user = $_SESSION['login']; - $sql = 'call sp_recapituller_maj_limite_police(?)'; - - $this->executerRequete($sql, array($user)); - } - - public function enregistrerlimiteadditionnelle() - { - $user = $_SESSION['login']; - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_avenant_limite_additionnelle(?, ?)'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getContexteClientId($idPolice) { - $sql = 'SELECT A.id as idClient, A.numeroClient, concat(A.nom," ",A.prenoms) as nomClient, A.codeLangueClient - FROM clients A join police B on (B.idClient=A.id) WHERE (B.id=?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(); - $_SESSION['idClient_C'] = $context['idClient']; - $_SESSION['numeroClient_C'] = $context['numeroClient']; - $_SESSION['nomClient_C'] = $context['nomClient']; - $_SESSION['idClientAjax'] = $context['idClient']; - $_SESSION['codeLangueClient'] = $context['codeLangueClient']; - } - - // Polices non renouvellées - - public function etatpolnonren() - { - $dj = date("Y-m-d"); - - $sql = 'call sp_polices_non_renouvellees(?);'; - - $resultat = $this->executerRequete($sql, array($dj)); - - return $resultat->fetchAll(PDO::FETCH_ASSOC); - } - - public function activergc($idPolice) - { - $user = $_SESSION['login']; - $sql = 'call sp_activergc(?, ?);'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function desactivergc($idPolice) - { - $user = $_SESSION['login']; - $sql = 'call sp_desactivergc(?, ?);'; - $this->executerRequete($sql, array($idPolice, $user)); - } - - public function getRapportSpPoliceEntete($idPolice, $dateReference) - { - $sql = 'call sp_rapport_sp_police_entete(?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference)); - - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function getRapportSpPolicePol($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police_pol(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - - return $sppolice->fetch(PDO::FETCH_ASSOC); - } - - public function getRapportSpPoliceCat($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police_cat(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - - return $sppolice->fetchAll(PDO::FETCH_ASSOC); - } - - public function getRapportSpPoliceCol($idPolice, $dateReference) - { - $user = $_SESSION['login']; - - $sql = 'call sp_rapport_sp_police_col(?, ?, ?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice, $dateReference, $user)); - - return $sppolice->fetchAll(PDO::FETCH_ASSOC); - } - - public function getsyntheseconsopolice() - { - $idPolice = $_SESSION['idPolice_C']; - - $sql = 'call sp_synthese_consommation_police(?);'; - - $sppolice = $this->executerRequete($sql, array($idPolice)); - - return $sppolice->fetchAll(PDO::FETCH_ASSOC); - } - - public function getderniereavenantincorporation($idPolice) - { - $sql = 'call sp_get_derniere_avenant_incorporation(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['dernierIdAvenant'] = $context['dernierIdAvenant']; - $_SESSION['dernierDateAvenant'] = $context['dernierDateAvenant']; - } - - public function getcollegefamiliale($idPolice) - { - $sql = 'call sp_get_college_familiale(?);'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(PDO::FETCH_ASSOC); - - $_SESSION['dernierIdCollege'] = $context['dernierIdCollege']; - - return $context; - } -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Modele/Police_d.php b/radiantproduction/Societes/radiant/Tarifs/Modele/Police_d.php deleted file mode 100644 index 144b153..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Modele/Police_d.php +++ /dev/null @@ -1,348 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - return $polices; - } - - public function getPolicesId($id) { - $sql = 'SELECT A.id, A.codeSociete, A.idClient, A.numeroClient, numeroPolice, numeroPoliceSociete, numeroContrat, - B.libelle As typeAvenant, dateEffet, dateFin, dateEcheance, numeroAvenant, dateAvenant, ADDDATE(A.dateEcheance, +1) as DateRenouvellement, - D.libelle as etatPolice, A.codeFractionnement, T.libelle As typeContrat, IFNULL(A.primeFamille,"0") as primeFamille, - IFNULL(A.primeBeneficiaire,"0") as primeBeneficiaire, rachatTm, rachatTm, TM.libelle as rachattm, garantieArchive, collegeArchive - FROM d_police A - left join typecontrat T on (T.codeTypeContrat=A.codeTypeContrat) - left join typeavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - left join etatpolice D on (D.codeEtatPolice=A.codeEtatPolice) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.idClient=?) order by A.id'; - - $polices = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - return $polices; - } - - public function getPolice($numeroPolice) - { - $sql = 'call sp_d_getPoliceNo(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - - if ($police->rowCount() > 0) - return $police->fetch(); - else - throw new Exception("Aucun devis ne correspond au numéo '$numeroPolice'"); - } - - public function getPoliceId($id) - { - $sql = 'call sp_d_getPoliceId(?, ?);'; - - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - - if ($police->rowCount() > 0) - return $police->fetch(); - else - throw new Exception("Aucun devis ne correspond au ie '$id'"); - } - - public function getPoliceIdSimple($id) { - $sql = 'SELECT A.* FROM d_police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $police = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - if ($police->rowCount() > 0) - return $police->fetch(); - else - throw new Exception("Aucun devis ne correspond au ie '$id'"); - } - - public function getNombrePolices($numeroClient) - { - $sql = 'select count(*) as nbPolices FROM d_polices A WHERE (A.codeSociete=?) AND (A.numeroClient=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroClient)); - $ligne = $resultat->fetch(); - return $ligne['nbPolices']; - } - - public function getNombrePolicesId($id) - { - $sql = 'select count(*) as nbPolices FROM d_police A WHERE (A.codeSociete=?) AND (A.id=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $ligne = $resultat->fetch(); - return $ligne['nbPolices']; - } - - public function getContextePoliceId($id) { - $sql = 'SELECT A.idClient, A.numeroClient, A.id AS idPolice, A.numeroPolice, A.transforme, A.numeroContrat, - IFNULL(B.tauxTaxe,"0") AS tauxTaxe, A.codeEtape, IFNULL(A.tauxCommission,"0") AS tauxCommission, - IFNULL(A.primeFamille,"0") as primeFamille, IFNULL(A.primeBeneficiaire,"0") as primeBeneficiaire, rachatTm, - TM.libelle as rachattm, garantieArchive, collegeArchive, A.codeTypeAvenant, ADDDATE(A.dateEcheance, +1) as DateRenouvellement, - A.dateEffet, A.dateFin, A.dateEcheance, dateAvenant, A.deduireComm, A.codeEtatPolice - FROM d_police A - LEFT JOIN typecontrat B ON (B.codeTypeContrat=A.codeTypeContrat) - left join rachattm TM on (TM.codeRachatTm=A.rachatTm) - WHERE (A.codeSociete=?) AND (A.id=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $id)); - $context = $resultat->fetch(); - - $_SESSION['idClient_d_C'] = $context['idClient']; - $_SESSION['numeroClient_d_C'] = $context['numeroClient']; - $_SESSION['idPolice_d_C'] = $context['idPolice']; - $_SESSION['numeroPolice_d_C'] = $context['numeroPolice']; - $_SESSION['codeEtape_d_C'] = $context['codeEtape']; - $_SESSION['tauxTaxe_d_C'] = $context['tauxTaxe']; - $_SESSION['tauxCommission_d_C'] = $context['tauxCommission']; - $_SESSION['deduireComm_d_C'] = $context['deduireComm']; - - $_SESSION['dateEffet_d_C'] = $context['dateEffet']; - $_SESSION['dateFin_d_C'] = $context['dateFin']; - $_SESSION['dateEcheance_d_C'] = $context['dateEcheance']; - - $_SESSION['dateAvenant_d_C'] = $context['dateAvenant']; - - $_SESSION['idPolice_d_Ajax'] = $_SESSION['idPolice_d_C']; - - $_SESSION['rachatTm_d_C'] = $context['rachatTm']; - - $_SESSION['collegeArchive_d_C'] = $context['collegeArchive']; - } - - public function getDenierNumeroPolice($annee) - { - $sql = 'select dernierNumeroPolice from d_numerotationpolice WHERE (codeSociete=? AND annee=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee)); - - if ($resultat->rowCount() == 0) - { - $sql = 'insert into d_numerotationpolice (codeSociete, annee, dernierNumeroPolice) values (?,?,?)'; - $this->executerRequete($sql, array($_SESSION['codeSociete'],$annee,"0")); - return "1"; - } else - { - $ligne = $resultat->fetch(); - return $ligne['dernierNumeroPolice']+1; - } - } - - public function setDenierNumeroPolice($annee,$dernierNumeroPolice) - { - $sql = 'update d_numerotationpolice set dernierNumeroPolice=? WHERE (codeSociete=? AND annee=?)'; - $this->executerRequete($sql, array($dernierNumeroPolice, $_SESSION['codeSociete'], $annee)); - } - - public function ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeCommercial, $codeGestionnaire, - $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $tauxCommissionAutre, $primeFamille, $primeBeneficiaire, - $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $tauxRistourne) - { - - $sql = 'INSERT INTO d_police (codeSociete, idClient, numeroClient, numeroPolice, numeroPoliceSociete, - codeTypeContrat, dateEffet, dateFin, dateEcheance, numeroAvenant, codeTypeAvenant, dateAvenant, - codeApporteur, codeCommercial, codeGestionnaire, dateCre, userCre, codeEtatPolice, codeFractionnement, codePeriodicite, tauxCommission, tauxCommissionAutre, - primeFamille, primeBeneficiaire, rachatTm, deduireComm, taciteReconduction, tauxRachatTm, tauxRistourne) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; - - $this->executerRequete($sql, array($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, - $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeCommercial, $codeGestionnaire, - $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $tauxCommissionAutre, $primeFamille, $primeBeneficiaire, - $rachatTm, $deduireComm, $taciteReconduction, $tauxRachatTm, $tauxRistourne)); - - $dernierId=$this->dernierId(); - - $sql = 'insert into d_optionstarif (idPolice, numeroOptionTarif, libelleOptionTarif, user) - select id as idPolice, "1" numeroOptionTarif, "Option 1" libelleOptionTarif, userCre from d_police where (id=?)'; - - $this->executerRequete($sql, array($dernierId)); - - return $dernierId; - - } - - public function modifier($id, $codeTypeContrat, $codeApporteur, $tauxCommission, $codePeriodicite, - $rachatTm, $tauxRachatTm, $dateEffet, $dateEcheance, $codeCommercial, $tauxCommissionAutre, $tauxRistourne) - { - $sql = 'UPDATE d_police SET - codeTypeContrat =?, - codeApporteur =?, - tauxCommission =?, - codePeriodicite =?, - rachatTm =?, - tauxRachatTm =?, - dateEffet =?, - dateEcheance =?, - codeCommercial =?, - tauxCommissionAutre =?, - tauxRistourne =? - where (id=?)'; - - $this->executerRequete($sql, array($codeTypeContrat, $codeApporteur, $tauxCommission, $codePeriodicite, - $rachatTm, $tauxRachatTm, $dateEffet, $dateEcheance, $codeCommercial, $tauxCommissionAutre, $tauxRistourne, $id)); - } - - public function getIdPolice($numeroPolice) { - $sql = 'SELECT id FROM d_police WHERE (codeSociete=?) AND (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroPolice)); - $ligne = $resultat->fetch(); - return $ligne['id']; - } - - public function existeligne($numeroPolice) { - $sql = 'select id FROM d_police WHERE (codeSociete=?) and (numeroPolice=?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - return ($resultat->rowCount() > 0); - } - - public function formaterNumeroPolice($annee,$numeroPolice) { - $numeroPolice = "00000".$numeroPolice; - $numeroPolice = substr($numeroPolice, -6); - $numeroPolice = "D".$annee.$numeroPolice; - return $numeroPolice; - } - - public function supprimer($idPolice) { - $sql = 'select id from d_college where (idPolice=?) limit 1'; - $resultat = $this->executerRequete($sql, array($idPolice)); - - if($resultat->rowCount() == 0) - { - $sql = 'DELETE FROM d_police WHERE (id=?)'; - $this->executerRequete($sql, array($idPolice)); - return true; - } - else - { - return false; - } - } - - public function archivergarantie($id) { - $sql = 'UPDATE d_police SET garantieArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function archivercollege($id) { - $sql = 'UPDATE d_police SET collegeArchive="1" where (id=?)'; - $this->executerRequete($sql, array($id)); - } - - public function getContexteAjaxPolice($id) - { - $sql = 'SELECT A.id as idPolice FROM d_police A WHERE (A.id=?)'; - $resultat = $this->executerRequete($sql, array($id)); - $context = $resultat->fetch(); - $_SESSION['idPolice_d_Ajax'] = $context['idPolice']; - } - - public function getCollegesCP($idPolice) - { - $sql = 'call sp_collesges_d_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getGarantiesCollegesCP($idPolice) - { - $sql = 'call sp_garanties_colleges_d_police(?);'; - - $garantiescolleges = $this->executerRequete($sql, array($idPolice)); - return $garantiescolleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function gettableauPrestationsCP($idPolice) - { - $sql = 'call sp_tableau_prestation_d_police(?);'; - - $colleges = $this->executerRequete($sql, array($idPolice)); - return $colleges->fetchAll(PDO::FETCH_ASSOC); - } - - public function getClientsearchPol($numeroPolice) - { - $sql = 'select id as idPolice FROM d_police WHERE (codeSociete=?) AND (numeroPolice=?)'; - - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'],$numeroPolice)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(); - return $ligne['idPolice']; - } - } - - public function transformer($idDevis, $numeroOptionTarif) - { - $user = $_SESSION['login']; - - $sql = 'call sp_transformer_devis(?, ?, ?);'; - - $resultat = $this->executerRequete($sql, array($idDevis, $user, $numeroOptionTarif)); - - if ($resultat->rowCount() == 0) - { - return "0"; - } else - { - $ligne = $resultat->fetch(); - return $ligne['idPolice']; - } - } - - public function getContexteClientId($idPolice) { - $sql = 'SELECT A.id as idClient, A.numeroClient, concat(A.nom," ",A.prenoms) as nomClient - FROM d_clients A join d_police B on (B.idClient=A.id) WHERE (B.id=?)'; - - $resultat = $this->executerRequete($sql, array($idPolice)); - - $context = $resultat->fetch(); - $_SESSION['idClient_d_C'] = $context['idClient']; - $_SESSION['numeroClient_d_C'] = $context['numeroClient']; - $_SESSION['nomClient_d_C'] = $context['nomClient']; - $_SESSION['idClient_d_Ajax'] = $context['idClient']; - } - - public function getEnteteCP($idPolice) - { - $sql = 'call sp_entete_devis(?);'; - - $entete = $this->executerRequete($sql, array($idPolice)); - return $entete->fetch(PDO::FETCH_ASSOC); - } - - public function nouvelleoptiontarif($idPolice) - { - $sql = 'insert into d_optionstarif (idPolice, numeroOptionTarif, libelleOptionTarif, user) - select id as idPolice, "1" numeroOptionTarif, "Option 1" libelleOptionTarif, userCre from d_police where (id=?)'; - - $this->executerRequete($sql, array($dernierId)); - - return $dernierId; - - } - - public function getTextecp($id) { - $sql = 'select texteCp from d_police where (id=?)'; - $textecp = $this->executerRequete($sql, array($id)); - return $textecp->fetch(); - } - - public function enregistrertexteCp($texteCp, $idPolice) { - $sql = 'update d_police set texteCp=? where (id=?)'; - $this->executerRequete($sql, array($texteCp, $idPolice)); - } -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Modele/Tarif.php b/radiantproduction/Societes/radiant/Tarifs/Modele/Tarif.php deleted file mode 100644 index 8e8b415..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Modele/Tarif.php +++ /dev/null @@ -1,158 +0,0 @@ -executerRequete($sql, array($_SESSION['codeSociete'], $primeNette, $fraisCarte, $tauxCommission, $tauxCommissionAutre, $tauxTaxe)); - return $prime->fetch(PDO::FETCH_ASSOC); - } - - /* - public function calculerPrimeBen() - { - // dateSortie, primeNette, commission, primeHt, taxe, fraisCarte, primeTtc - - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'SELECT codeProduit, codeLienParente, sexe, dateNaissance, dateEntree, IFNULL(primeFamille,"0") as primeFamille, - IFNULL(primeBeneficiaire,"0") as primeBeneficiaire FROM beneficiaire WHERE id=?'; - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - $beneficiaire = $resultat->fetch(); - - $codeLienParente = $beneficiaire['codeLienParente']; - $sexe = $beneficiaire['sexe']; - $dateNaissance = $beneficiaire['dateNaissance']; - $dateEntree = $beneficiaire['dateEntree']; - - $primeFamille = $beneficiaire['primeFamille']; - $primeBeneficiaire = $beneficiaire['primeBeneficiaire']; - - $age = age($dateNaissance , $dateEntree); - - // Pour Rdaiant - $codeEtape = $_SESSION['codeEtape_C']; - if($codeEtape=='1') - { - $accessoire = 15000; - } - else - { - $accessoire = 12000; - } - - if($codeLienParente=='A') - { - $primeBase = $primeFamille; - } - else - { - $primeBase = $primeBeneficiaire; - } - - $surprimeMaladie = 0; - $surprimeAge = 0; - $primeNette = $primeBase + $surprimeMaladie + $surprimeAge; - $commission = round(($primeNette*$_SESSION['tauxCommission_C'])/100); - $commissionAutre = round(($primeNette*$_SESSION['tauxCommission_C'])/100); - $primeHt = $primeNette + $commission; - $taxe = round(($primeHt*$_SESSION['tauxTaxe_C'])/100); - $fraisCarte = $accessoire; - $primeTtc = $primeHt+$taxe+$fraisCarte; - - $sql = 'update beneficiaire set primeNette=?, commission=?, primeHt=?, taxe=?, fraisCarte=?, primeTtc=? WHERE (id=?)'; - $this->executerRequete($sql, array($primeNette, $commission, $primeHt, $taxe, $fraisCarte, $primeTtc, $idBeneficiaire)); - - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc - from beneficiaire WHERE (idAdherent=?)'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - $primeAdherent = $resultat->fetch(); - - $sql = 'update adherent set primeNette=?, commission=?, primeHt=?, taxe=?, fraisCarte=?, primeTtc=? WHERE (id=?)'; - $this->executerRequete($sql, array($primeAdherent['primeNette'], $primeAdherent['commission'],$primeAdherent['primeHt'], - $primeAdherent['taxe'], $primeAdherent['fraisCarte'] , $primeAdherent['primeTtc'], $idAdherent)); - } - */ - - /* - public function calculerPrimeCol() - { - // dateSortie, primeNette, commission, primeHt, taxe, fraisCarte, primeTtc - - $idAdherent = $_SESSION['idAdherent_C']; - $idBeneficiaire = $_SESSION['idBeneficiaire_C']; - - $sql = 'SELECT codeProduit, codeLienParente, sexe, dateNaissance, dateEntree, IFNULL(primeFamille,"0") as primeFamille, - IFNULL(primeBeneficiaire,"0") as primeBeneficiaire FROM beneficiaire WHERE id=?'; - $resultat = $this->executerRequete($sql, array($idBeneficiaire)); - $beneficiaire = $resultat->fetch(); - - $codeLienParente = $beneficiaire['codeLienParente']; - $sexe = $beneficiaire['sexe']; - $dateNaissance = $beneficiaire['dateNaissance']; - $dateEntree = $beneficiaire['dateEntree']; - - $primeFamille = $beneficiaire['primeFamille']; - $primeBeneficiaire = $beneficiaire['primeBeneficiaire']; - - $age = age($dateNaissance , $dateEntree); - - - // Pour Rdaiant - $codeEtape = $_SESSION['codeEtape_C']; - if($codeEtape=='1') - { - $accessoire = 15000; - } - else - { - $accessoire = 12000; - } - - if($codeLienParente=='A') - { - $primeBase = $primeFamille; - } - else - { - $primeBase = $primeBeneficiaire; - } - - - $surprimeMaladie = 0; - $surprimeAge = 0; - $primeNette = $primeBase + $surprimeMaladie + $surprimeAge; - $commission = round(($primeNette*$_SESSION['tauxCommission_C'])/100); - $commissionAutre = round(($primeNette*$_SESSION['tauxCommission_C'])/100); - $primeHt = $primeNette + $commission; - $taxe = round(($primeHt*$_SESSION['tauxTaxe_C'])/100); - $fraisCarte = $accessoire; - $primeTtc = $primeHt+$taxe+$fraisCarte; - - $sql = 'update beneficiaire set primeNette=?, commission=?, primeHt=?, taxe=?, fraisCarte=?, primeTtc=? WHERE (id=?)'; - $this->executerRequete($sql, array($primeNette, $commission, $primeHt, $taxe, $fraisCarte, $primeTtc, $idBeneficiaire)); - - $sql = 'select IFNULL(sum(primeNette),"0") as primeNette, IFNULL(sum(commission),"0") as commission, - IFNULL(sum(primeHt),"0") as primeHt, IFNULL(sum(taxe),"0") as taxe, - IFNULL(sum(fraisCarte),"0") as fraisCarte, IFNULL(sum(primeTtc),"0") as primeTtc - from beneficiaire WHERE (idAdherent=?)'; - $resultat = $this->executerRequete($sql, array($idAdherent)); - $primeAdherent = $resultat->fetch(); - - $sql = 'update adherent set primeNette=?, commission=?, primeHt=?, taxe=?, fraisCarte=?, primeTtc=? WHERE (id=?)'; - $this->executerRequete($sql, array($primeAdherent['primeNette'], $primeAdherent['commission'],$primeAdherent['primeHt'], - $primeAdherent['taxe'], $primeAdherent['fraisCarte'] , $primeAdherent['primeTtc'], $idAdherent)); - } - */ -} \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/Tarifs/Vue/Consultercollege.php b/radiantproduction/Societes/radiant/Tarifs/Vue/Consultercollege.php deleted file mode 100644 index f26a5c1..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Vue/Consultercollege.php +++ /dev/null @@ -1,415 +0,0 @@ -titre = "INTER-SANTE - Consultation collège"; -?> - - - - - - - /> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
Surpr. Div.
-
- -
-
-
-
- - - - - - - - - - - - nettoyer($garantiebase['id']); - $garantie = $this->nettoyer($garantiebase['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garantiebase['garantieEng']); - } - ?> - - - - - - - - - - - - - - -
nettoyer($garantiebase['tauxPlafond']) ?> nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - -
nettoyer($garoptacquise['primeOption'])) ?>nettoyer($garoptacquise['plafond'])) ?>
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?> nettoyer($collegeTemp['primeFamilleAdherent_total']))?> nettoyer($collegeTemp['primeBeneficiaire_total']))?> nettoyer($collegeTemp['primeFamille_total']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?> nettoyer($collegeTemp['primeCplFuneraireAdherent_total']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire_total']))?> nettoyer($collegeTemp['primeCplFuneraire_total']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?> nettoyer($collegeTemp['surprimeOptionAdherent_total']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeOption_total']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?> nettoyer($collegeTemp['surprimeTmAdherent_total']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeTm_total']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?> nettoyer($collegeTemp['surprimeAntAdherent_total']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeAnt_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?> nettoyer($collegeTemp['commissionAdherent_total']))?> nettoyer($collegeTemp['commissionBeneficiaire_total']))?> nettoyer($collegeTemp['commission_total']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?> nettoyer($collegeTemp['commissionAutreAdherent_total']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire_total']))?> nettoyer($collegeTemp['commissionAutre_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?> nettoyer($collegeTemp['fraisCarteAdherent_total']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire_total']))?> nettoyer($collegeTemp['fraisCarte_total']))?>
-
- - -
-

-
- - - - - - - diff --git a/radiantproduction/Societes/radiant/Tarifs/Vue/Creercollege.php b/radiantproduction/Societes/radiant/Tarifs/Vue/Creercollege.php deleted file mode 100644 index bf7a9f7..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Vue/Creercollege.php +++ /dev/null @@ -1,603 +0,0 @@ -titre = "INTER-SANTE - Ajout Collège"; - $_SESSION['imposerPlafond'] = $this->nettoyer($collegeTemp['imposerPlafond']); -?> - -
- - - - /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
- - - - -
-
Surpr. Div. - -
- -
- -
-
- - - - - - - - - - - - - - - - - - - nettoyer($garantiebase['id']); - $garantie = $this->nettoyer($garantiebase['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garantiebase['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($garantiebase['plafond'])) ?> - - - - nettoyer($garantiebase['plafond'])) ?>
-
- -
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
- -
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - -
-
-
- - -
-
- - - - - - - - - - - - nettoyer($garantiebase['id']); - ?> - - - - - - - - - - - - - - - -
nettoyer($garantiebase['garantie']) ?> nettoyer($garantiebase['tauxPlafond']) ?> nettoyer($garantiebase['plafond'])) ?>
-
- -
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
- -
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" >
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
Prime Nette Statisque nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?> nettoyer($collegeTemp['primeFamilleAdherent_total']))?> nettoyer($collegeTemp['primeBeneficiaire_total']))?> nettoyer($collegeTemp['primeFamille_total']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?> nettoyer($collegeTemp['primeCplFuneraireAdherent_total']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire_total']))?> nettoyer($collegeTemp['primeCplFuneraire_total']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?> nettoyer($collegeTemp['surprimeOptionAdherent_total']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeOption_total']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?> nettoyer($collegeTemp['surprimeTmAdherent_total']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeTm_total']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?> nettoyer($collegeTemp['surprimeAntAdherent_total']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeAnt_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?> nettoyer($collegeTemp['commissionAdherent_total']))?> nettoyer($collegeTemp['commissionBeneficiaire_total']))?> nettoyer($collegeTemp['commission_total']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?> nettoyer($collegeTemp['commissionAutreAdherent_total']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire_total']))?> nettoyer($collegeTemp['commissionAutre_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?> nettoyer($collegeTemp['fraisCarteAdherent_total']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire_total']))?> nettoyer($collegeTemp['fraisCarte_total']))?>
- - -
-

-
- -
- - diff --git a/radiantproduction/Societes/radiant/Tarifs/Vue/Creercolleged.php b/radiantproduction/Societes/radiant/Tarifs/Vue/Creercolleged.php deleted file mode 100644 index 53ec23a..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Vue/Creercolleged.php +++ /dev/null @@ -1,631 +0,0 @@ -titre = "INTER-SANTE - Ajout Collège au Devis"; - $_SESSION['imposerPlafond'] = $this->nettoyer($collegeTemp['imposerPlafond']); - - $controlPlafondAdherent = $_SESSION['controlPlafondAdherent']; - $controlPlafondBeneficiaire = $_SESSION['controlPlafondBeneficiaire']; - - // var_dump($optionstarif); - // exit(); -?> - -
- -
- -
- - - - /> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Option - - - - - - - - - - - - - -
-
- - - - -
-
Surpr. Div. - -
-
- -
- -
-
-
- - - - - - - - - - - - - - - - - - - nettoyer($garantiebase['id']); - ?> - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($garantiebase['garantie']) ?>nettoyer($garantiebase['plafond'])) ?> - - - - nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - -
-
-
-
- - -
-
-
- - - - - - - - - - - - nettoyer($garantiebase['id']); - ?> - - - - - - - - - - - - - - -
nettoyer($garantiebase['garantie']) ?> nettoyer($garantiebase['tauxPlafond']) ?> nettoyer($garantiebase['plafond'])) ?>
-
-
- - -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - -
-
-
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" >
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?> nettoyer($collegeTemp['primeFamilleAdherent_total']))?> nettoyer($collegeTemp['primeBeneficiaire_total']))?> nettoyer($collegeTemp['primeFamille_total']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?> nettoyer($collegeTemp['primeCplFuneraireAdherent_total']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire_total']))?> nettoyer($collegeTemp['primeCplFuneraire_total']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?> nettoyer($collegeTemp['surprimeOptionAdherent_total']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeOption_total']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?> nettoyer($collegeTemp['surprimeTmAdherent_total']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeTm_total']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?> nettoyer($collegeTemp['surprimeAntAdherent_total']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeAnt_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?> nettoyer($collegeTemp['commissionAdherent_total']))?> nettoyer($collegeTemp['commissionBeneficiaire_total']))?> nettoyer($collegeTemp['commission_total']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?> nettoyer($collegeTemp['commissionAutreAdherent_total']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire_total']))?> nettoyer($collegeTemp['commissionAutre_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?> nettoyer($collegeTemp['fraisCarteAdherent_total']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire_total']))?> nettoyer($collegeTemp['fraisCarte_total']))?>
-
- - -
-

-
- - -
- - - diff --git a/radiantproduction/Societes/radiant/Tarifs/Vue/Modifiercollege.php b/radiantproduction/Societes/radiant/Tarifs/Vue/Modifiercollege.php deleted file mode 100644 index 731bf1f..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Vue/Modifiercollege.php +++ /dev/null @@ -1,671 +0,0 @@ -titre = "INTER-SANTE - Modification collège"; - $_SESSION['imposerPlafond'] = $this->nettoyer($collegeTemp['imposerPlafond']); -?> - -
- - - - /> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
- - - - -
-
Surpr. Div. - -
-
- -
- -
-
-
- - - - - - - - - - - - - - - - - - - nettoyer($garantiebase['id']); - $garantie = $this->nettoyer($garantiebase['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garantiebase['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($garantiebase['plafond'])) ?> - - - - nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - - -
-
-
-
- - -
-
-
- - - - - - - - - - - - nettoyer($garantiebase['id']); - ?> - - - - - - - - - - - - - - -
nettoyer($garantiebase['garantie']) ?> nettoyer($garantiebase['tauxPlafond']) ?> nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - - -
-
-
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" >
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?> nettoyer($collegeTemp['primeFamilleAdherent_total']))?> nettoyer($collegeTemp['primeBeneficiaire_total']))?> nettoyer($collegeTemp['primeFamille_total']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?> nettoyer($collegeTemp['primeCplFuneraireAdherent_total']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire_total']))?> nettoyer($collegeTemp['primeCplFuneraire_total']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?> nettoyer($collegeTemp['surprimeOptionAdherent_total']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeOption_total']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?> nettoyer($collegeTemp['surprimeTmAdherent_total']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeTm_total']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?> nettoyer($collegeTemp['surprimeAntAdherent_total']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeAnt_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?> nettoyer($collegeTemp['commissionAdherent_total']))?> nettoyer($collegeTemp['commissionBeneficiaire_total']))?> nettoyer($collegeTemp['commission_total']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?> nettoyer($collegeTemp['commissionAutreAdherent_total']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire_total']))?> nettoyer($collegeTemp['commissionAutre_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?> nettoyer($collegeTemp['fraisCarteAdherent_total']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire_total']))?> nettoyer($collegeTemp['fraisCarte_total']))?>
-
- - -
-

-
- -
- - - - - - diff --git a/radiantproduction/Societes/radiant/Tarifs/Vue/Modifiercolleged.php b/radiantproduction/Societes/radiant/Tarifs/Vue/Modifiercolleged.php deleted file mode 100644 index a03342f..0000000 --- a/radiantproduction/Societes/radiant/Tarifs/Vue/Modifiercolleged.php +++ /dev/null @@ -1,641 +0,0 @@ -titre = "INTER-SANTE - Modification collège du devis"; - $_SESSION['imposerPlafond'] = $this->nettoyer($collegeTemp['imposerPlafond']); - $_SESSION['numeroOptionTarif'] = $this->nettoyer($collegeTemp['numeroOptionTarif']); -?> - -
- -
- -
- - - - /> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Option - - - - - - - - - - - - - -
-
- - - - -
-
Surpr. Div. - -
-
- -
- -
-
-
- - - - - - - - - - - - - - - - - - - nettoyer($garantiebase['id']); - $garantie = $this->nettoyer($garantiebase['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garantiebase['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($garantiebase['plafond'])) ?> - - - - nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - - -
-
-
-
- - -
-
-
- - - - - - - - - - - - nettoyer($garantiebase['id']); - ?> - - - - - - - - - - - - - - -
nettoyer($garantiebase['garantie']) ?> nettoyer($garantiebase['tauxPlafond']) ?> nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - - -
-
-
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" >
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?> nettoyer($collegeTemp['primeFamilleAdherent_total']))?> nettoyer($collegeTemp['primeBeneficiaire_total']))?> nettoyer($collegeTemp['primeFamille_total']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?> nettoyer($collegeTemp['primeCplFuneraireAdherent_total']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire_total']))?> nettoyer($collegeTemp['primeCplFuneraire_total']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?> nettoyer($collegeTemp['surprimeOptionAdherent_total']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeOption_total']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?> nettoyer($collegeTemp['surprimeTmAdherent_total']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeTm_total']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?> nettoyer($collegeTemp['surprimeAntAdherent_total']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire_total']))?> nettoyer($collegeTemp['surprimeAnt_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?> nettoyer($collegeTemp['commissionAdherent_total']))?> nettoyer($collegeTemp['commissionBeneficiaire_total']))?> nettoyer($collegeTemp['commission_total']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?> nettoyer($collegeTemp['commissionAutreAdherent_total']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire_total']))?> nettoyer($collegeTemp['commissionAutre_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?> nettoyer($collegeTemp['fraisCarteAdherent_total']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire_total']))?> nettoyer($collegeTemp['fraisCarte_total']))?>
-
- - -
-

-
- -
- - - \ No newline at end of file diff --git a/radiantproduction/Societes/radiant/images/Copie de logo_etat.png b/radiantproduction/Societes/radiant/images/Copie de logo_etat.png deleted file mode 100644 index 2d9d6b7..0000000 Binary files a/radiantproduction/Societes/radiant/images/Copie de logo_etat.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/favicon.ico b/radiantproduction/Societes/radiant/images/favicon.ico deleted file mode 100644 index acac4a8..0000000 Binary files a/radiantproduction/Societes/radiant/images/favicon.ico and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo.ico b/radiantproduction/Societes/radiant/images/logo.ico deleted file mode 100644 index acac4a8..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo.ico and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo.png b/radiantproduction/Societes/radiant/images/logo.png deleted file mode 100644 index 2d9d6b7..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo_etat.png b/radiantproduction/Societes/radiant/images/logo_etat.png deleted file mode 100644 index 94eea54..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo_etat.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo_etat_2024_10_14.png b/radiantproduction/Societes/radiant/images/logo_etat_2024_10_14.png deleted file mode 100644 index 1b557d8..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo_etat_2024_10_14.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo_loyale.png b/radiantproduction/Societes/radiant/images/logo_loyale.png deleted file mode 100644 index ae67fca..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo_loyale.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo_portail.png b/radiantproduction/Societes/radiant/images/logo_portail.png deleted file mode 100644 index 2d9d6b7..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo_portail.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/logo_radiant_new.png b/radiantproduction/Societes/radiant/images/logo_radiant_new.png deleted file mode 100644 index 410780f..0000000 Binary files a/radiantproduction/Societes/radiant/images/logo_radiant_new.png and /dev/null differ diff --git a/radiantproduction/Societes/radiant/images/tempon_medecin.jpg b/radiantproduction/Societes/radiant/images/tempon_medecin.jpg deleted file mode 100644 index bc268d7..0000000 Binary files a/radiantproduction/Societes/radiant/images/tempon_medecin.jpg and /dev/null differ diff --git a/radiantproduction/Vue/Accepteracteexclu/index.php b/radiantproduction/Vue/Accepteracteexclu/index.php deleted file mode 100644 index 265a5d4..0000000 --- a/radiantproduction/Vue/Accepteracteexclu/index.php +++ /dev/null @@ -1,62 +0,0 @@ -titre = "INTER-SANTE - Autoriser un acte exclu"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accepteracteexclus/index.php b/radiantproduction/Vue/Accepteracteexclus/index.php deleted file mode 100644 index 2c4e63d..0000000 --- a/radiantproduction/Vue/Accepteracteexclus/index.php +++ /dev/null @@ -1,62 +0,0 @@ -titre = "INTER-SANTE - Autoriser un acte exclu"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accepterderogation/index.php b/radiantproduction/Vue/Accepterderogation/index.php deleted file mode 100644 index a533a55..0000000 --- a/radiantproduction/Vue/Accepterderogation/index.php +++ /dev/null @@ -1,91 +0,0 @@ -titre = "INTER-SANTE - Accepter Dérogation"; - $codeDerogation = $this->nettoyer($derogation['codeDerogation']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($derogation['numeroBeneficiaire']) . " )" ?>" readonly>
- -
- - -
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accepterderogations/index.php b/radiantproduction/Vue/Accepterderogations/index.php deleted file mode 100644 index 2e70c3b..0000000 --- a/radiantproduction/Vue/Accepterderogations/index.php +++ /dev/null @@ -1,92 +0,0 @@ -titre = "INTER-SANTE - Accepter Dérogation"; - $codeDerogation = $this->nettoyer($derogation['codeDerogation']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($derogation['numeroBeneficiaire']) . " )" ?>" readonly>
- -
- - -
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accepterententeprealable/index.php b/radiantproduction/Vue/Accepterententeprealable/index.php deleted file mode 100644 index 59fc0f8..0000000 --- a/radiantproduction/Vue/Accepterententeprealable/index.php +++ /dev/null @@ -1,61 +0,0 @@ -titre = "INTER-SANTE - Autoriser un acte"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accepterententeprealables/index.php b/radiantproduction/Vue/Accepterententeprealables/index.php deleted file mode 100644 index da822c6..0000000 --- a/radiantproduction/Vue/Accepterententeprealables/index.php +++ /dev/null @@ -1,61 +0,0 @@ -titre = "INTER-SANTE - Autoriser un acte"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accepterententeprealablesmont/index.php b/radiantproduction/Vue/Accepterententeprealablesmont/index.php deleted file mode 100644 index 2d6f021..0000000 --- a/radiantproduction/Vue/Accepterententeprealablesmont/index.php +++ /dev/null @@ -1,74 +0,0 @@ -titre = "INTER-SANTE - Autoriser Monture"; - $idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- -
- - -
-

-
- - -
-
- - - -
-
diff --git a/radiantproduction/Vue/Accepterententeprealablesopt/index.php b/radiantproduction/Vue/Accepterententeprealablesopt/index.php deleted file mode 100644 index a058ffe..0000000 --- a/radiantproduction/Vue/Accepterententeprealablesopt/index.php +++ /dev/null @@ -1,79 +0,0 @@ -titre = "INTER-SANTE - Autoriser des verres"; - $idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- -
- - -
-

-
- -
- -
-
- - - - -
-
diff --git a/radiantproduction/Vue/Accepterententeprealablespha/index.php b/radiantproduction/Vue/Accepterententeprealablespha/index.php deleted file mode 100644 index b574021..0000000 --- a/radiantproduction/Vue/Accepterententeprealablespha/index.php +++ /dev/null @@ -1,80 +0,0 @@ -titre = "INTER-SANTE - Autoriser un médicament"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
- - - -
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Accesmenuprincipalass/index.php b/radiantproduction/Vue/Accesmenuprincipalass/index.php deleted file mode 100644 index 648ddc4..0000000 --- a/radiantproduction/Vue/Accesmenuprincipalass/index.php +++ /dev/null @@ -1,23 +0,0 @@ -titre = "INTER-SANTE - Acces Menu Principal"; ?> - - - - - - - - - - - - -
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Accessousmenusass/index.php b/radiantproduction/Vue/Accessousmenusass/index.php deleted file mode 100644 index ce6c4c9..0000000 --- a/radiantproduction/Vue/Accessousmenusass/index.php +++ /dev/null @@ -1,44 +0,0 @@ -titre = "INTER-SANTE - Acces sous Menus"; -?> - - - - - - - - - - - - - - - - - - - -
- - - - -
- -
-
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Afficherbons/index.php b/radiantproduction/Vue/Afficherbons/index.php deleted file mode 100644 index 3884976..0000000 --- a/radiantproduction/Vue/Afficherbons/index.php +++ /dev/null @@ -1,115 +0,0 @@ -titre = "INTER-SANTE - Afficher bons"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - Type - - - -
- -
- - - - - - - - - - - - - - - - - -
Type
-
- - - diff --git a/radiantproduction/Vue/Agentcommercial/index.php b/radiantproduction/Vue/Agentcommercial/index.php deleted file mode 100644 index 624fb3a..0000000 --- a/radiantproduction/Vue/Agentcommercial/index.php +++ /dev/null @@ -1,72 +0,0 @@ -nettoyer($apporteur['id']); - $codeApporteur = $apporteur['codeApporteur']; - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $libelleApporteur = $this->nettoyer($apporteur['libelle']); - $_SESSION['libelleApporteur_C'] = $libelleApporteur; -?> - - - - - - " . $libelleApporteur . " ( " . $codeApporteur . " )" ?> - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
- -
-
- - - - - diff --git a/radiantproduction/Vue/Ajaxacommercialfamiliale/index.php b/radiantproduction/Vue/Ajaxacommercialfamiliale/index.php deleted file mode 100644 index f0684ab..0000000 --- a/radiantproduction/Vue/Ajaxacommercialfamiliale/index.php +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - nettoyer($apporteur['id']); - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $codeApporteur = $apporteur['codeApporteur']; - $libelleApporteur = $this->nettoyer($apporteur['libelle']); - ?> - - - - - - - - - - -
Type E-mail
nettoyer($apporteur['typeapporteur']) ?> nettoyer($apporteur['telephone']) ?> nettoyer($apporteur['email']) ?> " onClick="javascript:agent_commercial();" style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxacommercialfamiliale/tous.php b/radiantproduction/Vue/Ajaxacommercialfamiliale/tous.php deleted file mode 100644 index f0684ab..0000000 --- a/radiantproduction/Vue/Ajaxacommercialfamiliale/tous.php +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - nettoyer($apporteur['id']); - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $codeApporteur = $apporteur['codeApporteur']; - $libelleApporteur = $this->nettoyer($apporteur['libelle']); - ?> - - - - - - - - - - -
Type E-mail
nettoyer($apporteur['typeapporteur']) ?> nettoyer($apporteur['telephone']) ?> nettoyer($apporteur['email']) ?> " onClick="javascript:agent_commercial();" style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxacommercialparam/index.php b/radiantproduction/Vue/Ajaxacommercialparam/index.php deleted file mode 100644 index 37192af..0000000 --- a/radiantproduction/Vue/Ajaxacommercialparam/index.php +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - nettoyer($apporteur['id']); - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $codeApporteur = $apporteur['codeApporteur']; - $libelleApporteur = $this->nettoyer($apporteur['libelle']); - ?> - - - - - - - - - - - - - - - -
Type E-mail
nettoyer($apporteur['typeapporteur']) ?> nettoyer($apporteur['telephone']) ?> nettoyer($apporteur['email']) ?> " onClick="javascript:modifier_un_commercial();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxacommercialparam/tous.php b/radiantproduction/Vue/Ajaxacommercialparam/tous.php deleted file mode 100644 index 37192af..0000000 --- a/radiantproduction/Vue/Ajaxacommercialparam/tous.php +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - nettoyer($apporteur['id']); - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $codeApporteur = $apporteur['codeApporteur']; - $libelleApporteur = $this->nettoyer($apporteur['libelle']); - ?> - - - - - - - - - - - - - - - -
Type E-mail
nettoyer($apporteur['typeapporteur']) ?> nettoyer($apporteur['telephone']) ?> nettoyer($apporteur['email']) ?> " onClick="javascript:modifier_un_commercial();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxacracteristiquesacte/contexteacte.php b/radiantproduction/Vue/Ajaxacracteristiquesacte/contexteacte.php deleted file mode 100644 index 576cfe2..0000000 --- a/radiantproduction/Vue/Ajaxacracteristiquesacte/contexteacte.php +++ /dev/null @@ -1,3 +0,0 @@ -
- -
diff --git a/radiantproduction/Vue/Ajaxacracteristiquesacte/enregistrermodifcaracteristiquesacte.php b/radiantproduction/Vue/Ajaxacracteristiquesacte/enregistrermodifcaracteristiquesacte.php deleted file mode 100644 index 71ee8d0..0000000 --- a/radiantproduction/Vue/Ajaxacracteristiquesacte/enregistrermodifcaracteristiquesacte.php +++ /dev/null @@ -1 +0,0 @@ -OK enregistrermodifcaracteristiquesacte diff --git a/radiantproduction/Vue/Ajaxacracteristiquesacte/fichecracteristiquesacte.php b/radiantproduction/Vue/Ajaxacracteristiquesacte/fichecracteristiquesacte.php deleted file mode 100644 index eb7b9b0..0000000 --- a/radiantproduction/Vue/Ajaxacracteristiquesacte/fichecracteristiquesacte.php +++ /dev/null @@ -1,106 +0,0 @@ -
- nettoyer($acte['id']); - $codeActe = $acte['codeActe']; - $codeFamilleActe = $acte['codeFamilleActe']; - $ententePrealable = $acte['ententePrealable']; - $exclu = $acte['exclu']; - $chirurgie = $acte['chirurgie']; - $actif = $acte['actif']; - $codeGarantie = $acte['codeGarantie']; - $codeTarifActe = $acte['codeTarifActe']; - $codeTypePrestation = $acte['codeTypePrestation']; - $alerte = $acte['alerte']; - $delaiCarenceActe = $acte['delaiCarenceActe']; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Français English
- - - -
- - - -
- - - - - - - -
" onClick="javascript:enregistrer_modif_caracteristiques_un_acte();" style='font-size:10pt;' > " onClick="javascript:effacer_caracteristiques_un_acte();" style='font-size:9pt;' >
-
diff --git a/radiantproduction/Vue/Ajaxacracteristiquesacte/fichecracteristiquesactebis.php b/radiantproduction/Vue/Ajaxacracteristiquesacte/fichecracteristiquesactebis.php deleted file mode 100644 index bb6bec7..0000000 --- a/radiantproduction/Vue/Ajaxacracteristiquesacte/fichecracteristiquesactebis.php +++ /dev/null @@ -1,39 +0,0 @@ -
- nettoyer($acte['id']); - $codeActe = $acte['codeActe']; - $codeFamilleActe = $acte['codeFamilleActe']; - $ententePrealable = $acte['ententePrealable']; - $exclu = $acte['exclu']; - $chirurgie = $acte['chirurgie']; - $actif = $acte['actif']; - ?> - - - - - - - - - - - - - - - - - - - - - - - -
- -
" onClick="javascript:enregistrer_modif_requeteperso();" style='font-size:10pt;' > " onClick="javascript:effacer_caracteristiques_un_acte();" style='font-size:9pt;' >
-
diff --git a/radiantproduction/Vue/Ajaxacracteristiquesacte/index.php b/radiantproduction/Vue/Ajaxacracteristiquesacte/index.php deleted file mode 100644 index 8d029f1..0000000 --- a/radiantproduction/Vue/Ajaxacracteristiquesacte/index.php +++ /dev/null @@ -1,78 +0,0 @@ -
- -
- -
- - - - - - - - - - - - - - - - - - - nettoyer($acte['id']); - $codeActe = $acte['codeActe']; - $ententePrealable = $acte['ententePrealable']; - $exclu = $acte['exclu']; - $chirurgie = $acte['chirurgie']; - $actif = $acte['actif']; - $libelleActe = $this->nettoyer($acte['libelle']); - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($acte['libelleEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($acte['libelleFamilleActe']) ?>nettoyer($acte['codeTypePrestation']) ?>nettoyer($acte['codeGarantie']) ?> nettoyer($acte['delaiCarenceActe']) ?> - " onClick="javascript:afficher_caracteristiques_un_acte();" style='font-size:8pt;' > -
-
diff --git a/radiantproduction/Vue/Ajaxactefamilleparam/index.php b/radiantproduction/Vue/Ajaxactefamilleparam/index.php deleted file mode 100644 index 52de4c4..0000000 --- a/radiantproduction/Vue/Ajaxactefamilleparam/index.php +++ /dev/null @@ -1,78 +0,0 @@ - - -
- -
- -
- - - - - - - - - - - - - - - - - - nettoyer($acte['id']); - $codeActe = $acte['codeActe']; - $ententePrealable = $acte['ententePrealable']; - $exclu = $acte['exclu']; - $chirurgie = $acte['chirurgie']; - $actif = $acte['actif']; - $libelleActe = $this->nettoyer($acte['libelle']); - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($acte['libelleEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($acte['libelleFamilleActe']) ?>nettoyer($acte['codeTypePrestation']) ?>nettoyer($acte['codeGarantie']) ?> nettoyer($acte['delaiCarenceActe']) ?> " onClick="javascript:modifier_un_acte();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
-
diff --git a/radiantproduction/Vue/Ajaxactefamilleparam/tous.php b/radiantproduction/Vue/Ajaxactefamilleparam/tous.php deleted file mode 100644 index 52de4c4..0000000 --- a/radiantproduction/Vue/Ajaxactefamilleparam/tous.php +++ /dev/null @@ -1,78 +0,0 @@ - - -
- -
- -
- - - - - - - - - - - - - - - - - - nettoyer($acte['id']); - $codeActe = $acte['codeActe']; - $ententePrealable = $acte['ententePrealable']; - $exclu = $acte['exclu']; - $chirurgie = $acte['chirurgie']; - $actif = $acte['actif']; - $libelleActe = $this->nettoyer($acte['libelle']); - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($acte['libelleEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($acte['libelleFamilleActe']) ?>nettoyer($acte['codeTypePrestation']) ?>nettoyer($acte['codeGarantie']) ?> nettoyer($acte['delaiCarenceActe']) ?> " onClick="javascript:modifier_un_acte();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
-
diff --git a/radiantproduction/Vue/Ajaxactesexclus/index.php b/radiantproduction/Vue/Ajaxactesexclus/index.php deleted file mode 100644 index ef5f468..0000000 --- a/radiantproduction/Vue/Ajaxactesexclus/index.php +++ /dev/null @@ -1,77 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeautorisation']); - $codeReponseAutorisation = $this->nettoyer($ententeprealable['codeReponseAutorisation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
nettoyer($ententeprealable['numeroAutorisation']) ?>nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponseAutorisation']) ?> nettoyer($ententeprealable['prixTarif'])) ?> nettoyer($ententeprealable['valeurActe'])) ?> - " - onClick="javascript:accepter_acte_exclu_2();"> - - " - onClick="javascript:refuser_acte_exclu_2(, '2');"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxactesexclusbenficiaire/index.php b/radiantproduction/Vue/Ajaxactesexclusbenficiaire/index.php deleted file mode 100644 index 8cdbaa9..0000000 --- a/radiantproduction/Vue/Ajaxactesexclusbenficiaire/index.php +++ /dev/null @@ -1,73 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeautorisation']); - $codeReponseAutorisation = $this->nettoyer($ententeprealable['codeReponseAutorisation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
nettoyer($ententeprealable['numeroAutorisation']) ?>nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponseAutorisation']) ?> nettoyer($ententeprealable['prixTarif'])) ?> nettoyer($ententeprealable['valeurActe'])) ?> - " - onClick="javascript:accepter_acte_exclu();"> - - " - onClick="javascript:refuser_acte_exclu(, '2');"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxactespossiblesselectiondec/index.php b/radiantproduction/Vue/Ajaxactespossiblesselectiondec/index.php deleted file mode 100644 index 15e5fbd..0000000 --- a/radiantproduction/Vue/Ajaxactespossiblesselectiondec/index.php +++ /dev/null @@ -1,52 +0,0 @@ -
- - - - - - - - - - - - nettoyer($acte['codeActe']); - $act_ententePrealable=$this->nettoyer($acte['ententePrealable']); - $act_exclu=$this->nettoyer($acte['exclu']); - $act_valeurActe=$this->nettoyer($acte['valeurActe']); - $act_montantTm=$this->nettoyer($acte['montantTm']); - $act_aRembourser=$this->nettoyer($acte['montantArembourser']); - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($acte['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($acte['libelleActe']); - } - - ?> - - - - - - - - - - - - - - - - - - - -
Prix =>
Excl
-
- diff --git a/radiantproduction/Vue/Ajaxadherent/index.php b/radiantproduction/Vue/Ajaxadherent/index.php deleted file mode 100644 index 19b603e..0000000 --- a/radiantproduction/Vue/Ajaxadherent/index.php +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxafficherajoutactesdec/index.php b/radiantproduction/Vue/Ajaxafficherajoutactesdec/index.php deleted file mode 100644 index e7a25a4..0000000 --- a/radiantproduction/Vue/Ajaxafficherajoutactesdec/index.php +++ /dev/null @@ -1,56 +0,0 @@ -
- - - - - - - - - - - - - - nettoyer($prestation['id']); - $idLivre=$this->nettoyer($prestation['id']); - $ententePrealable=$this->nettoyer($prestation['ententePrealable']); - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxafficherbons/index.php b/radiantproduction/Vue/Ajaxafficherbons/index.php deleted file mode 100644 index 6bef28f..0000000 --- a/radiantproduction/Vue/Ajaxafficherbons/index.php +++ /dev/null @@ -1,68 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - echapper($bonpec['motifAnnulation']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($bonpec['codeTypeBon']) ?>nettoyer($bonpec['dateGeneration'])) ?>nettoyer($bonpec['dateReception'])) ?>nettoyer($bonpec['codeUtilisateurReception']) ?>nettoyer($bonpec['etatBon']) ?>nettoyer($bonpec['numeroBeneficiaire']) ?>nettoyer($bonpec['beneficiaire']) ?>nettoyer($bonpec['dateImpression'])) ?>nettoyer($bonpec['codeUtilisateurImpression']) ?> nettoyer($bonpec['numeroRemplacement']) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxafficherbons/vide.php b/radiantproduction/Vue/Ajaxafficherbons/vide.php deleted file mode 100644 index 941da82..0000000 --- a/radiantproduction/Vue/Ajaxafficherbons/vide.php +++ /dev/null @@ -1,23 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - -
Type
- -
diff --git a/radiantproduction/Vue/Ajaxafficherverifierfacture/index.php b/radiantproduction/Vue/Ajaxafficherverifierfacture/index.php deleted file mode 100644 index e8ae616..0000000 --- a/radiantproduction/Vue/Ajaxafficherverifierfacture/index.php +++ /dev/null @@ -1,219 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - $ajoutDecompte = $prestation['ajoutDecompte']; - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - '1' || $autorisation>'1'): ?> - - - - - - - - - '1' || $autorisation>'1'): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
" onClick="valider_facture_dec();" style='font-size:8pt;' > " onClick="reinit_facture_dec();" style='font-size:8pt;' >
nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> - - nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxafficherverifierfactureopt/index.php b/radiantproduction/Vue/Ajaxafficherverifierfactureopt/index.php deleted file mode 100644 index 6fff1a1..0000000 --- a/radiantproduction/Vue/Ajaxafficherverifierfactureopt/index.php +++ /dev/null @@ -1,193 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - ?> - - - - - - - - - - - - - - - - '1' || $autorisation>'1'): ?> - - - - - - - - - '1' || $autorisation>'1'): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
" onClick="valider_facture_dec_opt();" style='font-size:8pt;' > " onClick="reinit_facture_dec_opt();" style='font-size:8pt;' >
nettoyer($prestation['libelleOptique']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> - - nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxafficherverifierfacturepha/index.php b/radiantproduction/Vue/Ajaxafficherverifierfacturepha/index.php deleted file mode 100644 index 8ff269e..0000000 --- a/radiantproduction/Vue/Ajaxafficherverifierfacturepha/index.php +++ /dev/null @@ -1,205 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - - $fact_exclue = $this->nettoyer($facture_pop['valide']=="2"); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - $ajPharmacie = $this->nettoyer($prestation['ajPharmacie']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - '1' || $autorisation>'1'): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExclInstructions
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
" onClick="valider_facture_dec_pha();" style='font-size:8pt;' > " onClick="reinit_facture_dec_pha();" style='font-size:8pt;' >
nettoyer($prestation['libelleMedicament']) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> - - nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?> nettoyer($prestation['instructions']) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxajoutactesdec/index.php b/radiantproduction/Vue/Ajaxajoutactesdec/index.php deleted file mode 100644 index ae501fa..0000000 --- a/radiantproduction/Vue/Ajaxajoutactesdec/index.php +++ /dev/null @@ -1,90 +0,0 @@ -
- " onClick="recap_ajout_acte_dec();" style='font-size:9pt;' > - - - - - - - - -
- -
- -
- -
-
- - - - - - - -
=>
-
-
- -
- - - - - - - - - - - - - - nettoyer($prestation['id']); - $idLivre=$this->nettoyer($prestation['id']); - $ententePrealable=$this->nettoyer($prestation['ententePrealable']); - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
- -
- -
-
diff --git a/radiantproduction/Vue/Ajaxalistedemandebon/index.php b/radiantproduction/Vue/Ajaxalistedemandebon/index.php deleted file mode 100644 index bb6f6b0..0000000 --- a/radiantproduction/Vue/Ajaxalistedemandebon/index.php +++ /dev/null @@ -1,25 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - -
Id Type
nettoyer($demandesbon['id']) ?>nettoyer($demandesbon['typbon']) ?>nettoyer($demandesbon['quantite']) ?>nettoyer($demandesbon['utilisateur']) ?>nettoyer($demandesbon['dateSysteme'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxalistegenererbons/index.php b/radiantproduction/Vue/Ajaxalistegenererbons/index.php deleted file mode 100644 index e171292..0000000 --- a/radiantproduction/Vue/Ajaxalistegenererbons/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -
- - - - - - - - - - - - - - - - nettoyer($generartionbon['id']); - $nbligne++; - ?> - - - - - - - - - - - -
TypeDate
nettoyer($generartionbon['typeBon']) ?>nettoyer($generartionbon['dateSysteme'])) ?>nettoyer($generartionbon['noDepart']) ?>nettoyer($generartionbon['noFin']) ?>nettoyer($generartionbon['utilisateur']) ?>nettoyer($generartionbon['receptionnaire']) ?> " onClick="javascript:imprimer_livraison_bon_differe();">
- -
diff --git a/radiantproduction/Vue/Ajaxanomaliesdecomptes/index.php b/radiantproduction/Vue/Ajaxanomaliesdecomptes/index.php deleted file mode 100644 index ab8f59f..0000000 --- a/radiantproduction/Vue/Ajaxanomaliesdecomptes/index.php +++ /dev/null @@ -1,39 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($decompte['idFacture']) ?>nettoyer($decompte['prestataire']) ?>nettoyer($decompte['souscripteur']) ?>nettoyer($decompte['numeroBeneficiaire']) ?>nettoyer($decompte['beneficiaire']) ?>nettoyer($decompte['fraisReel'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['montantRedresse'])) ?>nettoyer($decompte['userControle']) ?>nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxapporteurparam/index.php b/radiantproduction/Vue/Ajaxapporteurparam/index.php deleted file mode 100644 index e25cf88..0000000 --- a/radiantproduction/Vue/Ajaxapporteurparam/index.php +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - nettoyer($apporteur['id']); - // $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $codeApporteur = $apporteur['codeApporteur']; - $libelleApporteur = $this->nettoyer($apporteur['libelle']); - ?> - - - - - - - - - - - - - - - -
E-mail
nettoyer($apporteur['telephone']) ?> nettoyer($apporteur['email']) ?> " onClick="javascript:modifier_un_apporteur();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxassuresactifs/index.php b/radiantproduction/Vue/Ajaxassuresactifs/index.php deleted file mode 100644 index 2bc6b57..0000000 --- a/radiantproduction/Vue/Ajaxassuresactifs/index.php +++ /dev/null @@ -1,47 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($ente_etat['nbAdherentTotal'])) ?>nettoyer($ente_etat['nbDependantTotal'])) ?>nettoyer($ente_etat['nbBeneficiaireTotal'])) ?>
nettoyer($beneficiaire['souscripteur']) ?>nettoyer($beneficiaire['numeroPolice']) ?>nettoyer($beneficiaire['codeTypeContrat']) ?>nettoyer($beneficiaire['dateEffet'])) ?>nettoyer($beneficiaire['dateFin'])) ?>nettoyer($beneficiaire['nbAdherent'])) ?>nettoyer($beneficiaire['nbDependant'])) ?>nettoyer($beneficiaire['nbBeneficiaire'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxattentedemandesteglement/index.php b/radiantproduction/Vue/Ajaxattentedemandesteglement/index.php deleted file mode 100644 index 06efd4f..0000000 --- a/radiantproduction/Vue/Ajaxattentedemandesteglement/index.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - - $nbligne++; - ?> - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['heureValidationDecompte'])) ?>nettoyer($decompte['userValidationDecompte']) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxavenant/getdateavenant.php b/radiantproduction/Vue/Ajaxavenant/getdateavenant.php deleted file mode 100644 index cb80605..0000000 --- a/radiantproduction/Vue/Ajaxavenant/getdateavenant.php +++ /dev/null @@ -1,2 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxavenant/getdateavenantbeneficiaire.php b/radiantproduction/Vue/Ajaxavenant/getdateavenantbeneficiaire.php deleted file mode 100644 index 4410af7..0000000 --- a/radiantproduction/Vue/Ajaxavenant/getdateavenantbeneficiaire.php +++ /dev/null @@ -1,2 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxavenant/index.php b/radiantproduction/Vue/Ajaxavenant/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxbeneficiaireprimeadherent/index.php b/radiantproduction/Vue/Ajaxbeneficiaireprimeadherent/index.php deleted file mode 100644 index ce96888..0000000 --- a/radiantproduction/Vue/Ajaxbeneficiaireprimeadherent/index.php +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($beneficiaires_total['primeNetteTotal'])) ?>nettoyer($beneficiaires_total['commissionTotal'])) ?>nettoyer($beneficiaires_total['commissionAutreTotal'])) ?>nettoyer($beneficiaires_total['accessoireTotal'])) ?>nettoyer($beneficiaires_total['taxeTotal'])) ?>nettoyer($beneficiaires_total['fraisCarteTotal'])) ?>nettoyer($beneficiaires_total['primeTtcTotal'])) ?>
- -
Total nettoyer($beneficiaires_total['primeNetteTotal'])) ?>nettoyer($beneficiaires_total['commissionTotal'])) ?>nettoyer($beneficiaires_total['commissionAutreTotal'])) ?>nettoyer($beneficiaires_total['accessoireTotal'])) ?>nettoyer($beneficiaires_total['taxeTotal'])) ?>nettoyer($beneficiaires_total['fraisCarteTotal'])) ?>nettoyer($beneficiaires_total['primeTtcTotal'])) ?>
nettoyer($beneficiaire['dateEffet'])) ?> nettoyer($beneficiaire['codeLienParente']) ?> nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['beneficiaire']) ?>nettoyer($beneficiaire['primeNette'])) ?>nettoyer($beneficiaire['commission'])) ?>nettoyer($beneficiaire['commissionAutre'])) ?>nettoyer($beneficiaire['accessoire'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>
diff --git a/radiantproduction/Vue/Ajaxbeneficiaireprimebeneficiaire/index.php b/radiantproduction/Vue/Ajaxbeneficiaireprimebeneficiaire/index.php deleted file mode 100644 index c2b9afb..0000000 --- a/radiantproduction/Vue/Ajaxbeneficiaireprimebeneficiaire/index.php +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($beneficiaires_total['primeNetteTotal'])) ?>nettoyer($beneficiaires_total['commissionTotal'])) ?>nettoyer($beneficiaires_total['commissionAutreTotal'])) ?>nettoyer($beneficiaires_total['accessoireTotal'])) ?>nettoyer($beneficiaires_total['taxeTotal'])) ?>nettoyer($beneficiaires_total['fraisCarteTotal'])) ?>nettoyer($beneficiaires_total['primeTtcTotal'])) ?>
- -
Total nettoyer($beneficiaires_total['primeNetteTotal'])) ?>nettoyer($beneficiaires_total['commissionTotal'])) ?>nettoyer($beneficiaires_total['commissionAutreTotal'])) ?>nettoyer($beneficiaires_total['accessoireTotal'])) ?>nettoyer($beneficiaires_total['taxeTotal'])) ?>nettoyer($beneficiaires_total['fraisCarteTotal'])) ?>nettoyer($beneficiaires_total['primeTtcTotal'])) ?>
nettoyer($beneficiaire['dateEffet'])) ?> nettoyer($beneficiaire['avenant']) ?>nettoyer($beneficiaire['primeNette'])) ?>nettoyer($beneficiaire['commission'])) ?>nettoyer($beneficiaire['commissionAutre'])) ?>nettoyer($beneficiaire['accessoire'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>nettoyer($beneficiaire['dateFacturation']), $_SESSION['lang']) ?>
diff --git a/radiantproduction/Vue/Ajaxborderauencaissement/index.php b/radiantproduction/Vue/Ajaxborderauencaissement/index.php deleted file mode 100644 index 2355abe..0000000 --- a/radiantproduction/Vue/Ajaxborderauencaissement/index.php +++ /dev/null @@ -1,89 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
- - STATUS
Total nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnee['dateComptable'])) ?>nettoyer($donnee['numeroEncaissement']) ?>nettoyer($donnee['codeModePaiement']) ?>nettoyer($donnee['codeMoyenPaiement']) ?>nettoyer($donnee['referencePaiement']) ?>nettoyer($donnee['libelleOperation']) ?>nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['numeroPolice']) ?>nettoyer($donnee['dateEffet'])) ?>nettoyer($donnee['numeroQuittance']) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?> nettoyer($donnee['codeEtape']) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxborderaufacturation/index.php b/radiantproduction/Vue/Ajaxborderaufacturation/index.php deleted file mode 100644 index 44c2e07..0000000 --- a/radiantproduction/Vue/Ajaxborderaufacturation/index.php +++ /dev/null @@ -1,98 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($donnee['etape']); - if (est_anglophone()) - { - $etape = $this->nettoyer($donnee['etapeEng']); - } - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>nettoyer($donnees_total['encaisseTot'])) ?>nettoyer($donnees_total['soldeTot'])) ?>
- - STATUS
Total nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>nettoyer($donnees_total['encaisseTot'])) ?>nettoyer($donnees_total['soldeTot'])) ?>
nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['numeroPolice']) ?>nettoyer($donnee['numeroEmission']) ?>nettoyer($donnee['numeroQuittance']) ?>nettoyer($donnee['dateEffet'])) ?>nettoyer($donnee['dateFin'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>nettoyer($donnee['encaisse'])) ?>nettoyer($donnee['solde'])) ?> nettoyer($donnee['dateSysteme']), $_SESSION['lang']) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxcartegccons/index.php b/radiantproduction/Vue/Ajaxcartegccons/index.php deleted file mode 100644 index e3627f8..0000000 --- a/radiantproduction/Vue/Ajaxcartegccons/index.php +++ /dev/null @@ -1,28 +0,0 @@ -
- - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - -
Date
nettoyer($gc['dateCarte'])) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantCarte'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcartegcnonsel/index.php b/radiantproduction/Vue/Ajaxcartegcnonsel/index.php deleted file mode 100644 index 19d4e67..0000000 --- a/radiantproduction/Vue/Ajaxcartegcnonsel/index.php +++ /dev/null @@ -1,51 +0,0 @@ -
-titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateCarte'])) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantCarte'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcartegcnonsel/reafficher.php b/radiantproduction/Vue/Ajaxcartegcnonsel/reafficher.php deleted file mode 100644 index 19d4e67..0000000 --- a/radiantproduction/Vue/Ajaxcartegcnonsel/reafficher.php +++ /dev/null @@ -1,51 +0,0 @@ -
-titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateCarte'])) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantCarte'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcartegcnonsel/validerselection.php b/radiantproduction/Vue/Ajaxcartegcnonsel/validerselection.php deleted file mode 100644 index c9ed14e..0000000 --- a/radiantproduction/Vue/Ajaxcartegcnonsel/validerselection.php +++ /dev/null @@ -1,69 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxcartegcnonselentete/index.php b/radiantproduction/Vue/Ajaxcartegcnonselentete/index.php deleted file mode 100644 index 542e8bc..0000000 --- a/radiantproduction/Vue/Ajaxcartegcnonselentete/index.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - nettoyer($reglement['valideAs']); - ?> - - " readonly > - - - - - - - - - - - - - - - - - - - -
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxcartegcsel/index.php b/radiantproduction/Vue/Ajaxcartegcsel/index.php deleted file mode 100644 index 940ac13..0000000 --- a/radiantproduction/Vue/Ajaxcartegcsel/index.php +++ /dev/null @@ -1,70 +0,0 @@ -
- -nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateCarte'])) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantCarte'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcartegcsel/reafficher.php b/radiantproduction/Vue/Ajaxcartegcsel/reafficher.php deleted file mode 100644 index e185bc1..0000000 --- a/radiantproduction/Vue/Ajaxcartegcsel/reafficher.php +++ /dev/null @@ -1,71 +0,0 @@ -
- -nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateCarte'])) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantCarte'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcartegcsel/validerselection.php b/radiantproduction/Vue/Ajaxcartegcsel/validerselection.php deleted file mode 100644 index a177e60..0000000 --- a/radiantproduction/Vue/Ajaxcartegcsel/validerselection.php +++ /dev/null @@ -1,70 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxchangecategorie/changecategorie.php b/radiantproduction/Vue/Ajaxchangecategorie/changecategorie.php deleted file mode 100644 index 9bdefb6..0000000 --- a/radiantproduction/Vue/Ajaxchangecategorie/changecategorie.php +++ /dev/null @@ -1,9 +0,0 @@ -
- - - - - - - -
diff --git a/radiantproduction/Vue/Ajaxchangecategorie/index.php b/radiantproduction/Vue/Ajaxchangecategorie/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxchangercollege/index.php b/radiantproduction/Vue/Ajaxchangercollege/index.php deleted file mode 100644 index 5683235..0000000 --- a/radiantproduction/Vue/Ajaxchangercollege/index.php +++ /dev/null @@ -1,100 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?>
nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?>
nettoyer($collegeTemp['accessoire']))?> nettoyer($collegeTemp['accessoireBeneficiaire']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?>
-
diff --git a/radiantproduction/Vue/Ajaxchangerlangue/changerlangue.php b/radiantproduction/Vue/Ajaxchangerlangue/changerlangue.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxchangerlangue/index.php b/radiantproduction/Vue/Ajaxchangerlangue/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxcommission/index.php b/radiantproduction/Vue/Ajaxcommission/index.php deleted file mode 100644 index fee28c0..0000000 --- a/radiantproduction/Vue/Ajaxcommission/index.php +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxcommissionautre/index.php b/radiantproduction/Vue/Ajaxcommissionautre/index.php deleted file mode 100644 index f00d573..0000000 --- a/radiantproduction/Vue/Ajaxcommissionautre/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxcomposantetarif/affichercomposantetarif.php b/radiantproduction/Vue/Ajaxcomposantetarif/affichercomposantetarif.php deleted file mode 100644 index 00113fd..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarif/affichercomposantetarif.php +++ /dev/null @@ -1,67 +0,0 @@ -
-
-
- - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($acte_out['libelleActe']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($acte_in['libelleActe']) ?> nettoyer($acte_in['prix'])) ?> - -
-
-
-
diff --git a/radiantproduction/Vue/Ajaxcomposantetarif/affichercomposantetarifcons.php b/radiantproduction/Vue/Ajaxcomposantetarif/affichercomposantetarifcons.php deleted file mode 100644 index fc06c4b..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarif/affichercomposantetarifcons.php +++ /dev/null @@ -1,26 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - -
Code
nettoyer($acte_in['codeActe']) ?> nettoyer($acte_in['libelleActe']) ?> nettoyer($acte_in['prix'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxcomposantetarif/index.php b/radiantproduction/Vue/Ajaxcomposantetarif/index.php deleted file mode 100644 index e0ddf9a..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarif/index.php +++ /dev/null @@ -1 +0,0 @@ -Ajaxcomposantetarif \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/affichercomposantetarif.php b/radiantproduction/Vue/Ajaxcomposantetarifmedicament/affichercomposantetarif.php deleted file mode 100644 index 0a43599..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/affichercomposantetarif.php +++ /dev/null @@ -1,67 +0,0 @@ -
-
-
- - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($medicament_out['libelleMedicament']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($medicament_in['libelleMedicament']) ?> nettoyer($medicament_in['prix'])) ?> - -
-
-
-
diff --git a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/affichercomposantetarifcons.php b/radiantproduction/Vue/Ajaxcomposantetarifmedicament/affichercomposantetarifcons.php deleted file mode 100644 index 3d199e8..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/affichercomposantetarifcons.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - nettoyer($medicament_in['libelleMedicament']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($libelleMedicament) ?>nettoyer($medicament_in['prix'])) ?>nettoyer($medicament_in['unite']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/index.php b/radiantproduction/Vue/Ajaxcomposantetarifmedicament/index.php deleted file mode 100644 index e0ddf9a..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/index.php +++ /dev/null @@ -1 +0,0 @@ -Ajaxcomposantetarif \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/listemedicaments.php b/radiantproduction/Vue/Ajaxcomposantetarifmedicament/listemedicaments.php deleted file mode 100644 index dbf080f..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifmedicament/listemedicaments.php +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - nettoyer($medicament['id']); - $codeMedicament = $medicament['codeMedicament']; - $ententePrealable = $medicament['ententePrealable']; - $exclu = $medicament['exclu']; - $actif = $medicament['actif']; - $libelleMedicament = $this->nettoyer($medicament['libelle']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($libelleMedicament) ?>nettoyer($medicament['unite']) ?> " onClick="javascript:modifier_un_medicament();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxcomposantetarifoptique/affichercomposantetarif.php b/radiantproduction/Vue/Ajaxcomposantetarifoptique/affichercomposantetarif.php deleted file mode 100644 index e65ce7d..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifoptique/affichercomposantetarif.php +++ /dev/null @@ -1,67 +0,0 @@ -
-
-
- - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($verre_out['libelleVerre']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($verre_in['libelleVerre']) ?> nettoyer($verre_in['prix'])) ?> - -
-
-
-
diff --git a/radiantproduction/Vue/Ajaxcomposantetarifoptique/affichercomposantetarifcons.php b/radiantproduction/Vue/Ajaxcomposantetarifoptique/affichercomposantetarifcons.php deleted file mode 100644 index c0ebdd8..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifoptique/affichercomposantetarifcons.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - - - - - - - - - - nettoyer($verre_in['libelleVerre']); - ?> - - - - - - - - - - - - - -
nettoyer($verre_in['prix'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxcomposantetarifoptique/index.php b/radiantproduction/Vue/Ajaxcomposantetarifoptique/index.php deleted file mode 100644 index e0ddf9a..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifoptique/index.php +++ /dev/null @@ -1 +0,0 @@ -Ajaxcomposantetarif \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxcomposantetarifoptique/listeverres.php b/radiantproduction/Vue/Ajaxcomposantetarifoptique/listeverres.php deleted file mode 100644 index cb7ba76..0000000 --- a/radiantproduction/Vue/Ajaxcomposantetarifoptique/listeverres.php +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - nettoyer($verre['id']); - $codeOptique = $verre['codeOptique']; - $actif = $verre['actif']; - $libelleVerre = $this->nettoyer($verre['libelle']); - if (est_anglophone()) - { - $libelleVerre = $this->nettoyer($verre['libelleEng']); - } - ?> - - - - - - - - - - - - - - - - - -
" onClick="javascript:modifier_un_verre();" style='font-size:8pt;' > " disabled style='font-size:8pt;' >
diff --git a/radiantproduction/Vue/Ajaxconnexioncookie/index.php b/radiantproduction/Vue/Ajaxconnexioncookie/index.php deleted file mode 100644 index 3b434e9..0000000 --- a/radiantproduction/Vue/Ajaxconnexioncookie/index.php +++ /dev/null @@ -1,85 +0,0 @@ -titre = "INTER-SANTE - Connexion" ; - - if (isset($_COOKIE['codeUtilisateur'])) - { - $_SESSION['lang'] = $_COOKIE['lang']; - $codeUtilisateur = $_COOKIE['codeUtilisateur']; - } - else - { - $_SESSION['lang'] = "fr_FR"; - $codeUtilisateur = ""; - } -?> - -
-
-
-
- -
- -
- -
- -
- -
-
-
- -
-

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

- - " "): ?> -
- -
- -

-
-
diff --git a/radiantproduction/Vue/Ajaxconsultertableauprestation/index.php b/radiantproduction/Vue/Ajaxconsultertableauprestation/index.php deleted file mode 100644 index 40b93b2..0000000 --- a/radiantproduction/Vue/Ajaxconsultertableauprestation/index.php +++ /dev/null @@ -1,27 +0,0 @@ -
- - - - - - - - - - - - - - - nettoyer($prestation['id']); - ?> - - - - - - - -
nettoyer($prestation['reseausoin']) ?>nettoyer($prestation['tmBase']) ?>nettoyer($prestation['tauxRachatTm']) ?>nettoyer($prestation['tm']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxcontextfraisfuneraire/index.php b/radiantproduction/Vue/Ajaxcontextfraisfuneraire/index.php deleted file mode 100644 index b69ebbe..0000000 --- a/radiantproduction/Vue/Ajaxcontextfraisfuneraire/index.php +++ /dev/null @@ -1,4 +0,0 @@ -
- -
- diff --git a/radiantproduction/Vue/Ajaxcontroleavenantpolice/index.php b/radiantproduction/Vue/Ajaxcontroleavenantpolice/index.php deleted file mode 100644 index 7eb58c8..0000000 --- a/radiantproduction/Vue/Ajaxcontroleavenantpolice/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxcontrolepiece/index.php b/radiantproduction/Vue/Ajaxcontrolepiece/index.php deleted file mode 100644 index ba81e8a..0000000 --- a/radiantproduction/Vue/Ajaxcontrolepiece/index.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/radiantproduction/Vue/Ajaxcreergcpolice/index.php b/radiantproduction/Vue/Ajaxcreergcpolice/index.php deleted file mode 100644 index 6903ab7..0000000 --- a/radiantproduction/Vue/Ajaxcreergcpolice/index.php +++ /dev/null @@ -1,36 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_gc_police();" style='font-size:10pt;' > " onClick="javascript:retour_liste_gc_police();" style='font-size:9pt;' >
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxdecompte/index.php b/radiantproduction/Vue/Ajaxdecompte/index.php deleted file mode 100644 index 11356d4..0000000 --- a/radiantproduction/Vue/Ajaxdecompte/index.php +++ /dev/null @@ -1,7 +0,0 @@ -
- -
- -
- -
diff --git a/radiantproduction/Vue/Ajaxdecompte/initrattrapagereceptionfactureprestataire.php b/radiantproduction/Vue/Ajaxdecompte/initrattrapagereceptionfactureprestataire.php deleted file mode 100644 index 24d40b3..0000000 --- a/radiantproduction/Vue/Ajaxdecompte/initrattrapagereceptionfactureprestataire.php +++ /dev/null @@ -1,91 +0,0 @@ -
- -
diff --git a/radiantproduction/Vue/Ajaxdecompte/rattrapagereceptionfactureprestataire.php b/radiantproduction/Vue/Ajaxdecompte/rattrapagereceptionfactureprestataire.php deleted file mode 100644 index 5fc4c7d..0000000 --- a/radiantproduction/Vue/Ajaxdecompte/rattrapagereceptionfactureprestataire.php +++ /dev/null @@ -1,163 +0,0 @@ -
- -nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - - - - - - - - - - - - - - - - - - - - - - -
" . $reglement['prestataire'] ?>" readonly >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly > "onClick="javascript:re_afficherdecompte();" style='font-size:8pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
-
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxdelaicarencetypecontrat/index.php b/radiantproduction/Vue/Ajaxdelaicarencetypecontrat/index.php deleted file mode 100644 index d0a13d2..0000000 --- a/radiantproduction/Vue/Ajaxdelaicarencetypecontrat/index.php +++ /dev/null @@ -1 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxdemandesdecomptes/index.php b/radiantproduction/Vue/Ajaxdemandesdecomptes/index.php deleted file mode 100644 index dfe640a..0000000 --- a/radiantproduction/Vue/Ajaxdemandesdecomptes/index.php +++ /dev/null @@ -1,43 +0,0 @@ -
- - - - - - - - - - - - - - - - - nettoyer($decompte['numeroDemandeDecompte']); - $idDemandeDecompte = $this->nettoyer($decompte['idDemandeDecompte']); - ?> - - - - - - - - - - - - - - - - - -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?>nettoyer($decompte['numeroDemandeDecompte']) ?>nettoyer($decompte['prestataire']) ?>nettoyer($decompte['fraisReel'])) ?>nettoyer($decompte['montantTm'])) ?>nettoyer($decompte['fraisExclu'])) ?>nettoyer($decompte['montantApayerCalc'])) ?> - " - onClick="javascript:detail_demande_decompte('', '');" style="font-size:8pt;"> -
-
diff --git a/radiantproduction/Vue/Ajaxdernieresfacturesoptique/index.php b/radiantproduction/Vue/Ajaxdernieresfacturesoptique/index.php deleted file mode 100644 index c5d4999..0000000 --- a/radiantproduction/Vue/Ajaxdernieresfacturesoptique/index.php +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - nettoyer($facture['libelleOptique']); - $codeOptique = $this->nettoyer($facture['codeOptique']); - - if($actVisible!="1") - { - $libelleOptique = $codeOptique; - } - ?> - - - - - - - - - - - - - -
Date
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['prestataire']) ?> nettoyer($facture['montantVerre'])) ?> nettoyer($facture['montantMonture'])) ?> nettoyer($facture['montantTotal'])) ?> nettoyer($facture['montantTm'])) ?> nettoyer($facture['montantArembourser'])) ?>
diff --git a/radiantproduction/Vue/Ajaxderniernumerobon/index.php b/radiantproduction/Vue/Ajaxderniernumerobon/index.php deleted file mode 100644 index a9ae4ec..0000000 --- a/radiantproduction/Vue/Ajaxderniernumerobon/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxderogations/index.php b/radiantproduction/Vue/Ajaxderogations/index.php deleted file mode 100644 index 5384349..0000000 --- a/radiantproduction/Vue/Ajaxderogations/index.php +++ /dev/null @@ -1,77 +0,0 @@ -
- - - - - - - - - - - - - - - - - - nettoyer($derogation['idDemandederogation']); - $codeReponseDerogation = $this->nettoyer($derogation['codeReponseDerogation']); - $numeroDerogation = $this->nettoyer($derogation['numeroDerogation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($derogation['dateSysteme'])) ?>nettoyer($derogation['libelleDerogation']) ?>nettoyer($derogation['prestataire']) ?>nettoyer($derogation['numeroBeneficiaire']) ?>nettoyer($derogation['beneficiaire']) ?>nettoyer($derogation['dateReponse'])) ?>nettoyer($derogation['responsableDerogation']) ?>nettoyer($derogation['reponseDerogation']) ?> - " - onClick="javascript:accepter_derogation_2();"> - - " - onClick="javascript:refuser_derogation_2(, '2');"> - nettoyer($derogation['motifReel']) ?>nettoyer($derogation['debut'])) ?>nettoyer($derogation['fin'])) ?>nettoyer($derogation['motifReel']) ?>nettoyer($derogation['motifRefusAssure']) ?>nettoyer($derogation['tmDerogation']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxderogations/vide.php b/radiantproduction/Vue/Ajaxderogations/vide.php deleted file mode 100644 index 2ba6283..0000000 --- a/radiantproduction/Vue/Ajaxderogations/vide.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxderogationsbenficiaire/enregistreraccordderogation.php b/radiantproduction/Vue/Ajaxderogationsbenficiaire/enregistreraccordderogation.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxderogationsbenficiaire/index.php b/radiantproduction/Vue/Ajaxderogationsbenficiaire/index.php deleted file mode 100644 index b73fe5b..0000000 --- a/radiantproduction/Vue/Ajaxderogationsbenficiaire/index.php +++ /dev/null @@ -1,72 +0,0 @@ -
- - - - - - - - - - - - - - - - - nettoyer($derogation['idDemandederogation']); - $codeReponseDerogation = $this->nettoyer($derogation['codeReponseDerogation']); - $numeroDerogation = $this->nettoyer($derogation['numeroDerogation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($derogation['dateSysteme'])) ?>nettoyer($derogation['libelleDerogation']) ?>nettoyer($derogation['prestataire']) ?>nettoyer($derogation['dateReponse'])) ?>nettoyer($derogation['responsableDerogation']) ?>nettoyer($derogation['reponseDerogation']) ?> - " - onClick="javascript:accepter_derogation();"> - - " - onClick="javascript:refuser_derogation(, '2');"> - nettoyer($derogation['motifReel']) ?>nettoyer($derogation['debut'])) ?>nettoyer($derogation['fin'])) ?>nettoyer($derogation['motifReel']) ?>nettoyer($derogation['motifRefusAssure']) ?>nettoyer($derogation['tmDerogation']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxderogationsbenficiaire/vide.php b/radiantproduction/Vue/Ajaxderogationsbenficiaire/vide.php deleted file mode 100644 index aba1302..0000000 --- a/radiantproduction/Vue/Ajaxderogationsbenficiaire/vide.php +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/adherent.php b/radiantproduction/Vue/Ajaxdestinatairesms/adherent.php deleted file mode 100644 index 7a746a1..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/adherent.php +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - -
- -
- -
-
- diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclienliste.php b/radiantproduction/Vue/Ajaxdestinatairesms/adherentclienliste.php deleted file mode 100644 index 71fd20c..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclienliste.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - -
- -
- -
-
- - - diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclient.php b/radiantproduction/Vue/Ajaxdestinatairesms/adherentclient.php deleted file mode 100644 index 66ce2a0..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclient.php +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - -
- - " onClick="javascript:sms_recherche_adherent_client();">
- -
-
- - diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclientlocalite.php b/radiantproduction/Vue/Ajaxdestinatairesms/adherentclientlocalite.php deleted file mode 100644 index d3b65d8..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclientlocalite.php +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - -
- - " onClick="javascript:sms_recherche_adherent_client_localite();">
- -
-
- - diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclientlocaliteliste.php b/radiantproduction/Vue/Ajaxdestinatairesms/adherentclientlocaliteliste.php deleted file mode 100644 index 62be9f9..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/adherentclientlocaliteliste.php +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- -
-
-
- -
-
" onClick="javascript:ajax_init_destinataires_sms_adherent_client_localite();">
- -
-
- - - diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/adherentlocalite.php b/radiantproduction/Vue/Ajaxdestinatairesms/adherentlocalite.php deleted file mode 100644 index e4e7cec..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/adherentlocalite.php +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
- -
-
" onClick="javascript:ajax_init_destinataires_sms_adherent_localite();">
- -
-
- -
-
- - diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/consulter.php b/radiantproduction/Vue/Ajaxdestinatairesms/consulter.php deleted file mode 100644 index 1303647..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/consulter.php +++ /dev/null @@ -1,60 +0,0 @@ -
- - - -
- - - - - - - - - - - - - - - - - - - - - - -
Message
nettoyer($message['dateSysteme'])) ?>nettoyer($message['dateEnvoi'])) ?> nettoyer($message['destinataires']) ?>
-
- - -
- - - - - - - - - - - - - - - - - - - - -
Message
nettoyer($message['dateSysteme'])) ?> nettoyer($message['destinataires']) ?>
-
- -
diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/index.php b/radiantproduction/Vue/Ajaxdestinatairesms/index.php deleted file mode 100644 index 2a70c4c..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/index.php +++ /dev/null @@ -1,65 +0,0 @@ - -
- - - - - - - - - - - -
" onClick="javascript:mettre_sms_commun_attente();"> - - " onClick='javascript:annuler_envoi_sms();'/>
- -
- - - - - - - - - - nettoyer($destinataire_non_selection['id']); - ?> - - - - - - - -
nettoyer($destinataire_non_selection['libelleDestinataire']) ?> nettoyer($destinataire_non_selection['destination']) ?>
-
- -
- - - - - - - - - - nettoyer($destinataire_selection['id']); - ?> - - - - - - - -
nettoyer($destinataire_selection['libelleDestinataire']) ?>nettoyer($destinataire_selection['destination']) ?>
-
-
diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/init.php b/radiantproduction/Vue/Ajaxdestinatairesms/init.php deleted file mode 100644 index 072733e..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/init.php +++ /dev/null @@ -1,71 +0,0 @@ - -
-
-
- -
- - - - - - - - - - - -
" onClick="javascript:mettre_sms_commun_attente();"> - - " onClick='javascript:annuler_envoi_sms();'/>
- -
- - - - - - - - - - nettoyer($destinataire_non_selection['id']); - ?> - - - - - - - -
nettoyer($destinataire_non_selection['libelleDestinataire']) ?> nettoyer($destinataire_non_selection['destination']) ?>
-
- -
- - - - - - - - - - nettoyer($destinataire_selection['id']); - ?> - - - - - - - -
nettoyer($destinataire_selection['libelleDestinataire']) ?>nettoyer($destinataire_selection['destination']) ?>
-
-
-
- diff --git a/radiantproduction/Vue/Ajaxdestinatairesms/libre.php b/radiantproduction/Vue/Ajaxdestinatairesms/libre.php deleted file mode 100644 index 70cdb17..0000000 --- a/radiantproduction/Vue/Ajaxdestinatairesms/libre.php +++ /dev/null @@ -1,25 +0,0 @@ -
-
-
- -
- - - - - - - - - - - - - - - -
-
" onClick="javascript:mettre_sms_commun_attente_libre();"> " onClick='javascript:annuler_envoi_sms();'/>
-
- -
diff --git a/radiantproduction/Vue/Ajaxdetailfactureclassique/index.php b/radiantproduction/Vue/Ajaxdetailfactureclassique/index.php deleted file mode 100644 index 0dc5497..0000000 --- a/radiantproduction/Vue/Ajaxdetailfactureclassique/index.php +++ /dev/null @@ -1,203 +0,0 @@ -0); - $controlerPlafondBeneficiaire = ($_SESSION['controlerPlafondBeneficiaire']>0); -?> - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hospit
Observat - - " onClick="javascript:valider_facture_classique_temp();" style='font-size:9pt;' >
-
- -
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - nettoyer($prestation['id']); - $libelleActe = $this->echapper($prestation['libelleActe']); - $valeurActe = $this->nettoyer($prestation['valeurActe']); - ?> - - - - - - - - - - - - -
dechapper($libelleActe) ?> - - nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
-
- - - - - - - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['soldeOld'])) ?>nettoyer($garantieadherent['consommationNew'])) ?>nettoyer($garantieadherent['consommationSousGarantie'])) ?>nettoyer($garantieadherent['fraisExclu'])) ?>nettoyer($garantieadherent['fraisRetenu'])) ?>nettoyer($garantieadherent['soldeNew'])) ?>
- -
- -
- -
- -
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxdetailprescription/consulterremplacement.php b/radiantproduction/Vue/Ajaxdetailprescription/consulterremplacement.php deleted file mode 100644 index 08c1c41..0000000 --- a/radiantproduction/Vue/Ajaxdetailprescription/consulterremplacement.php +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - nettoyer($medicaments_remplace['codeMedicamentAnc']); - $medicamentAnc = $this->nettoyer($medicaments_remplace['medicamentAnc']); - - $codeMedicamentNouv = $this->nettoyer($medicaments_remplace['codeMedicamentNouv']); - $medicamentnouv = $this->nettoyer($medicaments_remplace['medicamentnouv']); - - if($actVisible!="1") - { - $medicamentAnc = $codeMedicamentAnc; - $medicamentnouv = $codeMedicamentNouv; - } - ?> - - - - - - - - - -
nettoyer($medicaments_remplace['dateSysteme'])) ?> nettoyer($medicaments_remplace['medicamentAnc']) ?> nettoyer($medicaments_remplace['quantiteAnc']) ?> nettoyer($medicaments_remplace['medicamentnouv']) ?> nettoyer($medicaments_remplace['codeUtilisateur']) ?>
diff --git a/radiantproduction/Vue/Ajaxdetailprescription/index.php b/radiantproduction/Vue/Ajaxdetailprescription/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxdetailrenouvellement/index.php b/radiantproduction/Vue/Ajaxdetailrenouvellement/index.php deleted file mode 100644 index 9fe31a5..0000000 --- a/radiantproduction/Vue/Ajaxdetailrenouvellement/index.php +++ /dev/null @@ -1,61 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - -
Total nettoyer($avenant2['primeHt'])) ?> nettoyer($avenant2['taxe'])) ?> nettoyer($avenant2['fraisCarte'])) ?> nettoyer($avenant2['primeTtc'])) ?>
nettoyer($beneficiaire['codeProduit']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['rapportspRen']) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxdetailresiliation/index.php b/radiantproduction/Vue/Ajaxdetailresiliation/index.php deleted file mode 100644 index 4fb9f58..0000000 --- a/radiantproduction/Vue/Ajaxdetailresiliation/index.php +++ /dev/null @@ -1,60 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
Total nettoyer($emission2['primeNetteStat'])) ?>nettoyer($emission2['primeTtcInitial'])) ?>nettoyer($avenant2['primeNonAcquise'])) ?>nettoyer($avenant2['primeHt'])) ?>nettoyer($avenant2['taxe'])) ?>nettoyer($avenant2['primeTtc'])) ?>
nettoyer($beneficiaire['codeProduit']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['dateEntree'])) ?>nettoyer($beneficiaire['duree']) ?>nettoyer($beneficiaire['duree_non_acquise']) ?>nettoyer($beneficiaire['ratioNonAcquise']) ?>nettoyer($beneficiaire['primeNetteStat_an'])) ?>nettoyer($beneficiaire['primeTtc_an'])) ?>nettoyer($beneficiaire['primeNonAcquise'])) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxdetailretrait/index.php b/radiantproduction/Vue/Ajaxdetailretrait/index.php deleted file mode 100644 index f97c447..0000000 --- a/radiantproduction/Vue/Ajaxdetailretrait/index.php +++ /dev/null @@ -1,115 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['commission'])) ?> nettoyer($avenant['commissionAutre'])) ?> nettoyer($avenant['accessoire'])) ?> nettoyer($avenant['primeHt'])) ?> nettoyer($avenant['taxe'])) ?> nettoyer($avenant['fraisCarte'])) ?> nettoyer($avenant['primeTtcInitial'])) ?> nettoyer($avenant['primeNetteStat'])) ?>
- - " onClick="javascript:recapituler_retrait();"> " onClick="javascript:enregistrer_retrait();">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($avenant['nbAliment']) ?> Total nettoyer($avenant['primeNonAcquise'])) ?>nettoyer($avenant['primeHt'])) ?>nettoyer($avenant['taxe'])) ?>nettoyer($avenant['primeTtc'])) ?>
nettoyer($beneficiaire_sel['codeProduit']) ?>nettoyer($beneficiaire_sel['nomBeneficiaire']) ?>nettoyer($beneficiaire_sel['codeLienParente']) ?>nettoyer($beneficiaire_sel['numeroBeneficiaire']) ?>nettoyer($beneficiaire_sel['dateEntree'])) ?>nettoyer($beneficiaire_sel['duree']) ?>nettoyer($beneficiaire_sel['duree_non_acquise']) ?>nettoyer($beneficiaire_sel['ratioNonAcquise']) ?>nettoyer($beneficiaire_sel['rapportsp']) ?>nettoyer($beneficiaire_sel['primeNetteStat_an'])) ?>nettoyer($beneficiaire_sel['primeTtc_an'])) ?>nettoyer($beneficiaire_sel['primeNonAcquise'])) ?>nettoyer($beneficiaire_sel['primeHt'])) ?>nettoyer($beneficiaire_sel['taxe'])) ?>nettoyer($beneficiaire_sel['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxdiagnosticsbeneficiaire/index.php b/radiantproduction/Vue/Ajaxdiagnosticsbeneficiaire/index.php deleted file mode 100644 index 500d5d6..0000000 --- a/radiantproduction/Vue/Ajaxdiagnosticsbeneficiaire/index.php +++ /dev/null @@ -1,58 +0,0 @@ - - - -
- - - - - - - - - - - - - - - - nettoyer($diagnostic['id']); - $supprime = $this->nettoyer($diagnostic['supprime']); - - $codeAffection = $this->nettoyer($diagnostic['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection; - } - else - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection; - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - -
Date Diagnostic User
User Date
nettoyer($diagnostic['dateSysteme'])) ?> nettoyer($diagnostic['codeUtilisateur']) ?> nettoyer($diagnostic['userSuppression']) ?> nettoyer($diagnostic['heueSuppression'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxdiagnosticscons/index.php b/radiantproduction/Vue/Ajaxdiagnosticscons/index.php deleted file mode 100644 index 38c68c6..0000000 --- a/radiantproduction/Vue/Ajaxdiagnosticscons/index.php +++ /dev/null @@ -1,58 +0,0 @@ - - - -
- - - - - - - - - - - - - - - - nettoyer($diagnostic['id']); - $supprime = $this->nettoyer($diagnostic['supprime']); - - $codeAffection = $this->nettoyer($diagnostic['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection; - } - else - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection; - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - -
Date Diagnostic User
User Date
nettoyer($diagnostic['dateSysteme'])) ?> nettoyer($diagnostic['codeUtilisateur']) ?> nettoyer($diagnostic['userSuppression']) ?> nettoyer($diagnostic['heueSuppression'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxdossierclassique/getcontextbyidreglement.php b/radiantproduction/Vue/Ajaxdossierclassique/getcontextbyidreglement.php deleted file mode 100644 index d4ead3e..0000000 --- a/radiantproduction/Vue/Ajaxdossierclassique/getcontextbyidreglement.php +++ /dev/null @@ -1,3 +0,0 @@ -
- idDossierClassique : -
diff --git a/radiantproduction/Vue/Ajaxdossierclassique/index.php b/radiantproduction/Vue/Ajaxdossierclassique/index.php deleted file mode 100644 index fc6af29..0000000 --- a/radiantproduction/Vue/Ajaxdossierclassique/index.php +++ /dev/null @@ -1,3 +0,0 @@ -
-
- diff --git a/radiantproduction/Vue/Ajaxdossiercons/index.php b/radiantproduction/Vue/Ajaxdossiercons/index.php deleted file mode 100644 index 6a73b10..0000000 --- a/radiantproduction/Vue/Ajaxdossiercons/index.php +++ /dev/null @@ -1,95 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['idFacture']); - ?> - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?> - - nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>nettoyer($feuillemaladie['numeroBonOptique']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['numeroDecompte']) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxdossiers/index.php b/radiantproduction/Vue/Ajaxdossiers/index.php deleted file mode 100644 index 4b8efcd..0000000 --- a/radiantproduction/Vue/Ajaxdossiers/index.php +++ /dev/null @@ -1,64 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $numeroBonConsultation = $this->nettoyer($feuillemaladie['numeroBonConsultation']); - $facture = $feuillemaladie['facture']; - $tiersPayant = $feuillemaladie['tiersPayant']; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- - - - nettoyer($feuillemaladie['dateSysteme'])) ?>nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['medecinConsultation']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?> nettoyer($feuillemaladie['montantRembourse'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/ecartfacture.php b/radiantproduction/Vue/Ajaxecartdecompte/ecartfacture.php deleted file mode 100644 index 05720bc..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/ecartfacture.php +++ /dev/null @@ -1,59 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $idEcart = $this->nettoyer($facture['id']); - $observations = $facture['observations']; - - if (est_anglophone()) - { - $libelleEcart = $this->nettoyer($facture['libelleEcartEng']); - } - else - { - $libelleEcart = $this->nettoyer($facture['libelleEcart']); - } - ?> - - - - - - - - - - ' '): ?> - - - - - - - -
Date Sens Obs
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?> nettoyer($facture['montantPrestataire'])) ?> nettoyer($facture['montantAssureur'])) ?> nettoyer($facture['montantEcart'])) ?> " - onClick="javascript:maj_observations_ecart_facture(,'');"> - -
-
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/ecartnonsaisi.php b/radiantproduction/Vue/Ajaxecartdecompte/ecartnonsaisi.php deleted file mode 100644 index 49aab6d..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/ecartnonsaisi.php +++ /dev/null @@ -1,56 +0,0 @@ - - -
-
- -
- - - - - - - - - - - - - - - - nettoyer($facture['id']); - - if (est_anglophone()) - { - $libelleEcart = $this->nettoyer($facture['libelleEcartEng']); - } - else - { - $libelleEcart = $this->nettoyer($facture['libelleEcart']); - } - ?> - - - - - - - - - - - - - - - -
Sens Observations
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?> nettoyer($facture['montantPrestataire'])) ?> nettoyer($facture['observations']) ?> " - onClick="javascript:maj_ecart_facture();"> - " - onClick="javascript:supprimer_ecart_facture();"> -
-
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/index.php b/radiantproduction/Vue/Ajaxecartdecompte/index.php deleted file mode 100644 index 1f112c7..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/index.php +++ /dev/null @@ -1,67 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($reglement['ndFacture'])) ?> nettoyer($reglement['montantPrestataire'])) ?> nettoyer($reglement['montantApayer'])) ?> nettoyer($reglement['montantRedresse'])) ?>
nettoyer($recapecartdecompte['nbTotal'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotal'])) ?> nettoyer($recapecartdecompte['montantAssureurTotal'])) ?> nettoyer($recapecartdecompte['montantEcartTotal'])) ?>
nettoyer($recapecartdecompte['nbTotalFacture'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalFacture'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalFacture'])) ?> nettoyer($recapecartdecompte['montantEcartTotalFacture'])) ?>
nettoyer($recapecartdecompte['nbTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantEcartTotalNonsaisi'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavPrest'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavPrest'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavAss'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavAss'])) ?>
nettoyer($reglement['resteEcartAjustifer'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/initmajecartnonsaisi.php b/radiantproduction/Vue/Ajaxecartdecompte/initmajecartnonsaisi.php deleted file mode 100644 index fe63f49..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/initmajecartnonsaisi.php +++ /dev/null @@ -1,52 +0,0 @@ -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Date Montant - - Obs " onClick="javascript:maj_ecartdecompte_non_saisi();" style='font-size:8pt;' >
-
-
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/initnewecart.php b/radiantproduction/Vue/Ajaxecartdecompte/initnewecart.php deleted file mode 100644 index 64a3042..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/initnewecart.php +++ /dev/null @@ -1,29 +0,0 @@ -
- - - -
- - - - - - - - - - - - - - - - - - -
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/majecartnonsaisi.php b/radiantproduction/Vue/Ajaxecartdecompte/majecartnonsaisi.php deleted file mode 100644 index bf927a9..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/majecartnonsaisi.php +++ /dev/null @@ -1,3 +0,0 @@ -
- OK majecartnonsaisi -
diff --git a/radiantproduction/Vue/Ajaxecartdecompte/rechercherbeneficiaireecart.php b/radiantproduction/Vue/Ajaxecartdecompte/rechercherbeneficiaireecart.php deleted file mode 100644 index d1e6273..0000000 --- a/radiantproduction/Vue/Ajaxecartdecompte/rechercherbeneficiaireecart.php +++ /dev/null @@ -1,50 +0,0 @@ -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - nettoyer($beneficiaire['prenomsBeneficiaire']) ?>" readonly >
Date Montant - - Obs
-
-
diff --git a/radiantproduction/Vue/Ajaxecartdecomptecons/ecartfacture.php b/radiantproduction/Vue/Ajaxecartdecomptecons/ecartfacture.php deleted file mode 100644 index 059dddc..0000000 --- a/radiantproduction/Vue/Ajaxecartdecomptecons/ecartfacture.php +++ /dev/null @@ -1,58 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $idEcart = $this->nettoyer($facture['id']); - $observations = $facture['observations']; - - if (est_anglophone()) - { - $libelleEcart = $this->nettoyer($facture['libelleEcartEng']); - } - else - { - $libelleEcart = $this->nettoyer($facture['libelleEcart']); - } - ?> - - - - - - - - - - ' '): ?> - - - - - -
Date Sens Obs
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?> nettoyer($facture['montantPrestataire'])) ?> nettoyer($facture['montantAssureur'])) ?> nettoyer($facture['montantEcart'])) ?> " - onClick="javascript:alert('');"> - - -
-
diff --git a/radiantproduction/Vue/Ajaxecartdecomptecons/ecartnonsaisi.php b/radiantproduction/Vue/Ajaxecartdecomptecons/ecartnonsaisi.php deleted file mode 100644 index dfea75a..0000000 --- a/radiantproduction/Vue/Ajaxecartdecomptecons/ecartnonsaisi.php +++ /dev/null @@ -1,45 +0,0 @@ - - -
-
- -
- - - - - - - - - - - - - - nettoyer($facture['id']); - - if (est_anglophone()) - { - $libelleEcart = $this->nettoyer($facture['libelleEcartEng']); - } - else - { - $libelleEcart = $this->nettoyer($facture['libelleEcart']); - } - ?> - - - - - - - - - - -
Date Sens Observations
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?> nettoyer($facture['montantPrestataire'])) ?> nettoyer($facture['observations']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxecartdecomptecons/index.php b/radiantproduction/Vue/Ajaxecartdecomptecons/index.php deleted file mode 100644 index 1f112c7..0000000 --- a/radiantproduction/Vue/Ajaxecartdecomptecons/index.php +++ /dev/null @@ -1,67 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($reglement['ndFacture'])) ?> nettoyer($reglement['montantPrestataire'])) ?> nettoyer($reglement['montantApayer'])) ?> nettoyer($reglement['montantRedresse'])) ?>
nettoyer($recapecartdecompte['nbTotal'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotal'])) ?> nettoyer($recapecartdecompte['montantAssureurTotal'])) ?> nettoyer($recapecartdecompte['montantEcartTotal'])) ?>
nettoyer($recapecartdecompte['nbTotalFacture'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalFacture'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalFacture'])) ?> nettoyer($recapecartdecompte['montantEcartTotalFacture'])) ?>
nettoyer($recapecartdecompte['nbTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantEcartTotalNonsaisi'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavPrest'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavPrest'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavAss'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavAss'])) ?>
nettoyer($reglement['resteEcartAjustifer'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxemandesreglementsglobal/index.php b/radiantproduction/Vue/Ajaxemandesreglementsglobal/index.php deleted file mode 100644 index b3e99a8..0000000 --- a/radiantproduction/Vue/Ajaxemandesreglementsglobal/index.php +++ /dev/null @@ -1,81 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantFactureTotal'])) ?>nettoyer($decomptes_total['fraisRetenuTotal'])) ?>nettoyer($decomptes_total['montantApayerTotal'])) ?>nettoyer($decomptes_total['differenceTotal'])) ?>nettoyer($decomptes_total['montantPayeTotal'])) ?>nettoyer($decomptes_total['ndFactureTotal'])) ?>nettoyer($decomptes_total['moyenneTotal'])) ?>
No Differ
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantFactureTotal'])) ?>nettoyer($decomptes_total['fraisRetenuTotal'])) ?>nettoyer($decomptes_total['montantApayerTotal'])) ?>nettoyer($decomptes_total['differenceTotal'])) ?>nettoyer($decomptes_total['montantPayeTotal'])) ?>nettoyer($decomptes_total['ndFactureTotal'])) ?>nettoyer($decomptes_total['moyenneTotal'])) ?>
nettoyer($decompte['cnt']) ?>nettoyer($decompte['prestataire']) ?>nettoyer($decompte['numeroCompteBancaire']) ?>nettoyer($decompte['banque']) ?>nettoyer($decompte['dateReception'])) ?>nettoyer($decompte['heureValidationDecompte'])) ?>nettoyer($decompte['etatdecompte']) ?>nettoyer($decompte['dateReglement'])) ?>nettoyer($decompte['periode']) ?>nettoyer($decompte['montantFacture'])) ?>nettoyer($decompte['fraisRetenu'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['difference'])) ?>nettoyer($decompte['montantPaye'])) ?>nettoyer($decompte['ndFacture'])) ?>nettoyer($decompte['moyenne'])) ?>nettoyer($decompte['codeUtilisateur']) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxencaissementparclient/index.php b/radiantproduction/Vue/Ajaxencaissementparclient/index.php deleted file mode 100644 index c98462a..0000000 --- a/radiantproduction/Vue/Ajaxencaissementparclient/index.php +++ /dev/null @@ -1,105 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($donnee['etape']); - if (est_anglophone()) - { - $etape = $this->nettoyer($donnee['etapeEng']); - } - $nbligne++; - ?> - - - - - - - - - - - - -
nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['primeHtRenTot'])) ?>nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
- -
nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['primeHtRenTot'])) ?>nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnees_total['ratioprimeHtAn']). "%" ?>nettoyer($donnees_total['ratioprimeHtRen']). "%" ?> 100%
nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?>nettoyer($donnees_total['nbPoliceTot'])) ?>
nettoyer($donnees_total['ratioNbPoliceAn']). "%" ?>nettoyer($donnees_total['ratioNbPoliceRen']). "%" ?> 100%
nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['primeHtAn'])) ?>nettoyer($donnee['primeHtRen'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxencaissementpparmois/index.php b/radiantproduction/Vue/Ajaxencaissementpparmois/index.php deleted file mode 100644 index 8fe07e8..0000000 --- a/radiantproduction/Vue/Ajaxencaissementpparmois/index.php +++ /dev/null @@ -1,125 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?> nettoyer($donnees_total['primeHtRenTot'])) ?> nettoyer($donnees_total['nbPoliceTot'])) ?> nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
- -
Total nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?> nettoyer($donnees_total['primeHtRenTot'])) ?> nettoyer($donnees_total['nbPoliceTot'])) ?> nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnees_total['ratioprimenbPoliceAn']) ?>nettoyer($donnees_total['ratioprimeHtAn']) ?>nettoyer($donnees_total['ratioprimenbPoliceRen']) ?>nettoyer($donnees_total['ratioprimeHtRen']) ?> 100 nettoyer($donnees_total['ratioPrimeHt']) ?>nettoyer($donnees_total['ratioaxe']) ?>nettoyer($donnees_total['ratiofraisCarte']) ?> 100
nettoyer($donnee['exercice']) ?>nettoyer($donnee['codeMois']) ?>nettoyer($donnee['nbPoliceAn'])) ?>nettoyer($donnee['primeHtAn'])) ?>nettoyer($donnee['nbPoliceRen'])) ?>nettoyer($donnee['primeHtRen'])) ?>nettoyer($donnee['nbPolice'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxencaissementquittance/index.php b/radiantproduction/Vue/Ajaxencaissementquittance/index.php deleted file mode 100644 index 9e590d2..0000000 --- a/radiantproduction/Vue/Ajaxencaissementquittance/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
-
- nettoyer($numeroQuittance_Q) . " => " . _("Cliquer No pour détail") ?> - - - - - - - - - - - - - - - - - - - - nettoyer($detailencaissement['idEncaissement']); - $numeroEncaissement=$this->nettoyer($detailencaissement['numeroEncaissement']); - ?> - - - - - - - - - - - - - - - -
NoDate
Totalnettoyer($totalencaissement['primeTtc'])) ?>
- - nettoyer($detailencaissement['dateEncaissement'])) ?>nettoyer($detailencaissement['modepaiement']) ?>nettoyer($detailencaissement['referencePaiement']) ?>nettoyer($detailencaissement['primeTtc'])) ?>
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxenregistrerdemandefraisfuneraire/index.php b/radiantproduction/Vue/Ajaxenregistrerdemandefraisfuneraire/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxententeprealables/index.php b/radiantproduction/Vue/Ajaxententeprealables/index.php deleted file mode 100644 index 23cdf41..0000000 --- a/radiantproduction/Vue/Ajaxententeprealables/index.php +++ /dev/null @@ -1,82 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeententeprealable']); - $codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']); - $numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']); - $facture = $this->nettoyer($ententeprealable['facture']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?> - " - onClick="javascript:accepter_ententeprealable_2(, );"> - - " - onClick="javascript:refuser_ententeprealable_2(, );"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxententeprealables/vide.php b/radiantproduction/Vue/Ajaxententeprealables/vide.php deleted file mode 100644 index cb9c829..0000000 --- a/radiantproduction/Vue/Ajaxententeprealables/vide.php +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxententeprealablesbenficiaire/index.php b/radiantproduction/Vue/Ajaxententeprealablesbenficiaire/index.php deleted file mode 100644 index 8e6adf2..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablesbenficiaire/index.php +++ /dev/null @@ -1,76 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeententeprealable']); - $codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']); - $numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']); - $facture = $this->nettoyer($ententeprealable['facture']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?> - " - onClick="javascript:accepter_ententeprealable(, );"> - - " - onClick="javascript:refuser_ententeprealable(, );"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxententeprealablesbenficiaire/vide.php b/radiantproduction/Vue/Ajaxententeprealablesbenficiaire/vide.php deleted file mode 100644 index 88474e8..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablesbenficiaire/vide.php +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxententeprealablesmont/index.php b/radiantproduction/Vue/Ajaxententeprealablesmont/index.php deleted file mode 100644 index e50d5d9..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablesmont/index.php +++ /dev/null @@ -1,83 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeententeprealable']); - $codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']); - $numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']); - $facture = $this->nettoyer($ententeprealable['facture']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?> - " - onClick="javascript:accepter_ententeprealable_mont(, );"> - - " - onClick="javascript:refuser_ententeprealable_mont(, );"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxententeprealablesmont/vide.php b/radiantproduction/Vue/Ajaxententeprealablesmont/vide.php deleted file mode 100644 index 6222993..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablesmont/vide.php +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxententeprealablesopt/index.php b/radiantproduction/Vue/Ajaxententeprealablesopt/index.php deleted file mode 100644 index 1fb274d..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablesopt/index.php +++ /dev/null @@ -1,83 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeententeprealable']); - $codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']); - $numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']); - $facture = $this->nettoyer($ententeprealable['facture']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleOptique']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?> - " - onClick="javascript:accepter_ententeprealable_opt(, );"> - - " - onClick="javascript:refuser_ententeprealable_opt(, );"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxententeprealablesopt/vide.php b/radiantproduction/Vue/Ajaxententeprealablesopt/vide.php deleted file mode 100644 index 8d21857..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablesopt/vide.php +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxententeprealablespha/index.php b/radiantproduction/Vue/Ajaxententeprealablespha/index.php deleted file mode 100644 index e230d79..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablespha/index.php +++ /dev/null @@ -1,93 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeententeprealable']); - $codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']); - $numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']); - $facture = $this->nettoyer($ententeprealable['facture']); - $ajoutPrestataire = $this->nettoyer($ententeprealable['ajoutPrestataire']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleMedicament']) ?>nettoyer($ententeprealable['libelleMedicament']) ?>nettoyer($ententeprealable['quantite']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?> - " - onClick="javascript:accepter_ententeprealable_pha(, );"> - - " - onClick="javascript:refuser_ententeprealable_pha(, );"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxententeprealablespha/vide.php b/radiantproduction/Vue/Ajaxententeprealablespha/vide.php deleted file mode 100644 index 5ef1375..0000000 --- a/radiantproduction/Vue/Ajaxententeprealablespha/vide.php +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
diff --git a/radiantproduction/Vue/Ajaxenteteborderauencaissement/index.php b/radiantproduction/Vue/Ajaxenteteborderauencaissement/index.php deleted file mode 100644 index f24d3f6..0000000 --- a/radiantproduction/Vue/Ajaxenteteborderauencaissement/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteborderaufacturation/index.php b/radiantproduction/Vue/Ajaxenteteborderaufacturation/index.php deleted file mode 100644 index 8a8fd74..0000000 --- a/radiantproduction/Vue/Ajaxenteteborderaufacturation/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxentetedecompte/index.php b/radiantproduction/Vue/Ajaxentetedecompte/index.php deleted file mode 100644 index 1fe83fe..0000000 --- a/radiantproduction/Vue/Ajaxentetedecompte/index.php +++ /dev/null @@ -1,162 +0,0 @@ -
- -nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - - - - - - - - - - - - - - - - - - - - - - -
" . $reglement['prestataire'] ?>" readonly >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly > "onClick="javascript:re_afficherdecompte();" style='font-size:8pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
-
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxenteteencaissementparclient/index.php b/radiantproduction/Vue/Ajaxenteteencaissementparclient/index.php deleted file mode 100644 index 6d44b3c..0000000 --- a/radiantproduction/Vue/Ajaxenteteencaissementparclient/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteencaissementpparmois/index.php b/radiantproduction/Vue/Ajaxenteteencaissementpparmois/index.php deleted file mode 100644 index e743db5..0000000 --- a/radiantproduction/Vue/Ajaxenteteencaissementpparmois/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteetatperso/index.php b/radiantproduction/Vue/Ajaxenteteetatperso/index.php deleted file mode 100644 index 794da97..0000000 --- a/radiantproduction/Vue/Ajaxenteteetatperso/index.php +++ /dev/null @@ -1,57 +0,0 @@ -
-
- - - - - - - - - - - nettoyer($paramrequete['parametre']); - $typeDonnee = $paramrequete['typeDonnee']; - - $typeDate = (substr($typeDonnee,0,3)=="dat"); - - $tab_numeric = array("bigint", "decimal", "int", "smallint", "tinyint", "float"); - $typeNumeric = in_array($typeDonnee, $tab_numeric); - - ?> - - - - - - - - - - - - - - - - - - -
Types
- - - - - - - -
" disabled >
-
- -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteevolspmois/index.php b/radiantproduction/Vue/Ajaxenteteevolspmois/index.php deleted file mode 100644 index 2bcb44c..0000000 --- a/radiantproduction/Vue/Ajaxenteteevolspmois/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteevolspmoisacq/index.php b/radiantproduction/Vue/Ajaxenteteevolspmoisacq/index.php deleted file mode 100644 index e4fdb3d..0000000 --- a/radiantproduction/Vue/Ajaxenteteevolspmoisacq/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxentetefacturationparclient/index.php b/radiantproduction/Vue/Ajaxentetefacturationparclient/index.php deleted file mode 100644 index b0bd049..0000000 --- a/radiantproduction/Vue/Ajaxentetefacturationparclient/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxentetefacturationpparmois/index.php b/radiantproduction/Vue/Ajaxentetefacturationpparmois/index.php deleted file mode 100644 index 19bcbb0..0000000 --- a/radiantproduction/Vue/Ajaxentetefacturationpparmois/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxentetefamentreedetail/index.php b/radiantproduction/Vue/Ajaxentetefamentreedetail/index.php deleted file mode 100644 index d9a4f7f..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreedetail/index.php +++ /dev/null @@ -1,49 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreedetail/poprecherchecommercial.php b/radiantproduction/Vue/Ajaxentetefamentreedetail/poprecherchecommercial.php deleted file mode 100644 index e1363ee..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreedetail/poprecherchecommercial.php +++ /dev/null @@ -1,38 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrexe/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrexe/index.php deleted file mode 100644 index 9d8129e..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrexe/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpcom/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpcom/index.php deleted file mode 100644 index e8a0aea..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpcom/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpcomech/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpcomech/index.php deleted file mode 100644 index 6131c92..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpcomech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpech/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpech/index.php deleted file mode 100644 index 98ffbc1..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpexeech/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpexeech/index.php deleted file mode 100644 index e06fd20..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpexeech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpfam/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpfam/index.php deleted file mode 100644 index 157ac5b..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpfam/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpper/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpper/index.php deleted file mode 100644 index f6205df..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpper/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamentreegrpperech/index.php b/radiantproduction/Vue/Ajaxentetefamentreegrpperech/index.php deleted file mode 100644 index 8e4985a..0000000 --- a/radiantproduction/Vue/Ajaxentetefamentreegrpperech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiedetail/index.php b/radiantproduction/Vue/Ajaxentetefamsortiedetail/index.php deleted file mode 100644 index c42e48f..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiedetail/index.php +++ /dev/null @@ -1,49 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiedetail/poprecherchecommercial.php b/radiantproduction/Vue/Ajaxentetefamsortiedetail/poprecherchecommercial.php deleted file mode 100644 index e1363ee..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiedetail/poprecherchecommercial.php +++ /dev/null @@ -1,38 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrexe/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrexe/index.php deleted file mode 100644 index c988a1a..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrexe/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpcom/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpcom/index.php deleted file mode 100644 index 9505446..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpcom/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpcomech/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpcomech/index.php deleted file mode 100644 index 470c056..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpcomech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpech/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpech/index.php deleted file mode 100644 index 256764a..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpexeech/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpexeech/index.php deleted file mode 100644 index e14d6f8..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpexeech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpfam/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpfam/index.php deleted file mode 100644 index 6a62aa3..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpfam/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpper/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpper/index.php deleted file mode 100644 index 85269e9..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpper/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetefamsortiegrpperech/index.php b/radiantproduction/Vue/Ajaxentetefamsortiegrpperech/index.php deleted file mode 100644 index 46aeb70..0000000 --- a/radiantproduction/Vue/Ajaxentetefamsortiegrpperech/index.php +++ /dev/null @@ -1,48 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxentetepaiementprestationcumul/index.php b/radiantproduction/Vue/Ajaxentetepaiementprestationcumul/index.php deleted file mode 100644 index 7d13c56..0000000 --- a/radiantproduction/Vue/Ajaxentetepaiementprestationcumul/index.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxentetepaiementprestationdet/index.php b/radiantproduction/Vue/Ajaxentetepaiementprestationdet/index.php deleted file mode 100644 index 5e3a351..0000000 --- a/radiantproduction/Vue/Ajaxentetepaiementprestationdet/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteprodparclient/index.php b/radiantproduction/Vue/Ajaxenteteprodparclient/index.php deleted file mode 100644 index ed8ab35..0000000 --- a/radiantproduction/Vue/Ajaxenteteprodparclient/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteprodparemission/index.php b/radiantproduction/Vue/Ajaxenteteprodparemission/index.php deleted file mode 100644 index ca72285..0000000 --- a/radiantproduction/Vue/Ajaxenteteprodparemission/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteprodparmois/index.php b/radiantproduction/Vue/Ajaxenteteprodparmois/index.php deleted file mode 100644 index 530b198..0000000 --- a/radiantproduction/Vue/Ajaxenteteprodparmois/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteprodparmoiseclate/index.php b/radiantproduction/Vue/Ajaxenteteprodparmoiseclate/index.php deleted file mode 100644 index 1e603e8..0000000 --- a/radiantproduction/Vue/Ajaxenteteprodparmoiseclate/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteprodparmoiseclateclient/index.php b/radiantproduction/Vue/Ajaxenteteprodparmoiseclateclient/index.php deleted file mode 100644 index 12b50f7..0000000 --- a/radiantproduction/Vue/Ajaxenteteprodparmoiseclateclient/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteteproductionagences/index.php b/radiantproduction/Vue/Ajaxenteteproductionagences/index.php deleted file mode 100644 index 92d46bf..0000000 --- a/radiantproduction/Vue/Ajaxenteteproductionagences/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteterechercheemission/index.php b/radiantproduction/Vue/Ajaxenteterechercheemission/index.php deleted file mode 100644 index c36afe8..0000000 --- a/radiantproduction/Vue/Ajaxenteterechercheemission/index.php +++ /dev/null @@ -1,22 +0,0 @@ -
-
- - - - - - - - - - -
- -
-
- -
- -
-
diff --git a/radiantproduction/Vue/Ajaxenteterechercheencaissement/index.php b/radiantproduction/Vue/Ajaxenteterechercheencaissement/index.php deleted file mode 100644 index 789f5c7..0000000 --- a/radiantproduction/Vue/Ajaxenteterechercheencaissement/index.php +++ /dev/null @@ -1,22 +0,0 @@ -
-
- - - - - - - - - - -
- -
-
- -
- -
-
diff --git a/radiantproduction/Vue/Ajaxenteterecherchefacturesfeuille/index.php b/radiantproduction/Vue/Ajaxenteterecherchefacturesfeuille/index.php deleted file mode 100644 index 0e1a237..0000000 --- a/radiantproduction/Vue/Ajaxenteterecherchefacturesfeuille/index.php +++ /dev/null @@ -1,21 +0,0 @@ -
-
- - - - - - - - - - -
- -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxenteterecherchequittance/index.php b/radiantproduction/Vue/Ajaxenteterecherchequittance/index.php deleted file mode 100644 index dc4608f..0000000 --- a/radiantproduction/Vue/Ajaxenteterecherchequittance/index.php +++ /dev/null @@ -1,22 +0,0 @@ -
-
- - - - - - - - - - -
- -
-
- -
- -
-
diff --git a/radiantproduction/Vue/Ajaxentetesituationclients/index.php b/radiantproduction/Vue/Ajaxentetesituationclients/index.php deleted file mode 100644 index 17fe668..0000000 --- a/radiantproduction/Vue/Ajaxentetesituationclients/index.php +++ /dev/null @@ -1,27 +0,0 @@ -
- - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatcumulmois/index.php b/radiantproduction/Vue/Ajaxetatcumulmois/index.php deleted file mode 100644 index bf237e3..0000000 --- a/radiantproduction/Vue/Ajaxetatcumulmois/index.php +++ /dev/null @@ -1,315 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($cumulprestataire['codePrestataire']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($cumulprestataires_total['mt_01'])) ?>nettoyer($cumulprestataires_total['nb_01'])) ?>nettoyer($cumulprestataires_total['moy_01'])) ?>nettoyer($cumulprestataires_total['mt_02'])) ?>nettoyer($cumulprestataires_total['nb_02'])) ?>nettoyer($cumulprestataires_total['moy_02'])) ?>nettoyer($cumulprestataires_total['mt_03'])) ?>nettoyer($cumulprestataires_total['nb_03'])) ?>nettoyer($cumulprestataires_total['moy_03'])) ?>nettoyer($cumulprestataires_total['mt_04'])) ?>nettoyer($cumulprestataires_total['nb_04'])) ?>nettoyer($cumulprestataires_total['moy_04'])) ?>nettoyer($cumulprestataires_total['mt_05'])) ?>nettoyer($cumulprestataires_total['nb_05'])) ?>nettoyer($cumulprestataires_total['moy_05'])) ?>nettoyer($cumulprestataires_total['mt_06'])) ?>nettoyer($cumulprestataires_total['nb_06'])) ?>nettoyer($cumulprestataires_total['moy_06'])) ?>nettoyer($cumulprestataires_total['mt_07'])) ?>nettoyer($cumulprestataires_total['nb_07'])) ?>nettoyer($cumulprestataires_total['moy_07'])) ?>nettoyer($cumulprestataires_total['mt_08'])) ?>nettoyer($cumulprestataires_total['nb_08'])) ?>nettoyer($cumulprestataires_total['moy_08'])) ?>nettoyer($cumulprestataires_total['mt_09'])) ?>nettoyer($cumulprestataires_total['nb_09'])) ?>nettoyer($cumulprestataires_total['moy_09'])) ?>nettoyer($cumulprestataires_total['mt_10'])) ?>nettoyer($cumulprestataires_total['nb_10'])) ?>nettoyer($cumulprestataires_total['moy_10'])) ?>nettoyer($cumulprestataires_total['mt_11'])) ?>nettoyer($cumulprestataires_total['nb_11'])) ?>nettoyer($cumulprestataires_total['moy_11'])) ?>nettoyer($cumulprestataires_total['mt_12'])) ?>nettoyer($cumulprestataires_total['nb_12'])) ?>nettoyer($cumulprestataires_total['moy_12'])) ?>nettoyer($cumulprestataires_total['mt_an'])) ?>nettoyer($cumulprestataires_total['nb_an'])) ?>nettoyer($cumulprestataires_total['moy_an'])) ?>
Total
Total nettoyer($cumulprestataires_total['mt_01'])) ?>nettoyer($cumulprestataires_total['nb_01'])) ?>nettoyer($cumulprestataires_total['moy_01'])) ?>nettoyer($cumulprestataires_total['mt_02'])) ?>nettoyer($cumulprestataires_total['nb_02'])) ?>nettoyer($cumulprestataires_total['moy_02'])) ?>nettoyer($cumulprestataires_total['mt_03'])) ?>nettoyer($cumulprestataires_total['nb_03'])) ?>nettoyer($cumulprestataires_total['moy_03'])) ?>nettoyer($cumulprestataires_total['mt_04'])) ?>nettoyer($cumulprestataires_total['nb_04'])) ?>nettoyer($cumulprestataires_total['moy_04'])) ?>nettoyer($cumulprestataires_total['mt_05'])) ?>nettoyer($cumulprestataires_total['nb_05'])) ?>nettoyer($cumulprestataires_total['moy_05'])) ?>nettoyer($cumulprestataires_total['mt_06'])) ?>nettoyer($cumulprestataires_total['nb_06'])) ?>nettoyer($cumulprestataires_total['moy_06'])) ?>nettoyer($cumulprestataires_total['mt_07'])) ?>nettoyer($cumulprestataires_total['nb_07'])) ?>nettoyer($cumulprestataires_total['moy_07'])) ?>nettoyer($cumulprestataires_total['mt_08'])) ?>nettoyer($cumulprestataires_total['nb_08'])) ?>nettoyer($cumulprestataires_total['moy_08'])) ?>nettoyer($cumulprestataires_total['mt_09'])) ?>nettoyer($cumulprestataires_total['nb_09'])) ?>nettoyer($cumulprestataires_total['moy_09'])) ?>nettoyer($cumulprestataires_total['mt_10'])) ?>nettoyer($cumulprestataires_total['nb_10'])) ?>nettoyer($cumulprestataires_total['moy_10'])) ?>nettoyer($cumulprestataires_total['mt_11'])) ?>nettoyer($cumulprestataires_total['nb_11'])) ?>nettoyer($cumulprestataires_total['moy_11'])) ?>nettoyer($cumulprestataires_total['mt_12'])) ?>nettoyer($cumulprestataires_total['nb_12'])) ?>nettoyer($cumulprestataires_total['moy_12'])) ?>nettoyer($cumulprestataires_total['mt_an'])) ?>nettoyer($cumulprestataires_total['nb_an'])) ?>nettoyer($cumulprestataires_total['moy_an'])) ?>
nettoyer($cumulprestataire['prestataire']) ?>nettoyer($cumulprestataire['mt_01'])) ?>nettoyer($cumulprestataire['nb_01'])) ?> - - nettoyer($cumulprestataire['mt_02'])) ?>nettoyer($cumulprestataire['nb_02'])) ?> - - nettoyer($cumulprestataire['mt_03'])) ?>nettoyer($cumulprestataire['nb_03'])) ?> - - nettoyer($cumulprestataire['mt_04'])) ?>nettoyer($cumulprestataire['nb_04'])) ?> - - nettoyer($cumulprestataire['mt_05'])) ?>nettoyer($cumulprestataire['nb_05'])) ?> - - nettoyer($cumulprestataire['mt_06'])) ?>nettoyer($cumulprestataire['nb_06'])) ?> - - nettoyer($cumulprestataire['mt_07'])) ?>nettoyer($cumulprestataire['nb_07'])) ?> - - nettoyer($cumulprestataire['mt_08'])) ?>nettoyer($cumulprestataire['nb_08'])) ?> - - nettoyer($cumulprestataire['mt_09'])) ?>nettoyer($cumulprestataire['nb_09'])) ?> - - nettoyer($cumulprestataire['mt_10'])) ?>nettoyer($cumulprestataire['nb_10'])) ?> - - nettoyer($cumulprestataire['mt_11'])) ?>nettoyer($cumulprestataire['nb_11'])) ?> - - nettoyer($cumulprestataire['mt_12'])) ?>nettoyer($cumulprestataire['nb_12'])) ?> - - nettoyer($cumulprestataire['mt_an'])) ?>nettoyer($cumulprestataire['nb_an'])) ?>nettoyer($cumulprestataire['moy_an'])) ?>
- - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatcumulprestataire/index.php b/radiantproduction/Vue/Ajaxetatcumulprestataire/index.php deleted file mode 100644 index 96f5247..0000000 --- a/radiantproduction/Vue/Ajaxetatcumulprestataire/index.php +++ /dev/null @@ -1,84 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($cumulprestataire['codePrestataire']); - $nbligne++; - ?> - - - - - - - - - - -
Total nettoyer($cumulprestataires_total['montantApayer_total'])) ?> nettoyer($cumulprestataires_total['nbFactures_total'])) ?> nettoyer($cumulprestataires_total['moyenne_total'])) ?>
Type
Total nettoyer($cumulprestataires_total['montantApayer_total'])) ?> nettoyer($cumulprestataires_total['nbFactures_total'])) ?> nettoyer($cumulprestataires_total['moyenne_total'])) ?>
nettoyer($cumulprestataire['typeprestataire']) ?>nettoyer($cumulprestataire['prestataire']) ?>nettoyer($cumulprestataire['montantApayer'])) ?>nettoyer($cumulprestataire['nbFactures'])) ?>nettoyer($cumulprestataire['moyenne'])) ?> - " onClick="javascript:afficher_detail_stat_prestataire('');" style='font-size:8pt;' > -
- - - - -
- diff --git a/radiantproduction/Vue/Ajaxetatcumultypeprestataire/index.php b/radiantproduction/Vue/Ajaxetatcumultypeprestataire/index.php deleted file mode 100644 index 1f73edb..0000000 --- a/radiantproduction/Vue/Ajaxetatcumultypeprestataire/index.php +++ /dev/null @@ -1,74 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($cumulprestataire['codeReseau']); - $nbligne++; - ?> - - - - - - - - - -
Total nettoyer($cumulprestataires_total['montantApayer_total'])) ?> nettoyer($cumulprestataires_total['nbFactures_total'])) ?> nettoyer($cumulprestataires_total['moyenne_total'])) ?>
nettoyer($cumulprestataire['typeprestataire']) ?>nettoyer($cumulprestataire['montantApayer'])) ?>nettoyer($cumulprestataire['nbFactures'])) ?>nettoyer($cumulprestataire['moyenne'])) ?> - " onClick="javascript:afficher_detail_stat_type_prestataire('');" style='font-size:7pt;' > -
- - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatentetecumulmois/index.php b/radiantproduction/Vue/Ajaxetatentetecumulmois/index.php deleted file mode 100644 index 2395ef4..0000000 --- a/radiantproduction/Vue/Ajaxetatentetecumulmois/index.php +++ /dev/null @@ -1,29 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatentetecumulprestataire/index.php b/radiantproduction/Vue/Ajaxetatentetecumulprestataire/index.php deleted file mode 100644 index bb03eff..0000000 --- a/radiantproduction/Vue/Ajaxetatentetecumulprestataire/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatentetecumultypeprestataire/index.php b/radiantproduction/Vue/Ajaxetatentetecumultypeprestataire/index.php deleted file mode 100644 index a3c0b5f..0000000 --- a/radiantproduction/Vue/Ajaxetatentetecumultypeprestataire/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxetatentetefacture/index.php b/radiantproduction/Vue/Ajaxetatentetefacture/index.php deleted file mode 100644 index aeb6c6c..0000000 --- a/radiantproduction/Vue/Ajaxetatentetefacture/index.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatentetemoycategmedprestataire/index.php b/radiantproduction/Vue/Ajaxetatentetemoycategmedprestataire/index.php deleted file mode 100644 index 5315e7a..0000000 --- a/radiantproduction/Vue/Ajaxetatentetemoycategmedprestataire/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - -
- -
- -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxetatentetepolicesnonren/index.php b/radiantproduction/Vue/Ajaxetatentetepolicesnonren/index.php deleted file mode 100644 index e867bce..0000000 --- a/radiantproduction/Vue/Ajaxetatentetepolicesnonren/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportsp/index.php b/radiantproduction/Vue/Ajaxetatenteterapportsp/index.php deleted file mode 100644 index 9a32eeb..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportsp/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspadheleve/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspadheleve/index.php deleted file mode 100644 index 14a107a..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspadheleve/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspcat/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspcat/index.php deleted file mode 100644 index 5eae571..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspcat/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspcatdet/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspcatdet/index.php deleted file mode 100644 index 53bf5e0..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspcatdet/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspcatgp/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspcatgp/index.php deleted file mode 100644 index 5eae571..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspcatgp/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspcatgpdet/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspcatgpdet/index.php deleted file mode 100644 index 53bf5e0..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspcatgpdet/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspexercice/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspexercice/index.php deleted file mode 100644 index 9c1a386..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspexercice/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspexercicecat/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspexercicecat/index.php deleted file mode 100644 index a2333f0..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspexercicecat/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspexercicecatdate/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspexercicecatdate/index.php deleted file mode 100644 index 0d272c0..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspexercicecatdate/index.php +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - -
Début - -
- - -
-
- -
-
- diff --git a/radiantproduction/Vue/Ajaxetatenteterapportspexo/index.php b/radiantproduction/Vue/Ajaxetatenteterapportspexo/index.php deleted file mode 100644 index 755c92a..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportspexo/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportsppolcat/index.php b/radiantproduction/Vue/Ajaxetatenteterapportsppolcat/index.php deleted file mode 100644 index 8ad7710..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportsppolcat/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatenteterapportsppolcatdet/index.php b/radiantproduction/Vue/Ajaxetatenteterapportsppolcatdet/index.php deleted file mode 100644 index 88c53ab..0000000 --- a/radiantproduction/Vue/Ajaxetatenteterapportsppolcatdet/index.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - - - - - - - - - - - - - -
- - - - -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxetatmoycategmedprestataire/index.php b/radiantproduction/Vue/Ajaxetatmoycategmedprestataire/index.php deleted file mode 100644 index 255264d..0000000 --- a/radiantproduction/Vue/Ajaxetatmoycategmedprestataire/index.php +++ /dev/null @@ -1,44 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($cumulprestataires_total['nbTotal'])) ?> nettoyer($cumulprestataires_total['montantApayerTotal'])) ?> nettoyer($cumulprestataires_total['moyenneTotal'])) ?>
nettoyer($cumulprestataire['categorieMedecin']) ?>nettoyer($cumulprestataire['categoriePrestataire']) ?>nettoyer($cumulprestataire['prestataire']) ?>nettoyer($cumulprestataire['nbCas'])) ?>nettoyer($cumulprestataire['montantApayer'])) ?>nettoyer($cumulprestataire['moyenne'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatpolicesnonren/index.php b/radiantproduction/Vue/Ajaxetatpolicesnonren/index.php deleted file mode 100644 index 886c0aa..0000000 --- a/radiantproduction/Vue/Ajaxetatpolicesnonren/index.php +++ /dev/null @@ -1,33 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($rapportsp['nomClient']) ?>nettoyer($rapportsp['numeroClient']) ?>nettoyer($rapportsp['idPolice']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateEcheance'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportsp/index.php b/radiantproduction/Vue/Ajaxetatrapportsp/index.php deleted file mode 100644 index 60e999b..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportsp/index.php +++ /dev/null @@ -1,158 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $idPolice = $this->nettoyer($rapportsp['idPolice']); - $emailRapport = $this->nettoyer($rapportsp['email']); - $limiteConsommation = $this->nettoyer($rapportsp['limiteConsommation']); - - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - - - - - - - - - -
Total
Total
nettoyer($rapportsp['souscripteur']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['codeTypeContrat']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateFin'])) ?>nettoyer($rapportsp['d_acq']) ?>nettoyer($rapportsp['primeAnnuelle'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?>nettoyer($rapportsp['rapportSpAn']) ?> - - "0.00"): ?> - " onClick="javascript:afficher_detail_stat_police('', '');" style='font-size:8pt;' > - - " onClick="javascript:afficher_detail_stat_police('', '');" style='font-size:8pt;' > - - -
- - - - -
- diff --git a/radiantproduction/Vue/Ajaxetatrapportspadheleve/index.php b/radiantproduction/Vue/Ajaxetatrapportspadheleve/index.php deleted file mode 100644 index 7f37869..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspadheleve/index.php +++ /dev/null @@ -1,110 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['idAdherent']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - -
Total
nettoyer($rapportsp['souscripteur']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['numeroAdherent']) ?>nettoyer($rapportsp['adherent']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateFin'])) ?>nettoyer($rapportsp['d_acq']) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?> - " onClick="javascript:afficher_detail_factures_famille('');" style='font-size:8pt;' > -
- - - - -
- diff --git a/radiantproduction/Vue/Ajaxetatrapportspcat/index.php b/radiantproduction/Vue/Ajaxetatrapportspcat/index.php deleted file mode 100644 index eb03eb4..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspcat/index.php +++ /dev/null @@ -1,43 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - -
Total
nettoyer($rapportsp['categorie']) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportspcatdet/index.php b/radiantproduction/Vue/Ajaxetatrapportspcatdet/index.php deleted file mode 100644 index 69789c9..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspcatdet/index.php +++ /dev/null @@ -1,80 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - - ="80"): ?> - - - - - - - - - - - - - - - - - - - - - - - - -
Total
nettoyer($rapportsp['categorie']) ?>nettoyer($rapportsp['nbAdh']) ?>nettoyer($rapportsp['nbBenef']) ?>nettoyer($rapportsp['moyBenef']) ?>nettoyer($rapportsp['primeNetteCat'])) ?>nettoyer($rapportsp['primeAdh'])) ?>nettoyer($rapportsp['primeBenef'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['prime_adh_opt'])) ?>nettoyer($rapportsp['prime_adh_opt_cumul'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportspcatgp/index.php b/radiantproduction/Vue/Ajaxetatrapportspcatgp/index.php deleted file mode 100644 index eb03eb4..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspcatgp/index.php +++ /dev/null @@ -1,43 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - -
Total
nettoyer($rapportsp['categorie']) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportspcatgpdet/index.php b/radiantproduction/Vue/Ajaxetatrapportspcatgpdet/index.php deleted file mode 100644 index 69789c9..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspcatgpdet/index.php +++ /dev/null @@ -1,80 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - - ="80"): ?> - - - - - - - - - - - - - - - - - - - - - - - - -
Total
nettoyer($rapportsp['categorie']) ?>nettoyer($rapportsp['nbAdh']) ?>nettoyer($rapportsp['nbBenef']) ?>nettoyer($rapportsp['moyBenef']) ?>nettoyer($rapportsp['primeNetteCat'])) ?>nettoyer($rapportsp['primeAdh'])) ?>nettoyer($rapportsp['primeBenef'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['prime_adh_opt'])) ?>nettoyer($rapportsp['prime_adh_opt_cumul'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportspexercice/index.php b/radiantproduction/Vue/Ajaxetatrapportspexercice/index.php deleted file mode 100644 index fc1bfbc..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspexercice/index.php +++ /dev/null @@ -1,116 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $idPolice = $this->nettoyer($rapportsp['idPolice']); - $debutSinistre = $this->nettoyer($rapportsp['debutSinistre']); - $finSinistre = $this->nettoyer($rapportsp['finSinistre']); - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - - - - - - - - -
Total
Total
nettoyer($rapportsp['souscripteur']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['typecontrat']) ?>nettoyer($rapportsp['primeAnnuelle'])) ?>nettoyer($rapportsp['debutSinistre'])) ?>nettoyer($rapportsp['finSinistre'])) ?>nettoyer($rapportsp['dureeAnalyse']) ?>nettoyer($rapportsp['primeAcquise'])) ?>nettoyer($rapportsp['sinistres'])) ?>nettoyer($rapportsp['rapportSp']) ?> - " onClick="javascript:afficher_detail_stat_police_exercice('', '', '');" style='font-size:8pt;' > -
- - - - -
- diff --git a/radiantproduction/Vue/Ajaxetatrapportspexercicecat/index.php b/radiantproduction/Vue/Ajaxetatrapportspexercicecat/index.php deleted file mode 100644 index 3779048..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspexercicecat/index.php +++ /dev/null @@ -1,91 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Total
nettoyer($rapportsp['categorie']) ?>nettoyer($rapportsp['debutSinistre'])) ?>nettoyer($rapportsp['finSinistre'])) ?>nettoyer($rapportsp['dureeAnalyse']) ?>nettoyer($rapportsp['nbPolice'])) ?>nettoyer($rapportsp['nbAdherent'])) ?>nettoyer($rapportsp['nbBeneficiaire'])) ?>nettoyer($rapportsp['primeAnnuelle'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?>
- -
- diff --git a/radiantproduction/Vue/Ajaxetatrapportspexercicecatdate/index.php b/radiantproduction/Vue/Ajaxetatrapportspexercicecatdate/index.php deleted file mode 100644 index 409daf5..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspexercicecatdate/index.php +++ /dev/null @@ -1,76 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - - - - - - - - - - - -
Total
Total
nettoyer($rapportsp['categorie']) ?>nettoyer($rapportsp['debutSinistre'])) ?>nettoyer($rapportsp['finSinistre'])) ?>nettoyer($rapportsp['dureeAnalyse']) ?>nettoyer($rapportsp['nbPolice'])) ?>nettoyer($rapportsp['nbAdherent'])) ?>nettoyer($rapportsp['nbBeneficiaire'])) ?>nettoyer($rapportsp['primeAnnuelle'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?>
- -
- diff --git a/radiantproduction/Vue/Ajaxetatrapportspexo/index.php b/radiantproduction/Vue/Ajaxetatrapportspexo/index.php deleted file mode 100644 index 00054f0..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportspexo/index.php +++ /dev/null @@ -1,53 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - ="80"): ?> - - - - - - - - - - - - - - - - -
Total
nettoyer($rapportsp['souscripteur']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['exercice']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateFin'])) ?>nettoyer($rapportsp['d_acq']) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['rapportSp']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportsppolcat/index.php b/radiantproduction/Vue/Ajaxetatrapportsppolcat/index.php deleted file mode 100644 index b6ed166..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportsppolcat/index.php +++ /dev/null @@ -1,53 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - - ="80"): ?> - - - - - - - - - - - - - - - - -
Total
nettoyer($rapportsp['souscripteur']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['codeProduit']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateFin'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxetatrapportsppolcatdet/index.php b/radiantproduction/Vue/Ajaxetatrapportsppolcatdet/index.php deleted file mode 100644 index 8d77c7d..0000000 --- a/radiantproduction/Vue/Ajaxetatrapportsppolcatdet/index.php +++ /dev/null @@ -1,93 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($rapportsp['rapportSp']); - $nbligne++; - ?> - - ="80"): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
nettoyer($rapportsp['souscripteur']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['codeProduit']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateFin'])) ?>nettoyer($rapportsp['d_acq']) ?>nettoyer($rapportsp['nbAdh']) ?>nettoyer($rapportsp['nbBenef']) ?>nettoyer($rapportsp['moyBenef']) ?>nettoyer($rapportsp['primeNetteCat'])) ?>nettoyer($rapportsp['primeAdh'])) ?>nettoyer($rapportsp['primeBenef'])) ?>nettoyer($rapportsp['primeAnalyse'])) ?>nettoyer($rapportsp['montantApayer'])) ?>nettoyer($rapportsp['prime_adh_opt'])) ?>nettoyer($rapportsp['prime_adh_opt_cumul'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxevolspmois/index.php b/radiantproduction/Vue/Ajaxevolspmois/index.php deleted file mode 100644 index fdacab8..0000000 --- a/radiantproduction/Vue/Ajaxevolspmois/index.php +++ /dev/null @@ -1,90 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ex Rub Tot Ex
nettoyer($donnee['exercice']) ?> nettoyer($donnee['prime_1'])) ?>nettoyer($donnee['prime_2'])) ?>nettoyer($donnee['prime_3'])) ?>nettoyer($donnee['prime_4'])) ?>nettoyer($donnee['prime_5'])) ?>nettoyer($donnee['prime_6'])) ?>nettoyer($donnee['prime_7'])) ?>nettoyer($donnee['prime_8'])) ?>nettoyer($donnee['prime_9'])) ?>nettoyer($donnee['prime_10'])) ?>nettoyer($donnee['prime_11'])) ?>nettoyer($donnee['prime_12'])) ?>nettoyer($donnee['prime_an'])) ?>nettoyer($donnee['prime_cumul'])) ?>
nettoyer($donnee['sin_1'])) ?>nettoyer($donnee['sin_2'])) ?>nettoyer($donnee['sin_3'])) ?>nettoyer($donnee['sin_4'])) ?>nettoyer($donnee['sin_5'])) ?>nettoyer($donnee['sin_6'])) ?>nettoyer($donnee['sin_7'])) ?>nettoyer($donnee['sin_8'])) ?>nettoyer($donnee['sin_9'])) ?>nettoyer($donnee['sin_10'])) ?>nettoyer($donnee['sin_11'])) ?>nettoyer($donnee['sin_12'])) ?>nettoyer($donnee['sin_an'])) ?>nettoyer($donnee['sin_cumul'])) ?>
nettoyer($donnee['sp_an']) ?>nettoyer($donnee['sp_cumul']) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxevolspmoisacq/index.php b/radiantproduction/Vue/Ajaxevolspmoisacq/index.php deleted file mode 100644 index bafdb33..0000000 --- a/radiantproduction/Vue/Ajaxevolspmoisacq/index.php +++ /dev/null @@ -1,89 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ex Rub
nettoyer($donnee['exercice']) ?> nettoyer($donnee['prime_1'])) ?>nettoyer($donnee['prime_2'])) ?>nettoyer($donnee['prime_3'])) ?>nettoyer($donnee['prime_4'])) ?>nettoyer($donnee['prime_5'])) ?>nettoyer($donnee['prime_6'])) ?>nettoyer($donnee['prime_7'])) ?>nettoyer($donnee['prime_8'])) ?>nettoyer($donnee['prime_9'])) ?>nettoyer($donnee['prime_10'])) ?>nettoyer($donnee['prime_11'])) ?>nettoyer($donnee['prime_12'])) ?>
nettoyer($donnee['sin_1'])) ?>nettoyer($donnee['sin_2'])) ?>nettoyer($donnee['sin_3'])) ?>nettoyer($donnee['sin_4'])) ?>nettoyer($donnee['sin_5'])) ?>nettoyer($donnee['sin_6'])) ?>nettoyer($donnee['sin_7'])) ?>nettoyer($donnee['sin_8'])) ?>nettoyer($donnee['sin_9'])) ?>nettoyer($donnee['sin_10'])) ?>nettoyer($donnee['sin_11'])) ?>nettoyer($donnee['sin_12'])) ?>
nettoyer($donnee['sp_1']) ?>nettoyer($donnee['sp_2']) ?>nettoyer($donnee['sp_3']) ?>nettoyer($donnee['sp_4']) ?>nettoyer($donnee['sp_5']) ?>nettoyer($donnee['sp_6']) ?>nettoyer($donnee['sp_7']) ?>nettoyer($donnee['sp_8']) ?>nettoyer($donnee['sp_9']) ?>nettoyer($donnee['sp_10']) ?>nettoyer($donnee['sp_11']) ?>nettoyer($donnee['sp_12']) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxexclureacte/index.php b/radiantproduction/Vue/Ajaxexclureacte/index.php deleted file mode 100644 index 196ecd4..0000000 --- a/radiantproduction/Vue/Ajaxexclureacte/index.php +++ /dev/null @@ -1,38 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($exclusion['libelleCollege']) ?>nettoyer($exclusion['libelleActe']) ?> - - - -
-
diff --git a/radiantproduction/Vue/Ajaxexistancebeneficiaire/index.php b/radiantproduction/Vue/Ajaxexistancebeneficiaire/index.php deleted file mode 100644 index 18e18fd..0000000 --- a/radiantproduction/Vue/Ajaxexistancebeneficiaire/index.php +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/radiantproduction/Vue/Ajaxfacturationparclient/index.php b/radiantproduction/Vue/Ajaxfacturationparclient/index.php deleted file mode 100644 index 2d9c035..0000000 --- a/radiantproduction/Vue/Ajaxfacturationparclient/index.php +++ /dev/null @@ -1,114 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($donnee['etape']); - if (est_anglophone()) - { - $etape = $this->nettoyer($donnee['etapeEng']); - } - $nbligne++; - ?> - - - - - - - - - - - - - - - -
nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['primeHtRenTot'])) ?>nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>nettoyer($donnees_total['encaisseTot'])) ?>nettoyer($donnees_total['soldeTot'])) ?>
- -
nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['primeHtRenTot'])) ?>nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>nettoyer($donnees_total['encaisseTot'])) ?>nettoyer($donnees_total['soldeTot'])) ?>
nettoyer($donnees_total['ratioprimeHtAn']). "%" ?>nettoyer($donnees_total['ratioprimeHtRen']). "%" ?> 100%
nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?>nettoyer($donnees_total['nbPoliceTot'])) ?>
nettoyer($donnees_total['ratioNbPoliceAn']). "%" ?>nettoyer($donnees_total['ratioNbPoliceRen']). "%" ?> 100%
nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['primeHtAn'])) ?>nettoyer($donnee['primeHtRen'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>nettoyer($donnee['encaisse'])) ?>nettoyer($donnee['solde'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxfacturationpparmois/index.php b/radiantproduction/Vue/Ajaxfacturationpparmois/index.php deleted file mode 100644 index 6d24bae..0000000 --- a/radiantproduction/Vue/Ajaxfacturationpparmois/index.php +++ /dev/null @@ -1,135 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?> nettoyer($donnees_total['primeHtRenTot'])) ?> nettoyer($donnees_total['nbPoliceTot'])) ?> nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>nettoyer($donnees_total['encaisseTot'])) ?>nettoyer($donnees_total['soldeTot'])) ?>
- -
Total nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?> nettoyer($donnees_total['primeHtRenTot'])) ?> nettoyer($donnees_total['nbPoliceTot'])) ?> nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>nettoyer($donnees_total['encaisseTot'])) ?>nettoyer($donnees_total['soldeTot'])) ?>
nettoyer($donnees_total['ratioprimenbPoliceAn']) ?>nettoyer($donnees_total['ratioprimeHtAn']) ?>nettoyer($donnees_total['ratioprimenbPoliceRen']) ?>nettoyer($donnees_total['ratioprimeHtRen']) ?> 100 nettoyer($donnees_total['ratioPrimeHt']) ?>nettoyer($donnees_total['ratioaxe']) ?>nettoyer($donnees_total['ratiofraisCarte']) ?> 100
nettoyer($donnee['exercice']) ?>nettoyer($donnee['codeMois']) ?>nettoyer($donnee['nbPoliceAn'])) ?>nettoyer($donnee['primeHtAn'])) ?>nettoyer($donnee['nbPoliceRen'])) ?>nettoyer($donnee['primeHtRen'])) ?>nettoyer($donnee['nbPolice'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>nettoyer($donnee['encaisse'])) ?>nettoyer($donnee['solde'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxfacturecons/feuillemaladie.php b/radiantproduction/Vue/Ajaxfacturecons/feuillemaladie.php deleted file mode 100644 index 9797416..0000000 --- a/radiantproduction/Vue/Ajaxfacturecons/feuillemaladie.php +++ /dev/null @@ -1,136 +0,0 @@ -
- nettoyer($feuillemaladie['codeTypeAffection']); - - $codeAffection = $this->nettoyer($feuillemaladie['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng']); - $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']); - } - else - { - $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']); - $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - " disabled > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - nettoyer($diagnostic['id']); - $supprime = $this->nettoyer($diagnostic['supprime']); - - $codeAffection = $this->nettoyer($diagnostic['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection; - } - else - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection; - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - -
Date Diagnostic User
User Date
nettoyer($diagnostic['dateSysteme'])) ?> nettoyer($diagnostic['codeUtilisateur']) ?> nettoyer($diagnostic['userSuppression']) ?> nettoyer($diagnostic['heueSuppression'])) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxfacturecons/geds.php b/radiantproduction/Vue/Ajaxfacturecons/geds.php deleted file mode 100644 index 5f051df..0000000 --- a/radiantproduction/Vue/Ajaxfacturecons/geds.php +++ /dev/null @@ -1,29 +0,0 @@ -
- -
- - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
- -
diff --git a/radiantproduction/Vue/Ajaxfacturecons/index.php b/radiantproduction/Vue/Ajaxfacturecons/index.php deleted file mode 100644 index 3ef6e8c..0000000 --- a/radiantproduction/Vue/Ajaxfacturecons/index.php +++ /dev/null @@ -1,127 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
E-mail / Tel
Date User
- - - - - - - - - - - - -
- -
diff --git a/radiantproduction/Vue/Ajaxfacturecons/medicaments.php b/radiantproduction/Vue/Ajaxfacturecons/medicaments.php deleted file mode 100644 index 294af75..0000000 --- a/radiantproduction/Vue/Ajaxfacturecons/medicaments.php +++ /dev/null @@ -1,52 +0,0 @@ -
- - - " disabled > - - - - - - - - - - - - - - - - nettoyer($medicament['ententePrealable']); - $libelleMedicament = $this->nettoyer($medicament['libelleMedicament']); - $codeMedicament = $this->nettoyer($medicament['codeMedicament']); - - if($actVisible!="1") - { - $libelleMedicament = $codeMedicament; - } - ?> - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($medicament['dateSysteme'])) ?> nettoyer($medicament['valeurActe'])) ?> nettoyer($medicament['quantite']) ?> nettoyer($medicament['fraisReel'])) ?> nettoyer($medicament['montantTm'])) ?> nettoyer($medicament['montantArembourser'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturecons/prestationactes.php b/radiantproduction/Vue/Ajaxfacturecons/prestationactes.php deleted file mode 100644 index 5a8deb2..0000000 --- a/radiantproduction/Vue/Ajaxfacturecons/prestationactes.php +++ /dev/null @@ -1,66 +0,0 @@ -
- - - " disabled > - - - - - - - - - - - - - - - - - - nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - - $codeActe = $this->nettoyer($prestation['codeActe']); - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - - if($actVisible!="1") - { - $libelleActe = $codeActe; - } - ?> - - - - - - - - - - - - - - - - - - - - - -
Date Val
nettoyer($prestation['dateSysteme'])) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['valide']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturecons/verres.php b/radiantproduction/Vue/Ajaxfacturecons/verres.php deleted file mode 100644 index e50c6a6..0000000 --- a/radiantproduction/Vue/Ajaxfacturecons/verres.php +++ /dev/null @@ -1,35 +0,0 @@ -
- - - " disabled > - - - - - - - - - - - - nettoyer($verre['libelleVerre']); - $codeOptique = $this->nettoyer($verre['codeOptique']); - - if($actVisible!="1") - { - $libelleVerre = $codeOptique; - } - ?> - - - - - - - -
Date
nettoyer($verre['dateSysteme'])) ?> nettoyer($verre['valeurActe'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfactureconspop/feuillemaladie.php b/radiantproduction/Vue/Ajaxfactureconspop/feuillemaladie.php deleted file mode 100644 index 321b35d..0000000 --- a/radiantproduction/Vue/Ajaxfactureconspop/feuillemaladie.php +++ /dev/null @@ -1,134 +0,0 @@ -
- nettoyer($feuillemaladie['codeTypeAffection']); - - $codeAffection = $this->nettoyer($feuillemaladie['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng']); - $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']); - } - else - { - $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']); - $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - " disabled > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - nettoyer($diagnostic['id']); - $supprime = $this->nettoyer($diagnostic['supprime']); - - $codeAffection = $this->nettoyer($diagnostic['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection; - } - else - { - $libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection; - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - -
Date Diagnostic User
User Date
nettoyer($diagnostic['dateSysteme'])) ?> nettoyer($diagnostic['codeUtilisateur']) ?> nettoyer($diagnostic['userSuppression']) ?> nettoyer($diagnostic['heueSuppression'])) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxfactureconspop/geds.php b/radiantproduction/Vue/Ajaxfactureconspop/geds.php deleted file mode 100644 index 5f051df..0000000 --- a/radiantproduction/Vue/Ajaxfactureconspop/geds.php +++ /dev/null @@ -1,29 +0,0 @@ -
- -
- - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
- -
diff --git a/radiantproduction/Vue/Ajaxfactureconspop/index.php b/radiantproduction/Vue/Ajaxfactureconspop/index.php deleted file mode 100644 index daee010..0000000 --- a/radiantproduction/Vue/Ajaxfactureconspop/index.php +++ /dev/null @@ -1,127 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
E-mail / Tel
Date User
- - - - - - - - - - - - -
- -
diff --git a/radiantproduction/Vue/Ajaxfactureconspop/medicaments.php b/radiantproduction/Vue/Ajaxfactureconspop/medicaments.php deleted file mode 100644 index eb8774e..0000000 --- a/radiantproduction/Vue/Ajaxfactureconspop/medicaments.php +++ /dev/null @@ -1,52 +0,0 @@ -
- - - " disabled > - - - - - - - - - - - - - - - - nettoyer($medicament['ententePrealable']); - $libelleMedicament = $this->nettoyer($medicament['libelleMedicament']); - $codeMedicament = $this->nettoyer($medicament['codeMedicament']); - - if($actVisible!="1") - { - $libelleMedicament = $codeMedicament; - } - ?> - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($medicament['dateSysteme'])) ?> nettoyer($medicament['valeurActe'])) ?> nettoyer($medicament['quantite']) ?> nettoyer($medicament['fraisReel'])) ?> nettoyer($medicament['montantTm'])) ?> nettoyer($medicament['montantArembourser'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfactureconspop/prestationactes.php b/radiantproduction/Vue/Ajaxfactureconspop/prestationactes.php deleted file mode 100644 index 20c3665..0000000 --- a/radiantproduction/Vue/Ajaxfactureconspop/prestationactes.php +++ /dev/null @@ -1,66 +0,0 @@ -
- - - " disabled > - - - - - - - - - - - - - - - - - - nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - - $codeActe = $this->nettoyer($prestation['codeActe']); - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - - if($actVisible!="1") - { - $libelleActe = $codeActe; - } - ?> - - - - - - - - - - - - - - - - - - - - - -
Date Val
nettoyer($prestation['dateSysteme'])) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['valide']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfactureconspop/verres.php b/radiantproduction/Vue/Ajaxfactureconspop/verres.php deleted file mode 100644 index b48a6c0..0000000 --- a/radiantproduction/Vue/Ajaxfactureconspop/verres.php +++ /dev/null @@ -1,35 +0,0 @@ -
- - - " disabled > - - - - - - - - - - - - nettoyer($verre['libelleVerre']); - $codeOptique = $this->nettoyer($verre['codeOptique']); - - if($actVisible!="1") - { - $libelleVerre = $codeOptique; - } - ?> - - - - - - - -
Date
nettoyer($verre['dateSysteme'])) ?> nettoyer($verre['valeurActe'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturegccons/index.php b/radiantproduction/Vue/Ajaxfacturegccons/index.php deleted file mode 100644 index 333118f..0000000 --- a/radiantproduction/Vue/Ajaxfacturegccons/index.php +++ /dev/null @@ -1,37 +0,0 @@ -
- - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $idTemp=$this->nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - -
Date
nettoyer($gc['dateFacture'])) ?>nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>nettoyer($gc['montantApayer'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfacturegcnonsel/index.php b/radiantproduction/Vue/Ajaxfacturegcnonsel/index.php deleted file mode 100644 index 096d42d..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcnonsel/index.php +++ /dev/null @@ -1,61 +0,0 @@ -
-titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $idTemp=$this->nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateFacture'])) ?>nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>nettoyer($gc['montantApayer'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfacturegcnonsel/reafficher.php b/radiantproduction/Vue/Ajaxfacturegcnonsel/reafficher.php deleted file mode 100644 index 096d42d..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcnonsel/reafficher.php +++ /dev/null @@ -1,61 +0,0 @@ -
-titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $idTemp=$this->nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateFacture'])) ?>nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>nettoyer($gc['montantApayer'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfacturegcnonsel/validerselection.php b/radiantproduction/Vue/Ajaxfacturegcnonsel/validerselection.php deleted file mode 100644 index efea6a4..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcnonsel/validerselection.php +++ /dev/null @@ -1,70 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxfacturegcnonselentete/index.php b/radiantproduction/Vue/Ajaxfacturegcnonselentete/index.php deleted file mode 100644 index 7f901ca..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcnonselentete/index.php +++ /dev/null @@ -1,38 +0,0 @@ -
- -titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxfacturegcsel/index.php b/radiantproduction/Vue/Ajaxfacturegcsel/index.php deleted file mode 100644 index d4fa592..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcsel/index.php +++ /dev/null @@ -1,81 +0,0 @@ -
- -titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $idTemp=$this->nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateFacture'])) ?>nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>nettoyer($gc['montantApayer'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfacturegcsel/reafficher.php b/radiantproduction/Vue/Ajaxfacturegcsel/reafficher.php deleted file mode 100644 index 3edb745..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcsel/reafficher.php +++ /dev/null @@ -1,79 +0,0 @@ -
- -titre = "INTER-SANTE - Facturation Gestion confiée"; - $valideAs = $this->nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $idTemp=$this->nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - - - - -
Date
- -
nettoyer($gc['dateFacture'])) ?>nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfacturegcsel/validerselection.php b/radiantproduction/Vue/Ajaxfacturegcsel/validerselection.php deleted file mode 100644 index e41aca9..0000000 --- a/radiantproduction/Vue/Ajaxfacturegcsel/validerselection.php +++ /dev/null @@ -1,69 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxfacturerpolice/afficherecheancierfacturation.php b/radiantproduction/Vue/Ajaxfacturerpolice/afficherecheancierfacturation.php deleted file mode 100644 index 36eb750..0000000 --- a/radiantproduction/Vue/Ajaxfacturerpolice/afficherecheancierfacturation.php +++ /dev/null @@ -1,114 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($echeancier['id']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($total_echeancier['tauxEcheance']) ?> nettoyer($total_echeancier['primeTtcInitial'])) ?> nettoyer($total_echeancier['interet'])) ?>nettoyer($total_echeancier['primeTtc'])) ?>
nettoyer($echeancier['ordreEcheance']) ?> - - - - - - - nettoyer($echeancier['primeTtcInitial'])) ?>nettoyer($echeancier['tauxInteret']) ?>nettoyer($echeancier['interet'])) ?>nettoyer($echeancier['primeTtc'])) ?>
-
- -
diff --git a/radiantproduction/Vue/Ajaxfacturerpolice/getnbecheancier.php b/radiantproduction/Vue/Ajaxfacturerpolice/getnbecheancier.php deleted file mode 100644 index f132edd..0000000 --- a/radiantproduction/Vue/Ajaxfacturerpolice/getnbecheancier.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxfacturerpolice/getparametrestypeecheancier.php b/radiantproduction/Vue/Ajaxfacturerpolice/getparametrestypeecheancier.php deleted file mode 100644 index a111e22..0000000 --- a/radiantproduction/Vue/Ajaxfacturerpolice/getparametrestypeecheancier.php +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxfacturerpolice/index.php b/radiantproduction/Vue/Ajaxfacturerpolice/index.php deleted file mode 100644 index 6eb0ce9..0000000 --- a/radiantproduction/Vue/Ajaxfacturerpolice/index.php +++ /dev/null @@ -1,117 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - nettoyer($beneficiaire['idBeneficiairePrimeTemp']) - ?> - - - - - - - - - - - - - - - - - - - - - - - - -
Age - -
nettoyer($beneficiaire['dateEffet'])) ?>nettoyer($beneficiaire['adherent']) ?> nettoyer($beneficiaire['codeProduit']) ?>nettoyer($beneficiaire['libelleCollege']) ?> nettoyer($beneficiaire['codeLienParente']) ?> nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['beneficiaire']) ?> nettoyer($beneficiaire['ageBeneficiaire']) ?>nettoyer($beneficiaire['primeNette'])) ?>nettoyer($beneficiaire['commission'])) ?>nettoyer($beneficiaire['commissionAutre'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturerpolice/selectionner.php b/radiantproduction/Vue/Ajaxfacturerpolice/selectionner.php deleted file mode 100644 index 7d35575..0000000 --- a/radiantproduction/Vue/Ajaxfacturerpolice/selectionner.php +++ /dev/null @@ -1,47 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
diff --git a/radiantproduction/Vue/Ajaxfactures/index.php b/radiantproduction/Vue/Ajaxfactures/index.php deleted file mode 100644 index 756e038..0000000 --- a/radiantproduction/Vue/Ajaxfactures/index.php +++ /dev/null @@ -1,75 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonKine']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - -
Type Date
- - nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?> nettoyer($facture['montantRembourse'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturesclassiques/index.php b/radiantproduction/Vue/Ajaxfacturesclassiques/index.php deleted file mode 100644 index a4b8f1f..0000000 --- a/radiantproduction/Vue/Ajaxfacturesclassiques/index.php +++ /dev/null @@ -1,41 +0,0 @@ -
- - - - - - - - - - - - - - - - - - nettoyer($dossier['idDossierClassique']); - $numeroLotDecompte=$this->nettoyer($dossier['numeroLotDecompte']); - ?> - - - - - - - - - - - - - - -
Date
nettoyer($dossier['dateConsultation'])) ?>nettoyer($dossier['dateSysteme'])) ?>nettoyer($dossier['prestataireConsultation']) ?> - - nettoyer($dossier['fraisReel'])) ?>nettoyer($dossier['montantTm'])) ?>nettoyer($dossier['fraisExclu'])) ?>nettoyer($dossier['fraisRetenu'])) ?>nettoyer($dossier['dateReglement'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturesfamille/index.php b/radiantproduction/Vue/Ajaxfacturesfamille/index.php deleted file mode 100644 index 4b0d66b..0000000 --- a/radiantproduction/Vue/Ajaxfacturesfamille/index.php +++ /dev/null @@ -1,69 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonKine']); - } - - ?> - - - - - - - - - - - - - - - - - - -
Type Date
- - nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxfacturesfeuille/index.php b/radiantproduction/Vue/Ajaxfacturesfeuille/index.php deleted file mode 100644 index 6a73b10..0000000 --- a/radiantproduction/Vue/Ajaxfacturesfeuille/index.php +++ /dev/null @@ -1,95 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['idFacture']); - ?> - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?> - - nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>nettoyer($feuillemaladie['numeroBonOptique']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['numeroDecompte']) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreedetail/index.php b/radiantproduction/Vue/Ajaxfamentreedetail/index.php deleted file mode 100644 index 20f9d2c..0000000 --- a/radiantproduction/Vue/Ajaxfamentreedetail/index.php +++ /dev/null @@ -1,143 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?>
nettoyer($donnee['dateEntreeAdherent']), $_SESSION['lang']) ?> nettoyer($donnee['adherent']) ?> nettoyer($donnee['commercial']) ?> nettoyer($donnee['dateEntreeBbeneficiaire']), $_SESSION['lang']) ?> nettoyer($donnee['beneficiaire']) ?> nettoyer($donnee['numeroBeneficiaire']) ?>nettoyer($donnee['codeLienParente']) ?>nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['primeBaseAdherent'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>
- - - -
- - adherent -dateEntreeAdherent -adherent -commercial - --> benefciaiaire -dateEntreeBbeneficiaire -beneficiaire -numeroBeneficiaire -codeLienParente - --> Echéancier -codeTypeEcheancier -tauxInteretEcheancier -primeBaseAdherent - --> detail -primeBase -primeHt -taxe -interet -primeTtcTousEcheances -primeTtcEcheances -commissionAutre - --> totaux -primeBaseTotal -commissionAutreTotal -primeHtTotal -taxeTotal -interetTotal -primeTtcTousEcheancesTotal -primeTtcEcheancesTotal -nbLigne ---> - - - diff --git a/radiantproduction/Vue/Ajaxfamentreegrexe/index.php b/radiantproduction/Vue/Ajaxfamentreegrexe/index.php deleted file mode 100644 index 272cf20..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrexe/index.php +++ /dev/null @@ -1,96 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpcom/index.php b/radiantproduction/Vue/Ajaxfamentreegrpcom/index.php deleted file mode 100644 index 569f909..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpcom/index.php +++ /dev/null @@ -1,96 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['commercial']) ?> nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpcomech/index.php b/radiantproduction/Vue/Ajaxfamentreegrpcomech/index.php deleted file mode 100644 index a66bac9..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpcomech/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['commercial']) ?> nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpech/index.php b/radiantproduction/Vue/Ajaxfamentreegrpech/index.php deleted file mode 100644 index e2b0823..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpech/index.php +++ /dev/null @@ -1,100 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpexeech/index.php b/radiantproduction/Vue/Ajaxfamentreegrpexeech/index.php deleted file mode 100644 index a5b6579..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpexeech/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?>nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpfam/index.php b/radiantproduction/Vue/Ajaxfamentreegrpfam/index.php deleted file mode 100644 index 0b76123..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpfam/index.php +++ /dev/null @@ -1,104 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['dateEntree']), $_SESSION['lang']) ?> nettoyer($donnee['adherent']) ?> nettoyer($donnee['numeroAdherent']) ?> nettoyer($donnee['commercial']) ?> nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpper/index.php b/radiantproduction/Vue/Ajaxfamentreegrpper/index.php deleted file mode 100644 index 594d281..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpper/index.php +++ /dev/null @@ -1,97 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?> nettoyer($donnee['trimestre']) ?> nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamentreegrpperech/index.php b/radiantproduction/Vue/Ajaxfamentreegrpperech/index.php deleted file mode 100644 index c2a6865..0000000 --- a/radiantproduction/Vue/Ajaxfamentreegrpperech/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?> nettoyer($donnee['trimestre']) ?> nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiedetail/index.php b/radiantproduction/Vue/Ajaxfamsortiedetail/index.php deleted file mode 100644 index bcc17bb..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiedetail/index.php +++ /dev/null @@ -1,103 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?>
nettoyer($donnee['dateEntreeAdherent']), $_SESSION['lang']) ?> nettoyer($donnee['adherent']) ?> nettoyer($donnee['commercial']) ?> nettoyer($donnee['dateEntreeBbeneficiaire']), $_SESSION['lang']) ?> nettoyer($donnee['beneficiaire']) ?> nettoyer($donnee['numeroBeneficiaire']) ?>nettoyer($donnee['codeLienParente']) ?>nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['primeBaseAdherent'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrexe/index.php b/radiantproduction/Vue/Ajaxfamsortiegrexe/index.php deleted file mode 100644 index 272cf20..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrexe/index.php +++ /dev/null @@ -1,96 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpcom/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpcom/index.php deleted file mode 100644 index 569f909..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpcom/index.php +++ /dev/null @@ -1,96 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['commercial']) ?> nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpcomech/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpcomech/index.php deleted file mode 100644 index a66bac9..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpcomech/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['commercial']) ?> nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpech/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpech/index.php deleted file mode 100644 index e2b0823..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpech/index.php +++ /dev/null @@ -1,100 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpexeech/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpexeech/index.php deleted file mode 100644 index a5b6579..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpexeech/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?>nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpfam/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpfam/index.php deleted file mode 100644 index 0b76123..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpfam/index.php +++ /dev/null @@ -1,104 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['dateEntree']), $_SESSION['lang']) ?> nettoyer($donnee['adherent']) ?> nettoyer($donnee['numeroAdherent']) ?> nettoyer($donnee['commercial']) ?> nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpper/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpper/index.php deleted file mode 100644 index 594d281..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpper/index.php +++ /dev/null @@ -1,97 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?> nettoyer($donnee['trimestre']) ?> nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfamsortiegrpperech/index.php b/radiantproduction/Vue/Ajaxfamsortiegrpperech/index.php deleted file mode 100644 index c2a6865..0000000 --- a/radiantproduction/Vue/Ajaxfamsortiegrpperech/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnees_total['nbLigne'])) ?> nettoyer($donnees_total['nbAdherentTotal'])) ?> nettoyer($donnees_total['nbBeneficiaireTotal'])) ?> nettoyer($donnees_total['primeBaseTotal'])) ?> nettoyer($donnees_total['commissionAutreTotal'])) ?> nettoyer($donnees_total['primeHtTotal'])) ?> nettoyer($donnees_total['taxeTotal'])) ?> nettoyer($donnees_total['interetTotal'])) ?> nettoyer($donnees_total['primeTtcTousEcheancesTotal'])) ?> nettoyer($donnees_total['primeTtcEcheancesTotal'])) ?> nettoyer($donnees_total['partAssureurTotal'])) ?> nettoyer($donnees_total['partTiersTotal'])) ?>
nettoyer($donnee['codeExercice']) ?> nettoyer($donnee['trimestre']) ?> nettoyer($donnee['codeTypeEcheancier']) ?>nettoyer($donnee['nbEcheance'])) ?>nettoyer($donnee['tauxInteretEcheancier']) ?>nettoyer($donnee['nbAdherent'])) ?>nettoyer($donnee['nbBeneficiaire'])) ?>nettoyer($donnee['primeBase'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['interet'])) ?>nettoyer($donnee['primeTtcTousEcheances'])) ?>nettoyer($donnee['primeTtcEcheances'])) ?>nettoyer($donnee['partAssureur'])) ?>nettoyer($donnee['partTiers'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxfichepolice/index.php b/radiantproduction/Vue/Ajaxfichepolice/index.php deleted file mode 100644 index 61022a3..0000000 --- a/radiantproduction/Vue/Ajaxfichepolice/index.php +++ /dev/null @@ -1,96 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['numeroQuittance']); - $idQuittance = $quittance['id']; - $idEmission = $quittance['idEmission']; - $numeroEmission = $quittance['numeroEmission']; - $solde=$this->nettoyer($quittance['solde']) - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($totalquittanceperiode['primeTtc'])) ?>nettoyer($totalquittanceperiode['encaisse'])) ?>nettoyer($totalquittanceperiode['solde'])) ?>
nettoyer($quittance['dateEmission']), $_SESSION['lang']) ?>nettoyer($quittance['dateEffet']), $_SESSION['lang']) ?>nettoyer($quittance['dateEcheance']), $_SESSION['lang']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['datePaiement']), $_SESSION['lang']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " onClick="javascript:imprimer_quittance();"> " onClick="javascript:imprimer_quittance_client();">
- - - - - -
diff --git a/radiantproduction/Vue/Ajaxfiltrefamillecomposantetarif/index.php b/radiantproduction/Vue/Ajaxfiltrefamillecomposantetarif/index.php deleted file mode 100644 index a655cf7..0000000 --- a/radiantproduction/Vue/Ajaxfiltrefamillecomposantetarif/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxfiltrefamilletarif/index.php b/radiantproduction/Vue/Ajaxfiltrefamilletarif/index.php deleted file mode 100644 index bc0eb95..0000000 --- a/radiantproduction/Vue/Ajaxfiltrefamilletarif/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxflexcode/index.php b/radiantproduction/Vue/Ajaxflexcode/index.php deleted file mode 100644 index d4f787a..0000000 --- a/radiantproduction/Vue/Ajaxflexcode/index.php +++ /dev/null @@ -1,5 +0,0 @@ -
- - - -
diff --git a/radiantproduction/Vue/Ajaxflexcode/index_comm.php b/radiantproduction/Vue/Ajaxflexcode/index_comm.php deleted file mode 100644 index 83b8efd..0000000 --- a/radiantproduction/Vue/Ajaxflexcode/index_comm.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxfraisgestiongccons/index.php b/radiantproduction/Vue/Ajaxfraisgestiongccons/index.php deleted file mode 100644 index 1868ced..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongccons/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- -nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - -
nettoyer($gc['codeExercice']) ?> nettoyer($gc['codeMois']) ?> nettoyer($gc['nbCarte'])) ?> nettoyer($gc['montantFrais'])) ?> nettoyer($gc['tvaFrais'])) ?> nettoyer($gc['ttcFrais'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfraisgestiongccons/reafficher.php b/radiantproduction/Vue/Ajaxfraisgestiongccons/reafficher.php deleted file mode 100644 index b1be89b..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongccons/reafficher.php +++ /dev/null @@ -1,73 +0,0 @@ -
- -nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - -
- -
nettoyer($gc['codeExercice']) ?> nettoyer($gc['codeMois']) ?> nettoyer($gc['nbCarte'])) ?> nettoyer($gc['montantFrais'])) ?> nettoyer($gc['tvaFrais'])) ?> nettoyer($gc['ttcFrais'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfraisgestiongccons/validerselection.php b/radiantproduction/Vue/Ajaxfraisgestiongccons/validerselection.php deleted file mode 100644 index bdac8bb..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongccons/validerselection.php +++ /dev/null @@ -1,70 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/index.php b/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/index.php deleted file mode 100644 index 204575e..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/index.php +++ /dev/null @@ -1,52 +0,0 @@ -
-nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - -
- -
nettoyer($gc['codeExercice']) ?> nettoyer($gc['codeMois']) ?> nettoyer($gc['nbCarte'])) ?> nettoyer($gc['montantFrais'])) ?> nettoyer($gc['tvaFrais'])) ?> nettoyer($gc['ttcFrais'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/reafficher.php b/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/reafficher.php deleted file mode 100644 index 204575e..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/reafficher.php +++ /dev/null @@ -1,52 +0,0 @@ -
-nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - -
- -
nettoyer($gc['codeExercice']) ?> nettoyer($gc['codeMois']) ?> nettoyer($gc['nbCarte'])) ?> nettoyer($gc['montantFrais'])) ?> nettoyer($gc['tvaFrais'])) ?> nettoyer($gc['ttcFrais'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/validerselection.php b/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/validerselection.php deleted file mode 100644 index e41aca9..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcnonsel/validerselection.php +++ /dev/null @@ -1,69 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcnonselentete/index.php b/radiantproduction/Vue/Ajaxfraisgestiongcnonselentete/index.php deleted file mode 100644 index f2892a4..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcnonselentete/index.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - nettoyer($reglement['valideAs']); - ?> - - " readonly > - - - - - - - - - - - - - - - - - - - -
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcsel/index.php b/radiantproduction/Vue/Ajaxfraisgestiongcsel/index.php deleted file mode 100644 index b1be89b..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcsel/index.php +++ /dev/null @@ -1,73 +0,0 @@ -
- -nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - -
- -
nettoyer($gc['codeExercice']) ?> nettoyer($gc['codeMois']) ?> nettoyer($gc['nbCarte'])) ?> nettoyer($gc['montantFrais'])) ?> nettoyer($gc['tvaFrais'])) ?> nettoyer($gc['ttcFrais'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcsel/reafficher.php b/radiantproduction/Vue/Ajaxfraisgestiongcsel/reafficher.php deleted file mode 100644 index b1be89b..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcsel/reafficher.php +++ /dev/null @@ -1,73 +0,0 @@ -
- -nettoyer($reglement['valideAs']); -?> - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idTemp']); - ?> - - - - - - - - - - - - - - - - - - -
- -
nettoyer($gc['codeExercice']) ?> nettoyer($gc['codeMois']) ?> nettoyer($gc['nbCarte'])) ?> nettoyer($gc['montantFrais'])) ?> nettoyer($gc['tvaFrais'])) ?> nettoyer($gc['ttcFrais'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxfraisgestiongcsel/validerselection.php b/radiantproduction/Vue/Ajaxfraisgestiongcsel/validerselection.php deleted file mode 100644 index bdac8bb..0000000 --- a/radiantproduction/Vue/Ajaxfraisgestiongcsel/validerselection.php +++ /dev/null @@ -1,70 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
diff --git a/radiantproduction/Vue/Ajaxgabarit/index.php b/radiantproduction/Vue/Ajaxgabarit/index.php deleted file mode 100644 index e65161a..0000000 --- a/radiantproduction/Vue/Ajaxgabarit/index.php +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/radiantproduction/Vue/Ajaxgarantiescollege/index.php b/radiantproduction/Vue/Ajaxgarantiescollege/index.php deleted file mode 100644 index e2e0254..0000000 --- a/radiantproduction/Vue/Ajaxgarantiescollege/index.php +++ /dev/null @@ -1,299 +0,0 @@ -
- -
-
-
- - - - - - - - - - - - - - - - - - - nettoyer($garantiebase['id']); - $garantie = $this->nettoyer($garantiebase['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garantiebase['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($garantiebase['plafond'])) ?> - - - - nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - $garantie = $this->nettoyer($garoptionnelle['libelle']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptionnelle['libelleEng']); - } - ?> - - - - - - - - - - -
=>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add = $this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - $calculerPrime = $this->nettoyer($garoptacquise['calculerPrime']) ; - $garantie = $this->nettoyer($garoptacquise['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garoptacquise['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
- - nettoyer($garoptacquise['primeOption'])) ?>nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - -
-
-
-
- - -
-
-
- - - - - - - - - - - - nettoyer($garantiebase['id']); - ?> - - - - - - - - - - - - - - -
Bn
nettoyer($garantiebase['garantie']) ?> nettoyer($garantiebase['tauxPlafond']) ?> nettoyer($garantiebase['plafond'])) ?>
-
-
- -
-
- - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idCol=$this->nettoyer($garoptionnelle['idCollegeTemp']); - ?> - - - - - - - - - - -
=>
nettoyer($garoptionnelle['libelle']) ?>
-
-
- -
-
- - - - - - - - - - - - - - - nettoyer($garoptacquise['id']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - $gar = $this->nettoyer($garoptacquise['codeGarantie']) ; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<= Bn
- - nettoyer($garoptacquise['primeOption'])) ?> - - nettoyer($garoptacquise['plafond'])) ?> - -
-
-
-
- -
diff --git a/radiantproduction/Vue/Ajaxgarantiescollegeadd/afficherplafondglobal.php b/radiantproduction/Vue/Ajaxgarantiescollegeadd/afficherplafondglobal.php deleted file mode 100644 index 11b0184..0000000 --- a/radiantproduction/Vue/Ajaxgarantiescollegeadd/afficherplafondglobal.php +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/radiantproduction/Vue/Ajaxgarantiescollegeadd/index.php b/radiantproduction/Vue/Ajaxgarantiescollegeadd/index.php deleted file mode 100644 index 9d237b6..0000000 --- a/radiantproduction/Vue/Ajaxgarantiescollegeadd/index.php +++ /dev/null @@ -1,41 +0,0 @@ -
- - - - - - - - - - - - - - - - nettoyer($garantieadd['id']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($garantieadd['garantie']) ?> nettoyer($garantieadd['plafondOld'])) ?>nettoyer($garantieadd['plafondNew'])) ?>nettoyer($garantieadd['primeOption'])) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxgarantiescollegeadherent/index.php b/radiantproduction/Vue/Ajaxgarantiescollegeadherent/index.php deleted file mode 100644 index 1d12707..0000000 --- a/radiantproduction/Vue/Ajaxgarantiescollegeadherent/index.php +++ /dev/null @@ -1,27 +0,0 @@ -
- - - - - - - - - - - - nettoyer($garantieadd['id']); - ?> - - - - - - - - -
nettoyer($garantieadd['garantie']) ?> nettoyer($garantieadd['plafondOld'])) ?>nettoyer($garantieadd['plafondNew'])) ?> -
-
diff --git a/radiantproduction/Vue/Ajaxgarantiespolice/index.php b/radiantproduction/Vue/Ajaxgarantiespolice/index.php deleted file mode 100644 index 2006832..0000000 --- a/radiantproduction/Vue/Ajaxgarantiespolice/index.php +++ /dev/null @@ -1,104 +0,0 @@ -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantiebase['garantie']) ?>
" onClick="javascript:archiver_garantie_police();">
-
-
- -
-
- - - - - - - - - - - - - nettoyer($garoptionnelle['codeGarantie']); - $idPol=$this->nettoyer($garoptionnelle['idPolice']); - ?> - - - - - - - - - - - - -
nettoyer($garoptionnelle['libelle']) ?>
-
-
- -
-
- - - - - - - - - - - - - - nettoyer($garoptacquise['idGarantie']); - $gar_add=$this->nettoyer($garoptacquise['additionnelle']); - ?> - - - - - - - - - - - - - - - -
-
-
-
-
diff --git a/radiantproduction/Vue/Ajaxgcassureur/creerusergc.php b/radiantproduction/Vue/Ajaxgcassureur/creerusergc.php deleted file mode 100644 index d7d289d..0000000 --- a/radiantproduction/Vue/Ajaxgcassureur/creerusergc.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
-

-
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxgcassureur/index.php b/radiantproduction/Vue/Ajaxgcassureur/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxgcfraisgestion/affichergcfraisgestion.php b/radiantproduction/Vue/Ajaxgcfraisgestion/affichergcfraisgestion.php deleted file mode 100644 index e2fd778..0000000 --- a/radiantproduction/Vue/Ajaxgcfraisgestion/affichergcfraisgestion.php +++ /dev/null @@ -1,98 +0,0 @@ -
- - - - - - - - - => - - - - - - - => - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - Date
" onClick="afficher_detail_gcfraisgestion();" style='font-size:9pt;' > " style='font-size:9pt;' disabled > " onClick="rechargergcfraisgestion();" style='font-size:9pt;' > " onClick="cumul_gc_frais_gestion_par_client();" style='font-size:9pt;' >
- -
- - - - - - - - - - - - - - - - - - - - -
nettoyer($fraisgestion['souscripteur']) ?> nettoyer($fraisgestion['adherent']) ?> nettoyer($fraisgestion['numeroBeneficiaire']) ?> nettoyer($fraisgestion['beneficiaire']) ?> nettoyer($fraisgestion['montantFrais'])) ?>
-
- -
- diff --git a/radiantproduction/Vue/Ajaxgcfraisgestion/affichergcfraisgestioncumul.php b/radiantproduction/Vue/Ajaxgcfraisgestion/affichergcfraisgestioncumul.php deleted file mode 100644 index ed671a8..0000000 --- a/radiantproduction/Vue/Ajaxgcfraisgestion/affichergcfraisgestioncumul.php +++ /dev/null @@ -1,95 +0,0 @@ -
- - - - - - - - - => - - - - - - - => - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - Date
" onClick="afficher_detail_gcfraisgestion();" style='font-size:9pt;' > " style='font-size:9pt;' disabled > " onClick="rechargergcfraisgestion();" style='font-size:9pt;' > " onClick="cumul_gc_frais_gestion_par_client();" style='font-size:9pt;' >
- -
- - - - - - - - - - - - - - - - - -
nettoyer($fraisgestion['souscripteur']) ?> nettoyer($fraisgestion['nbCarte'])) ?> nettoyer($fraisgestion['montantFrais'])) ?>
-
- -
- diff --git a/radiantproduction/Vue/Ajaxgcfraisgestion/index.php b/radiantproduction/Vue/Ajaxgcfraisgestion/index.php deleted file mode 100644 index b07e203..0000000 --- a/radiantproduction/Vue/Ajaxgcfraisgestion/index.php +++ /dev/null @@ -1,3 +0,0 @@ -
- -
diff --git a/radiantproduction/Vue/Ajaxgcfraisgestion/listeentetegcfraisgestion.php b/radiantproduction/Vue/Ajaxgcfraisgestion/listeentetegcfraisgestion.php deleted file mode 100644 index 62dd942..0000000 --- a/radiantproduction/Vue/Ajaxgcfraisgestion/listeentetegcfraisgestion.php +++ /dev/null @@ -1,55 +0,0 @@ -
- - - - - - - - - - - - - - - - - - nettoyer($entetegcfraisgestion['idEnteteGcFraisgestion']); - $codeExercice = $this->nettoyer($entetegcfraisgestion['codeExercice']); - $codeMois = $this->nettoyer($entetegcfraisgestion['codeMois']); - $facture = $this->nettoyer($entetegcfraisgestion['facture']); - $regle = $this->nettoyer($entetegcfraisgestion['regle']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ID User Date
nettoyer($entetegcfraisgestion['nbCarte'])) ?> nettoyer($entetegcfraisgestion['montantFrais'])) ?> nettoyer($entetegcfraisgestion['tvaFrais'])) ?> nettoyer($entetegcfraisgestion['ttcFrais'])) ?> nettoyer($entetegcfraisgestion['codeUtilisateur']) ?> nettoyer($entetegcfraisgestion['dateSysteme'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxgcregelement/index.php b/radiantproduction/Vue/Ajaxgcregelement/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxgedfacture/index.php b/radiantproduction/Vue/Ajaxgedfacture/index.php deleted file mode 100644 index 80661c0..0000000 --- a/radiantproduction/Vue/Ajaxgedfacture/index.php +++ /dev/null @@ -1,42 +0,0 @@ -
-
- - - - - - - - - - - - -
" />
-
- - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxgedfacturegc/index.php b/radiantproduction/Vue/Ajaxgedfacturegc/index.php deleted file mode 100644 index 29faded..0000000 --- a/radiantproduction/Vue/Ajaxgedfacturegc/index.php +++ /dev/null @@ -1,67 +0,0 @@ -
- - -
diff --git a/radiantproduction/Vue/Ajaxgenererbons/index.php b/radiantproduction/Vue/Ajaxgenererbons/index.php deleted file mode 100644 index 9e34b61..0000000 --- a/radiantproduction/Vue/Ajaxgenererbons/index.php +++ /dev/null @@ -1,120 +0,0 @@ -
- - - -
- " /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - - -
-
- - - - - - -
- -

- -
- -
-
- - -
-
-
-
- - -
diff --git a/radiantproduction/Vue/Ajaxhistsupprempreinte/index.php b/radiantproduction/Vue/Ajaxhistsupprempreinte/index.php deleted file mode 100644 index 5d353b3..0000000 --- a/radiantproduction/Vue/Ajaxhistsupprempreinte/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($empreintesupprimer['dateSave'])) ?>nettoyer($empreintesupprimer['motif']) ?>nettoyer($empreintesupprimer['souscripteur']) ?>nettoyer($empreintesupprimer['idPolice']) ?>nettoyer($empreintesupprimer['adherent']) ?>nettoyer($empreintesupprimer['numeroBeneficiaire']) ?>nettoyer($empreintesupprimer['beneficiaire']) ?>nettoyer($empreintesupprimer['nomUtilisateur']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxhistsupprface/index.php b/radiantproduction/Vue/Ajaxhistsupprface/index.php deleted file mode 100644 index c76f8b2..0000000 --- a/radiantproduction/Vue/Ajaxhistsupprface/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($facesupprimee['dateSysteme'])) ?>nettoyer($facesupprimee['motif']) ?>nettoyer($facesupprimee['souscripteur']) ?>nettoyer($facesupprimee['idPolice']) ?>nettoyer($facesupprimee['adherent']) ?>nettoyer($facesupprimee['numeroBeneficiaire']) ?>nettoyer($facesupprimee['beneficiaire']) ?>nettoyer($facesupprimee['codeUtilisateur']) ?>nettoyer($facesupprimee['nomUtilisateur']) ?>nettoyer($facesupprimee['prestataire']) ?>
-
diff --git a/radiantproduction/Vue/Ajaximpayeclient/index.php b/radiantproduction/Vue/Ajaximpayeclient/index.php deleted file mode 100644 index 1970ede..0000000 --- a/radiantproduction/Vue/Ajaximpayeclient/index.php +++ /dev/null @@ -1,134 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['id']); - $numeroQuittance=$this->nettoyer($quittance['numeroQuittance']); - $primeTtc=$this->nettoyer($quittance['primeTtc']); - $encaisse=$this->nettoyer($quittance['encaisse']); - $solde=$this->nettoyer($quittance['solde']); - - $idEncaissement = $this->nettoyer($quittance['idEncaissement']); - ?> - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - -
No
Total nettoyer($totalquittanceImpayee['primeTtc'])) ?>nettoyer($totalquittanceImpayee['encaisse'])) ?>nettoyer($totalquittanceImpayee['solde'])) ?>
" onClick="javascript:ajouter_quittance_acompte_client();">
nettoyer($quittance['dateEmission'])) ?>nettoyer($quittance['dateEffet'])) ?>nettoyer($quittance['dateEcheance'])) ?>nettoyer($quittance['codeTypeAvenant']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " - onClick="javascript:selectionner_quittance_impayee(, , , , );"> - " onClick="javascript:solder_quittance_client_temp();">
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detailencaissement['id']); - ?> - - - - - - - - - - - - - - -
nettoyer($totaldetailencaissement['montant_selection'])) ?> " onClick="javascript:enregistrer_encaissement_bordereau();">
nettoyer($detailencaissement['numeroPolice']) ?>nettoyer($detailencaissement['idQuittance']) ?>nettoyer($detailencaissement['oldsolde'])) ?>nettoyer($detailencaissement['primeTtc'])) ?>nettoyer($detailencaissement['newsolde'])) ?> " onClick="javascript:supprimer_detail_encaissement_client();">
-
-
diff --git a/radiantproduction/Vue/Ajaximporterdestinatairesms/importermodele.php b/radiantproduction/Vue/Ajaximporterdestinatairesms/importermodele.php deleted file mode 100644 index 36c8fc4..0000000 --- a/radiantproduction/Vue/Ajaximporterdestinatairesms/importermodele.php +++ /dev/null @@ -1,4 +0,0 @@ -
-

- -
diff --git a/radiantproduction/Vue/Ajaximporterdestinatairesms/index.php b/radiantproduction/Vue/Ajaximporterdestinatairesms/index.php deleted file mode 100644 index 9260327..0000000 --- a/radiantproduction/Vue/Ajaximporterdestinatairesms/index.php +++ /dev/null @@ -1 +0,0 @@ -IMPORT DESTINATAIRES SMS \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterdestinatairesms/init.php b/radiantproduction/Vue/Ajaximporterdestinatairesms/init.php deleted file mode 100644 index 6d3eef5..0000000 --- a/radiantproduction/Vue/Ajaximporterdestinatairesms/init.php +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - -
Message
- -
- -
- - - - - - - - - - - -
" onClick="javascript:mettre_sms_commun_attente();"> - - " onClick='javascript:reinitiliser_envois_sms_hors_systeme();'/>
- -
- - - - - - - - - - nettoyer($destinataire_non_selection['id']); - ?> - - - - - - - -
nettoyer($destinataire_non_selection['libelleDestinataire']) ?> nettoyer($destinataire_non_selection['destination']) ?>
-
- -
- - - - - - - - - - nettoyer($destinataire_selection['id']); - ?> - - - - - - - -
nettoyer($destinataire_selection['libelleDestinataire']) ?>nettoyer($destinataire_selection['destination']) ?>
-
-
-
- diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/afficheradherentimportee.php b/radiantproduction/Vue/Ajaximporterlisteassure/afficheradherentimportee.php deleted file mode 100644 index 44d6bb3..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/afficheradherentimportee.php +++ /dev/null @@ -1,102 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - - - - - -
=>
nettoyer($adherent['categorie']) ?>nettoyer($adherent['libelleCollege']) ?>nettoyer($adherent['codeProduit']) ?>nettoyer($adherent['libelleCollege']) ?>nettoyer($adherent['codeProduit']) ?>nettoyer($adherent['numeroAdherent']) ?>nettoyer($adherent['noFamille']) ?>nettoyer($adherent['nom']) ?>nettoyer($adherent['prenoms']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($adherent_college['categorie']) ?>nettoyer($adherent_college['libelleCollege']) ?>nettoyer($adherent_college['codeProduit']) ?>nettoyer($adherent_college['numeroAdherent']) ?>nettoyer($adherent_college['noFamille']) ?>nettoyer($adherent_college['nom']) ?>nettoyer($adherent_college['prenoms']) ?>
-
-
- -
diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/ajouterunadherentaucollege.php b/radiantproduction/Vue/Ajaximporterlisteassure/ajouterunadherentaucollege.php deleted file mode 100644 index c72c434..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/ajouterunadherentaucollege.php +++ /dev/null @@ -1 +0,0 @@ -OK ajouterunadherentaucollege \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/exclureligneimportee.php b/radiantproduction/Vue/Ajaximporterlisteassure/exclureligneimportee.php deleted file mode 100644 index 1734551..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/exclureligneimportee.php +++ /dev/null @@ -1 +0,0 @@ -OK EXCLURE \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/importermodele.php b/radiantproduction/Vue/Ajaximporterlisteassure/importermodele.php deleted file mode 100644 index 36c8fc4..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/importermodele.php +++ /dev/null @@ -1,4 +0,0 @@ -
-

- -
diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/incorpoerassuresimportes.php b/radiantproduction/Vue/Ajaximporterlisteassure/incorpoerassuresimportes.php deleted file mode 100644 index 79abd6c..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/incorpoerassuresimportes.php +++ /dev/null @@ -1 +0,0 @@ -OK incorpoerassuresimportes \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/index.php b/radiantproduction/Vue/Ajaximporterlisteassure/index.php deleted file mode 100644 index ae893f7..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/index.php +++ /dev/null @@ -1 +0,0 @@ -IMPORT TARIF MEICAMENT \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/initimportermodele.php b/radiantproduction/Vue/Ajaximporterlisteassure/initimportermodele.php deleted file mode 100644 index a900efc..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/initimportermodele.php +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['numeroAvenant']) ?>nettoyer($avenant['dateEffet'])) ?>nettoyer($avenant['libelleAvenant']) ?>nettoyer($avenant['motifavenant']) ?>nettoyer($avenant['utilisateur']) ?>nettoyer($avenant['dateSysteme'])) ?>
diff --git a/radiantproduction/Vue/Ajaximporterlisteassure/retirerunadherentaucollege.php b/radiantproduction/Vue/Ajaximporterlisteassure/retirerunadherentaucollege.php deleted file mode 100644 index e074f94..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassure/retirerunadherentaucollege.php +++ /dev/null @@ -1 +0,0 @@ -OK retirerunadherentaucollege \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/afficheradherentimportee.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/afficheradherentimportee.php deleted file mode 100644 index 44d6bb3..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/afficheradherentimportee.php +++ /dev/null @@ -1,102 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - - - - - -
=>
nettoyer($adherent['categorie']) ?>nettoyer($adherent['libelleCollege']) ?>nettoyer($adherent['codeProduit']) ?>nettoyer($adherent['libelleCollege']) ?>nettoyer($adherent['codeProduit']) ?>nettoyer($adherent['numeroAdherent']) ?>nettoyer($adherent['noFamille']) ?>nettoyer($adherent['nom']) ?>nettoyer($adherent['prenoms']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($adherent_college['categorie']) ?>nettoyer($adherent_college['libelleCollege']) ?>nettoyer($adherent_college['codeProduit']) ?>nettoyer($adherent_college['numeroAdherent']) ?>nettoyer($adherent_college['noFamille']) ?>nettoyer($adherent_college['nom']) ?>nettoyer($adherent_college['prenoms']) ?>
-
-
- -
diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/ajouterunadherentaucollege.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/ajouterunadherentaucollege.php deleted file mode 100644 index c72c434..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/ajouterunadherentaucollege.php +++ /dev/null @@ -1 +0,0 @@ -OK ajouterunadherentaucollege \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/exclureligneimportee.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/exclureligneimportee.php deleted file mode 100644 index 1734551..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/exclureligneimportee.php +++ /dev/null @@ -1 +0,0 @@ -OK EXCLURE \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/importermodele.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/importermodele.php deleted file mode 100644 index 36c8fc4..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/importermodele.php +++ /dev/null @@ -1,4 +0,0 @@ -
-

- -
diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/incorpoerassuresimportes.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/incorpoerassuresimportes.php deleted file mode 100644 index 79abd6c..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/incorpoerassuresimportes.php +++ /dev/null @@ -1 +0,0 @@ -OK incorpoerassuresimportes \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/index.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/index.php deleted file mode 100644 index ae893f7..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/index.php +++ /dev/null @@ -1 +0,0 @@ -IMPORT TARIF MEICAMENT \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/initimportermodele.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/initimportermodele.php deleted file mode 100644 index 300f88e..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/initimportermodele.php +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['numeroAvenant']) ?>nettoyer($avenant['dateEffet'])) ?>nettoyer($avenant['libelleAvenant']) ?>nettoyer($avenant['motifavenant']) ?>nettoyer($avenant['utilisateur']) ?>nettoyer($avenant['dateSysteme'])) ?>
diff --git a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/retirerunadherentaucollege.php b/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/retirerunadherentaucollege.php deleted file mode 100644 index e074f94..0000000 --- a/radiantproduction/Vue/Ajaximporterlisteassurefamiliale/retirerunadherentaucollege.php +++ /dev/null @@ -1 +0,0 @@ -OK retirerunadherentaucollege \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximportertarifmedicament/importermodele.php b/radiantproduction/Vue/Ajaximportertarifmedicament/importermodele.php deleted file mode 100644 index 36c8fc4..0000000 --- a/radiantproduction/Vue/Ajaximportertarifmedicament/importermodele.php +++ /dev/null @@ -1,4 +0,0 @@ -
-

- -
diff --git a/radiantproduction/Vue/Ajaximportertarifmedicament/incorpoerassuresimportes.php b/radiantproduction/Vue/Ajaximportertarifmedicament/incorpoerassuresimportes.php deleted file mode 100644 index 79abd6c..0000000 --- a/radiantproduction/Vue/Ajaximportertarifmedicament/incorpoerassuresimportes.php +++ /dev/null @@ -1 +0,0 @@ -OK incorpoerassuresimportes \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximportertarifmedicament/incorporermedicamentsimportes.php b/radiantproduction/Vue/Ajaximportertarifmedicament/incorporermedicamentsimportes.php deleted file mode 100644 index ae893f7..0000000 --- a/radiantproduction/Vue/Ajaximportertarifmedicament/incorporermedicamentsimportes.php +++ /dev/null @@ -1 +0,0 @@ -IMPORT TARIF MEICAMENT \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximportertarifmedicament/index.php b/radiantproduction/Vue/Ajaximportertarifmedicament/index.php deleted file mode 100644 index ae893f7..0000000 --- a/radiantproduction/Vue/Ajaximportertarifmedicament/index.php +++ /dev/null @@ -1 +0,0 @@ -IMPORT TARIF MEICAMENT \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaximportertarifmedicament/initimportermodele.php b/radiantproduction/Vue/Ajaximportertarifmedicament/initimportermodele.php deleted file mode 100644 index 48a903f..0000000 --- a/radiantproduction/Vue/Ajaximportertarifmedicament/initimportermodele.php +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['numeroAvenant']) ?>nettoyer($avenant['dateEffet'])) ?>nettoyer($avenant['libelleAvenant']) ?>nettoyer($avenant['utilisateur']) ?>nettoyer($avenant['dateSysteme'])) ?>
diff --git a/radiantproduction/Vue/Ajaximprimerfeuillemaladie/index.php b/radiantproduction/Vue/Ajaximprimerfeuillemaladie/index.php deleted file mode 100644 index 86cbd60..0000000 --- a/radiantproduction/Vue/Ajaximprimerfeuillemaladie/index.php +++ /dev/null @@ -1,2 +0,0 @@ -
-
diff --git a/radiantproduction/Vue/Ajaxinitnbecheance/index.php b/radiantproduction/Vue/Ajaxinitnbecheance/index.php deleted file mode 100644 index f132edd..0000000 --- a/radiantproduction/Vue/Ajaxinitnbecheance/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxldemandesteglement/index.php b/radiantproduction/Vue/Ajaxldemandesteglement/index.php deleted file mode 100644 index a901586..0000000 --- a/radiantproduction/Vue/Ajaxldemandesteglement/index.php +++ /dev/null @@ -1,84 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - - $nbligne++; - ?> - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
Type
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>nettoyer($decompte['userDemandeReglement']) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxldemandesteglementcpt/index.php b/radiantproduction/Vue/Ajaxldemandesteglementcpt/index.php deleted file mode 100644 index f581d0b..0000000 --- a/radiantproduction/Vue/Ajaxldemandesteglementcpt/index.php +++ /dev/null @@ -1,99 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - - $motifNonPaiement = $decompte['motifNonPaiement']; - - $nbligne++; - ?> - - - - - - - - - - - - - - - 0): ?> - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
Type
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>nettoyer($decompte['userDemandeReglement']) ?> -
- -
diff --git a/radiantproduction/Vue/Ajaxldemandesteglementfiltre/index.php b/radiantproduction/Vue/Ajaxldemandesteglementfiltre/index.php deleted file mode 100644 index b4b8efa..0000000 --- a/radiantproduction/Vue/Ajaxldemandesteglementfiltre/index.php +++ /dev/null @@ -1,84 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - - $nbligne++; - ?> - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
Type
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>nettoyer($decompte['userDemandeReglement']) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxlisteadherent/index.php b/radiantproduction/Vue/Ajaxlisteadherent/index.php deleted file mode 100644 index b2aaf70..0000000 --- a/radiantproduction/Vue/Ajaxlisteadherent/index.php +++ /dev/null @@ -1,54 +0,0 @@ - - -
- - - - - - - - - - - - - - - nettoyer($adherent['numeroAdherent']); - $garantieArchive=$this->nettoyer($adherent['garantieArchive']); - $primeArchive=$this->nettoyer($adherent['primeArchive']); - $estsupprimable = ($primeArchive=="0"); - ?> - - - - - - - - - - - - - - - - - - - - - - - - -
Entrée
nettoyer($adherent['nom']) ?>nettoyer($adherent['prenoms']) ?>nettoyer($adherent['codeProduit']) ?>nettoyer($adherent['libelleCollege']) ?>nettoyer($adherent['dateEntree'])) ?>nettoyer($adherent['dateSortie'])) ?> " onClick="javascript:de_archiver_adherent('');"> " onClick="javascript:archiver_adherent('');">
-
diff --git a/radiantproduction/Vue/Ajaxlisteadherentfamiliale/index.php b/radiantproduction/Vue/Ajaxlisteadherentfamiliale/index.php deleted file mode 100644 index 84e6eca..0000000 --- a/radiantproduction/Vue/Ajaxlisteadherentfamiliale/index.php +++ /dev/null @@ -1,63 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($adherent['numeroAdherent']); - $garantieArchive=$this->nettoyer($adherent['garantieArchive']); - $primeArchive=$this->nettoyer($adherent['primeArchive']); - $estsupprimable = ($primeArchive=="0"); - $typeecheancier=$this->nettoyer($adherent['typeecheancier']); - - if (est_anglophone()) - { - $typeecheancier=$this->nettoyer($adherent['typeecheancierEng']); - } - - ?> - - - - - - - - - - - - - - - - - - - -
nettoyer($adherent['nom']) ?>nettoyer($adherent['prenoms']) ?> nettoyer($adherent['sexe']) ?>nettoyer($adherent['dateEntree'])) ?>nettoyer($adherent['dateSortie'])) ?>nettoyer($adherent['primeBase'])) ?>nettoyer($adherent['interet'])) ?>nettoyer($adherent['primeTtcTousEcheances'])) ?>nettoyer($adherent['nbEcheance']) ?>nettoyer($adherent['primeTtcEcheances'])) ?>nettoyer($adherent['codeEtape']) ?>nettoyer($adherent['commissionAutre'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxlistecarteassure/afficherliste.php b/radiantproduction/Vue/Ajaxlistecarteassure/afficherliste.php deleted file mode 100644 index ed9e819..0000000 --- a/radiantproduction/Vue/Ajaxlistecarteassure/afficherliste.php +++ /dev/null @@ -1,72 +0,0 @@ - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - nettoyer($v['beneficiaire_carte_temp']); - $prestationPossible = $this->nettoyer($v['prestationPossible']); - - if($v['choix']=='1') - { - $nbChoix++; - } - ?> - - - - - - - - - - - - - -
- - - - - -
nettoyer($v['numeroBeneficiaire']) ?>nettoyer($v['beneficiaire']) ?>nettoyer($v['codeLienParente']) ?>nettoyer($v['sexe']) ?>nettoyer($v['dateNaissance']),$_SESSION['lang']) ?>nettoyer($v['typeavenant']) ?>nettoyer($v['dateAvenant']),$_SESSION['lang']) ?> - - - - - - - - - -
- - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlistecarteassure/index.php b/radiantproduction/Vue/Ajaxlistecarteassure/index.php deleted file mode 100644 index 1ff8938..0000000 --- a/radiantproduction/Vue/Ajaxlistecarteassure/index.php +++ /dev/null @@ -1,2 +0,0 @@ - -Index \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlisteclients/index.php b/radiantproduction/Vue/Ajaxlisteclients/index.php deleted file mode 100644 index f2a907d..0000000 --- a/radiantproduction/Vue/Ajaxlisteclients/index.php +++ /dev/null @@ -1,47 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($client_pop['id']); - $nocli=$this->nettoyer($client_pop['numeroClient']); - $nom = $this->nettoyer($client_pop['nom']); - $prenoms = $this->nettoyer($client_pop['prenoms']); - $nom .= $prenoms; - ?> - - - - - - - - - - - -
" onclick="javascript:afficher_pop_recherche_client();" />
nettoyer($client_pop['telephonePortable']) ?>nettoyer($client_pop['Ville']) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlisteclientsenc/index.php b/radiantproduction/Vue/Ajaxlisteclientsenc/index.php deleted file mode 100644 index 8ea4b51..0000000 --- a/radiantproduction/Vue/Ajaxlisteclientsenc/index.php +++ /dev/null @@ -1,47 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($client_pop['id']); - $nocli=$this->nettoyer($client_pop['numeroClient']); - $nom = $this->nettoyer($client_pop['nom']); - $prenoms = $this->nettoyer($client_pop['prenoms']); - $nom .= $prenoms; - ?> - - - - - - - - - - - -
" onclick="javascript:afficher_pop_recherche_client_enc();" />
nettoyer($client_pop['telephonePortable']) ?>nettoyer($client_pop['Ville']) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlisteclientsenfants/index.php b/radiantproduction/Vue/Ajaxlisteclientsenfants/index.php deleted file mode 100644 index 0b1fd1a..0000000 --- a/radiantproduction/Vue/Ajaxlisteclientsenfants/index.php +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - nettoyer($client_pop['idClient']); - $numeroClientE = $this->nettoyer($client_pop['numeroClient']); - $nomClientE = $this->nettoyer($client_pop['nomClient']); - ?> - - - - - - -
" onclick="javascript:afficher_pop_recherche_enfants_client();" />
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlisteclientsparents/index.php b/radiantproduction/Vue/Ajaxlisteclientsparents/index.php deleted file mode 100644 index 093a53f..0000000 --- a/radiantproduction/Vue/Ajaxlisteclientsparents/index.php +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - nettoyer($client_pop['idClient']); - $numeroClientP = $this->nettoyer($client_pop['numeroClient']); - $nomClientP = $this->nettoyer($client_pop['nomClient']); - ?> - - - - - - -
" onclick="javascript:afficher_pop_recherche_parent_client();" />
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlistecolleged/index.php b/radiantproduction/Vue/Ajaxlistecolleged/index.php deleted file mode 100644 index 433822b..0000000 --- a/radiantproduction/Vue/Ajaxlistecolleged/index.php +++ /dev/null @@ -1,113 +0,0 @@ -nettoyer($police['transforme']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Opt - - -
Total nettoyer($totalcollege['nbAdherent'])) ?>nettoyer($totalcollege['nbAyantdroit'])) ?>nettoyer($totalcollege['primeFamille_total'])) ?>nettoyer($totalcollege['primeNette_total'])) ?>nettoyer($totalcollege['commission_total'])) ?>nettoyer($totalcollege['commissionAutre_total'])) ?>nettoyer($totalcollege['accessoire_total'])) ?>nettoyer($totalcollege['primeHt_total'])) ?>nettoyer($totalcollege['taxe_total'])) ?>nettoyer($totalcollege['fraisCarte_total'])) ?>nettoyer($totalcollege['primeTtcAdherent_total'])) ?>nettoyer($totalcollege['primeTtcBeneficiaire_total'])) ?>nettoyer($totalcollege['primeTtc_total'])) ?>
nettoyer($college['numeroOptionTarif']) ?> nettoyer($college['codeProduit']) ?> nettoyer($college['libelleCollege']) ?> nettoyer($college['nbAdherent'])) ?>nettoyer($college['nbAyantdroit'])) ?>nettoyer($college['primeFamille'])) ?>nettoyer($college['primeNette'])) ?>nettoyer($college['commission'])) ?>nettoyer($college['commissionAutre'])) ?>nettoyer($college['accessoire'])) ?>nettoyer($college['primeHt'])) ?>nettoyer($college['taxe'])) ?>nettoyer($college['fraisCarte'])) ?>nettoyer($college['primeTtcAdherent'])) ?>nettoyer($college['primeTtcBeneficiaire'])) ?> - - nettoyer($college['primeTtcTotal'])) ?> - - - - - - - - - -
- - - -
diff --git a/radiantproduction/Vue/Ajaxlistecommercial/index.php b/radiantproduction/Vue/Ajaxlistecommercial/index.php deleted file mode 100644 index 2400e08..0000000 --- a/radiantproduction/Vue/Ajaxlistecommercial/index.php +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - nettoyer($commercial_pop['codeApporteur']); - $libelleApporteur = $this->nettoyer($commercial_pop['libelleApporteur']); - $libelleApporteur = $this->echapper($libelleApporteur); - $typeapporteur = $this->nettoyer($commercial_pop['typeapporteur']); - ?> - - - - - - - - - -
Code Type
" onclick="javascript:afficher_pop_recherche_commercial();" />
diff --git a/radiantproduction/Vue/Ajaxlistedecomptes/index.php b/radiantproduction/Vue/Ajaxlistedecomptes/index.php deleted file mode 100644 index caa2be5..0000000 --- a/radiantproduction/Vue/Ajaxlistedecomptes/index.php +++ /dev/null @@ -1,88 +0,0 @@ - - -
- KANE - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $etatdecompte = $this->nettoyer($decompte['etatdecompte']); - - if (est_anglophone()) - { - $etatdecompte = $this->nettoyer($decompte['etatdecompteEng']); - } - - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?> nettoyer($decomptes_total['montantPayeTotal'])) ?>
User
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?> nettoyer($decomptes_total['montantPayeTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['numeroDemandeReglement']) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['heureReglement'])) ?>nettoyer($decompte['codeModePaiement']) ?>nettoyer($decompte['referencePaiement']) ?>nettoyer($decompte['dateComptable'])) ?>nettoyer($decompte['userPaiement']) ?>nettoyer($decompte['codeBanquePayeur']) ?>nettoyer($decompte['montantPaye'])) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxlistedossiers/index.php b/radiantproduction/Vue/Ajaxlistedossiers/index.php deleted file mode 100644 index 0e754d0..0000000 --- a/radiantproduction/Vue/Ajaxlistedossiers/index.php +++ /dev/null @@ -1,54 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $facture = $feuillemaladie['facture']; - $tiersPayant = $feuillemaladie['tiersPayant']; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($feuillemaladie['numeroFeuilleMaladie']) ?>nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?>nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['medecinConsultation']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?> nettoyer($feuillemaladie['montantRembourse'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxlistefactures/index.php b/radiantproduction/Vue/Ajaxlistefactures/index.php deleted file mode 100644 index 0145466..0000000 --- a/radiantproduction/Vue/Ajaxlistefactures/index.php +++ /dev/null @@ -1,46 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - ?> - - - - - - - - - - - - - - - - - - -
Date
nettoyer($facture['numeroFeuilleMaladie']) ?>nettoyer($facture['numeroBonConsultation']) ?>nettoyer($facture['numeroBonOrdonnance']) ?>nettoyer($facture['idFacture']) ?>nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['numeroBeneficiaire']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>nettoyer($facture['montantRembourse'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxlistefamilleactetarif/index.php b/radiantproduction/Vue/Ajaxlistefamilleactetarif/index.php deleted file mode 100644 index 51f49b3..0000000 --- a/radiantproduction/Vue/Ajaxlistefamilleactetarif/index.php +++ /dev/null @@ -1,37 +0,0 @@ -
- - - - - - - - - - - - - - - nettoyer($familleacte['id']); - $hospitalisation = $familleacte['hospitalisation']; - ?> - - - - - - - - - - - - - - - - -
" onClick="javascript:modifier_familles_actes();"> " onClick="javascript:supprimer_familles_actes();">
-
diff --git a/radiantproduction/Vue/Ajaxlisteged/index.php b/radiantproduction/Vue/Ajaxlisteged/index.php deleted file mode 100644 index 4863f4b..0000000 --- a/radiantproduction/Vue/Ajaxlisteged/index.php +++ /dev/null @@ -1,45 +0,0 @@ -
- " ")) : ?> -
-

-
- - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistegedadherent/index.php b/radiantproduction/Vue/Ajaxlistegedadherent/index.php deleted file mode 100644 index 98df1ce..0000000 --- a/radiantproduction/Vue/Ajaxlistegedadherent/index.php +++ /dev/null @@ -1,43 +0,0 @@ -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistegedbeneficiaireprest/index.php b/radiantproduction/Vue/Ajaxlistegedbeneficiaireprest/index.php deleted file mode 100644 index f70db92..0000000 --- a/radiantproduction/Vue/Ajaxlistegedbeneficiaireprest/index.php +++ /dev/null @@ -1,43 +0,0 @@ -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistegedbeneficiaireprod/index.php b/radiantproduction/Vue/Ajaxlistegedbeneficiaireprod/index.php deleted file mode 100644 index a6e7c8f..0000000 --- a/radiantproduction/Vue/Ajaxlistegedbeneficiaireprod/index.php +++ /dev/null @@ -1,43 +0,0 @@ -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistegedfeuillemaladie/index.php b/radiantproduction/Vue/Ajaxlistegedfeuillemaladie/index.php deleted file mode 100644 index 07570fd..0000000 --- a/radiantproduction/Vue/Ajaxlistegedfeuillemaladie/index.php +++ /dev/null @@ -1,42 +0,0 @@ - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistegedpharmacie/index.php b/radiantproduction/Vue/Ajaxlistegedpharmacie/index.php deleted file mode 100644 index 2bbf007..0000000 --- a/radiantproduction/Vue/Ajaxlistegedpharmacie/index.php +++ /dev/null @@ -1,28 +0,0 @@ -
- " ")) : ?> - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistegedpolice/index.php b/radiantproduction/Vue/Ajaxlistegedpolice/index.php deleted file mode 100644 index cfe044e..0000000 --- a/radiantproduction/Vue/Ajaxlistegedpolice/index.php +++ /dev/null @@ -1,42 +0,0 @@ -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Ajaxlistemedecins/index.php b/radiantproduction/Vue/Ajaxlistemedecins/index.php deleted file mode 100644 index 8e7a4e9..0000000 --- a/radiantproduction/Vue/Ajaxlistemedecins/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - nettoyer($mdedecin_pop['codeMedecin']); - $nomMedecin = $this->nettoyer($mdedecin_pop['nomMedecin']); - $noOrdreMedecin = $this->nettoyer($mdedecin_pop['noOrdreMedecin']); - $specialite = $this->nettoyer($mdedecin_pop['specialite']); - ?> - - - - - - - - - -
Code
" onclick="javascript:afficher_pop_recherche_medecin();" />" onclick="javascript:reinitialiser_medecin();" />
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlistemedecinsparametrage/index.php b/radiantproduction/Vue/Ajaxlistemedecinsparametrage/index.php deleted file mode 100644 index a081068..0000000 --- a/radiantproduction/Vue/Ajaxlistemedecinsparametrage/index.php +++ /dev/null @@ -1,51 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - nettoyer($medecin['id']); - $codeMedecin = $this->nettoyer($medecin['codeMedecin']); - $specialite = $this->nettoyer($medecin['specialite']); - - if (est_anglophone()) - { - $specialite = $this->nettoyer($medecin['specialiteEng']); - } - - $nbligne++; - ?> - - - - - - - - - - - - - - - -
Sex Tel E-mail Cons
nettoyer($medecin['nom']) ?>nettoyer($medecin['prenoms']) ?>nettoyer($medecin['noOrdreMedecin']) ?>nettoyer($medecin['sexe']) ?>nettoyer($medecin['telephone']) ?>nettoyer($medecin['email']) ?> - " onClick="javascript:afficher_medecin_id();" style='font-size:7pt;' > -
- -
diff --git a/radiantproduction/Vue/Ajaxlistemessagerie/index.php b/radiantproduction/Vue/Ajaxlistemessagerie/index.php deleted file mode 100644 index 136c9a0..0000000 --- a/radiantproduction/Vue/Ajaxlistemessagerie/index.php +++ /dev/null @@ -1,99 +0,0 @@ -
- - - - - - - - - - - nettoyer($message_commun['idMessagerie']); - ?> - - - - - - - - -
Id Date
nettoyer($message_commun['dateSysteme'])) ?> nettoyer($message_commun['expediteur']) ?>
- - - - - - - - - - - - - - - - - - - - - - nettoyer($message['idMessagerie']); - $messageLu = $this->nettoyer($message['messageLu']); - $idParent = $this->nettoyer($message['idParent']); - $repondu = $this->nettoyer($message['repondu']); - $codePrestataire = $this->nettoyer($message['codePrestataire']); - $envoiP = $this->nettoyer($message['envoiP']); - - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Id Date Message
nettoyer($message['dateSysteme'])) ?> nettoyer($message['prestataire']) ?> nettoyer($message['expediteur']) ?> <== nettoyer($message['dateSysteme'])) ?> nettoyer($message['prestataire']) ?> nettoyer($message['expediteur']) ?> ==>
- -
diff --git a/radiantproduction/Vue/Ajaxlistemessageriecommun/index.php b/radiantproduction/Vue/Ajaxlistemessageriecommun/index.php deleted file mode 100644 index 4eb0456..0000000 --- a/radiantproduction/Vue/Ajaxlistemessageriecommun/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - nettoyer($message_commun['idMessagerie']); - $nbligne++; - ?> - - - - - - - - -
Id Date
nettoyer($message_commun['dateSysteme'])) ?> nettoyer($message_commun['expediteur']) ?>
- - -
diff --git a/radiantproduction/Vue/Ajaxlistemessagerieforme/index.php b/radiantproduction/Vue/Ajaxlistemessagerieforme/index.php deleted file mode 100644 index f3ba58b..0000000 --- a/radiantproduction/Vue/Ajaxlistemessagerieforme/index.php +++ /dev/null @@ -1,77 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($message['idMessagerie']); - $messageLu = $this->nettoyer($message['messageLu']); - $idParent = $this->nettoyer($message['idParent']); - $repondu = $this->nettoyer($message['repondu']); - $codePrestataire = $this->nettoyer($message['codePrestataire']); - $envoiP = $this->nettoyer($message['envoiP']); - - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Id Date Message
nettoyer($message['dateSysteme'])) ?> nettoyer($message['prestataire']) ?> nettoyer($message['expediteur']) ?> <== nettoyer($message['dateSysteme'])) ?> nettoyer($message['prestataire']) ?> nettoyer($message['expediteur']) ?> ==>
- -
diff --git a/radiantproduction/Vue/Ajaxlisteprestatairemessagerie/index.php b/radiantproduction/Vue/Ajaxlisteprestatairemessagerie/index.php deleted file mode 100644 index 925bb40..0000000 --- a/radiantproduction/Vue/Ajaxlisteprestatairemessagerie/index.php +++ /dev/null @@ -1,51 +0,0 @@ -
- -
- - - - - - - - - - - nettoyer($prestataire_non_selection['id']); - ?> - - - - - - - -
E-mail
nettoyer($prestataire_non_selection['libelle']) ?>nettoyer($prestataire_non_selection['email']) ?>
-
- -
- - - - - - - - - - - nettoyer($prestataire_selection['id']); - ?> - - - - - - - -
E-mail
nettoyer($prestataire_selection['libelle']) ?>nettoyer($prestataire_selection['email']) ?>
-
-
- diff --git a/radiantproduction/Vue/Ajaxlisteprestataireparametrage/index.php b/radiantproduction/Vue/Ajaxlisteprestataireparametrage/index.php deleted file mode 100644 index 14ce7d2..0000000 --- a/radiantproduction/Vue/Ajaxlisteprestataireparametrage/index.php +++ /dev/null @@ -1,53 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($prestataire['id']); - $codePrestataire = $this->nettoyer($prestataire['codePrestataire']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - -
Code Type Cons
Act Phar Opt
nettoyer($prestataire['libelle']) ?>nettoyer($prestataire['codePrestataire']) ?>nettoyer($prestataire['codeTypePrestataire']) ?>nettoyer($prestataire['typeprestataire']) ?>nettoyer($prestataire['codeReseau']) ?>nettoyer($prestataire['reseausoins']) ?>nettoyer($prestataire['codeTarifActe']) ?>nettoyer($prestataire['codeTarifMedicament']) ?>nettoyer($prestataire['codeTarifOptique']) ?>nettoyer($prestataire['codePays']) ?>nettoyer($prestataire['localite']) ?> - " onClick="javascript:afficher_prestataire_id();" style='font-size:7pt;' > -
- -
diff --git a/radiantproduction/Vue/Ajaxlisteprestataires/index.php b/radiantproduction/Vue/Ajaxlisteprestataires/index.php deleted file mode 100644 index 989a7da..0000000 --- a/radiantproduction/Vue/Ajaxlisteprestataires/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - nettoyer($prestataire_pop['codePrestataire']); - $nomPrestataire = $this->nettoyer($prestataire_pop['nomPrestataire']); - $nomPrestataire = $this->echapper($nomPrestataire); - $typeprestataire = $this->nettoyer($prestataire_pop['typeprestataire']); - ?> - - - - - - - - - -
Code Type
" onclick="javascript:afficher_pop_recherche_prestataire();" />
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlisteprestatairesb/index.php b/radiantproduction/Vue/Ajaxlisteprestatairesb/index.php deleted file mode 100644 index 194c551..0000000 --- a/radiantproduction/Vue/Ajaxlisteprestatairesb/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - nettoyer($prestataire_pop['codePrestataire']); - $nomPrestataire = $this->nettoyer($prestataire_pop['nomPrestataire']); - $nomPrestataire = $this->echapper($nomPrestataire); - $typeprestataire = $this->nettoyer($prestataire_pop['typeprestataire']); - ?> - - - - - - - - - -
Code Type
" onclick="javascript:afficher_pop_recherche_prestataire2();" />
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxlisterecherchecartebeneficiaire/index.php b/radiantproduction/Vue/Ajaxlisterecherchecartebeneficiaire/index.php deleted file mode 100644 index 1800606..0000000 --- a/radiantproduction/Vue/Ajaxlisterecherchecartebeneficiaire/index.php +++ /dev/null @@ -1,52 +0,0 @@ -
- - - - - - - - - - - - - - - - - nettoyer($carte['idBeneficiaireCarte']); - - $dateCarte = dateLang($this->nettoyer($carte['dateCarte'])); - $montantCarte = $this->nettoyer($carte['montantCarte']); - - $facture = $this->nettoyer($carte['facture']); - $regle = $this->nettoyer($carte['regle']); - ?> - - - - - - - - - - - - - - - - - - - - - - - -
Date User
nettoyer($carte['dateCarte'])) ?>nettoyer($carte['montantCarte'])) ?> nettoyer($carte['typecarte']) ?>nettoyer($carte['codeUtilisateur']) ?> " onClick="javascript:init_modif_carte_beneficiaire(, '', , '', );" style='font-size:9pt;' > " onClick="javascript:supprimer_carte(, );" style='font-size:9pt;' >
- -
diff --git a/radiantproduction/Vue/Ajaxlisterecherchecartegc/index.php b/radiantproduction/Vue/Ajaxlisterecherchecartegc/index.php deleted file mode 100644 index 2f78a05..0000000 --- a/radiantproduction/Vue/Ajaxlisterecherchecartegc/index.php +++ /dev/null @@ -1,94 +0,0 @@ -
- - - - - - - - - - - - - - - nettoyer($beneficiaire['idBeneficiaire']); - $numeroBeneficiaire = $this->nettoyer($beneficiaire['numeroBeneficiaire']); - ?> - - - - - - - - - - - - - -
nettoyer($beneficiaire['souscripteur']) ?>nettoyer($beneficiaire['adherent']) ?>nettoyer($beneficiaire['beneficiaire']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['gcassureur']) ?> - " onClick="javascript:init_creer_carte_gc();" style='font-size:9pt;' > - -
- - " readonly > - - - - - - - - - - - - - - - - nettoyer($carte['idGcCarte']); - - $dateCarte = dateLang($this->nettoyer($carte['dateCarte'])); - $montantCarte = $this->nettoyer($carte['montantCarte']); - - $facture = $this->nettoyer($carte['facture']); - $regle = $this->nettoyer($carte['regle']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date User
nettoyer($carte['dateCarte'])) ?>nettoyer($carte['montantCarte'])) ?> nettoyer($carte['typecarte']) ?>nettoyer($carte['codeUtilisateur']) ?> " onClick="javascript:init_modif_carte_gc(, '', , '', );" style='font-size:9pt;' > " onClick="javascript:supprimer_carte_gc(, );" style='font-size:9pt;' >
- -
diff --git a/radiantproduction/Vue/Ajaxlistereglementsgc/index.php b/radiantproduction/Vue/Ajaxlistereglementsgc/index.php deleted file mode 100644 index 0448dcd..0000000 --- a/radiantproduction/Vue/Ajaxlistereglementsgc/index.php +++ /dev/null @@ -1,108 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idGcReglement']); - $gcNumeroDecompte = $this->nettoyer($decompte['gcNumeroDecompte']); - - $valide0 = $this->nettoyer($decompte['valide0']); - $valideAs = $this->nettoyer($decompte['valideAs']); - $valide = $this->nettoyer($decompte['valide']); - $regle = $this->nettoyer($decompte['regle']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date Observations - - -
Nb Nb 1 2
- - nettoyer($decompte['dateSysteme'])) ?>nettoyer($decompte['observations']) ?>nettoyer($decompte['nbFacture']) ?>nettoyer($decompte['montantFacture'])) ?>nettoyer($decompte['montantRedresse'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['commissionFacture'])) ?>nettoyer($decompte['commissionRedresse'])) ?>nettoyer($decompte['nbCarte']) ?>nettoyer($decompte['montantCarte'])) ?>nettoyer($decompte['htCarte'])) ?>nettoyer($decompte['tvaCarte'])) ?>nettoyer($decompte['montantDu'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxlocaliseradherent/index.php b/radiantproduction/Vue/Ajaxlocaliseradherent/index.php deleted file mode 100644 index af0dc31..0000000 --- a/radiantproduction/Vue/Ajaxlocaliseradherent/index.php +++ /dev/null @@ -1,48 +0,0 @@ - -
-
- - - - - - - - - nettoyer($adherent_out['idAherent']); - ?> - - - - - - - -
'.format_N($nb_out).' '._('familles') ?>
nettoyer($adherent_out['nomAdherent']) ?>nettoyer($adherent_out['numeroAdherent']) ?>
-
- -
- - - - - - - - - nettoyer($adherent_in['idAherent']); - ?> - - - - - - -
'.format_N($nb_in).' '._('familles') ?>
nettoyer($adherent_in['nomAdherent']) ?>nettoyer($adherent_in['numeroAdherent']) ?>
-
-
diff --git a/radiantproduction/Vue/Ajaxlocalite/consultation.php b/radiantproduction/Vue/Ajaxlocalite/consultation.php deleted file mode 100644 index 3cce2d7..0000000 --- a/radiantproduction/Vue/Ajaxlocalite/consultation.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxlocalite/filtreadherentlocalite.php b/radiantproduction/Vue/Ajaxlocalite/filtreadherentlocalite.php deleted file mode 100644 index 0b89fb2..0000000 --- a/radiantproduction/Vue/Ajaxlocalite/filtreadherentlocalite.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxlocalite/index.php b/radiantproduction/Vue/Ajaxlocalite/index.php deleted file mode 100644 index 5d8d05a..0000000 --- a/radiantproduction/Vue/Ajaxlocalite/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxlogconnexion/index.php b/radiantproduction/Vue/Ajaxlogconnexion/index.php deleted file mode 100644 index 573f0e0..0000000 --- a/radiantproduction/Vue/Ajaxlogconnexion/index.php +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - -
nettoyer($cumullogconnexion['application']) ?> nettoyer($cumullogconnexion['nbLignes'])) ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($logconnexion['login']) ?> nettoyer($logconnexion['utilisateur']) ?> nettoyer($logconnexion['entite']) ?> nettoyer($logconnexion['heureConnexion'])) ?> - - nettoyer($logconnexion['application']) ?>
diff --git a/radiantproduction/Vue/Ajaxlogreconnaissancefaciale/index.php b/radiantproduction/Vue/Ajaxlogreconnaissancefaciale/index.php deleted file mode 100644 index bf228ff..0000000 --- a/radiantproduction/Vue/Ajaxlogreconnaissancefaciale/index.php +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - nettoyer($resultat['success']) - ?> - - - - - - - - - - - - - - - - - - - - -
nettoyer($resultat['debut'])) ?> nettoyer($resultat['fin'])) ?> nettoyer($resultat['duree']) ?> nettoyer($resultat['codeUtilisateur']) ?> nettoyer($resultat['libelleAction']) ?> nettoyer($resultat['prestataire']) ?> nettoyer($resultat['numeroBeneficiaire']) ?> nettoyer($resultat['souscripteur']) ?> nettoyer($resultat['adherent']) ?> nettoyer($resultat['beneficiaire']) ?>
diff --git a/radiantproduction/Vue/Ajaxlogregisterface/index.php b/radiantproduction/Vue/Ajaxlogregisterface/index.php deleted file mode 100644 index 0700dd4..0000000 --- a/radiantproduction/Vue/Ajaxlogregisterface/index.php +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($resultat['dateSysteme'])) ?> nettoyer($resultat['codeUtilisateur']) ?> nettoyer($resultat['numerobeneficiaire']) ?> nettoyer($resultat['prestataire']) ?> nettoyer($resultat['souscripteur']) ?> nettoyer($resultat['adherent']) ?> nettoyer($resultat['beneficiaire']) ?>
diff --git a/radiantproduction/Vue/Ajaxlogremoveface/index.php b/radiantproduction/Vue/Ajaxlogremoveface/index.php deleted file mode 100644 index 4ce68cb..0000000 --- a/radiantproduction/Vue/Ajaxlogremoveface/index.php +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($resultat['dateSysteme'])) ?> nettoyer($resultat['codeUtilisateur']) ?> nettoyer($resultat['numerobeneficiaire']) ?> nettoyer($resultat['prestataire']) ?> nettoyer($resultat['souscripteur']) ?> nettoyer($resultat['adherent']) ?> nettoyer($resultat['beneficiaire']) ?> nettoyer($resultat['motif']) ?>
diff --git a/radiantproduction/Vue/Ajaxmajlibellecollege/index.php b/radiantproduction/Vue/Ajaxmajlibellecollege/index.php deleted file mode 100644 index 6009300..0000000 --- a/radiantproduction/Vue/Ajaxmajlibellecollege/index.php +++ /dev/null @@ -1 +0,0 @@ -OK Ajaxmajlibellecollege \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxmedecinparam/creermedecin.php b/radiantproduction/Vue/Ajaxmedecinparam/creermedecin.php deleted file mode 100644 index af1a3c4..0000000 --- a/radiantproduction/Vue/Ajaxmedecinparam/creermedecin.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
-

-
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxmedecinparam/index.php b/radiantproduction/Vue/Ajaxmedecinparam/index.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Ajaxmedecinsprestataire/index.php b/radiantproduction/Vue/Ajaxmedecinsprestataire/index.php deleted file mode 100644 index 22f7664..0000000 --- a/radiantproduction/Vue/Ajaxmedecinsprestataire/index.php +++ /dev/null @@ -1,79 +0,0 @@ - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($medecinsnonaccessible['noOrdreMedecin']) ?> nettoyer($medecinsnonaccessible['nom']) ?>nettoyer($medecinsnonaccessible['prenoms']) ?>nettoyer($medecinsnonaccessible['specialite']) ?>nettoyer($medecinsnonaccessible['specialiteEng']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($medecinsaccessible['noOrdreMedecin']) ?> nettoyer($medecinsaccessible['nom']) ?>nettoyer($medecinsaccessible['prenoms']) ?>
-
-
-
diff --git a/radiantproduction/Vue/Ajaxmenusprofil/index.php b/radiantproduction/Vue/Ajaxmenusprofil/index.php deleted file mode 100644 index 06a21da..0000000 --- a/radiantproduction/Vue/Ajaxmenusprofil/index.php +++ /dev/null @@ -1 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxmessagerie/index.php b/radiantproduction/Vue/Ajaxmessagerie/index.php deleted file mode 100644 index 5d72780..0000000 --- a/radiantproduction/Vue/Ajaxmessagerie/index.php +++ /dev/null @@ -1,4 +0,0 @@ -
- - -
diff --git a/radiantproduction/Vue/Ajaxmessageriecommun/index.php b/radiantproduction/Vue/Ajaxmessageriecommun/index.php deleted file mode 100644 index b240251..0000000 --- a/radiantproduction/Vue/Ajaxmessageriecommun/index.php +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - -
- -
Message
" onClick="javascript:enregistrer_message_commun();"> " onClick='javascript:$("#btn_pop_messagerie_commun_quit").click();'/>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxmessageriehistorique/index.php b/radiantproduction/Vue/Ajaxmessageriehistorique/index.php deleted file mode 100644 index b347d58..0000000 --- a/radiantproduction/Vue/Ajaxmessageriehistorique/index.php +++ /dev/null @@ -1,25 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - -
Id Date Message
nettoyer($message['idMessagerie'])?> nettoyer($message['dateSysteme'])) ?> nettoyer($message['expediteur']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxmessagerieliste/index.php b/radiantproduction/Vue/Ajaxmessagerieliste/index.php deleted file mode 100644 index 8909264..0000000 --- a/radiantproduction/Vue/Ajaxmessagerieliste/index.php +++ /dev/null @@ -1,32 +0,0 @@ -
- - - - - - - - - - - - - - nettoyer($messagesnonlu['idMessagerie']); - ?> - - - - - - - - - - - - - -
Id Date Message
nettoyer($messagesnonlu['dateSysteme'])) ?> nettoyer($messagesnonlu['prestataire']) ?> nettoyer($messagesnonlu['expediteur']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxmessagerienew/index.php b/radiantproduction/Vue/Ajaxmessagerienew/index.php deleted file mode 100644 index d65320e..0000000 --- a/radiantproduction/Vue/Ajaxmessagerienew/index.php +++ /dev/null @@ -1,28 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - -
- -
Message
" onClick="javascript:enregistrer_new_message();"> " onClick='javascript:$("#btn_pop_messagerie_new_quit").click();'/>
- -
diff --git a/radiantproduction/Vue/Ajaxmessageriereponse/index.php b/radiantproduction/Vue/Ajaxmessageriereponse/index.php deleted file mode 100644 index 997a5f0..0000000 --- a/radiantproduction/Vue/Ajaxmessageriereponse/index.php +++ /dev/null @@ -1,28 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Message
" onClick="javascript:enregistrer_repondre_message();"> " onClick='javascript:$("#btn_pop_messagerie_reponse_quit").click();'/>
-
diff --git a/radiantproduction/Vue/Ajaxmoyenpaiement/index.php b/radiantproduction/Vue/Ajaxmoyenpaiement/index.php deleted file mode 100644 index 5396398..0000000 --- a/radiantproduction/Vue/Ajaxmoyenpaiement/index.php +++ /dev/null @@ -1,7 +0,0 @@ -
- -
- - diff --git a/radiantproduction/Vue/Ajaxnocptmoyenpaiement/index.php b/radiantproduction/Vue/Ajaxnocptmoyenpaiement/index.php deleted file mode 100644 index 76c958c..0000000 --- a/radiantproduction/Vue/Ajaxnocptmoyenpaiement/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxnotesbeneficiaire/index.php b/radiantproduction/Vue/Ajaxnotesbeneficiaire/index.php deleted file mode 100644 index 6efd79e..0000000 --- a/radiantproduction/Vue/Ajaxnotesbeneficiaire/index.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - - - - - - - - - - nettoyer($notefeuillemaladie['idNote']); - $source = $this->nettoyer($notefeuillemaladie['source']); - ?> - - - - - - - - -
Date Notes
nettoyer($notefeuillemaladie['dateSysteme'])) ?> - - nettoyer($_SESSION['adherent_C']) ?> - - nettoyer($notefeuillemaladie['redacteur']) ?> - - nettoyer($notefeuillemaladie['source']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxnotesfeuillemaladie/index.php b/radiantproduction/Vue/Ajaxnotesfeuillemaladie/index.php deleted file mode 100644 index bd1e9ee..0000000 --- a/radiantproduction/Vue/Ajaxnotesfeuillemaladie/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - nettoyer($notefeuillemaladie['idNote']); - $source = $this->nettoyer($notefeuillemaladie['source']); - ?> - - - - - - - - - -
ID Date Notes
nettoyer($notefeuillemaladie['dateSysteme'])) ?> - - nettoyer($_SESSION['adherent_C']) ?> - - nettoyer($notefeuillemaladie['redacteur']) ?> - - nettoyer($notefeuillemaladie['source']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxnotesfeuillemaladie/nouvellenote.php b/radiantproduction/Vue/Ajaxnotesfeuillemaladie/nouvellenote.php deleted file mode 100644 index 698266b..0000000 --- a/radiantproduction/Vue/Ajaxnotesfeuillemaladie/nouvellenote.php +++ /dev/null @@ -1,18 +0,0 @@ -
- - - - - - - - - - - - - - - -
"onClick="javascript:enregistrer_new_notes();"> " onClick='javascript:$("#btn_pop_note_new_quit").click();'/>
-
diff --git a/radiantproduction/Vue/Ajaxnouvelacte/enregistrermodifacte.php b/radiantproduction/Vue/Ajaxnouvelacte/enregistrermodifacte.php deleted file mode 100644 index 92b23a8..0000000 --- a/radiantproduction/Vue/Ajaxnouvelacte/enregistrermodifacte.php +++ /dev/null @@ -1 +0,0 @@ -OK enregistrermodifacte \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxnouvelacte/enregistrernouvelacte.php b/radiantproduction/Vue/Ajaxnouvelacte/enregistrernouvelacte.php deleted file mode 100644 index 8f8b428..0000000 --- a/radiantproduction/Vue/Ajaxnouvelacte/enregistrernouvelacte.php +++ /dev/null @@ -1 +0,0 @@ -OK Ajaxnouvelacte \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecompte/enregistrervaliderpaiementdecompte.php b/radiantproduction/Vue/Ajaxpaiementdecompte/enregistrervaliderpaiementdecompte.php deleted file mode 100644 index 52815fb..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecompte/enregistrervaliderpaiementdecompte.php +++ /dev/null @@ -1,3 +0,0 @@ -
- enregistrervaliderpaiementdecompte -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecompte/index.php b/radiantproduction/Vue/Ajaxpaiementdecompte/index.php deleted file mode 100644 index 2391e7f..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecompte/index.php +++ /dev/null @@ -1,3 +0,0 @@ -
- INDEX -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecompte/initierpaimentdecompte.php b/radiantproduction/Vue/Ajaxpaiementdecompte/initierpaimentdecompte.php deleted file mode 100644 index 3e870e6..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecompte/initierpaimentdecompte.php +++ /dev/null @@ -1,3 +0,0 @@ -
- OK initierpaiementdecompte idPaiementDecompte : -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecompte/listerpaiementdecompte.php b/radiantproduction/Vue/Ajaxpaiementdecompte/listerpaiementdecompte.php deleted file mode 100644 index 91c3edf..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecompte/listerpaiementdecompte.php +++ /dev/null @@ -1,57 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($reglement['idPaiementDecompte']); - $numeroReglement = $this->nettoyer($reglement['numeroReglement']); - $valide = $this->nettoyer($reglement['valide']); - ?> - - - - - - - - - - - - - - - - -
Date Init
User
nettoyer($reglement['dateSysteme'])) ?> - - - - - - nettoyer($reglement['codeUtilisateur']) ?>nettoyer($reglement['nbDecomptes'])) ?>nettoyer($reglement['montantApayer'])) ?>nettoyer($reglement['userPaiement']) ?>nettoyer($reglement['heureReglement'])) ?>nettoyer($reglement['codeModePaiement']) ?>nettoyer($reglement['codeBanquePayeur']) ?>nettoyer($reglement['referencePaiement']) ?>nettoyer($reglement['dateComptable'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/deselectionner.php b/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/deselectionner.php deleted file mode 100644 index e8b0174..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/deselectionner.php +++ /dev/null @@ -1,3 +0,0 @@ -
- deselectionner -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/index.php b/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/index.php deleted file mode 100644 index b4384de..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/index.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - " readonly > - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idTemp']); - $idReglement = $this->nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - ?> - - - - - - - - - - - - - - - - - - - -
Type
- -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/reafficher.php b/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/reafficher.php deleted file mode 100644 index b4384de..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/reafficher.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - " readonly > - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idTemp']); - $idReglement = $this->nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - ?> - - - - - - - - - - - - - - - - - - - -
Type
- -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/selectionner.php b/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/selectionner.php deleted file mode 100644 index 0b4d5b2..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/selectionner.php +++ /dev/null @@ -1,3 +0,0 @@ -
- selectionner -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/validerselection.php b/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/validerselection.php deleted file mode 100644 index 4f8356e..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptenonsel/validerselection.php +++ /dev/null @@ -1,36 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date Init
- -
-
- diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptesel/deselectionner.php b/radiantproduction/Vue/Ajaxpaiementdecomptesel/deselectionner.php deleted file mode 100644 index e8b0174..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptesel/deselectionner.php +++ /dev/null @@ -1,3 +0,0 @@ -
- deselectionner -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptesel/index.php b/radiantproduction/Vue/Ajaxpaiementdecomptesel/index.php deleted file mode 100644 index 0c66103..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptesel/index.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idTemp']); - $idReglement = $this->nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - ?> - - - - - - - - - - - - - - - - - - - -
Type
- -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptesel/reafficher.php b/radiantproduction/Vue/Ajaxpaiementdecomptesel/reafficher.php deleted file mode 100644 index 998c330..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptesel/reafficher.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - " readonly > - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idTemp']); - $idReglement = $this->nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - ?> - - - - - - - - - - - - - - - - - - - -
Type
- -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptesel/selectionner.php b/radiantproduction/Vue/Ajaxpaiementdecomptesel/selectionner.php deleted file mode 100644 index 0b4d5b2..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptesel/selectionner.php +++ /dev/null @@ -1,3 +0,0 @@ -
- selectionner -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxpaiementdecomptesel/validerselection.php b/radiantproduction/Vue/Ajaxpaiementdecomptesel/validerselection.php deleted file mode 100644 index 7c51fac..0000000 --- a/radiantproduction/Vue/Ajaxpaiementdecomptesel/validerselection.php +++ /dev/null @@ -1,36 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date Init
- -
-
- diff --git a/radiantproduction/Vue/Ajaxpaiementprestationcumul/index.php b/radiantproduction/Vue/Ajaxpaiementprestationcumul/index.php deleted file mode 100644 index 420395b..0000000 --- a/radiantproduction/Vue/Ajaxpaiementprestationcumul/index.php +++ /dev/null @@ -1,48 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbDecomptesPayesTotal'])) ?> nettoyer($donnees_total['montantPayeTotal'])) ?>
nettoyer($donnees_total['nbDecomptesPayesTotal'])) ?> nettoyer($donnees_total['montantPayeTotal'])) ?>
nettoyer($donnee['exercice']) ?>nettoyer($donnee['mois']) ?>nettoyer($donnee['nbDecomptesPayes'])) ?>nettoyer($donnee['montantPaye'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxpaiementprestationdet/index.php b/radiantproduction/Vue/Ajaxpaiementprestationdet/index.php deleted file mode 100644 index ca7b674..0000000 --- a/radiantproduction/Vue/Ajaxpaiementprestationdet/index.php +++ /dev/null @@ -1,60 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbDecomptesPayesTotal'])) ?> nettoyer($donnees_total['montantPayeTotal'])) ?>
nettoyer($donnees_total['nbDecomptesPayesTotal'])) ?> nettoyer($donnees_total['montantPayeTotal'])) ?>
nettoyer($donnee['exercice']) ?>nettoyer($donnee['mois']) ?>nettoyer($donnee['dateComptable'])) ?>nettoyer($donnee['nbDecomptesPayes'])) ?>nettoyer($donnee['montantPaye'])) ?>nettoyer($donnee['codeModePaiement']) ?>nettoyer($donnee['referencePaiement']) ?>nettoyer($donnee['codeBanquePayeur']) ?>nettoyer($donnee['userPaiement']) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxparamactesvisible/index.php b/radiantproduction/Vue/Ajaxparamactesvisible/index.php deleted file mode 100644 index ccd14f7..0000000 --- a/radiantproduction/Vue/Ajaxparamactesvisible/index.php +++ /dev/null @@ -1,26 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - -
nettoyer($utilisateur['nomUtilisateur']) ?> Désactiver?") ?>" onClick="javascript:gerer_acces_actes_assureur('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_actes_assureur('', '');">
-
diff --git a/radiantproduction/Vue/Ajaxparambons/enregistrermodif.php b/radiantproduction/Vue/Ajaxparambons/enregistrermodif.php deleted file mode 100644 index 7cc8e9f..0000000 --- a/radiantproduction/Vue/Ajaxparambons/enregistrermodif.php +++ /dev/null @@ -1 +0,0 @@ -OK enregistrermodif \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparambons/index.php b/radiantproduction/Vue/Ajaxparambons/index.php deleted file mode 100644 index 70498b1..0000000 --- a/radiantproduction/Vue/Ajaxparambons/index.php +++ /dev/null @@ -1,44 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- " - onClick="javascript:enregistrer_modif_type_bon();"> -
-
diff --git a/radiantproduction/Vue/Ajaxparametresgeneraux/index.php b/radiantproduction/Vue/Ajaxparametresgeneraux/index.php deleted file mode 100644 index 26fcab3..0000000 --- a/radiantproduction/Vue/Ajaxparametresgeneraux/index.php +++ /dev/null @@ -1 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
nettoyer($users_ass['nom']) ?>nettoyer($users_ass['prenoms']) ?>nettoyer($users_ass['codeUtilisateur']) ?>nettoyer($users_ass['pointvente']) ?>nettoyer($users_ass['codeProfil']) ?> - " onClick="javascript:afficher_users_agence_id();" style='font-size:9pt;' > -
- diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/Ajaxlisteusersass.php b/radiantproduction/Vue/Ajaxparamhabilitationass/Ajaxlisteusersass.php deleted file mode 100644 index 63b82c6..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/Ajaxlisteusersass.php +++ /dev/null @@ -1,63 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
nettoyer($users_ass['nom']) ?>nettoyer($users_ass['prenoms']) ?>nettoyer($users_ass['codeUtilisateur']) ?>nettoyer($users_ass['profil']) ?>nettoyer($users_ass['codeProfil']) ?> - " onClick="javascript:afficher_users_ass_id();" style='font-size:9pt;' > -
-
diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/afficheraccesmenuprincipalass.php b/radiantproduction/Vue/Ajaxparamhabilitationass/afficheraccesmenuprincipalass.php deleted file mode 100644 index b6ef802..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/afficheraccesmenuprincipalass.php +++ /dev/null @@ -1,76 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - -
Menu =>
-
- -
- - - - - - - - - - - - - - - - - - - - - -
<= Menu
-
-
- -
diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/afficheraccessousmenusass.php b/radiantproduction/Vue/Ajaxparamhabilitationass/afficheraccessousmenusass.php deleted file mode 100644 index 6178413..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/afficheraccessousmenusass.php +++ /dev/null @@ -1,80 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Menu =>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
<= Menu
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/afficherattributionprofilassureur.php b/radiantproduction/Vue/Ajaxparamhabilitationass/afficherattributionprofilassureur.php deleted file mode 100644 index 4310dc2..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/afficherattributionprofilassureur.php +++ /dev/null @@ -1,60 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Login =>
nettoyer($utilisateur_hors_profil['nomUtilisateur']) ?>nettoyer($utilisateur_hors_profil['codeUtilisateur']) ?>nettoyer($utilisateur_hors_profil['codeProfil']) ?>
-
- -
- - - - - - - - - - - - - - - - - -
Login
nettoyer($utilisateur_profil['nomUtilisateur']) ?>nettoyer($utilisateur_profil['codeUtilisateur']) ?>
-
-
- -
diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/ajouterunsousmenusass.php b/radiantproduction/Vue/Ajaxparamhabilitationass/ajouterunsousmenusass.php deleted file mode 100644 index c89ed47..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/ajouterunsousmenusass.php +++ /dev/null @@ -1 +0,0 @@ -OK ajouterunsousmenusass \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/ajouterunutilisateurprofilassureur.php b/radiantproduction/Vue/Ajaxparamhabilitationass/ajouterunutilisateurprofilassureur.php deleted file mode 100644 index 707eb95..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/ajouterunutilisateurprofilassureur.php +++ /dev/null @@ -1 +0,0 @@ -OK ajouterunutilisateurprofilassureur \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/creeruseragence.php b/radiantproduction/Vue/Ajaxparamhabilitationass/creeruseragence.php deleted file mode 100644 index d7d289d..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/creeruseragence.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
-

-
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/creeruserassureur.php b/radiantproduction/Vue/Ajaxparamhabilitationass/creeruserassureur.php deleted file mode 100644 index d7d289d..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/creeruserassureur.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
-

-
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/index.php b/radiantproduction/Vue/Ajaxparamhabilitationass/index.php deleted file mode 100644 index 5a5a1db..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/index.php +++ /dev/null @@ -1,53 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
nettoyer($utilisateur['codeUtilisateur']) ?> nettoyer($utilisateur['nomUtilisateur']) ?> " onClick="javascript:reinitpaswd_assureur('');"> " onClick="javascript:reinitpaswd_assureur('');"> " onClick="javascript:desactiver_user_assureur('');"> " onClick="javascript:activer_user_assureur('');"> Désactiver?") ?>" onClick="javascript:gerer_acces_actes_assureur_hab('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_actes_assureur_hab('', '');"> Désactiver?") ?>" onClick="javascript:gerer_acces_affection_assureur_hab('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_affection_assureur_hab('', '');">
-
diff --git a/radiantproduction/Vue/Ajaxparamhabilitationass/listervuemodule.php b/radiantproduction/Vue/Ajaxparamhabilitationass/listervuemodule.php deleted file mode 100644 index e1927c2..0000000 --- a/radiantproduction/Vue/Ajaxparamhabilitationass/listervuemodule.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxparamrequeteperso/desactiver.php b/radiantproduction/Vue/Ajaxparamrequeteperso/desactiver.php deleted file mode 100644 index 41569bd..0000000 --- a/radiantproduction/Vue/Ajaxparamrequeteperso/desactiver.php +++ /dev/null @@ -1 +0,0 @@ -OK desactiver \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamrequeteperso/enregistrermodifrequeteperso.php b/radiantproduction/Vue/Ajaxparamrequeteperso/enregistrermodifrequeteperso.php deleted file mode 100644 index bee4bab..0000000 --- a/radiantproduction/Vue/Ajaxparamrequeteperso/enregistrermodifrequeteperso.php +++ /dev/null @@ -1 +0,0 @@ -OK enregistrermodifrequeteperso \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamrequeteperso/enregistrermodifsourcedonneesrequeteperso.php b/radiantproduction/Vue/Ajaxparamrequeteperso/enregistrermodifsourcedonneesrequeteperso.php deleted file mode 100644 index 829157c..0000000 --- a/radiantproduction/Vue/Ajaxparamrequeteperso/enregistrermodifsourcedonneesrequeteperso.php +++ /dev/null @@ -1 +0,0 @@ -OK enregistrermodifsourcedonneesrequeteperso \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamrequeteperso/index.php b/radiantproduction/Vue/Ajaxparamrequeteperso/index.php deleted file mode 100644 index 059c52e..0000000 --- a/radiantproduction/Vue/Ajaxparamrequeteperso/index.php +++ /dev/null @@ -1 +0,0 @@ -Ajaxparamrequeteperso \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php b/radiantproduction/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php deleted file mode 100644 index 51cb5fb..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php +++ /dev/null @@ -1,82 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($garanties_sans_seuil['garantie']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($garanties_avec_seuil['garantie']) ?> - - - -
-
-
-
diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php b/radiantproduction/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php deleted file mode 100644 index 5f9b9f4..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garanties_avec_seuil['garantie']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/ajoutertousgarantieproduit.php b/radiantproduction/Vue/Ajaxparamseuilalerte/ajoutertousgarantieproduit.php deleted file mode 100644 index ccfff86..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/ajoutertousgarantieproduit.php +++ /dev/null @@ -1,3 +0,0 @@ -
-OK ajoutertousgarantieproduit -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/ajouterungarantieproduit.php b/radiantproduction/Vue/Ajaxparamseuilalerte/ajouterungarantieproduit.php deleted file mode 100644 index 7a31733..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/ajouterungarantieproduit.php +++ /dev/null @@ -1,3 +0,0 @@ -
-OK ajouterungarantieproduit -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/index.php b/radiantproduction/Vue/Ajaxparamseuilalerte/index.php deleted file mode 100644 index 650bbf2..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/index.php +++ /dev/null @@ -1 +0,0 @@ -Accès Réseau et Tickets Modérateurs \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/majseuilalertegarantie.php b/radiantproduction/Vue/Ajaxparamseuilalerte/majseuilalertegarantie.php deleted file mode 100644 index 8b9be39..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/majseuilalertegarantie.php +++ /dev/null @@ -1,3 +0,0 @@ -
-OK majseuilalertegarantie -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/majtauxseuilalertegarantie.php b/radiantproduction/Vue/Ajaxparamseuilalerte/majtauxseuilalertegarantie.php deleted file mode 100644 index f3bfb51..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/majtauxseuilalertegarantie.php +++ /dev/null @@ -1,3 +0,0 @@ -
-OK majtauxseuilalertegarantie -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/retirertousgarantieproduit.php b/radiantproduction/Vue/Ajaxparamseuilalerte/retirertousgarantieproduit.php deleted file mode 100644 index f2e379a..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/retirertousgarantieproduit.php +++ /dev/null @@ -1,3 +0,0 @@ -
-OK retirertousgarantieproduit -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxparamseuilalerte/retirerungarantieproduit.php b/radiantproduction/Vue/Ajaxparamseuilalerte/retirerungarantieproduit.php deleted file mode 100644 index 4a4d12e..0000000 --- a/radiantproduction/Vue/Ajaxparamseuilalerte/retirerungarantieproduit.php +++ /dev/null @@ -1,3 +0,0 @@ -
-OK retirerungarantieproduit -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxplafondadherent/index.php b/radiantproduction/Vue/Ajaxplafondadherent/index.php deleted file mode 100644 index f87519a..0000000 --- a/radiantproduction/Vue/Ajaxplafondadherent/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxplafondavantfacturecdec/index.php b/radiantproduction/Vue/Ajaxplafondavantfacturecdec/index.php deleted file mode 100644 index e16bb65..0000000 --- a/radiantproduction/Vue/Ajaxplafondavantfacturecdec/index.php +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxplafondbeneficiaire/index.php b/radiantproduction/Vue/Ajaxplafondbeneficiaire/index.php deleted file mode 100644 index f87519a..0000000 --- a/radiantproduction/Vue/Ajaxplafondbeneficiaire/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxplagebonlibre/index.php b/radiantproduction/Vue/Ajaxplagebonlibre/index.php deleted file mode 100644 index 251f017..0000000 --- a/radiantproduction/Vue/Ajaxplagebonlibre/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxprestataire/activerprestataire.php b/radiantproduction/Vue/Ajaxprestataire/activerprestataire.php deleted file mode 100644 index 4f5c7eb..0000000 --- a/radiantproduction/Vue/Ajaxprestataire/activerprestataire.php +++ /dev/null @@ -1,4 +0,0 @@ -
-
- - diff --git a/radiantproduction/Vue/Ajaxprestataire/creerprestataire.php b/radiantproduction/Vue/Ajaxprestataire/creerprestataire.php deleted file mode 100644 index e3fb79e..0000000 --- a/radiantproduction/Vue/Ajaxprestataire/creerprestataire.php +++ /dev/null @@ -1,3 +0,0 @@ -
- -
diff --git a/radiantproduction/Vue/Ajaxprestataire/creeruserprestataire.php b/radiantproduction/Vue/Ajaxprestataire/creeruserprestataire.php deleted file mode 100644 index 87a3a2c..0000000 --- a/radiantproduction/Vue/Ajaxprestataire/creeruserprestataire.php +++ /dev/null @@ -1,6 +0,0 @@ -
- codeUtilisateur : - -
- - diff --git a/radiantproduction/Vue/Ajaxprestataire/desactiverprestataire.php b/radiantproduction/Vue/Ajaxprestataire/desactiverprestataire.php deleted file mode 100644 index 4f5c7eb..0000000 --- a/radiantproduction/Vue/Ajaxprestataire/desactiverprestataire.php +++ /dev/null @@ -1,4 +0,0 @@ -
-
- - diff --git a/radiantproduction/Vue/Ajaxprestataire/index.php b/radiantproduction/Vue/Ajaxprestataire/index.php deleted file mode 100644 index 1257b05..0000000 --- a/radiantproduction/Vue/Ajaxprestataire/index.php +++ /dev/null @@ -1,5 +0,0 @@ -
- -
- - diff --git a/radiantproduction/Vue/Ajaxprestatairegestionbon/afficherattributiongestionbon.php b/radiantproduction/Vue/Ajaxprestatairegestionbon/afficherattributiongestionbon.php deleted file mode 100644 index 561aa6d..0000000 --- a/radiantproduction/Vue/Ajaxprestatairegestionbon/afficherattributiongestionbon.php +++ /dev/null @@ -1,52 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($prestataire_hors_mode['prestataire']) ?>nettoyer($prestataire_hors_mode['gestionbon']) ?>
-
- -
- - - - - - - - - - - - - - - -
nettoyer($prestataire_mode['prestataire']) ?>
-
-
diff --git a/radiantproduction/Vue/Ajaxprestatairegestionbon/index.php b/radiantproduction/Vue/Ajaxprestatairegestionbon/index.php deleted file mode 100644 index 5a5a1db..0000000 --- a/radiantproduction/Vue/Ajaxprestatairegestionbon/index.php +++ /dev/null @@ -1,53 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
nettoyer($utilisateur['codeUtilisateur']) ?> nettoyer($utilisateur['nomUtilisateur']) ?> " onClick="javascript:reinitpaswd_assureur('');"> " onClick="javascript:reinitpaswd_assureur('');"> " onClick="javascript:desactiver_user_assureur('');"> " onClick="javascript:activer_user_assureur('');"> Désactiver?") ?>" onClick="javascript:gerer_acces_actes_assureur_hab('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_actes_assureur_hab('', '');"> Désactiver?") ?>" onClick="javascript:gerer_acces_affection_assureur_hab('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_affection_assureur_hab('', '');">
-
diff --git a/radiantproduction/Vue/Ajaxprestatairenmoins/index.php b/radiantproduction/Vue/Ajaxprestatairenmoins/index.php deleted file mode 100644 index 68fb39a..0000000 --- a/radiantproduction/Vue/Ajaxprestatairenmoins/index.php +++ /dev/null @@ -1,63 +0,0 @@ -
- - - - - - - - - - -
- - - -
-
- - - - - - - - - - nettoyer($prestatairereseau['codePrestataire']); - ?> - - - - - - -
=>
nettoyer($prestatairereseau['prestataire']) ?>
-
- -
- - - - - - - - - - nettoyer($prestataireenmoins['id']); - ?> - - - - - - -
<=
nettoyer($prestataireenmoins['prestataire']) ?>
- -
- -
-
diff --git a/radiantproduction/Vue/Ajaxprestatairenplus/index.php b/radiantproduction/Vue/Ajaxprestatairenplus/index.php deleted file mode 100644 index 94110e2..0000000 --- a/radiantproduction/Vue/Ajaxprestatairenplus/index.php +++ /dev/null @@ -1,70 +0,0 @@ -
- - - - - - - - - - -
- - - -
-
- - - - - - - - - - nettoyer($prestatairehorsreseau['codePrestataire']); - ?> - - - - - - -
=>
nettoyer($prestatairehorsreseau['prestataire']) ?>
-
- -
- - - - - - - - - - - nettoyer($prestataireenplus['id']); - ?> - - - - - - - - - -
<=
nettoyer($prestataireenplus['prestataire']) ?> - -
- -
- -
-
diff --git a/radiantproduction/Vue/Ajaxprestatairenpluscons/index.php b/radiantproduction/Vue/Ajaxprestatairenpluscons/index.php deleted file mode 100644 index 98fba0d..0000000 --- a/radiantproduction/Vue/Ajaxprestatairenpluscons/index.php +++ /dev/null @@ -1,44 +0,0 @@ -
-
-
- - - - - - - - - - - - - - - - - -
nettoyer($prestataireenplus['prestataire']) ?> nettoyer($prestataireenplus['tm']) ?>
-
- -
- - - - - - - - - - - - - - -
nettoyer($prestataireenmoins['prestataire']) ?>
-
-
-
diff --git a/radiantproduction/Vue/Ajaxprestatairetm/index.php b/radiantproduction/Vue/Ajaxprestatairetm/index.php deleted file mode 100644 index 30b6dec..0000000 --- a/radiantproduction/Vue/Ajaxprestatairetm/index.php +++ /dev/null @@ -1,71 +0,0 @@ -
- - - - - - - - - - -
- - - -
-
- - - - - - - - - - nettoyer($prestatairereseau['codePrestataire']); - ?> - - - - - - -
=>
nettoyer($prestatairereseau['prestataire']) ?>
-
- -
- - - - - - - - - - - nettoyer($prestatairetm['id']); - ?> - - - - - - - - - -
<=
nettoyer($prestatairetm['prestataire']) ?> - -
- -
- -
- -
diff --git a/radiantproduction/Vue/Ajaxprestatairetmcons/index.php b/radiantproduction/Vue/Ajaxprestatairetmcons/index.php deleted file mode 100644 index 1da209c..0000000 --- a/radiantproduction/Vue/Ajaxprestatairetmcons/index.php +++ /dev/null @@ -1,21 +0,0 @@ -
- - - - - - - - - - - - - - - - - -
nettoyer($prestatairetm['prestataire']) ?> nettoyer($prestatairetm['tm']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxprodparclient/index.php b/radiantproduction/Vue/Ajaxprodparclient/index.php deleted file mode 100644 index c98462a..0000000 --- a/radiantproduction/Vue/Ajaxprodparclient/index.php +++ /dev/null @@ -1,105 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($donnee['etape']); - if (est_anglophone()) - { - $etape = $this->nettoyer($donnee['etapeEng']); - } - $nbligne++; - ?> - - - - - - - - - - - - -
nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['primeHtRenTot'])) ?>nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
- -
nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['primeHtRenTot'])) ?>nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnees_total['ratioprimeHtAn']). "%" ?>nettoyer($donnees_total['ratioprimeHtRen']). "%" ?> 100%
nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?>nettoyer($donnees_total['nbPoliceTot'])) ?>
nettoyer($donnees_total['ratioNbPoliceAn']). "%" ?>nettoyer($donnees_total['ratioNbPoliceRen']). "%" ?> 100%
nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['primeHtAn'])) ?>nettoyer($donnee['primeHtRen'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxprodparemission/index.php b/radiantproduction/Vue/Ajaxprodparemission/index.php deleted file mode 100644 index eac8b4a..0000000 --- a/radiantproduction/Vue/Ajaxprodparemission/index.php +++ /dev/null @@ -1,81 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($donnee['etape']); - if (est_anglophone()) - { - $etape = $this->nettoyer($donnee['etapeEng']); - } - $nbligne++; - ?> - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
- - STATUS
Total nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['numeroPolice']) ?>nettoyer($donnee['dateEffet'])) ?>nettoyer($donnee['dateFin'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxprodparmois/index.php b/radiantproduction/Vue/Ajaxprodparmois/index.php deleted file mode 100644 index a5d1b34..0000000 --- a/radiantproduction/Vue/Ajaxprodparmois/index.php +++ /dev/null @@ -1,124 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?> nettoyer($donnees_total['primeHtRenTot'])) ?> nettoyer($donnees_total['nbPoliceTot'])) ?> nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
- -
Total nettoyer($donnees_total['nbPoliceAnTot'])) ?>nettoyer($donnees_total['primeHtAnTot'])) ?>nettoyer($donnees_total['nbPoliceRenTot'])) ?> nettoyer($donnees_total['primeHtRenTot'])) ?> nettoyer($donnees_total['nbPoliceTot'])) ?> nettoyer($donnees_total['primeHtTot'])) ?> nettoyer($donnees_total['taxeTot'])) ?> nettoyer($donnees_total['fraisCarteTot'])) ?> nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnees_total['ratioprimenbPoliceAn']) ?>nettoyer($donnees_total['ratioprimeHtAn']) ?>nettoyer($donnees_total['ratioprimenbPoliceRen']) ?>nettoyer($donnees_total['ratioprimeHtRen']) ?> 100 nettoyer($donnees_total['ratioPrimeHt']) ?>nettoyer($donnees_total['ratioaxe']) ?>nettoyer($donnees_total['ratiofraisCarte']) ?> 100
nettoyer($donnee['exercice']) ?>nettoyer($donnee['codeMois']) ?>nettoyer($donnee['nbPoliceAn'])) ?>nettoyer($donnee['primeHtAn'])) ?>nettoyer($donnee['nbPoliceRen'])) ?>nettoyer($donnee['primeHtRen'])) ?>nettoyer($donnee['nbPolice'])) ?>nettoyer($donnee['primeHt'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxprodparmoiseclate/index.php b/radiantproduction/Vue/Ajaxprodparmoiseclate/index.php deleted file mode 100644 index 4374d39..0000000 --- a/radiantproduction/Vue/Ajaxprodparmoiseclate/index.php +++ /dev/null @@ -1,78 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Total nettoyer($donnees_total['primeSanteTot'])) ?>nettoyer($donnees_total['primeCplFuneraireTot'])) ?>nettoyer($donnees_total['commissionTot'])) ?>nettoyer($donnees_total['commissionAutreTot'])) ?>nettoyer($donnees_total['accessoireTot'])) ?>nettoyer($donnees_total['taxeTot'])) ?>nettoyer($donnees_total['fraisCarteTot'])) ?>nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnee['exercice']) ?>nettoyer($donnee['codeMois']) ?>nettoyer($donnee['primeSante'])) ?>nettoyer($donnee['primeCplFuneraire'])) ?>nettoyer($donnee['commission'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['accessoire'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxprodparmoiseclateclient/index.php b/radiantproduction/Vue/Ajaxprodparmoiseclateclient/index.php deleted file mode 100644 index 386f226..0000000 --- a/radiantproduction/Vue/Ajaxprodparmoiseclateclient/index.php +++ /dev/null @@ -1,80 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Total nettoyer($donnees_total['primeSanteTot'])) ?>nettoyer($donnees_total['primeCplFuneraireTot'])) ?>nettoyer($donnees_total['commissionTot'])) ?>nettoyer($donnees_total['commissionAutreTot'])) ?>nettoyer($donnees_total['accessoireTot'])) ?>nettoyer($donnees_total['taxeTot'])) ?>nettoyer($donnees_total['fraisCarteTot'])) ?>nettoyer($donnees_total['primeTtcTot'])) ?>
nettoyer($donnee['exercice']) ?>nettoyer($donnee['codeMois']) ?>nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['primeSante'])) ?>nettoyer($donnee['primeCplFuneraire'])) ?>nettoyer($donnee['commission'])) ?>nettoyer($donnee['commissionAutre'])) ?>nettoyer($donnee['accessoire'])) ?>nettoyer($donnee['taxe'])) ?>nettoyer($donnee['fraisCarte'])) ?>nettoyer($donnee['primeTtc'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxproductionagences/index.php b/radiantproduction/Vue/Ajaxproductionagences/index.php deleted file mode 100644 index b64d6c8..0000000 --- a/radiantproduction/Vue/Ajaxproductionagences/index.php +++ /dev/null @@ -1,59 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($donnees_total['primeTtcTot'])) ?> nettoyer($donnees_total['encaisseTot'])) ?> nettoyer($donnees_total['soldeTot'])) ?>
Total nettoyer($donnees_total['primeTtcTot'])) ?> nettoyer($donnees_total['encaisseTot'])) ?> nettoyer($donnees_total['soldeTot'])) ?>
nettoyer($donnee['pointvente']) ?>nettoyer($donnee['dateEmission'])) ?>nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['numeroPolice']) ?>nettoyer($donnee['dateEffet'])) ?>nettoyer($donnee['dateFin'])) ?>nettoyer($donnee['primeTtc'])) ?>nettoyer($donnee['encaisse'])) ?> nettoyer($donnee['solde'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxproduitreseau/afficherreseaucategorie.php b/radiantproduction/Vue/Ajaxproduitreseau/afficherreseaucategorie.php deleted file mode 100644 index 1542594..0000000 --- a/radiantproduction/Vue/Ajaxproduitreseau/afficherreseaucategorie.php +++ /dev/null @@ -1,72 +0,0 @@ -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($reseausnonaccessible['libelle']) ?>nettoyer($reseausnonaccessible['tm']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($reseausaccessible['reseausoin']) ?>nettoyer($reseausaccessible['tm']) ?> - -
-
-
- -
diff --git a/radiantproduction/Vue/Ajaxproduitreseau/index.php b/radiantproduction/Vue/Ajaxproduitreseau/index.php deleted file mode 100644 index 650bbf2..0000000 --- a/radiantproduction/Vue/Ajaxproduitreseau/index.php +++ /dev/null @@ -1 +0,0 @@ -Accès Réseau et Tickets Modérateurs \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxproraterprime/index.php b/radiantproduction/Vue/Ajaxproraterprime/index.php deleted file mode 100644 index 9e124a1..0000000 --- a/radiantproduction/Vue/Ajaxproraterprime/index.php +++ /dev/null @@ -1,112 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($adherent_temp['primeTtc_an'])) ?> nettoyer($adherent_temp['primeTtc'])) ?>
nettoyer($adherent_temp['primeNetteStat_an'])) ?> nettoyer($adherent_temp['primeNetteStat'])) ?>
nettoyer($adherent_temp['primeFamille_an']))?> nettoyer($adherent_temp['primeFamille']))?>
nettoyer($adherent_temp['primeCplFuneraire_an']))?> nettoyer($adherent_temp['primeCplFuneraire']))?>
nettoyer($adherent_temp['surprimeOption_an']))?> nettoyer($adherent_temp['surprimeOption']))?>
nettoyer($adherent_temp['surprimeTm_an']))?> nettoyer($adherent_temp['surprimeTm']))?>
nettoyer($adherent_temp['surprimeAnt_an']))?> nettoyer($adherent_temp['surprimeAnt']))?>
nettoyer($adherent_temp['primeNette_an'])) ?> nettoyer($adherent_temp['primeNette'])) ?>
nettoyer($adherent_temp['commission_an'])) ?> nettoyer($adherent_temp['commission'])) ?>
nettoyer($adherent_temp['commissionAutre_an'])) ?> nettoyer($adherent_temp['commissionAutre'])) ?>
nettoyer($adherent_temp['accessoire_an'])) ?> nettoyer($adherent_temp['accessoire'])) ?>
nettoyer($adherent_temp['primeHt_an'])) ?> nettoyer($adherent_temp['primeHt'])) ?>
nettoyer($adherent_temp['taxe_an'])) ?> nettoyer($adherent_temp['taxe'])) ?>
- - nettoyer($adherent_temp['fraisCarte_an'])) ?> nettoyer($adherent_temp['fraisCarte'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxproraterprimebeneficiaire/index.php b/radiantproduction/Vue/Ajaxproraterprimebeneficiaire/index.php deleted file mode 100644 index 81935ba..0000000 --- a/radiantproduction/Vue/Ajaxproraterprimebeneficiaire/index.php +++ /dev/null @@ -1,112 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($beneficiaire_temp['primeTtc_an'])) ?> nettoyer($beneficiaire_temp['primeTtc'])) ?>
nettoyer($beneficiaire_temp['primeNetteStat_an'])) ?> nettoyer($beneficiaire_temp['primeNetteStat'])) ?>
nettoyer($beneficiaire_temp['primeBeneficiaire_an']))?> nettoyer($beneficiaire_temp['primeBeneficiaire']))?>
nettoyer($beneficiaire_temp['primeCplFuneraire_an']))?> nettoyer($beneficiaire_temp['primeCplFuneraire']))?>
nettoyer($beneficiaire_temp['surprimeOption_an']))?> nettoyer($beneficiaire_temp['surprimeOption']))?>
nettoyer($beneficiaire_temp['surprimeTm_an']))?> nettoyer($beneficiaire_temp['surprimeTm']))?>
nettoyer($beneficiaire_temp['surprimeAnt_an']))?> nettoyer($beneficiaire_temp['surprimeAnt']))?>
nettoyer($beneficiaire_temp['primeNette_an'])) ?> nettoyer($beneficiaire_temp['primeNette'])) ?>
nettoyer($beneficiaire_temp['commission_an'])) ?> nettoyer($beneficiaire_temp['commission'])) ?>
nettoyer($beneficiaire_temp['commissionAutre_an'])) ?> nettoyer($beneficiaire_temp['commissionAutre'])) ?>
nettoyer($beneficiaire_temp['accessoire_an'])) ?> nettoyer($beneficiaire_temp['accessoire'])) ?>
nettoyer($beneficiaire_temp['primeHt_an'])) ?> nettoyer($beneficiaire_temp['primeHt'])) ?>
nettoyer($beneficiaire_temp['taxe_an'])) ?> nettoyer($beneficiaire_temp['taxe'])) ?>
- - nettoyer($beneficiaire_temp['fraisCarte_an'])) ?> nettoyer($beneficiaire_temp['fraisCarte'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxprovisonssin/index.php b/radiantproduction/Vue/Ajaxprovisonssin/index.php deleted file mode 100644 index 28302f1..0000000 --- a/radiantproduction/Vue/Ajaxprovisonssin/index.php +++ /dev/null @@ -1,2 +0,0 @@ -
-
diff --git a/radiantproduction/Vue/Ajaxquittancepolice/index.php b/radiantproduction/Vue/Ajaxquittancepolice/index.php deleted file mode 100644 index 7d1942f..0000000 --- a/radiantproduction/Vue/Ajaxquittancepolice/index.php +++ /dev/null @@ -1,105 +0,0 @@ -
-
-
-
- nettoyer($numeroPolice_Q) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['id']); - $numeroQuittance=$this->nettoyer($quittance['numeroQuittance']); - $solde=$this->nettoyer($quittance['solde']); - $annule=$this->nettoyer($quittance['annule']); - ?> - - - - - - - - - - - - - - - - '0' and $annule!='1'): ?> - - - - - - - - - - - -
No
Total nettoyer($totalquittance['primeTtc'])) ?>nettoyer($totalquittance['encaisse'])) ?>nettoyer($totalquittance['solde'])) ?>
nettoyer($quittance['dateEffet'])) ?>nettoyer($quittance['dateEcheance'])) ?>nettoyer($quittance['codeTypeAvenant']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> - " - onClick="javascript:imprimer_quittance();" - > - " onClick="javascript:encaisser_quittance();">
-
-
- -
-
-

-
-
-
- - - - -
diff --git a/radiantproduction/Vue/Ajaxrecapitulerprimeimposee/index.php b/radiantproduction/Vue/Ajaxrecapitulerprimeimposee/index.php deleted file mode 100644 index 80af72e..0000000 --- a/radiantproduction/Vue/Ajaxrecapitulerprimeimposee/index.php +++ /dev/null @@ -1,18 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxrecapprimeadherentfamiliale/index.php b/radiantproduction/Vue/Ajaxrecapprimeadherentfamiliale/index.php deleted file mode 100644 index 9c20ec7..0000000 --- a/radiantproduction/Vue/Ajaxrecapprimeadherentfamiliale/index.php +++ /dev/null @@ -1,53 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
diff --git a/radiantproduction/Vue/Ajaxrecapprimebeneficiairefamiliale/index.php b/radiantproduction/Vue/Ajaxrecapprimebeneficiairefamiliale/index.php deleted file mode 100644 index d82f70d..0000000 --- a/radiantproduction/Vue/Ajaxrecapprimebeneficiairefamiliale/index.php +++ /dev/null @@ -1,55 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
diff --git a/radiantproduction/Vue/Ajaxrechercheemission/index.php b/radiantproduction/Vue/Ajaxrechercheemission/index.php deleted file mode 100644 index dcd867e..0000000 --- a/radiantproduction/Vue/Ajaxrechercheemission/index.php +++ /dev/null @@ -1,212 +0,0 @@ -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['numeroQuittance']); - $idQuittance = $quittance['id']; - $solde=$this->nettoyer($quittance['solde']) - ?> - - - - - - - - - - - - - - - - -
Total nettoyer($totalquittance['primeTtc'])) ?>nettoyer($totalquittance['encaisse'])) ?>nettoyer($totalquittance['solde'])) ?>
nettoyer($quittance['dateEffet']), $_SESSION['lang']) ?>nettoyer($quittance['dateEcheance']), $_SESSION['lang']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['datePaiement']), $_SESSION['lang']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " onClick="javascript:imprimer_quittance();">
- - - - - - - - - - -
diff --git a/radiantproduction/Vue/Ajaxrechercheencaissement/index.php b/radiantproduction/Vue/Ajaxrechercheencaissement/index.php deleted file mode 100644 index e8db80e..0000000 --- a/radiantproduction/Vue/Ajaxrechercheencaissement/index.php +++ /dev/null @@ -1,108 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:imprimer_recu();">
- -
-
- - - - - - - - - - - - - - - - - - - nettoyer($detailencaissement['id']); - ?> - - - - - - - - - - - - -
nettoyer($detailencaissement['numeroClient']) ?>nettoyer($detailencaissement['nomClient']) ?>nettoyer($detailencaissement['numeroPolice']) ?>nettoyer($detailencaissement['idQuittance']) ?>nettoyer($detailencaissement['dateEffet'])) ?>nettoyer($detailencaissement['dateEcheance'])) ?>nettoyer($detailencaissement['codeTypeAvenant']) ?>nettoyer($detailencaissement['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxrecherchefacturesfeuille/index.php b/radiantproduction/Vue/Ajaxrecherchefacturesfeuille/index.php deleted file mode 100644 index 26f0ca1..0000000 --- a/radiantproduction/Vue/Ajaxrecherchefacturesfeuille/index.php +++ /dev/null @@ -1,94 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['idFacture']); - ?> - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?> - - nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>nettoyer($feuillemaladie['numeroBonOptique']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['numeroDecompte']) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - - -
diff --git a/radiantproduction/Vue/Ajaxrecherchequittance/index.php b/radiantproduction/Vue/Ajaxrecherchequittance/index.php deleted file mode 100644 index 3b482c4..0000000 --- a/radiantproduction/Vue/Ajaxrecherchequittance/index.php +++ /dev/null @@ -1,100 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
DateNo
nettoyer($detailencaissement['dateEncaissement'])) ?>nettoyer($detailencaissement['numeroEncaissement']) ?>nettoyer($detailencaissement['primeTtc'])) ?>nettoyer($detailencaissement['modepaiement']) ?>nettoyer($detailencaissement['referencePaiement']) ?>
- - - - - - -
diff --git a/radiantproduction/Vue/Ajaxrelevecompteprestaire/index.php b/radiantproduction/Vue/Ajaxrelevecompteprestaire/index.php deleted file mode 100644 index 09b5d7d..0000000 --- a/radiantproduction/Vue/Ajaxrelevecompteprestaire/index.php +++ /dev/null @@ -1,76 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['numeroLotDecompte']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantFactureTotal'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?> nettoyer($decomptes_total['montantPayeTotal'])) ?>
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantFactureTotal'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?> nettoyer($decomptes_total['montantPayeTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - nettoyer($decompte['userControle']) ?>nettoyer($decompte['dateReception'])) ?>nettoyer($decompte['montantFacture'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateReglement'])) ?>nettoyer($decompte['dateComptable'])) ?>nettoyer($decompte['montantPaye'])) ?>nettoyer($decompte['codeModePaiement']) ?>nettoyer($decompte['codeBanquePayeur']) ?>nettoyer($decompte['referencePaiement']) ?>
- -
diff --git a/radiantproduction/Vue/Ajaxremplaceradherent/enregistrerremplacementadherent.php b/radiantproduction/Vue/Ajaxremplaceradherent/enregistrerremplacementadherent.php deleted file mode 100644 index a41e5ce..0000000 --- a/radiantproduction/Vue/Ajaxremplaceradherent/enregistrerremplacementadherent.php +++ /dev/null @@ -1,5 +0,0 @@ -
-
-

-
-
diff --git a/radiantproduction/Vue/Ajaxremplaceradherent/index.php b/radiantproduction/Vue/Ajaxremplaceradherent/index.php deleted file mode 100644 index 46f8b44..0000000 --- a/radiantproduction/Vue/Ajaxremplaceradherent/index.php +++ /dev/null @@ -1,3 +0,0 @@ -
- NOTHING -
diff --git a/radiantproduction/Vue/Ajaxremplaceradherent/init.php b/radiantproduction/Vue/Ajaxremplaceradherent/init.php deleted file mode 100644 index 0964314..0000000 --- a/radiantproduction/Vue/Ajaxremplaceradherent/init.php +++ /dev/null @@ -1,153 +0,0 @@ -
- - - - - - - - - - - - - - - -
- - - -
- - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?> nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Sex - -
- - - - - -
- - E-mail
-
diff --git a/radiantproduction/Vue/Ajaxrenouvellement/index.php b/radiantproduction/Vue/Ajaxrenouvellement/index.php deleted file mode 100644 index b3f043f..0000000 --- a/radiantproduction/Vue/Ajaxrenouvellement/index.php +++ /dev/null @@ -1,20 +0,0 @@ -
- - - - - - - - - - - - - -
- -
-
diff --git a/radiantproduction/Vue/Ajaxreposmedical/index.php b/radiantproduction/Vue/Ajaxreposmedical/index.php deleted file mode 100644 index 6645785..0000000 --- a/radiantproduction/Vue/Ajaxreposmedical/index.php +++ /dev/null @@ -1,25 +0,0 @@ -
- - - - - - - - - - - - nettoyer($reposmedical['idReposmaladie']); - ?> - - - - - - - - -
Date Notes
nettoyer($reposmedical['dateSysteme'])) ?> nettoyer($reposmedical['nbJour']) ?> nettoyer($reposmedical['medecin']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxreposmedical/nouveaureposmedical.php b/radiantproduction/Vue/Ajaxreposmedical/nouveaureposmedical.php deleted file mode 100644 index 0444cf6..0000000 --- a/radiantproduction/Vue/Ajaxreposmedical/nouveaureposmedical.php +++ /dev/null @@ -1,22 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_new_repos_medical();"> " onClick='javascript:$("#btn_pop_note_new_quit").click();'/>
-
diff --git a/radiantproduction/Vue/Ajaxrequeteaccidents/index.php b/radiantproduction/Vue/Ajaxrequeteaccidents/index.php deleted file mode 100644 index 948d35c..0000000 --- a/radiantproduction/Vue/Ajaxrequeteaccidents/index.php +++ /dev/null @@ -1,82 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantApayerTotal'])) ?>
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantApayerTotal'])) ?>
nettoyer($feuillemaladie['dateSysteme'])) ?>nettoyer($feuillemaladie['idFacture']) ?>nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['adherent']) ?>nettoyer($feuillemaladie['telAdherent']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['telBeneficiaire']) ?>nettoyer($feuillemaladie['montantApayer'])) ?>nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['souscripteur']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteassure/index.php b/radiantproduction/Vue/Ajaxrequeteassure/index.php deleted file mode 100644 index 6b10423..0000000 --- a/radiantproduction/Vue/Ajaxrequeteassure/index.php +++ /dev/null @@ -1,70 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Sex
nettoyer($assures_total['nbLigne'])) ?>
nettoyer($assure['beneficiaire']) ?>nettoyer($assure['adherent']) ?>nettoyer($assure['numeroPolice']) ?>nettoyer($assure['codeEtatPolice']) ?>nettoyer($assure['codeProduit']) ?>nettoyer($assure['codeLienParente']) ?>nettoyer($assure['telephonePortableAdherent']) ?>nettoyer($assure['emailAdherent']) ?>nettoyer($assure['codeNaturePiece']) ?>nettoyer($assure['numeroPiece']) ?>nettoyer($assure['sexe']) ?>nettoyer($assure['dateNaissance'])) ?>nettoyer($assure['codeEtatBeneficiaire']) ?>nettoyer($assure['dateEntreeBeneficiaire'])) ?>nettoyer($assure['dateDeces'])) ?>nettoyer($assure['nomClient']) ?>nettoyer($assure['emailClient']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetebonpec/index.php b/radiantproduction/Vue/Ajaxrequetebonpec/index.php deleted file mode 100644 index a9922c6..0000000 --- a/radiantproduction/Vue/Ajaxrequetebonpec/index.php +++ /dev/null @@ -1,54 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Type
nettoyer($bonpecs_total['nbLigne'])) ?>
nettoyer($bonpec['prestataire']) ?>nettoyer($bonpec['codeTypeBon']) ?>nettoyer($bonpec['numeroBon']) ?>nettoyer($bonpec['dateGeneration'])) ?>nettoyer($bonpec['dateReception'])) ?>nettoyer($bonpec['codeUtilisateurReception']) ?>nettoyer($bonpec['etatbon']) ?>nettoyer($bonpec['numeroBeneficiaire']) ?>nettoyer($bonpec['beneficiaire']) ?>nettoyer($bonpec['dateImpression'])) ?>nettoyer($bonpec['codeUtilisateurImpression']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetecartegc/index.php b/radiantproduction/Vue/Ajaxrequetecartegc/index.php deleted file mode 100644 index 09f5e1b..0000000 --- a/radiantproduction/Vue/Ajaxrequetecartegc/index.php +++ /dev/null @@ -1,79 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idGcCarte']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantCarteTotal'])) ?>
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantCarteTotal'])) ?>
nettoyer($gc['dateCarte'])) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroPolice']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantCarte'])) ?> - " - onClick="javascript:ged_carte_gc('');"> -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetedemandederogation/index.php b/radiantproduction/Vue/Ajaxrequetedemandederogation/index.php deleted file mode 100644 index d9b41f7..0000000 --- a/radiantproduction/Vue/Ajaxrequetedemandederogation/index.php +++ /dev/null @@ -1,63 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date type
nettoyer($demandederogations_total['nbLigne'])) ?>
nettoyer($demandederogation['prestataire']) ?>nettoyer($demandederogation['dateSysteme'])) ?>nettoyer($demandederogation['numeroDerogation']) ?>nettoyer($demandederogation['souscripteur']) ?>nettoyer($demandederogation['numeroBeneficiaire']) ?>nettoyer($demandederogation['beneficiaire']) ?>nettoyer($demandederogation['libelleDerogation']) ?>nettoyer($demandederogation['codeAdministrateur']) ?>nettoyer($demandederogation['dateReponse'])) ?>nettoyer($demandederogation['motifReel']) ?>nettoyer($demandederogation['debut'])) ?>nettoyer($demandederogation['fin'])) ?>nettoyer($demandederogation['tmDerogation']) ?>nettoyer($demandederogation['reponseDerogation']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteententeprealable/index.php b/radiantproduction/Vue/Ajaxrequeteententeprealable/index.php deleted file mode 100644 index 39bbb90..0000000 --- a/radiantproduction/Vue/Ajaxrequeteententeprealable/index.php +++ /dev/null @@ -1,56 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date
nettoyer($ententeprealables_total['nbLigne'])) ?>
nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['numeroEntentePrealable']) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['souscripteur']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['codeAdministrateur']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteententeprealablepha/index.php b/radiantproduction/Vue/Ajaxrequeteententeprealablepha/index.php deleted file mode 100644 index 866d743..0000000 --- a/radiantproduction/Vue/Ajaxrequeteententeprealablepha/index.php +++ /dev/null @@ -1,56 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date
nettoyer($ententeprealables_total['nbLigne'])) ?>
nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['numeroEntentePrealable']) ?>nettoyer($ententeprealable['libelleMedicament']) ?>nettoyer($ententeprealable['souscripteur']) ?>nettoyer($ententeprealable['numeroBeneficiaire']) ?>nettoyer($ententeprealable['beneficiaire']) ?>nettoyer($ententeprealable['codeAdministrateur']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteenteteaccidents/index.php b/radiantproduction/Vue/Ajaxrequeteenteteaccidents/index.php deleted file mode 100644 index 267dca1..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteaccidents/index.php +++ /dev/null @@ -1,87 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteassure/index.php b/radiantproduction/Vue/Ajaxrequeteenteteassure/index.php deleted file mode 100644 index 0319059..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteassure/index.php +++ /dev/null @@ -1,101 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - Sex - -
- Tel E-mail - -
- -
- -
-
- -
-
diff --git a/radiantproduction/Vue/Ajaxrequeteentetebonpec/index.php b/radiantproduction/Vue/Ajaxrequeteentetebonpec/index.php deleted file mode 100644 index fc95700..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetebonpec/index.php +++ /dev/null @@ -1,115 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - Type - - - -
-
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetedemandederogation/index.php b/radiantproduction/Vue/Ajaxrequeteentetedemandederogation/index.php deleted file mode 100644 index a08e7b9..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetedemandederogation/index.php +++ /dev/null @@ -1,119 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - -
Type - - - -
- -
- -
-
- -
-
- - -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteententeprealable/index.php b/radiantproduction/Vue/Ajaxrequeteenteteententeprealable/index.php deleted file mode 100644 index d35c34d..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteententeprealable/index.php +++ /dev/null @@ -1,119 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteententeprealablepha/index.php b/radiantproduction/Vue/Ajaxrequeteenteteententeprealablepha/index.php deleted file mode 100644 index 2df6984..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteententeprealablepha/index.php +++ /dev/null @@ -1,94 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefacture/index.php b/radiantproduction/Vue/Ajaxrequeteentetefacture/index.php deleted file mode 100644 index 7b27ceb..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefacture/index.php +++ /dev/null @@ -1,88 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefactureadherent/index.php b/radiantproduction/Vue/Ajaxrequeteentetefactureadherent/index.php deleted file mode 100644 index fdf5a52..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefactureadherent/index.php +++ /dev/null @@ -1,33 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - -
- - -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefacturebeneficiaire/index.php b/radiantproduction/Vue/Ajaxrequeteentetefacturebeneficiaire/index.php deleted file mode 100644 index 15a21f7..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefacturebeneficiaire/index.php +++ /dev/null @@ -1,34 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - -
- - -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefactureclient/index.php b/radiantproduction/Vue/Ajaxrequeteentetefactureclient/index.php deleted file mode 100644 index 886657f..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefactureclient/index.php +++ /dev/null @@ -1,152 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
Type - - - - - -
- - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefacturejour/index.php b/radiantproduction/Vue/Ajaxrequeteentetefacturejour/index.php deleted file mode 100644 index 622a2f6..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefacturejour/index.php +++ /dev/null @@ -1,87 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefactureleger/index.php b/radiantproduction/Vue/Ajaxrequeteentetefactureleger/index.php deleted file mode 100644 index b0c94aa..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefactureleger/index.php +++ /dev/null @@ -1,26 +0,0 @@ -
- - - - - - - - - - - - - - - -
- - -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefacturemois/index.php b/radiantproduction/Vue/Ajaxrequeteentetefacturemois/index.php deleted file mode 100644 index d1f9ff8..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefacturemois/index.php +++ /dev/null @@ -1,87 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefacturepolice/index.php b/radiantproduction/Vue/Ajaxrequeteentetefacturepolice/index.php deleted file mode 100644 index 0e37909..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefacturepolice/index.php +++ /dev/null @@ -1,34 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - -
- - -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetefeuillemaladie/index.php b/radiantproduction/Vue/Ajaxrequeteentetefeuillemaladie/index.php deleted file mode 100644 index 971766a..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetefeuillemaladie/index.php +++ /dev/null @@ -1,87 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteoptique/index.php b/radiantproduction/Vue/Ajaxrequeteenteteoptique/index.php deleted file mode 100644 index 2f80501..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteoptique/index.php +++ /dev/null @@ -1,129 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - -
- -
-
- -
-
diff --git a/radiantproduction/Vue/Ajaxrequeteentetepharmacie/index.php b/radiantproduction/Vue/Ajaxrequeteentetepharmacie/index.php deleted file mode 100644 index 7a58704..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetepharmacie/index.php +++ /dev/null @@ -1,171 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- - - - - - -
- -
- - - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteentetepharmacieb/index.php b/radiantproduction/Vue/Ajaxrequeteentetepharmacieb/index.php deleted file mode 100644 index 7a58704..0000000 --- a/radiantproduction/Vue/Ajaxrequeteentetepharmacieb/index.php +++ /dev/null @@ -1,171 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- - - - - - -
- -
- - - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteprestationactes/index.php b/radiantproduction/Vue/Ajaxrequeteenteteprestationactes/index.php deleted file mode 100644 index 509f465..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteprestationactes/index.php +++ /dev/null @@ -1,212 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- - - - - -
Type - - - Type - - - - / - -
- -
- - - -
-
- -
-
- - - -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteverificateur/index.php b/radiantproduction/Vue/Ajaxrequeteenteteverificateur/index.php deleted file mode 100644 index fdfc5a8..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteverificateur/index.php +++ /dev/null @@ -1,41 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
- - -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxrequeteenteteverification/index.php b/radiantproduction/Vue/Ajaxrequeteenteteverification/index.php deleted file mode 100644 index edbe024..0000000 --- a/radiantproduction/Vue/Ajaxrequeteenteteverification/index.php +++ /dev/null @@ -1,41 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
- - -
-
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxrequetefacture/index.php b/radiantproduction/Vue/Ajaxrequetefacture/index.php deleted file mode 100644 index 3d716f4..0000000 --- a/radiantproduction/Vue/Ajaxrequetefacture/index.php +++ /dev/null @@ -1,129 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $idFacture=$this->nettoyer($feuillemaladie['idFacture']); - $tiersPayant = $feuillemaladie['tiersPayant']; - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?> - - nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>nettoyer($feuillemaladie['numeroBonOptique']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['numeroDecompte']) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefactureclient/index.php b/radiantproduction/Vue/Ajaxrequetefactureclient/index.php deleted file mode 100644 index 2b46c6f..0000000 --- a/radiantproduction/Vue/Ajaxrequetefactureclient/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $idFacture=$this->nettoyer($feuillemaladie['idFacture']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReel_total'])) ?>nettoyer($factures_total['montantTm_total'])) ?>nettoyer($factures_total['montantArembourser_total'])) ?>nettoyer($factures_total['fraisExclu_total'])) ?>nettoyer($factures_total['fraisRetenu_total'])) ?>nettoyer($factures_total['montantRembourse_total'])) ?>
nettoyer($feuillemaladie['souscripteur']) ?>nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateFacture'])) ?> - - nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefacturegc/index.php b/radiantproduction/Vue/Ajaxrequetefacturegc/index.php deleted file mode 100644 index c907de0..0000000 --- a/radiantproduction/Vue/Ajaxrequetefacturegc/index.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantFactureTotal'])) ?>nettoyer($factures_total['montantRedresseTotal'])) ?>nettoyer($factures_total['montantApayerTotal'])) ?>
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantFactureTotal'])) ?>nettoyer($factures_total['montantRedresseTotal'])) ?>nettoyer($factures_total['montantApayerTotal'])) ?>
nettoyer($gc['dateFacture'])) ?> - - nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>nettoyer($gc['montantApayer'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefacturegccumul/index.php b/radiantproduction/Vue/Ajaxrequetefacturegccumul/index.php deleted file mode 100644 index 1aab704..0000000 --- a/radiantproduction/Vue/Ajaxrequetefacturegccumul/index.php +++ /dev/null @@ -1,112 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['nbFactureTotal'])) ?>nettoyer($factures_total['montantFactureTotal'])) ?> nettoyer($factures_total['nbFactureVerifieTotal'])) ?>nettoyer($factures_total['montantVerifieTotal'])) ?>nettoyer($factures_total['montantRedresseTotal'])) ?>nettoyer($factures_total['montantApayerTotal'])) ?>nettoyer($factures_total['nbFacturationTotal'])) ?>nettoyer($factures_total['montantFacturationTotal'])) ?>nettoyer($factures_total['nbEncaisseotal'])) ?>nettoyer($factures_total['montantEncaisseTotal'])) ?>
Nb User Nb Nb Nb
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['nbFactureTotal'])) ?>nettoyer($factures_total['montantFactureTotal'])) ?> nettoyer($factures_total['nbFactureVerifieTotal'])) ?>nettoyer($factures_total['montantVerifieTotal'])) ?>nettoyer($factures_total['montantRedresseTotal'])) ?>nettoyer($factures_total['montantApayerTotal'])) ?>nettoyer($factures_total['nbFacturationTotal'])) ?>nettoyer($factures_total['montantFacturationTotal'])) ?>nettoyer($factures_total['nbEncaisseotal'])) ?>nettoyer($factures_total['montantEncaisseTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?>nettoyer($decompte['prestataire']) ?>nettoyer($decompte['nbFacture'])) ?>nettoyer($decompte['montantFacture'])) ?>nettoyer($decompte['userControle']) ?>nettoyer($decompte['etatdecompte']) ?>nettoyer($decompte['nbFactureVerifie'])) ?>nettoyer($decompte['montantVerifie'])) ?>nettoyer($decompte['montantRedresse'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['nbFacturation'])) ?>nettoyer($decompte['montantFacturation'])) ?>nettoyer($decompte['nbEncaisse'])) ?>nettoyer($decompte['montantEncaisse'])) ?>
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefacturejour/index.php b/radiantproduction/Vue/Ajaxrequetefacturejour/index.php deleted file mode 100644 index 56eb357..0000000 --- a/radiantproduction/Vue/Ajaxrequetefacturejour/index.php +++ /dev/null @@ -1,62 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?>nettoyer($factures_total['montantRembourseTotal'])) ?>
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?>nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['jour'])) ?>nettoyer($feuillemaladie['nb'])) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefactureleger/index.php b/radiantproduction/Vue/Ajaxrequetefactureleger/index.php deleted file mode 100644 index 2e57910..0000000 --- a/radiantproduction/Vue/Ajaxrequetefactureleger/index.php +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $idFacture=$this->nettoyer($feuillemaladie['idFacture']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReel_total'])) ?>nettoyer($factures_total['montantTm_total'])) ?>nettoyer($factures_total['montantArembourser_total'])) ?>nettoyer($factures_total['fraisExclu_total'])) ?>nettoyer($factures_total['fraisRetenu_total'])) ?>nettoyer($factures_total['montantRembourse_total'])) ?>
nettoyer($feuillemaladie['souscripteur']) ?>nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateFacture'])) ?> - - nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefacturemois/index.php b/radiantproduction/Vue/Ajaxrequetefacturemois/index.php deleted file mode 100644 index 528af2b..0000000 --- a/radiantproduction/Vue/Ajaxrequetefacturemois/index.php +++ /dev/null @@ -1,64 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?>nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?>nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['exercice']) ?>nettoyer($feuillemaladie['codeMois']) ?>nettoyer($feuillemaladie['nb'])) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefacturepolice/index.php b/radiantproduction/Vue/Ajaxrequetefacturepolice/index.php deleted file mode 100644 index 539e91f..0000000 --- a/radiantproduction/Vue/Ajaxrequetefacturepolice/index.php +++ /dev/null @@ -1,90 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $tiersPayant = $feuillemaladie['tiersPayant']; - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
Date
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['fraisReelTotal'])) ?>nettoyer($factures_total['montantTmTotal'])) ?>nettoyer($factures_total['montantArembourserTotal'])) ?>nettoyer($factures_total['fraisExcluTotal'])) ?>nettoyer($factures_total['fraisRetenuTotal'])) ?> nettoyer($factures_total['montantRembourseTotal'])) ?>
nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?>nettoyer($feuillemaladie['numeroFeuilleMaladie']) ?>nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>nettoyer($feuillemaladie['numeroBonOptique']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['numeroDecompte']) ?>nettoyer($feuillemaladie['montantRembourse'])) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefactureverifgc/index.php b/radiantproduction/Vue/Ajaxrequetefactureverifgc/index.php deleted file mode 100644 index 342deaf..0000000 --- a/radiantproduction/Vue/Ajaxrequetefactureverifgc/index.php +++ /dev/null @@ -1,90 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($gc['idFacture']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantFactureTotal'])) ?>nettoyer($factures_total['montantRedresseTotal'])) ?>nettoyer($factures_total['montantApayerTotal'])) ?>
nettoyer($factures_total['nbLigne'])) ?> nettoyer($factures_total['montantFactureTotal'])) ?>nettoyer($factures_total['montantRedresseTotal'])) ?>nettoyer($factures_total['montantApayerTotal'])) ?>
nettoyer($gc['validation'])) ?>nettoyer($gc['dateFacture'])) ?> - - nettoyer($gc['prestataire']) ?>nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroBeneficiaire']) ?>nettoyer($gc['beneficiaire']) ?>nettoyer($gc['montantFacture'])) ?>nettoyer($gc['montantRedresse'])) ?>nettoyer($gc['montantApayer'])) ?>nettoyer($gc['codeUtilisateur']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetefeuillemaladie/index.php b/radiantproduction/Vue/Ajaxrequetefeuillemaladie/index.php deleted file mode 100644 index 128eda3..0000000 --- a/radiantproduction/Vue/Ajaxrequetefeuillemaladie/index.php +++ /dev/null @@ -1,82 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $idFacture=$this->nettoyer($feuillemaladie['idFacture']); - $tiersPayant = $feuillemaladie['tiersPayant']; - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
nettoyer($feuillemaladies_total['nbLigne'])) ?> nettoyer($feuillemaladies_total['fraisReelTotal'])) ?>nettoyer($feuillemaladies_total['montantTmTotal'])) ?>nettoyer($feuillemaladies_total['montantArembourserTotal'])) ?>nettoyer($feuillemaladies_total['fraisExcluTotal'])) ?>nettoyer($feuillemaladies_total['fraisRetenuTotal'])) ?>
Date
nettoyer($feuillemaladies_total['nbLigne'])) ?> nettoyer($feuillemaladies_total['fraisReelTotal'])) ?>nettoyer($feuillemaladies_total['montantTmTotal'])) ?>nettoyer($feuillemaladies_total['montantArembourserTotal'])) ?>nettoyer($feuillemaladies_total['fraisExcluTotal'])) ?>nettoyer($feuillemaladies_total['fraisRetenuTotal'])) ?>
nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['dateSysteme'])) ?>nettoyer($feuillemaladie['numeroBonConsultation']) ?>nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>nettoyer($feuillemaladie['numeroBonOptique']) ?>nettoyer($feuillemaladie['numeroBeneficiaire']) ?>nettoyer($feuillemaladie['beneficiaire']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?>nettoyer($feuillemaladie['idFacture']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteoptique/index.php b/radiantproduction/Vue/Ajaxrequeteoptique/index.php deleted file mode 100644 index 5c807f7..0000000 --- a/radiantproduction/Vue/Ajaxrequeteoptique/index.php +++ /dev/null @@ -1,88 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($opticien['typeSysteme']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date Val
nettoyer($opticiens_total['nbLigne'])) ?> nettoyer($opticiens_total['verres_total'])) ?>nettoyer($opticiens_total['monture_total'])) ?>nettoyer($opticiens_total['fraisReel_total'])) ?>nettoyer($opticiens_total['montantTm_total'])) ?>nettoyer($opticiens_total['montantArembourser_total'])) ?> nettoyer($opticiens_total['montantForce_total'])) ?>nettoyer($opticiens_total['montantApayer_total'])) ?>
nettoyer($opticien['prestataire']) ?>nettoyer($opticien['dateLivraison'])) ?>nettoyer($opticien['numeroBeneficiaire']) ?>nettoyer($opticien['beneficiaire']) ?>nettoyer($opticien['numeroBonOptique']) ?>nettoyer($opticien['numeroFeuilleMaladie']) ?>nettoyer($opticien['numeroBonConsultation']) ?>nettoyer($opticien['libelleOptique']) ?>nettoyer($opticien['verres'])) ?>nettoyer($opticien['monture'])) ?>nettoyer($opticien['fraisReel'])) ?>nettoyer($opticien['montantTm'])) ?>nettoyer($opticien['montantArembourser'])) ?>nettoyer($opticien['valide']) ?>nettoyer($opticien['montantForce'])) ?>nettoyer($opticien['montantApayer'])) ?>nettoyer($opticien['prestatairePrescription']) ?>nettoyer($opticien['medecinPrescription']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetepharmacie/index.php b/radiantproduction/Vue/Ajaxrequetepharmacie/index.php deleted file mode 100644 index 314c7c0..0000000 --- a/radiantproduction/Vue/Ajaxrequetepharmacie/index.php +++ /dev/null @@ -1,145 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($pharmacie['typeSysteme']); - $nbligne++; - ?> - - $idPrestationactes && $olidPrestationactes <> "0"): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($pharmacie['fraisReel']); - $montantTm += $this->nettoyer($pharmacie['montantTm']); - $montantArembourser += $this->nettoyer($pharmacie['montantArembourser']); - $fraisExclu += $this->nettoyer($pharmacie['fraisExclu']); - $fraisRetenu += $this->nettoyer($pharmacie['fraisRetenu']); - $montantForce += $this->nettoyer($pharmacie['montantForce']); - $montantApayer += $this->nettoyer($pharmacie['montantApayer']); - - $olidPrestationactes = $idPrestationactes; - ?> - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - - - - - - - - - - - - - - -
Date Val
nettoyer($pharmacies_total['nbLigne'])) ?> nettoyer($pharmacies_total['fraisReel_total'])) ?>nettoyer($pharmacies_total['montantTm_total'])) ?>nettoyer($pharmacies_total['montantArembourser_total'])) ?> nettoyer($pharmacies_total['montantForce_total'])) ?>nettoyer($pharmacies_total['montantApayer_total'])) ?>
nettoyer($pharmacie['prestataire']) ?>nettoyer($pharmacie['dateLivraison'])) ?>nettoyer($pharmacie['numeroBeneficiaire']) ?>nettoyer($pharmacie['beneficiaire']) ?>nettoyer($pharmacie['numeroBonOrdonnance']) ?>nettoyer($pharmacie['numeroFeuilleMaladie']) ?>nettoyer($pharmacie['numeroBonConsultation']) ?>nettoyer($pharmacie['libelleMedicament']) ?>nettoyer($pharmacie['valeurActe'])) ?>nettoyer($pharmacie['quantite']) ?>nettoyer($pharmacie['fraisReel'])) ?>nettoyer($pharmacie['montantTm'])) ?>nettoyer($pharmacie['montantArembourser'])) ?>nettoyer($pharmacie['valide']) ?>nettoyer($pharmacie['montantForce'])) ?>nettoyer($pharmacie['montantApayer'])) ?>nettoyer($pharmacie['prestatairePrescription']) ?>nettoyer($pharmacie['medecinPrescription']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequetepharmacieb/index.php b/radiantproduction/Vue/Ajaxrequetepharmacieb/index.php deleted file mode 100644 index 69119be..0000000 --- a/radiantproduction/Vue/Ajaxrequetepharmacieb/index.php +++ /dev/null @@ -1,85 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($pharmacie['typeSysteme']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date Val
nettoyer($pharmacies_total['nbLigne'])) ?> nettoyer($pharmacies_total['fraisReel_total'])) ?>nettoyer($pharmacies_total['montantTm_total'])) ?>nettoyer($pharmacies_total['montantArembourser_total'])) ?> nettoyer($pharmacies_total['montantForce_total'])) ?>nettoyer($pharmacies_total['montantApayer_total'])) ?>
nettoyer($pharmacie['prestataire']) ?>nettoyer($pharmacie['dateLivraison'])) ?>nettoyer($pharmacie['numeroBeneficiaire']) ?>nettoyer($pharmacie['beneficiaire']) ?>nettoyer($pharmacie['numeroBonOrdonnance']) ?>nettoyer($pharmacie['numeroFeuilleMaladie']) ?>nettoyer($pharmacie['numeroBonConsultation']) ?>nettoyer($pharmacie['libelleMedicament']) ?>nettoyer($pharmacie['valeurActe'])) ?>nettoyer($pharmacie['quantite']) ?>nettoyer($pharmacie['fraisReel'])) ?>nettoyer($pharmacie['montantTm'])) ?>nettoyer($pharmacie['montantArembourser'])) ?>nettoyer($pharmacie['valide']) ?>nettoyer($pharmacie['montantForce'])) ?>nettoyer($pharmacie['montantApayer'])) ?>nettoyer($pharmacie['prestatairePrescription']) ?>nettoyer($pharmacie['medecinPrescription']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteprestationactes/index.php b/radiantproduction/Vue/Ajaxrequeteprestationactes/index.php deleted file mode 100644 index f00e0a9..0000000 --- a/radiantproduction/Vue/Ajaxrequeteprestationactes/index.php +++ /dev/null @@ -1,100 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestationacte['ententePrealable']); - $autorisation=$this->nettoyer($prestationacte['autorisation']); - $nbligne++; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ".$nbligne." => " . _("Utilisez Excel"); - break; - } - ?> - - - -
Date Type Ent. Val
nettoyer($prestationactes_total['nbLigne'])) ?> nettoyer($prestationactes_total['fraisReel_total'])) ?>nettoyer($prestationactes_total['montantTm_total'])) ?>nettoyer($prestationactes_total['montantArembourser_total'])) ?>
nettoyer($prestationacte['prestataire']) ?>nettoyer($prestationacte['datePrestation'])) ?>nettoyer($prestationacte['numeroBeneficiaire']) ?>nettoyer($prestationacte['beneficiaire']) ?>nettoyer($prestationacte['numeroFeuilleMaladie']) ?>nettoyer($prestationacte['numeroBonConsultation']) ?>nettoyer($prestationacte['numeroBonOrdonnance']) ?>nettoyer($prestationacte['numeroBonHospitalisation']) ?>nettoyer($prestationacte['numeroBonOptique']) ?>nettoyer($prestationacte['codeTypePrestation']) ?>nettoyer($prestationacte['libelleActe']) ?>nettoyer($prestationacte['medecinActe']) ?>nettoyer($prestationacte['valeurActe'])) ?>nettoyer($prestationacte['quantite']) ?>nettoyer($prestationacte['fraisReel'])) ?>nettoyer($prestationacte['montantTm'])) ?>nettoyer($prestationacte['montantArembourser'])) ?>nettoyer($prestationacte['ententePrealable']) ?> nettoyer($prestationacte['valide']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteverificateur/index.php b/radiantproduction/Vue/Ajaxrequeteverificateur/index.php deleted file mode 100644 index 6662352..0000000 --- a/radiantproduction/Vue/Ajaxrequeteverificateur/index.php +++ /dev/null @@ -1,69 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Val Rej Excl
nettoyer($decompte_total['nbLigne'])) ?> nettoyer($decompte_total['montantApayerCalcTotal'])) ?>nettoyer($decompte_total['montantRedresseTotal'])) ?>nettoyer($decompte_total['montantNonTraiteTotal'])) ?>nettoyer($decompte_total['montantApayerTotal'])) ?>nettoyer($decompte_total['montantRejeteTotal'])) ?>nettoyer($decompte_total['montantAttenteTotal'])) ?>nettoyer($decompte_total['ndFactureTotal']) ?>nettoyer($decompte_total['nbValideTotal']) ?>nettoyer($decompte_total['nbRejeteTotal']) ?>nettoyer($decompte_total['nbAttenteTotal']) ?>nettoyer($decompte_total['nbNonTraiteTotal']) ?>
nettoyer($decompte['nomControleur']) ?>nettoyer($decompte['montantApayerCalc'])) ?>nettoyer($decompte['montantRedresse'])) ?>nettoyer($decompte['montantNonTraite'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['montantRejete'])) ?>nettoyer($decompte['montantExclues'])) ?>nettoyer($decompte['ndFacture']) ?>nettoyer($decompte['nbValide']) ?>nettoyer($decompte['nbRejete']) ?>nettoyer($decompte['nbAttente']) ?>nettoyer($decompte['nbNonTraite']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxrequeteverification/index.php b/radiantproduction/Vue/Ajaxrequeteverification/index.php deleted file mode 100644 index f9dca77..0000000 --- a/radiantproduction/Vue/Ajaxrequeteverification/index.php +++ /dev/null @@ -1,82 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Val Rej Excl
nettoyer($decompte_total['nbLigne'])) ?> nettoyer($decompte_total['montantApayerCalcTotal'])) ?>nettoyer($decompte_total['montantRedresseTotal'])) ?>nettoyer($decompte_total['montantNonTraiteTotal'])) ?>nettoyer($decompte_total['montantApayerTotal'])) ?>nettoyer($decompte_total['montantRejeteTotal'])) ?>nettoyer($decompte_total['montantAttenteTotal'])) ?>nettoyer($decompte_total['ndFactureTotal']) ?>nettoyer($decompte_total['nbValideTotal']) ?>nettoyer($decompte_total['nbRejeteTotal']) ?>nettoyer($decompte_total['nbAttenteTotal']) ?>nettoyer($decompte_total['nbNonTraiteTotal']) ?>
nettoyer($decompte['prestataire']) ?>nettoyer($decompte['nomControleur']) ?>nettoyer($decompte['numeroDecompte']) ?>nettoyer($decompte['numeroLotDecompte']) ?>nettoyer($decompte['montantApayerCalc'])) ?>nettoyer($decompte['montantRedresse'])) ?>nettoyer($decompte['montantNonTraite'])) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['montantRejete'])) ?>nettoyer($decompte['montantExclues'])) ?>nettoyer($decompte['ndFacture']) ?>nettoyer($decompte['nbValide']) ?>nettoyer($decompte['nbRejete']) ?>nettoyer($decompte['nbAttente']) ?>nettoyer($decompte['nbNonTraite']) ?>nettoyer($decompte['etatdecompte']) ?>
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxselectionlimite/index.php b/radiantproduction/Vue/Ajaxselectionlimite/index.php deleted file mode 100644 index abfbaee..0000000 --- a/radiantproduction/Vue/Ajaxselectionlimite/index.php +++ /dev/null @@ -1,35 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($beneficiaire['nomAdherent']) ?>nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['codeLienParente']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxselectionretrait/index.php b/radiantproduction/Vue/Ajaxselectionretrait/index.php deleted file mode 100644 index 0ce0533..0000000 --- a/radiantproduction/Vue/Ajaxselectionretrait/index.php +++ /dev/null @@ -1,53 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($beneficiaire['codeProduit']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['dateEntree'])) ?>nettoyer($beneficiaire['duree']) ?>nettoyer($beneficiaire['duree_non_acquise']) ?>nettoyer($beneficiaire['ratioNonAcquise']) ?>nettoyer($beneficiaire['rapportsp']) ?>nettoyer($beneficiaire['primeNetteStat_an'])) ?>nettoyer($beneficiaire['primeTtc_an'])) ?>nettoyer($beneficiaire['primeNonAcquise'])) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxsituationclient/index.php b/radiantproduction/Vue/Ajaxsituationclient/index.php deleted file mode 100644 index 3302d4b..0000000 --- a/radiantproduction/Vue/Ajaxsituationclient/index.php +++ /dev/null @@ -1,134 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['id']); - $numeroQuittance=$this->nettoyer($quittance['numeroQuittance']); - $primeTtc=$this->nettoyer($quittance['primeTtc']); - $encaisse=$this->nettoyer($quittance['encaisse']); - $solde=$this->nettoyer($quittance['solde']); - - $idEncaissement = $this->nettoyer($quittance['idEncaissement']); - ?> - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - -
No
Total nettoyer($totalquittanceImpayee['primeTtc'])) ?>nettoyer($totalquittanceImpayee['encaisse'])) ?>nettoyer($totalquittanceImpayee['solde'])) ?>
" onClick="javascript:ajouter_quittance_acompte();">
nettoyer($quittance['dateEmission'])) ?>nettoyer($quittance['dateEffet'])) ?>nettoyer($quittance['dateEcheance'])) ?>nettoyer($quittance['codeTypeAvenant']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " - onClick="javascript:selectionner_quittance_impayee(, , , , );"> - " onClick="javascript:solder_quittance_temp();">
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detailencaissement['id']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($totaldetailencaissement['montant_selection'])) ?> " onClick="javascript:enregistrer_encaissement_bordereau();">
nettoyer($detailencaissement['numeroClient']) ?>nettoyer($detailencaissement['nomClient']) ?>nettoyer($detailencaissement['numeroPolice']) ?>nettoyer($detailencaissement['idQuittance']) ?>nettoyer($detailencaissement['oldsolde'])) ?>nettoyer($detailencaissement['primeTtc'])) ?>nettoyer($detailencaissement['newsolde'])) ?> " onClick="javascript:supprimer_detail_encaissement();">
-
-
diff --git a/radiantproduction/Vue/Ajaxsituationclients/index.php b/radiantproduction/Vue/Ajaxsituationclients/index.php deleted file mode 100644 index 68f5bf9..0000000 --- a/radiantproduction/Vue/Ajaxsituationclients/index.php +++ /dev/null @@ -1,95 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($donnee['soldeEmissions']); - $soldeQuittance = $this->nettoyer($donnee['soldeQuittance']); - $etatPolice = $this->nettoyer($donnee['etatPolice']); - if (est_anglophone()) - { - $etatPolice = $this->nettoyer($donnee['etatPoliceEng']); - } - $nbligne++; - ?> - - - - - - 0): ?> - - 0): ?> - - - - - - - - - - - - - - - - - - - - -
nettoyer($donnees_total['nbClients'])) ?> nettoyer($donnees_total['primeTtcEmissionTotal'])) ?> nettoyer($donnees_total['primeTtcQuittanceTotal'])) ?> nettoyer($donnees_total['encaisseTotal'])) ?> nettoyer($donnees_total['soldeEmissionsTotal'])) ?> nettoyer($donnees_total['soldeQuittanceTotal'])) ?>
Status
nettoyer($donnees_total['nbClients'])) ?> nettoyer($donnees_total['primeTtcEmissionTotal'])) ?> nettoyer($donnees_total['primeTtcQuittanceTotal'])) ?> nettoyer($donnees_total['encaisseTotal'])) ?> nettoyer($donnees_total['soldeEmissionsTotal'])) ?> nettoyer($donnees_total['soldeQuittanceTotal'])) ?>
nettoyer($donnee['souscripteur']) ?>nettoyer($donnee['idPolice']) ?>nettoyer($donnee['numeroPolice']) ?>nettoyer($donnee['dateAfn'])) ?>nettoyer($donnee['dateFin'])) ?>nettoyer($donnee['duree'])) ?>nettoyer($donnee['primeTtcEmission'])) ?>nettoyer($donnee['primeTtcQuittance'])) ?>nettoyer($donnee['encaisse'])) ?>nettoyer($donnee['soldeEmissions'])) ?>nettoyer($donnee['soldeQuittance'])) ?>
- - -
- diff --git a/radiantproduction/Vue/Ajaxsppolice/categorie.php b/radiantproduction/Vue/Ajaxsppolice/categorie.php deleted file mode 100644 index 459fbe3..0000000 --- a/radiantproduction/Vue/Ajaxsppolice/categorie.php +++ /dev/null @@ -1,31 +0,0 @@ -
- - " disabled > - - - - - - - - - - - - - - - - - - - - - - - - - -
Cat
nettoyer($sppolice['codeProduit']) ?> nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxsppolice/college.php b/radiantproduction/Vue/Ajaxsppolice/college.php deleted file mode 100644 index b005e6a..0000000 --- a/radiantproduction/Vue/Ajaxsppolice/college.php +++ /dev/null @@ -1,32 +0,0 @@ -
- - " disabled > - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($sppolice['codeProduit']) ?> nettoyer($sppolice['libelleCollege']) ?> nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxsppolice/index.php b/radiantproduction/Vue/Ajaxsppolice/index.php deleted file mode 100644 index f351111..0000000 --- a/radiantproduction/Vue/Ajaxsppolice/index.php +++ /dev/null @@ -1 +0,0 @@ -SP POLICE \ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxsppolice/police.php b/radiantproduction/Vue/Ajaxsppolice/police.php deleted file mode 100644 index 2b62abe..0000000 --- a/radiantproduction/Vue/Ajaxsppolice/police.php +++ /dev/null @@ -1,26 +0,0 @@ -
- - " disabled > - - - - - - - - - - - - - - - - - - - - - -
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxsyntheseconsopolice/index.php b/radiantproduction/Vue/Ajaxsyntheseconsopolice/index.php deleted file mode 100644 index 4a785a1..0000000 --- a/radiantproduction/Vue/Ajaxsyntheseconsopolice/index.php +++ /dev/null @@ -1,63 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Stat OUT INP OPT MON DEN FUN OUT INP OPT MON DEN FUN ALL
nettoyer($conommation['nomAdherent']) ?>nettoyer($conommation['numeroAdherent']) ?>nettoyer($conommation['primeStat'])) ?>nettoyer($conommation['primeTtc'])) ?>nettoyer($conommation['plafond_OUT'])) ?>nettoyer($conommation['plafond_INP'])) ?>nettoyer($conommation['plafond_OPT'])) ?>nettoyer($conommation['plafond_MON'])) ?>nettoyer($conommation['plafond_DEN'])) ?>nettoyer($conommation['plafond_FUN'])) ?>nettoyer($conommation['consommation_OUT'])) ?>nettoyer($conommation['consommation_INP'])) ?>nettoyer($conommation['consommation_OPT'])) ?>nettoyer($conommation['consommation_MON'])) ?>nettoyer($conommation['consommation_DEN'])) ?>nettoyer($conommation['consommation_FUN'])) ?>nettoyer($conommation['consommation_ALL'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxtableauprestation/index.php b/radiantproduction/Vue/Ajaxtableauprestation/index.php deleted file mode 100644 index d377c81..0000000 --- a/radiantproduction/Vue/Ajaxtableauprestation/index.php +++ /dev/null @@ -1,41 +0,0 @@ -
- - - - - - - - - - - - - - - nettoyer($prestation['id']); - $libelleReseausoin=$this->nettoyer($prestation['reseausoin']); - if (est_anglophone()) - { - $libelleReseausoin = $this->nettoyer($prestation['reseausoinEng']); - } - ?> - - - - - - - - - - - - - -
nettoyer($prestation['tmBase']) ?>nettoyer($prestation['tauxRachatTm']) ?> - - nettoyer($prestation['tm']) ?>
-
diff --git a/radiantproduction/Vue/Ajaxtarifacte/index.php b/radiantproduction/Vue/Ajaxtarifacte/index.php deleted file mode 100644 index bb52b6e..0000000 --- a/radiantproduction/Vue/Ajaxtarifacte/index.php +++ /dev/null @@ -1,41 +0,0 @@ - - -
- - - - - - - - - - - - - - - nettoyer($detailtarif['id']); - ?> - - - - - - - - - - - - - - -
nettoyer($detailtarif['libelleActe']) ?>nettoyer($detailtarif['libelleActe']) ?> nettoyer($detailtarif['prix'])) ?> - - nettoyer($detailtarif['prix'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxtarifmedicament/index.php b/radiantproduction/Vue/Ajaxtarifmedicament/index.php deleted file mode 100644 index 6814ba5..0000000 --- a/radiantproduction/Vue/Ajaxtarifmedicament/index.php +++ /dev/null @@ -1,38 +0,0 @@ -
- - - - - - - - - - - - - - - nettoyer($detailtarif['id']); - ?> - - - - - - - - - - - -
nettoyer($detailtarif['libelleMedicament']) ?> nettoyer($detailtarif['prix'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxtarifoptique/index.php b/radiantproduction/Vue/Ajaxtarifoptique/index.php deleted file mode 100644 index 30bf864..0000000 --- a/radiantproduction/Vue/Ajaxtarifoptique/index.php +++ /dev/null @@ -1,29 +0,0 @@ -
- - - - - - - - - - - - - - nettoyer($detailtarif['id']); - ?> - - - - - - - - - -
nettoyer($detailtarif['libelleOptique']) ?> nettoyer($detailtarif['prix'])) ?>
-
diff --git a/radiantproduction/Vue/Ajaxttcfammille/index.php b/radiantproduction/Vue/Ajaxttcfammille/index.php deleted file mode 100644 index 6b0a39d..0000000 --- a/radiantproduction/Vue/Ajaxttcfammille/index.php +++ /dev/null @@ -1,55 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
diff --git a/radiantproduction/Vue/Ajaxutilisateursprofil/index.php b/radiantproduction/Vue/Ajaxutilisateursprofil/index.php deleted file mode 100644 index 0b22c8a..0000000 --- a/radiantproduction/Vue/Ajaxutilisateursprofil/index.php +++ /dev/null @@ -1 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxvaliderfacture/index.php b/radiantproduction/Vue/Ajaxvaliderfacture/index.php deleted file mode 100644 index 1ee76ee..0000000 --- a/radiantproduction/Vue/Ajaxvaliderfacture/index.php +++ /dev/null @@ -1,167 +0,0 @@ -
- -nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" . $reglement['prestataire'] ?>" readonly >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly > "onClick="javascript:afficherdecompte();" style='font-size:8pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
-
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxvaliderfacturepha/index.php b/radiantproduction/Vue/Ajaxvaliderfacturepha/index.php deleted file mode 100644 index 8d23731..0000000 --- a/radiantproduction/Vue/Ajaxvaliderfacturepha/index.php +++ /dev/null @@ -1,149 +0,0 @@ -
- -nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:maj_bordereau_decompte(,'');" style='font-size:8pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
" readonly > "onClick="javascript:afficherdecompte();" style='font-size:8pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejAttObs
- -
-
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Ajaxverifierfacture/index.php b/radiantproduction/Vue/Ajaxverifierfacture/index.php deleted file mode 100644 index 9d396ea..0000000 --- a/radiantproduction/Vue/Ajaxverifierfacture/index.php +++ /dev/null @@ -1,223 +0,0 @@ -
- - nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - - $fact_exclue = $this->nettoyer($facture_pop['valide']=="2"); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - $ajoutDecompte = $prestation['ajoutDecompte']; - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
" onClick="valider_facture_dec();" style='font-size:8pt;' > " onClick="reinit_facture_dec();" style='font-size:8pt;' >
nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> - - nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
-
-
diff --git a/radiantproduction/Vue/Ajaxverifierfacturecons/index.php b/radiantproduction/Vue/Ajaxverifierfacturecons/index.php deleted file mode 100644 index 85b0c67..0000000 --- a/radiantproduction/Vue/Ajaxverifierfacturecons/index.php +++ /dev/null @@ -1,184 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxverifierfactureopt/index.php b/radiantproduction/Vue/Ajaxverifierfactureopt/index.php deleted file mode 100644 index 883691d..0000000 --- a/radiantproduction/Vue/Ajaxverifierfactureopt/index.php +++ /dev/null @@ -1,196 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - - $fact_exclue = $this->nettoyer($facture_pop['valide']=="2"); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - ?> - - - - - - - - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
" onClick="valider_facture_dec_opt();" style='font-size:8pt;' > " onClick="reinit_facture_dec_opt();" style='font-size:8pt;' >
nettoyer($prestation['libelleOptique']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> - - nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxverifierfactureoptcons/index.php b/radiantproduction/Vue/Ajaxverifierfactureoptcons/index.php deleted file mode 100644 index 1796ea1..0000000 --- a/radiantproduction/Vue/Ajaxverifierfactureoptcons/index.php +++ /dev/null @@ -1,168 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
nettoyer($prestation['libelleOptique']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxverifierfacturepha/index.php b/radiantproduction/Vue/Ajaxverifierfacturepha/index.php deleted file mode 100644 index 3ba6f75..0000000 --- a/radiantproduction/Vue/Ajaxverifierfacturepha/index.php +++ /dev/null @@ -1,210 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - - $fact_exclue = $this->nettoyer($facture_pop['valide']=="2"); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - $ajPharmacie = $this->nettoyer($prestation['ajPharmacie']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - '1' || $autorisation>'1' || $fact_exclue): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExclInstructions
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
" onClick="valider_facture_dec_pha();" style='font-size:8pt;' > " onClick="reinit_facture_dec_pha();" style='font-size:8pt;' >
nettoyer($prestation['libelleMedicament']) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> - - nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?> nettoyer($prestation['instructions']) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxverifierfacturephacons/index.php b/radiantproduction/Vue/Ajaxverifierfacturephacons/index.php deleted file mode 100644 index 0637c86..0000000 --- a/radiantproduction/Vue/Ajaxverifierfacturephacons/index.php +++ /dev/null @@ -1,180 +0,0 @@ -
- nettoyer($facture_pop['idFacture']); - $_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']); - - $actVisible = $_SESSION['actVisible']; - - $codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']); - - $codeAffection = $this->nettoyer($facture_pop['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']); - } - else - { - $libelleAffection = $this->nettoyer($facture_pop['libelleAffection']); - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $idPrestationactes = $this->nettoyer($prestation['idPrestationactes']); - $codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable = $this->nettoyer($prestation['ententePrealable']); - $autorisation = $this->nettoyer($prestation['autorisation']); - $valide = $prestation['valide']; - $ajPharmacie = $this->nettoyer($prestation['ajPharmacie']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ValRejExcl
Total nettoyer($prestations_total['fraisReel'])) ?>nettoyer($prestations_total['montantTm'])) ?>nettoyer($prestations_total['montantArembourser'])) ?>nettoyer($prestations_total['montantForce'])) ?>nettoyer($prestations_total['montantApayer'])) ?>nettoyer($prestations_total['montantRedresse'])) ?>
nettoyer($prestation['libelleMedicament']) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['montantForce'])) ?> nettoyer($prestation['montantApayer'])) ?> nettoyer($prestation['montantRedresse'])) ?>
- -
-
- -
diff --git a/radiantproduction/Vue/Ajaxville/consultation.php b/radiantproduction/Vue/Ajaxville/consultation.php deleted file mode 100644 index e265964..0000000 --- a/radiantproduction/Vue/Ajaxville/consultation.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxville/index.php b/radiantproduction/Vue/Ajaxville/index.php deleted file mode 100644 index 525b819..0000000 --- a/radiantproduction/Vue/Ajaxville/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajaxvuesprofil/index.php b/radiantproduction/Vue/Ajaxvuesprofil/index.php deleted file mode 100644 index a46d9de..0000000 --- a/radiantproduction/Vue/Ajaxvuesprofil/index.php +++ /dev/null @@ -1 +0,0 @@ - diff --git a/radiantproduction/Vue/Ajouterprofil/index.php b/radiantproduction/Vue/Ajouterprofil/index.php deleted file mode 100644 index 74ef068..0000000 --- a/radiantproduction/Vue/Ajouterprofil/index.php +++ /dev/null @@ -1,35 +0,0 @@ -titre = "INTER-SANTE - Ajouter Profil"; ?> - -
-
- - - - - - - - - - - - - - - - - - -
Code
- - " />
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Ajouterutilisateur/index.php b/radiantproduction/Vue/Ajouterutilisateur/index.php deleted file mode 100644 index 784cbe4..0000000 --- a/radiantproduction/Vue/Ajouterutilisateur/index.php +++ /dev/null @@ -1,59 +0,0 @@ -titre = "INTER-SANTE - Ajouter Utilisateur"; ?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
- - E-mail
- - " />
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Anomaliesdecomptes/index.php b/radiantproduction/Vue/Anomaliesdecomptes/index.php deleted file mode 100644 index 38fd871..0000000 --- a/radiantproduction/Vue/Anomaliesdecomptes/index.php +++ /dev/null @@ -1,39 +0,0 @@ -titre = "INTER-SANTE - Anomalies Décomptes"; -?> - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - - - -
-
- -
-
diff --git a/radiantproduction/Vue/Anteceentsmedicaux/index.php b/radiantproduction/Vue/Anteceentsmedicaux/index.php deleted file mode 100644 index 797e9af..0000000 --- a/radiantproduction/Vue/Anteceentsmedicaux/index.php +++ /dev/null @@ -1,17 +0,0 @@ -titre = "INTER-SANTE - Autres informations du dossier"; -?> - - - -

- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Assuranceindividuelle/index.php b/radiantproduction/Vue/Assuranceindividuelle/index.php deleted file mode 100644 index ad59717..0000000 --- a/radiantproduction/Vue/Assuranceindividuelle/index.php +++ /dev/null @@ -1,65 +0,0 @@ -titre = "INTER-SANTE - ASSURANCE MALADIE INDIVIDUELLE"; -?> -
- " . _("Primes non facturées") . " : " . format_N($nb_non_facturees) ?> - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
" - onClick="javascript:rechercher_commercail_type_familiale();" style="font-size:10pt;"> " - onClick="javascript:rechercher_commercail_type_familiale_tous();" style="font-size:10pt;">
- -
-
- -
- -
- - - - diff --git a/radiantproduction/Vue/Assuresactifs/index.php b/radiantproduction/Vue/Assuresactifs/index.php deleted file mode 100644 index 5879c66..0000000 --- a/radiantproduction/Vue/Assuresactifs/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Assurés Actifs "; ?> - - - - - - - - - - - - - - - - - -
" onClick="javascript:liste_assures_actifs();" style='font-size:11pt;' > " onClick="javascript:liste_assures_actifs_export();" style='font-size:11pt;' >
- - -
- -
- - -
-

-
- diff --git a/radiantproduction/Vue/Attentdemandesteglement/index.php b/radiantproduction/Vue/Attentdemandesteglement/index.php deleted file mode 100644 index 645251e..0000000 --- a/radiantproduction/Vue/Attentdemandesteglement/index.php +++ /dev/null @@ -1,101 +0,0 @@ -titre = "INTER-SANTE - En attente de demande de règlement "; -?> - - - - - -
- - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - - $nbligne++; - ?> - - - - - - - - - - - - - - - - -
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decomptes_total['nbLigne'])) ?> nettoyer($decomptes_total['montantApayerTotal'])) ?>
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['heureValidationDecompte'])) ?>nettoyer($decompte['userValidationDecompte']) ?>
- -
- -
-
diff --git a/radiantproduction/Vue/Audits/index.php b/radiantproduction/Vue/Audits/index.php deleted file mode 100644 index 9a3d91a..0000000 --- a/radiantproduction/Vue/Audits/index.php +++ /dev/null @@ -1,15 +0,0 @@ -titre = "INTER-SANTE - OUTILS D'AUDIT"; ?> - - - -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Autresparametresgeneraux/index.php b/radiantproduction/Vue/Autresparametresgeneraux/index.php deleted file mode 100644 index 35edc7b..0000000 --- a/radiantproduction/Vue/Autresparametresgeneraux/index.php +++ /dev/null @@ -1,316 +0,0 @@ -titre = "INTER-SANTE - Autres Paramètres Généraux"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - nettoyer($societeuser['codeLangueSociete'])?>
- Nouvelle Prime = ( (Ancienne Prime * SP) / spMax ). Ce qui veut dire que la S/P ne devrait pas dépasser ce plafond spMax") ?> - nettoyer($societeuser['spMax']) . " % "?>
- - nettoyer($societeuser['fraisCarteAN'])) . " " . $_SESSION['devise_C']?>
- - nettoyer($societeuser['fraisCarteREN'])) . " " . $_SESSION['devise_C']?>
- - nettoyer($societeuser['fraisCarteImp'])) . " " . $_SESSION['devise_C']?>
- - nettoyer($societeuser['spAlertAdherent']) . " % "?>
- - nettoyer($societeuser['tauxRistourne']) . " % "?>
- - nettoyer($societeuser['seuilRistourne']) . " % "?>
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - nettoyer($societeuser['nbMedicamentMax'])) ?>
- - - - - - - -
diff --git a/radiantproduction/Vue/Batchdroitsass/index.php b/radiantproduction/Vue/Batchdroitsass/index.php deleted file mode 100644 index 801d0a9..0000000 --- a/radiantproduction/Vue/Batchdroitsass/index.php +++ /dev/null @@ -1,39 +0,0 @@ -titre = "INTER-SANTE - droits utilisateurs assureur par batch"; -?> - - - - - -
- - - - - - - - - - - - - - - - - - - - -
Code Supprime tous les droits") ?>
nettoyer($profil['code']) ?> nettoyer($profil['libelle']) ?> " onClick="javascript:batch_vider_droits_profil_assureur('');"> " onClick="javascript:batch_atrtribuer_droits_reference_profil_assureur('');">
-
- -
-
- diff --git a/radiantproduction/Vue/Beneficiaireprimeadherent/index.php b/radiantproduction/Vue/Beneficiaireprimeadherent/index.php deleted file mode 100644 index 0265669..0000000 --- a/radiantproduction/Vue/Beneficiaireprimeadherent/index.php +++ /dev/null @@ -1,25 +0,0 @@ -titre = "INTER-SANTE - Fiche Emission"; - -?> - - - - - - - - - - - - - - - -
- -
- -
- diff --git a/radiantproduction/Vue/Beneficiaireprimebeneficiaire/index.php b/radiantproduction/Vue/Beneficiaireprimebeneficiaire/index.php deleted file mode 100644 index e42825f..0000000 --- a/radiantproduction/Vue/Beneficiaireprimebeneficiaire/index.php +++ /dev/null @@ -1,102 +0,0 @@ -titre = "INTER-SANTE - Détail des primes du bénéficiaire"; - -?> - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($beneficiaires_total['primeNetteTotal'])) ?>nettoyer($beneficiaires_total['commissionTotal'])) ?>nettoyer($beneficiaires_total['commissionAutreTotal'])) ?>nettoyer($beneficiaires_total['accessoireTotal'])) ?>nettoyer($beneficiaires_total['taxeTotal'])) ?>nettoyer($beneficiaires_total['fraisCarteTotal'])) ?>nettoyer($beneficiaires_total['primeTtcTotal'])) ?>
- -
Total nettoyer($beneficiaires_total['primeNetteTotal'])) ?>nettoyer($beneficiaires_total['commissionTotal'])) ?>nettoyer($beneficiaires_total['commissionAutreTotal'])) ?>nettoyer($beneficiaires_total['accessoireTotal'])) ?>nettoyer($beneficiaires_total['taxeTotal'])) ?>nettoyer($beneficiaires_total['fraisCarteTotal'])) ?>nettoyer($beneficiaires_total['primeTtcTotal'])) ?>
nettoyer($beneficiaire['dateEffet'])) ?> nettoyer($beneficiaire['avenant']) ?>nettoyer($beneficiaire['primeNette'])) ?>nettoyer($beneficiaire['commission'])) ?>nettoyer($beneficiaire['commissionAutre'])) ?>nettoyer($beneficiaire['accessoire'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>nettoyer($beneficiaire['dateFacturation']), $_SESSION['lang']) ?>
-
diff --git a/radiantproduction/Vue/Beneficiaireprimeemission/index.php b/radiantproduction/Vue/Beneficiaireprimeemission/index.php deleted file mode 100644 index 4f51941..0000000 --- a/radiantproduction/Vue/Beneficiaireprimeemission/index.php +++ /dev/null @@ -1,91 +0,0 @@ -titre = "INTER-SANTE - Fiche Emission"; - - $idEmission = $_SESSION['idEmission']; - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($emission['primeNette'])) ?>nettoyer($emission['commission'])) ?>nettoyer($emission['commissionAutre'])) ?>nettoyer($emission['accessoire'])) ?>nettoyer($emission['taxe'])) ?>nettoyer($emission['fraisCarte'])) ?>nettoyer($emission['primeTtc'])) ?>
- -
Total nettoyer($emission['primeNette'])) ?>nettoyer($emission['commission'])) ?>nettoyer($emission['commissionAutre'])) ?>nettoyer($emission['accessoire'])) ?>nettoyer($emission['taxe'])) ?>nettoyer($emission['fraisCarte'])) ?>nettoyer($emission['primeTtc'])) ?>
nettoyer($beneficiaire['dateEffet'])) ?>nettoyer($beneficiaire['adherent']) ?> nettoyer($beneficiaire['codeProduit']) ?> nettoyer($beneficiaire['codeLienParente']) ?> nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['beneficiaire']) ?>nettoyer($beneficiaire['primeNette'])) ?>nettoyer($beneficiaire['commission'])) ?>nettoyer($beneficiaire['commissionAutre'])) ?>nettoyer($beneficiaire['accessoire'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>nettoyer($beneficiaire['dateFacturation']), $_SESSION['lang']) ?>
- diff --git a/radiantproduction/Vue/Beneficiairequittance/index.php b/radiantproduction/Vue/Beneficiairequittance/index.php deleted file mode 100644 index a305bc8..0000000 --- a/radiantproduction/Vue/Beneficiairequittance/index.php +++ /dev/null @@ -1,151 +0,0 @@ -titre = "INTER-SANTE - Détail Quittance"; ?> - -
-
- nettoyer($quittance['idQuittance'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - - " onClick="javascript:imprimer_quittance();"> - - '0'): ?> - " onClick="javascript:encaisser_quittance();"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($quittance['nbAliment'])) ?>
nettoyer($beneficiaire['numeroBeneficiaire']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['prenomsBeneficiaire']) ?>nettoyer($beneficiaire['primeNette'])) ?>nettoyer($beneficiaire['commission'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>
-
-
- - - - diff --git a/radiantproduction/Vue/Caracteristiquesecte/index.php b/radiantproduction/Vue/Caracteristiquesecte/index.php deleted file mode 100644 index 236a8bd..0000000 --- a/radiantproduction/Vue/Caracteristiquesecte/index.php +++ /dev/null @@ -1,35 +0,0 @@ -titre = "INTER-SANTE - Caractéristiques des actes"; -?> - - - -
- - - - - - - - - - - -
- - " - onClick="javascript:afficher_caracteristiques_acte();" style="font-size:9pt;">
-
- -
- -
- -
- -
- - diff --git a/radiantproduction/Vue/Carteassures/index.php b/radiantproduction/Vue/Carteassures/index.php deleted file mode 100644 index 0d0a8b1..0000000 --- a/radiantproduction/Vue/Carteassures/index.php +++ /dev/null @@ -1,54 +0,0 @@ -titre = "INTER SANTE - Cartes des assurés"; ?> - -
- - (Maximum : 100) - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
- -
-
- -
-
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Carteassurespolice/index.php b/radiantproduction/Vue/Carteassurespolice/index.php deleted file mode 100644 index f321acc..0000000 --- a/radiantproduction/Vue/Carteassurespolice/index.php +++ /dev/null @@ -1,33 +0,0 @@ -titre = "INTER SANTE - Cartes des assurés"; ?> - -
- - (Maximum : 100) - - - - - - - - - - - - - - - - -
- -
- -
-
- -
- -
diff --git a/radiantproduction/Vue/Cartesbenficiaire/index.php b/radiantproduction/Vue/Cartesbenficiaire/index.php deleted file mode 100644 index 5b38345..0000000 --- a/radiantproduction/Vue/Cartesbenficiaire/index.php +++ /dev/null @@ -1,109 +0,0 @@ -titre = "INTER-SANTE - Carte Réimprimées"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:init_creer_carte();" style='font-size:10pt;' >
- -
- -
- - - - - diff --git a/radiantproduction/Vue/Chambrecons/index.php b/radiantproduction/Vue/Chambrecons/index.php deleted file mode 100644 index c2dcc93..0000000 --- a/radiantproduction/Vue/Chambrecons/index.php +++ /dev/null @@ -1,69 +0,0 @@ -titre = "INTER-SANTE - Hospitalisation"; - $numeroBonHospitalisation = $_SESSION['numeroBonHospitalisation_C']; -?> - - - - " . _("No Bon") . " : " . $numeroBonHospitalisation . " => " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" -readonly > - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($chambre['id']); - $ententePrealable=$this->nettoyer($chambre['ententePrealable']); - $autorisation=$this->nettoyer($chambre['autorisation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - -
Total
Totalnettoyer($totalchambres['duree']) ?>nettoyer($totalchambres['fraisReel'])) ?>nettoyer($totalchambres['montantTm'])) ?>nettoyer($totalchambres['montantArembourser'])) ?>
nettoyer($chambre['libelleChambre']) ?> nettoyer($chambre['valeurActe'])) ?> nettoyer($chambre['debut'])) ?> nettoyer($chambre['fin'])) ?> nettoyer($chambre['quantite']) ?> nettoyer($chambre['fraisReel'])) ?> nettoyer($chambre['montantTm'])) ?> nettoyer($chambre['montantArembourser'])) ?>
-
diff --git a/radiantproduction/Vue/Chambredec/index.php b/radiantproduction/Vue/Chambredec/index.php deleted file mode 100644 index c2dcc93..0000000 --- a/radiantproduction/Vue/Chambredec/index.php +++ /dev/null @@ -1,69 +0,0 @@ -titre = "INTER-SANTE - Hospitalisation"; - $numeroBonHospitalisation = $_SESSION['numeroBonHospitalisation_C']; -?> - - - - " . _("No Bon") . " : " . $numeroBonHospitalisation . " => " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" -readonly > - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($chambre['id']); - $ententePrealable=$this->nettoyer($chambre['ententePrealable']); - $autorisation=$this->nettoyer($chambre['autorisation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - -
Total
Totalnettoyer($totalchambres['duree']) ?>nettoyer($totalchambres['fraisReel'])) ?>nettoyer($totalchambres['montantTm'])) ?>nettoyer($totalchambres['montantArembourser'])) ?>
nettoyer($chambre['libelleChambre']) ?> nettoyer($chambre['valeurActe'])) ?> nettoyer($chambre['debut'])) ?> nettoyer($chambre['fin'])) ?> nettoyer($chambre['quantite']) ?> nettoyer($chambre['fraisReel'])) ?> nettoyer($chambre['montantTm'])) ?> nettoyer($chambre['montantArembourser'])) ?>
-
diff --git a/radiantproduction/Vue/Changercollege/index.php b/radiantproduction/Vue/Changercollege/index.php deleted file mode 100644 index 8f7db5f..0000000 --- a/radiantproduction/Vue/Changercollege/index.php +++ /dev/null @@ -1,146 +0,0 @@ -titre = "INTER-SANTE - Changement collège"; ?> - -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- -
" onclick="javascript:enregistrer_changement_college();" />
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?>
nettoyer($collegeTemp['primeNetteStat']))?> nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?>
nettoyer($collegeTemp['primeFamille']))?> nettoyer($collegeTemp['primeBeneficiaire']))?>
nettoyer($collegeTemp['primeCplFuneraire']))?> nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?>
nettoyer($collegeTemp['surprimeOption']))?> nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?>
nettoyer($collegeTemp['surprimeTm']))?> nettoyer($collegeTemp['surprimeTmBeneficiaire']))?>
nettoyer($collegeTemp['surprimeAnt']))?> nettoyer($collegeTemp['surprimeAntBeneficiaire']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?>
nettoyer($collegeTemp['commission']))?> nettoyer($collegeTemp['commissionBeneficiaire']))?>
nettoyer($collegeTemp['commissionAutre']))?> nettoyer($collegeTemp['commissionAutreBeneficiaire']))?>
nettoyer($collegeTemp['accessoire']))?> nettoyer($collegeTemp['accessoireBeneficiaire']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?>
nettoyer($collegeTemp['fraisCarte']))?> nettoyer($collegeTemp['fraisCarteBeneficiaire']))?>
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Changeretatadherent/index.php b/radiantproduction/Vue/Changeretatadherent/index.php deleted file mode 100644 index 19559cc..0000000 --- a/radiantproduction/Vue/Changeretatadherent/index.php +++ /dev/null @@ -1,78 +0,0 @@ -titre = "INTER-SANTE - changement état famillet"; - if (est_anglophone()) - { - $produit = $adherent['produitEng']; - $naturepiece = $adherent['naturepieceEng']; - $situationfamille = $adherent['situationfamilleEng']; - $motifsortie = $adherent['motifsortieEng']; - $etatadherent = $adherent['etatadherentEng']; - } - else - { - $produit = $adherent['produit']; - $naturepiece = $adherent['naturepiece']; - $situationfamille = $adherent['situationfamille']; - $motifsortie = $adherent['motifsortie']; - $etatadherent = $adherent['etatadherent']; - } - -?> - -
-
- - - - - - - - - - - - - - - - - - - - -
-
-
- -
- " /> - -
- - - - - - - - - - - - - - - - - - - - -
- -
-
-
diff --git a/radiantproduction/Vue/Changeretatbeneficiaire/index.php b/radiantproduction/Vue/Changeretatbeneficiaire/index.php deleted file mode 100644 index fad2d36..0000000 --- a/radiantproduction/Vue/Changeretatbeneficiaire/index.php +++ /dev/null @@ -1,78 +0,0 @@ -titre = "INTER-SANTE - changement état dépendant"; - - if (est_anglophone()) - { - $produit = $beneficiaire['produitEng']; - $naturepiece = $beneficiaire['naturepieceEng']; - $lienparente = $beneficiaire['lienparenteEng']; - $motifsortie = $beneficiaire['motifsortieEng']; - $etatbeneficiaire = $beneficiaire['etatbeneficiaireEng']; - } - else - { - $produit = $beneficiaire['produit']; - $naturepiece = $beneficiaire['naturepiece']; - $lienparente = $beneficiaire['lienparente']; - $motifsortie = $beneficiaire['motifsortie']; - $etatbeneficiaire = $beneficiaire['etatbeneficiaire']; - } - -?> - -
-
- - - - - - - - - - - - - - - - - - - -
-
-
- -
- " /> - -
- - - - - - - - - - - - - - - - - - - - -
- -
-
-
diff --git a/radiantproduction/Vue/Changerlimite/index.php b/radiantproduction/Vue/Changerlimite/index.php deleted file mode 100644 index 51292ed..0000000 --- a/radiantproduction/Vue/Changerlimite/index.php +++ /dev/null @@ -1,46 +0,0 @@ -titre = "INTER-SANTE - Limites additionnelles famille"; - -?> - - - -
- - - - " /> - -
- - - - - - - - - - - - nettoyer($garantieadd['id']); - ?> - - - - - - - - -
nettoyer($garantieadd['garantie']) ?> nettoyer($garantieadd['plafondOld'])) ?>nettoyer($garantieadd['plafondNew'])) ?> -
-
- - -
-

-
- -
diff --git a/radiantproduction/Vue/Changermotpass/index.php b/radiantproduction/Vue/Changermotpass/index.php deleted file mode 100644 index f3799dd..0000000 --- a/radiantproduction/Vue/Changermotpass/index.php +++ /dev/null @@ -1,45 +0,0 @@ -titre = "INTER-SANTE - ". _("Changement de mot de passe"); -?> - -
-

-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
:
:
:
" />
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Collegepolice/index.php b/radiantproduction/Vue/Collegepolice/index.php deleted file mode 100644 index 4aa72d1..0000000 --- a/radiantproduction/Vue/Collegepolice/index.php +++ /dev/null @@ -1,129 +0,0 @@ -titre = "INTER-SANTE - Collèges de la police"; - $superUser = $_SESSION['superUser']; -?> - - - -
- - - -
- nettoyer($police['numeroPolice']) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Total nettoyer($totalcollege['nbAdherent'])) ?>nettoyer($totalcollege['nbAyantdroit'])) ?>nettoyer($totalcollege['primeFamille_total'])) ?>nettoyer($totalcollege['primeNette_total'])) ?>nettoyer($totalcollege['commission_total'])) ?>nettoyer($totalcollege['commissionAutre_total'])) ?>nettoyer($totalcollege['accessoire_total'])) ?>nettoyer($totalcollege['primeHt_total'])) ?>nettoyer($totalcollege['taxe_total'])) ?>nettoyer($totalcollege['fraisCarte_total'])) ?>nettoyer($totalcollege['primeTtcAdherent_total'])) ?>nettoyer($totalcollege['primeTtcBeneficiaire_total'])) ?>nettoyer($totalcollege['primeTtc_total'])) ?>
nettoyer($college['codeProduit']) ?> nettoyer($college['libelleCollege']) ?> nettoyer($college['nbAdherent'])) ?>nettoyer($college['nbAyantdroit'])) ?>nettoyer($college['primeFamille'])) ?>nettoyer($college['primeNette'])) ?>nettoyer($college['commission'])) ?>nettoyer($college['commissionAutre'])) ?>nettoyer($college['accessoire'])) ?>nettoyer($college['primeHt'])) ?>nettoyer($college['taxe'])) ?>nettoyer($college['fraisCarte'])) ?>nettoyer($college['primeTtcAdherent'])) ?>nettoyer($college['primeTtcBeneficiaire'])) ?> - " onClick="javascript:de_archiver_garantie_college('');"> - " onClick="javascript:archiver_garantie_college('');">
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Commercial/index.php b/radiantproduction/Vue/Commercial/index.php deleted file mode 100644 index c6d535a..0000000 --- a/radiantproduction/Vue/Commercial/index.php +++ /dev/null @@ -1,60 +0,0 @@ - Parémtrages") ?> - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
" - onClick="javascript:rechercher_commercail_type_param();" style="font-size:10pt;"> " - onClick="javascript:rechercher_commercail_type_param_tous();" style="font-size:10pt;">
- -
- - -
-
- - - - diff --git a/radiantproduction/Vue/Compositiontarifactes/index.php b/radiantproduction/Vue/Compositiontarifactes/index.php deleted file mode 100644 index 30e3781..0000000 --- a/radiantproduction/Vue/Compositiontarifactes/index.php +++ /dev/null @@ -1,42 +0,0 @@ -titre = "INTER-SANTE - Tarif Actes Médicaux"; - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $codeFamilleActe = $_SESSION['codeFamilleActe_C']; -?> -" readonly> - -
- - - - - - - - - - - - - - - -
- - -
- -
-
- " - onClick="javascript:ajax_composante_tarif();" style="font-size:10pt;"> -
-
- - -
-
diff --git a/radiantproduction/Vue/Compositiontarifactescons/index.php b/radiantproduction/Vue/Compositiontarifactescons/index.php deleted file mode 100644 index 35cbe37..0000000 --- a/radiantproduction/Vue/Compositiontarifactescons/index.php +++ /dev/null @@ -1,42 +0,0 @@ - - - " readonly> - -
- - - - - - - - - - - - - - - -
- - -
- -
-
- " - onClick="javascript:ajax_composante_tarif_cons();" style="font-size:10pt;"> -
-
- - -
-
diff --git a/radiantproduction/Vue/Compositiontarifmedicament/index.php b/radiantproduction/Vue/Compositiontarifmedicament/index.php deleted file mode 100644 index a855a3d..0000000 --- a/radiantproduction/Vue/Compositiontarifmedicament/index.php +++ /dev/null @@ -1,35 +0,0 @@ - - -" readonly> - -
- - - - - - - - - - - - - - -
- - - - - " - onClick="javascript:ajax_composante_tarif_medicaments();" style="font-size:10pt;"> -
-
- -
-
diff --git a/radiantproduction/Vue/Compositiontarifmedicamentcons/index.php b/radiantproduction/Vue/Compositiontarifmedicamentcons/index.php deleted file mode 100644 index c97cdfe..0000000 --- a/radiantproduction/Vue/Compositiontarifmedicamentcons/index.php +++ /dev/null @@ -1,35 +0,0 @@ - - -" readonly> - -
- - - - - - - - - - - - - - -
- - - - - " - onClick="javascript:ajax_composante_tarif_medicaments_cons();" style="font-size:10pt;"> -
-
- -
-
diff --git a/radiantproduction/Vue/Compositiontarifverres/index.php b/radiantproduction/Vue/Compositiontarifverres/index.php deleted file mode 100644 index 46e66dc..0000000 --- a/radiantproduction/Vue/Compositiontarifverres/index.php +++ /dev/null @@ -1,33 +0,0 @@ - - -" readonly> - -
- - - - - - - - - - - - -
- - - - - " - onClick="javascript:ajax_composante_tarif_verres();" style="font-size:10pt;"> -
-
- -
-
diff --git a/radiantproduction/Vue/Compositiontarifverrescons/index.php b/radiantproduction/Vue/Compositiontarifverrescons/index.php deleted file mode 100644 index 6abfffe..0000000 --- a/radiantproduction/Vue/Compositiontarifverrescons/index.php +++ /dev/null @@ -1,35 +0,0 @@ - - -" readonly> - -
- - - - - - - - - - - - - - -
- - - - - " - onClick="javascript:ajax_composante_tarif_verre_cons();" style="font-size:10pt;"> -
-
- -
-
diff --git a/radiantproduction/Vue/Compta/index.php b/radiantproduction/Vue/Compta/index.php deleted file mode 100644 index 59f1aa8..0000000 --- a/radiantproduction/Vue/Compta/index.php +++ /dev/null @@ -1,113 +0,0 @@ -titre = "INTER-SANTE - Compta Client"; ?> - -
-
-
- -
- - - - - - - - - - - -
- -
-
-
-
- -
-
-
- - - - - - - - - - - - - - nettoyer($police['id']); - $numeroPolice=$this->nettoyer($police['numeroPolice']); - ?> - - - - - - - - - - - - -
Type
nettoyer($police['numeroPolice']) ?> nettoyer($police['typeContrat']) ?> nettoyer($police['dateEffet'])) ?>nettoyer($police['dateEcheance'])) ?>nettoyer($police['numeroAvenant']) ?> nettoyer($police['typeAvenant']) ?> nettoyer($police['etatPolice']) ?>
-
-
-
-
- -
-
-
-
-

-
-
- -
-

-
-
-
- - - diff --git a/radiantproduction/Vue/Connexion/deconnecter.php b/radiantproduction/Vue/Connexion/deconnecter.php deleted file mode 100644 index e69de29..0000000 diff --git a/radiantproduction/Vue/Connexion/index.php b/radiantproduction/Vue/Connexion/index.php deleted file mode 100644 index 784e648..0000000 --- a/radiantproduction/Vue/Connexion/index.php +++ /dev/null @@ -1,37 +0,0 @@ -titre = "INTER-SANTE - Connexion" ; - - if (isset($_COOKIE['codeUtilisateur'])) - { - $_SESSION['lang'] = $_COOKIE['lang']; - $codeUtilisateur = $_COOKIE['codeUtilisateur']; - } - else - { - $_SESSION['lang'] = "fr_FR"; - $codeUtilisateur = ""; - } -?> - - - - - - - -
-
- - - - - - - - - - - - diff --git a/radiantproduction/Vue/Consultations/index.php b/radiantproduction/Vue/Consultations/index.php deleted file mode 100644 index ef0aae2..0000000 --- a/radiantproduction/Vue/Consultations/index.php +++ /dev/null @@ -1,10 +0,0 @@ -titre = "INTER-SANTE - COnsultations Sinistres"; ?> -

- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Consulteractureclassique/index.php b/radiantproduction/Vue/Consulteractureclassique/index.php deleted file mode 100644 index 3b652e3..0000000 --- a/radiantproduction/Vue/Consulteractureclassique/index.php +++ /dev/null @@ -1,103 +0,0 @@ -titre = "INTER-SANTE - Facture classique : Consultation"; -?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observat - - Hospit
-
- -
-
- -
- - - - - - - - - - - - nettoyer($prestation['ententePrealable']); - $autorisation=$this->nettoyer($prestation['autorisation']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($prestation['libelleActe']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
-
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Consultercollege/index.php b/radiantproduction/Vue/Consultercollege/index.php deleted file mode 100644 index f885c60..0000000 --- a/radiantproduction/Vue/Consultercollege/index.php +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/radiantproduction/Vue/Consulterderogation/index.php b/radiantproduction/Vue/Consulterderogation/index.php deleted file mode 100644 index 31ec6aa..0000000 --- a/radiantproduction/Vue/Consulterderogation/index.php +++ /dev/null @@ -1,72 +0,0 @@ -titre = "INTER-SANTE - Consulter Dérogation"; - $codeDerogation = $this->nettoyer($derogation['codeDerogation']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- -
-
diff --git a/radiantproduction/Vue/Consulterderogations/index.php b/radiantproduction/Vue/Consulterderogations/index.php deleted file mode 100644 index 3820b3b..0000000 --- a/radiantproduction/Vue/Consulterderogations/index.php +++ /dev/null @@ -1,83 +0,0 @@ -titre = "INTER-SANTE - Consulter Dérogation"; - $codeDerogation = $this->nettoyer($derogation['codeDerogation']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
- -
-
diff --git a/radiantproduction/Vue/Consulterententeprealable/index.php b/radiantproduction/Vue/Consulterententeprealable/index.php deleted file mode 100644 index 3c93398..0000000 --- a/radiantproduction/Vue/Consulterententeprealable/index.php +++ /dev/null @@ -1,63 +0,0 @@ -titre = "INTER-SANTE - Consulter une entente préalable"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
-
- -
-
diff --git a/radiantproduction/Vue/Consulterententeprealables/index.php b/radiantproduction/Vue/Consulterententeprealables/index.php deleted file mode 100644 index 3c93398..0000000 --- a/radiantproduction/Vue/Consulterententeprealables/index.php +++ /dev/null @@ -1,63 +0,0 @@ -titre = "INTER-SANTE - Consulter une entente préalable"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
-
- -
-
diff --git a/radiantproduction/Vue/Consulterententeprealablesmont/index.php b/radiantproduction/Vue/Consulterententeprealablesmont/index.php deleted file mode 100644 index 451af58..0000000 --- a/radiantproduction/Vue/Consulterententeprealablesmont/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Consulter une entente préalable Monture"; - $idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
-
- - - -
-
diff --git a/radiantproduction/Vue/Consulterententeprealablesopt/index.php b/radiantproduction/Vue/Consulterententeprealablesopt/index.php deleted file mode 100644 index 4f8be00..0000000 --- a/radiantproduction/Vue/Consulterententeprealablesopt/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Consulter une entente préalable Pharmmacie"; - $idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -
-
- - - -
-
diff --git a/radiantproduction/Vue/Consulterententeprealablespha/index.php b/radiantproduction/Vue/Consulterententeprealablespha/index.php deleted file mode 100644 index 8a49d88..0000000 --- a/radiantproduction/Vue/Consulterententeprealablespha/index.php +++ /dev/null @@ -1,80 +0,0 @@ -titre = "INTER-SANTE - Consulter une entente préalable Pharmmacie"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
-
- -
-
diff --git a/radiantproduction/Vue/Consulterpaiementdecompte/index.php b/radiantproduction/Vue/Consulterpaiementdecompte/index.php deleted file mode 100644 index 35ba185..0000000 --- a/radiantproduction/Vue/Consulterpaiementdecompte/index.php +++ /dev/null @@ -1,43 +0,0 @@ -titre = "INTER-SANTE - Provisions de Sinistres"; -?> - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - -
Date
-
diff --git a/radiantproduction/Vue/Contenuprofilass/index.php b/radiantproduction/Vue/Contenuprofilass/index.php deleted file mode 100644 index b5f5593..0000000 --- a/radiantproduction/Vue/Contenuprofilass/index.php +++ /dev/null @@ -1,23 +0,0 @@ -titre = "INTER-SANTE - Attribution profil"; ?> - - - - - - - - - - - - -
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Contrat/index.php b/radiantproduction/Vue/Contrat/index.php deleted file mode 100644 index 23b6207..0000000 --- a/radiantproduction/Vue/Contrat/index.php +++ /dev/null @@ -1,81 +0,0 @@ -titre = "Tâches - Editions contrats"; - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - $prestationPossible = isset($prestationPossible) ? $prestationPossible : '0'; - $estAgence = isset($estAgence) ? $estAgence : '0'; -?> - -nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
=>
=>
CONDITIONS GENERALES => GENERALS CONDITIONS
=>
- - - - - - - - - - - - - - - - - - - - - - - - - -
=>
=>
=>
- - -
-
diff --git a/radiantproduction/Vue/Courtier/index.php b/radiantproduction/Vue/Courtier/index.php deleted file mode 100644 index bbb722e..0000000 --- a/radiantproduction/Vue/Courtier/index.php +++ /dev/null @@ -1,48 +0,0 @@ - - - -
- - - - - - - - - - - - - -
" - onClick="javascript:rechercher_apporteur_param();" style="font-size:10pt;">
- -
- - -
-
- - - - diff --git a/radiantproduction/Vue/Creeercommercial/index.php b/radiantproduction/Vue/Creeercommercial/index.php deleted file mode 100644 index 968a21b..0000000 --- a/radiantproduction/Vue/Creeercommercial/index.php +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
E-mail
" onClick="javascript:enregistrer_nouveau_commercial();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_commerciaux();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Creeercourtier/index.php b/radiantproduction/Vue/Creeercourtier/index.php deleted file mode 100644 index 64409aa..0000000 --- a/radiantproduction/Vue/Creeercourtier/index.php +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly >
E-mail
" onClick="javascript:enregistrer_nouvel_apporteur();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_apporteurs();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Creeradherent/index.php b/radiantproduction/Vue/Creeradherent/index.php deleted file mode 100644 index 6d9aefe..0000000 --- a/radiantproduction/Vue/Creeradherent/index.php +++ /dev/null @@ -1,182 +0,0 @@ -titre = "INTER-SANTE - Ajout Adhérent"; - $dateAvenant = $_SESSION['dateAvenant_C']; -?> - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
-
-
Sex - -
- - - -
- -
-
- -
-
-
- -
-
- -
-
- -
-
E-mail
- - " />
-
- -
- -
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Creeradherentfamiliale/index.php b/radiantproduction/Vue/Creeradherentfamiliale/index.php deleted file mode 100644 index cacb19f..0000000 --- a/radiantproduction/Vue/Creeradherentfamiliale/index.php +++ /dev/null @@ -1,263 +0,0 @@ -titre = "INTER-SANTE - Ajout Adhérent"; - $dateAvenant = $_SESSION['dateAvenant_C']; - $codeTypeApporteur = $_SESSION['codeTypeApporteur_C']; - $idApporteur = $_SESSION['idApporteur_C']; - $codeApporteur = $_SESSION['codeApporteur_C']; - $libelleApporteur = $_SESSION['libelleApporteur_C']; - $idCollege = $adherent_temp['idCollege']; - $idAvenant = $_SESSION['dernierIdAvenant']; - $codeTypeEcheancier = $adherent_temp['codeTypeEcheancier']; - -?> - - - - - - " . $libelleApporteur . " ( " . $codeApporteur . " ) => " . _("Nouvelle famille") ?> - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
-
-
Sex - -
- - - -
-
- -
-
- -
-
- -
-
-
- -
-
- - - E-mail
-
- - - -
-
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Creeravenant/index.php b/radiantproduction/Vue/Creeravenant/index.php deleted file mode 100644 index ec47034..0000000 --- a/radiantproduction/Vue/Creeravenant/index.php +++ /dev/null @@ -1,139 +0,0 @@ -titre = "INTER-SANTE - Nouvel avenant"; - - if (est_anglophone()) - { - $typeContrat = $police['typeContratEng']; - $typeAvenant = $police['typeAvenantEng']; - $etatPolice = $police['etatPoliceEng']; - } - else - { - $typeContrat = $police['typeContrat']; - $typeAvenant = $police['typeAvenant']; - $etatPolice = $police['etatPolice']; - } - -?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
-
-
- -
- " /> - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
-
-
- - - -
- -
-
diff --git a/radiantproduction/Vue/Creerbeneficiaire/index.php b/radiantproduction/Vue/Creerbeneficiaire/index.php deleted file mode 100644 index 88e3140..0000000 --- a/radiantproduction/Vue/Creerbeneficiaire/index.php +++ /dev/null @@ -1,258 +0,0 @@ -titre = "INTER-SANTE - Ajout Adhérent"; ?> - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
- - Sex - -
- - - -
- - - -
-
-
- -
- - " onClick="prorater_prime_beneficiaire();">
" />
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($beneficiaire_temp['primeTtc_an'])) ?> nettoyer($beneficiaire_temp['primeTtc'])) ?>
nettoyer($beneficiaire_temp['primeNetteStat_an'])) ?> nettoyer($beneficiaire_temp['primeNetteStat'])) ?>
nettoyer($beneficiaire_temp['primeBeneficiaire_an']))?> nettoyer($beneficiaire_temp['primeBeneficiaire']))?>
nettoyer($beneficiaire_temp['primeCplFuneraire_an']))?> nettoyer($beneficiaire_temp['primeCplFuneraire']))?>
nettoyer($beneficiaire_temp['surprimeOption_an']))?> nettoyer($beneficiaire_temp['surprimeOption']))?>
nettoyer($beneficiaire_temp['surprimeTm_an']))?> nettoyer($beneficiaire_temp['surprimeTm']))?>
nettoyer($beneficiaire_temp['surprimeAnt_an']))?> nettoyer($beneficiaire_temp['surprimeAnt']))?>
nettoyer($beneficiaire_temp['primeNette_an'])) ?> nettoyer($beneficiaire_temp['primeNette'])) ?>
nettoyer($beneficiaire_temp['commission_an'])) ?> nettoyer($beneficiaire_temp['commission'])) ?>
nettoyer($beneficiaire_temp['commissionAutre_an'])) ?> nettoyer($beneficiaire_temp['commissionAutre'])) ?>
nettoyer($beneficiaire_temp['accessoire_an'])) ?> nettoyer($beneficiaire_temp['accessoire'])) ?>
nettoyer($beneficiaire_temp['primeHt_an'])) ?> nettoyer($beneficiaire_temp['primeHt'])) ?>
nettoyer($beneficiaire_temp['taxe_an'])) ?> nettoyer($beneficiaire_temp['taxe'])) ?>
- - nettoyer($beneficiaire_temp['fraisCarte_an'])) ?> nettoyer($beneficiaire_temp['fraisCarte'])) ?>
-
- -
- - -
-

-
- diff --git a/radiantproduction/Vue/Creerbeneficiairefamiliale/index.php b/radiantproduction/Vue/Creerbeneficiairefamiliale/index.php deleted file mode 100644 index aa639f1..0000000 --- a/radiantproduction/Vue/Creerbeneficiairefamiliale/index.php +++ /dev/null @@ -1,176 +0,0 @@ -titre = "INTER-SANTE - Ajout Adhérent"; - //11/11/2020 - $dateAvenant = $_SESSION['dateAvenant_C']; - $codeTypeApporteur = $_SESSION['codeTypeApporteur_C']; - $idApporteur = $_SESSION['idApporteur_C']; - $codeApporteur = $_SESSION['codeApporteur_C']; - $libelleApporteur = $_SESSION['libelleApporteur_C']; - // $idCollege = $adherent_temp['idCollege']; - $idAvenant = $_SESSION['dernierIdAvenant']; - $codeTypeEcheancier = $beneficiaire_temp['codeTypeEcheancier']; - //Fin 11/11/2020 - -?> - - - " . $libelleApporteur . " ; " ._("Famille") . " => " . $_SESSION['adherent_C'] . " => " . _("Nouveau dépendant") ?> - -
- - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
- - Sex - -
- - - -
- - - -
-
-
" onClick="recap_prime_beneficiaire_temp();">
- -
" disabled />
-
- -
- - - - - - - - - - -
- -
- - -
- - -
-

-
- diff --git a/radiantproduction/Vue/Creerclient/index.php b/radiantproduction/Vue/Creerclient/index.php deleted file mode 100644 index 12f8a08..0000000 --- a/radiantproduction/Vue/Creerclient/index.php +++ /dev/null @@ -1,120 +0,0 @@ -titre = "INTER-SANTE - Création Client"; ?> - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- -
-
- -
-
-
- -
-
Fax
E-mail - -
- -
" />
-
- - - - -
- \ No newline at end of file diff --git a/radiantproduction/Vue/Creercollege/index.php b/radiantproduction/Vue/Creercollege/index.php deleted file mode 100644 index 051037a..0000000 --- a/radiantproduction/Vue/Creercollege/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Creercolleged/index.php b/radiantproduction/Vue/Creercolleged/index.php deleted file mode 100644 index 1e145f9..0000000 --- a/radiantproduction/Vue/Creercolleged/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Creerdevis/index.php b/radiantproduction/Vue/Creerdevis/index.php deleted file mode 100644 index 7c19296..0000000 --- a/radiantproduction/Vue/Creerdevis/index.php +++ /dev/null @@ -1,117 +0,0 @@ -titre = "INTER-SANTE - Création Police"; ?> - -
- -
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
- -
- -
" />
-
- - - - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Creerdossierclassique/index.php b/radiantproduction/Vue/Creerdossierclassique/index.php deleted file mode 100644 index e50bc3e..0000000 --- a/radiantproduction/Vue/Creerdossierclassique/index.php +++ /dev/null @@ -1,95 +0,0 @@ -titre = "INTER-SANTE - Nouveau Dossier Remboursement classique"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - Hospit ? - -
- -
- - - -
Observations
" onClick="javascript:enregistrer_dossier_classique();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Creergcassureur/index.php b/radiantproduction/Vue/Creergcassureur/index.php deleted file mode 100644 index f7540d3..0000000 --- a/radiantproduction/Vue/Creergcassureur/index.php +++ /dev/null @@ -1,64 +0,0 @@ -titre = "INTER-SANTE - Création Assureur Gestion Confiée"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code E-mail
- -
" onClick="javascript:creer_gc_assureur();" style='font-size:10pt;' > " onClick="javascript:retour_liste_gc_assureur();" style='font-size:9pt;' >
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Creergccarte/index.php b/radiantproduction/Vue/Creergccarte/index.php deleted file mode 100644 index 20569e9..0000000 --- a/radiantproduction/Vue/Creergccarte/index.php +++ /dev/null @@ -1,96 +0,0 @@ -titre = "INTER-SANTE - Création Carte Gestion Confiée"; ?> - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - diff --git a/radiantproduction/Vue/Creergcpolice/index.php b/radiantproduction/Vue/Creergcpolice/index.php deleted file mode 100644 index 099004c..0000000 --- a/radiantproduction/Vue/Creergcpolice/index.php +++ /dev/null @@ -1,55 +0,0 @@ -titre = "INTER-SANTE - Paramètres de gestion : Gestion confiée"; ?> - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_gc_police();" style='font-size:10pt;' > " onClick="javascript:retour_liste_gc_police();" style='font-size:9pt;' >
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Creermedecin/index.php b/radiantproduction/Vue/Creermedecin/index.php deleted file mode 100644 index d063c4c..0000000 --- a/radiantproduction/Vue/Creermedecin/index.php +++ /dev/null @@ -1,60 +0,0 @@ -titre = "INTER-SANTE - Nouveau Médecin"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - E-mail
- - Sex - -
" onClick="javascript:creer_medecin();" style='font-size:10pt;' > " onClick="javascript:retour_a_medecins();" style='font-size:10pt;' >
- -
- -
diff --git a/radiantproduction/Vue/Creerpolice/index.php b/radiantproduction/Vue/Creerpolice/index.php deleted file mode 100644 index b00ae40..0000000 --- a/radiantproduction/Vue/Creerpolice/index.php +++ /dev/null @@ -1,135 +0,0 @@ -titre = "INTER-SANTE - Création Police"; ?> - -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
- -
- -
- -
- - -
" />
-
- - - - - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Creerprestataire/index.php b/radiantproduction/Vue/Creerprestataire/index.php deleted file mode 100644 index 5b71c61..0000000 --- a/radiantproduction/Vue/Creerprestataire/index.php +++ /dev/null @@ -1,177 +0,0 @@ -titre = "INTER-SANTE - Créer un Prestataire"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- - - - - -
- - -
- -
-
-
- -
-
- -
- - - - E-mail
- -
Iban
- -
" onClick="javascript:creer_prestataire();" style='font-size:10pt;' > " onClick="javascript:param_prestataire();" style='font-size:10pt;' >
- -
- -
diff --git a/radiantproduction/Vue/Creerprofilass/index.php b/radiantproduction/Vue/Creerprofilass/index.php deleted file mode 100644 index 702264a..0000000 --- a/radiantproduction/Vue/Creerprofilass/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Nouveau Profil utilisateur"; -?> - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_profil_ass();" style='font-size:10pt;' > " onClick="javascript:retour_au_profil_ass();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Creerprospect/index.php b/radiantproduction/Vue/Creerprospect/index.php deleted file mode 100644 index 2150e73..0000000 --- a/radiantproduction/Vue/Creerprospect/index.php +++ /dev/null @@ -1,124 +0,0 @@ -titre = "INTER-SANTE - Création Prospect"; ?> - -
- -
- -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- -
-
- -
-
-
- -
-
Fax
E-mail - -
- -
" />
-
- - - - -
- \ No newline at end of file diff --git a/radiantproduction/Vue/Creerrequeteperso/index.php b/radiantproduction/Vue/Creerrequeteperso/index.php deleted file mode 100644 index 53c07c4..0000000 --- a/radiantproduction/Vue/Creerrequeteperso/index.php +++ /dev/null @@ -1,43 +0,0 @@ -titre = "INTER-SANTE - Nouvelle Requête Personnalisée"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Description
- -
" onClick="javascript:creer_requeteperso();" style='font-size:10pt;' > " onClick="javascript:param_requeteperso_liste();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Creersourcerequetesperso/index.php b/radiantproduction/Vue/Creersourcerequetesperso/index.php deleted file mode 100644 index 7ae4200..0000000 --- a/radiantproduction/Vue/Creersourcerequetesperso/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Nouvelle Source de Donnée Requête Personnalisée"; -?> - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_sourcedonneesrequeteperso();" style='font-size:10pt;' > " onClick="javascript:param_sourcedonneesrequeteperso_liste();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Creertypeapporteur/creertypeapporteur.php b/radiantproduction/Vue/Creertypeapporteur/creertypeapporteur.php deleted file mode 100644 index b739243..0000000 --- a/radiantproduction/Vue/Creertypeapporteur/creertypeapporteur.php +++ /dev/null @@ -1,5 +0,0 @@ - -
-

-
- diff --git a/radiantproduction/Vue/Creertypeapporteur/index.php b/radiantproduction/Vue/Creertypeapporteur/index.php deleted file mode 100644 index ae580e1..0000000 --- a/radiantproduction/Vue/Creertypeapporteur/index.php +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -
English
" onClick="javascript:creer_type_apporteur();" style='font-size:10pt;' >
- - -
-

-
- diff --git a/radiantproduction/Vue/Creeruseragence/index.php b/radiantproduction/Vue/Creeruseragence/index.php deleted file mode 100644 index ba7d084..0000000 --- a/radiantproduction/Vue/Creeruseragence/index.php +++ /dev/null @@ -1,85 +0,0 @@ -titre = "INTER-SANTE - Nouvell Utilisateur Agence"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
E-mail
- - - - - -
" onClick="javascript:creer_user_agence();" style='font-size:10pt;' > " onClick="javascript:retour_a_usersagence();" style='font-size:10pt;' >
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Creeruserassureur/index.php b/radiantproduction/Vue/Creeruserassureur/index.php deleted file mode 100644 index cddc84f..0000000 --- a/radiantproduction/Vue/Creeruserassureur/index.php +++ /dev/null @@ -1,85 +0,0 @@ -titre = "INTER-SANTE - Nouvell Utilisateur Assureur"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
E-mail
- - - - - -
" onClick="javascript:creer_user_assureur();" style='font-size:10pt;' > " onClick="javascript:retour_a_usersassureur();" style='font-size:10pt;' >
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Creerusergc/index.php b/radiantproduction/Vue/Creerusergc/index.php deleted file mode 100644 index 30ff16e..0000000 --- a/radiantproduction/Vue/Creerusergc/index.php +++ /dev/null @@ -1,73 +0,0 @@ -titre = "INTER-SANTE - Nouvell Utilisateur Gestion Confiée "; - $codeGcAssureur = $this->nettoyer($gc['codeGcAssureur']); - $idGc = $this->nettoyer($gc['id']); - $nomGcAssureur = $this->nettoyer($gc['libelle']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - E-mail
- - - -
" onClick="javascript:creer_user_gc();" style='font-size:10pt;' > " onClick="javascript:retour_a_users_gc();" style='font-size:10pt;' >
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Creeruserprestataire/index.php b/radiantproduction/Vue/Creeruserprestataire/index.php deleted file mode 100644 index d4a596d..0000000 --- a/radiantproduction/Vue/Creeruserprestataire/index.php +++ /dev/null @@ -1,73 +0,0 @@ -titre = "INTER-SANTE - Nouvell Utilisateur Prestataire"; - $codePrestataire = $this->nettoyer($prestataire['codePrestataire']); - $idPrestataire = $this->nettoyer($prestataire['id']); - $nomPrestataire = $this->nettoyer($prestataire['libelle']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
E-mail
- - - - - -
" onClick="javascript:creer_user_prestataire();" style='font-size:10pt;' > " onClick="javascript:users_prestataire();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Decompte/index.php b/radiantproduction/Vue/Decompte/index.php deleted file mode 100644 index 5385650..0000000 --- a/radiantproduction/Vue/Decompte/index.php +++ /dev/null @@ -1,582 +0,0 @@ -titre = "INTER-SANTE - Décompte"; - $numeroDecompte = $reglement['numeroDecompte']; - $_SESSION['numeroDecompte_C'] = $numeroDecompte; - $idReglement = $_SESSION['idReglement_C']; - $userCourant = $_SESSION['login']; - $codeUtilisateur = $reglement['codeUtilisateur']; - $regle = $reglement['regle']; - $codeTypePrestataire = $reglement['codeTypePrestataire']; - $codePrestataire = $reglement['codePrestataire']; - $numeroBordereau = $reglement['numeroBordereau']; - $ndFacture = $reglement['ndFacture']; - $nbNonTraite = $reglement['nbNonTraite']; - $nbValide = $reglement['nbValide']; - $nbAttente = $reglement['nbAttente']; - $nbRejete = $reglement['nbRejete']; - $nbExclues = $reglement['nbExclues']; - $receptionValide = $reglement['receptionValide']; - $montantPrestataire = $reglement['montantPrestataire']; - - $_SESSION['idAdherent_C'] = ""; - - if (est_anglophone()) - { - $libellePeriode = $this->nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } -?> - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
" . $reglement['prestataire'] ?>" readonly >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly > "onClick="javascript:re_afficherdecompte();" style='font-size:8pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
- - -
- -
-
- - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie = $this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - $valide = $facture['valide']; - $userControle = $facture['userControle']; - - $observations = $this->nettoyer($facture['observations']); - $observations = $this->echapper($observations); - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - $gc = $this->nettoyer($facture['gc']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHA") - { - $codeTypeFacture="PHAR"; - } - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonSeance']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' '): ?> - - - - - - - -
- - - - - - - - nettoyer($facture['souscripteur']) ?>nettoyer($facture['adherent']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?> -
- nettoyer($facture['montantForce'])) ?> -
-
-
- -
-
-
- nettoyer($facture['montantRedresse'])) ?> -
-
-
- -
-
" - onClick='javascript:maj_observations_facture(,"");'> - -
-
- - -
- - - -
- -
- - - -
- -
- - - - diff --git a/radiantproduction/Vue/Decomptecons/index.php b/radiantproduction/Vue/Decomptecons/index.php deleted file mode 100644 index 4d98e59..0000000 --- a/radiantproduction/Vue/Decomptecons/index.php +++ /dev/null @@ -1,502 +0,0 @@ -titre = "INTER-SANTE - Décompte"; - $numeroDecompte = $reglement['numeroDecompte']; - $_SESSION['numeroDecompte_C'] = $numeroDecompte; - $idReglement = $_SESSION['idReglement_C']; - $userCourant = $_SESSION['login']; - $regle = $reglement['regle']; - $codeTypePrestataire = $reglement['codeTypePrestataire']; - $codePrestataire = $reglement['codePrestataire']; - $numeroBordereau = $reglement['numeroBordereau']; - - $ndFacture = $reglement['ndFacture']; - $nbNonTraite = $reglement['nbNonTraite']; - $nbValide = $reglement['nbValide']; - $nbAttente = $reglement['nbAttente']; - $nbRejete = $reglement['nbRejete']; - $nbExclues = $reglement['nbExclues']; - $demandeReglement = $reglement['demandeReglement']; - $codeUtilisateur = $reglement['codeUtilisateur']; - - if (est_anglophone()) - { - $libellePeriode = $this->nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - -
- - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - " onClick="javascript:demander_reglement();" style='font-size:9pt;' > - - nettoyer($reglement['numeroDemandeReglement'])." => ".dateheureLang($this->nettoyer($reglement['dateDemandeReglement'])) ?> " readonly >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly > " onClick="javascript:imprimerbordereaudecompte();" style='font-size:9pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
- - -
- -
-
- - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie = $this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - $valide = $facture['valide']; - $userControle = $facture['userControle']; - - $observations = $this->nettoyer($facture['observations']); - $observations = $this->echapper($observations); - - $gc = $this->nettoyer($facture['gc']); - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHA") - { - $codeTypeFacture="PHAR"; - } - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonSeance']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' '): ?> - - - - - - - -
- - - - - - - - nettoyer($facture['adherent']) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>nettoyer($facture['montantForce'])) ?> - - nettoyer($facture['montantRedresse'])) ?> " - onClick='javascript:alert("");'> -
-
- - - - -
- -
- -
- - - -
- -
- diff --git a/radiantproduction/Vue/Decomptecpt/index.php b/radiantproduction/Vue/Decomptecpt/index.php deleted file mode 100644 index 1509bba..0000000 --- a/radiantproduction/Vue/Decomptecpt/index.php +++ /dev/null @@ -1,411 +0,0 @@ -titre = "INTER-SANTE - Décompte comptabilité"; - $numeroDecompte = $reglement['numeroDecompte']; - $_SESSION['numeroDecompte_C'] = $numeroDecompte; - $idReglement = $_SESSION['idReglement_C']; - $userCourant = $_SESSION['login']; - $regle = $reglement['regle']; - $codeTypePrestataire = $reglement['codeTypePrestataire']; - $codePrestataire = $reglement['codePrestataire']; - $numeroBordereau = $reglement['numeroBordereau']; - - $ndFacture = $reglement['ndFacture']; - $nbNonTraite = $reglement['nbNonTraite']; - $nbValide = $reglement['nbValide']; - $nbAttente = $reglement['nbAttente']; - $nbRejete = $reglement['nbRejete']; - $nbExclues = $reglement['nbExclues']; - $demandeReglement = $reglement['demandeReglement']; - $codeUtilisateur = $reglement['codeUtilisateur']; - - if (est_anglophone()) - { - $libellePeriode = $this->nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } -?> - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - " onClick="javascript:demander_reglement();" style='font-size:9pt;' > - - ".dateheureLang($this->nettoyer($reglement['dateDemandeReglement'])) ?> " readonly >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly > " onClick="javascript:imprimerbordereaudecompte();" style='font-size:9pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
- -
- -
-
- - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie = $this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - $valide = $facture['valide']; - $userControle = $facture['userControle']; - - $observations = $this->nettoyer($facture['observations']); - $observations = $this->echapper($observations); - - $gc = $this->nettoyer($facture['gc']); - - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHA") - { - $codeTypeFacture="PHAR"; - } - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonSeance']); - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' '): ?> - - - - - - - -
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['adherent']) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>nettoyer($facture['montantForce'])) ?>nettoyer($facture['montantApayer'])) ?> nettoyer($facture['montantRedresse'])) ?> " - onClick='javascript:alert("");'> -
-
- - - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Decomptecso/index.php b/radiantproduction/Vue/Decomptecso/index.php deleted file mode 100644 index fbfbf34..0000000 --- a/radiantproduction/Vue/Decomptecso/index.php +++ /dev/null @@ -1,248 +0,0 @@ -titre = "INTER-SANTE - Décompte"; - $numeroDecompte = $reglement['numeroDecompte']; - $_SESSION['numeroDecompte_C'] = $numeroDecompte; - $idReglement = $_SESSION['idReglement_C']; - $userCourant = $_SESSION['login']; - $regle = $reglement['regle']; - $codeTypePrestataire = $reglement['codeTypePrestataire']; - $numeroBordereau = $reglement['numeroBordereau']; - - if (est_anglophone()) - { - $libellePeriode = $this->nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - -
" onClick="javascript:maj_bordereau_decompte(,'');" style='font-size:10pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
"onClick="javascript:afficherdecompte();" style='font-size:10pt;' >
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Date ValRejExclObs
- -
- - -
- -
-
- - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie = $this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - $valide = $facture['valide']; - $userControle = $facture['userControle']; - $observations = $facture['observations']; - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' '): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' '): ?> - - - - - - - - - - -
nettoyer($facture['dateSysteme'])) ?> - - nettoyer($facture['userControle']) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?> - nettoyer($facture['montantApayer'])) ?> " - onClick="javascript:maj_observations_facture(,'');"> - - nettoyer($facture['montantForce'])) ?>nettoyer($facture['montantApayer'])) ?> " - onClick="javascript:alert('');"> - -
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Demandedecompte/index.php b/radiantproduction/Vue/Demandedecompte/index.php deleted file mode 100644 index 9ed7897..0000000 --- a/radiantproduction/Vue/Demandedecompte/index.php +++ /dev/null @@ -1,100 +0,0 @@ -titre = "INTER-SANTE - Demande de Décompte"; -?> - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
- " "): ?> - - - - -
- -
- - - - - - - - - - - - - - - - - - -
-
- - diff --git a/radiantproduction/Vue/Demandefraisfuneraire/index.php b/radiantproduction/Vue/Demandefraisfuneraire/index.php deleted file mode 100644 index d99e4db..0000000 --- a/radiantproduction/Vue/Demandefraisfuneraire/index.php +++ /dev/null @@ -1,100 +0,0 @@ -titre = "INTER-SANTE - Demande Frais Funéraires"; -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
Observations
- - - -
" onClick="enregistrerdemandefraisfuneraire();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
- - diff --git a/radiantproduction/Vue/Demandesreglementsglobal/index.php b/radiantproduction/Vue/Demandesreglementsglobal/index.php deleted file mode 100644 index dab407f..0000000 --- a/radiantproduction/Vue/Demandesreglementsglobal/index.php +++ /dev/null @@ -1,60 +0,0 @@ -titre = "INTER-SANTE - PRESTATAIRES PROPOSES AU PAYEMENT"; - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
- -
- -
-
- - - -
- -
diff --git a/radiantproduction/Vue/Demandesteglement/index.php b/radiantproduction/Vue/Demandesteglement/index.php deleted file mode 100644 index 2ca1f17..0000000 --- a/radiantproduction/Vue/Demandesteglement/index.php +++ /dev/null @@ -1,126 +0,0 @@ -titre = "INTER-SANTE - Demandes de Reglement"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- " "): ?> - - - - -
- -
- - - - - - - - - - - - - - -
Type
-
- -
-
- - diff --git a/radiantproduction/Vue/Demandesteglementcpt/index.php b/radiantproduction/Vue/Demandesteglementcpt/index.php deleted file mode 100644 index 4bb9c7e..0000000 --- a/radiantproduction/Vue/Demandesteglementcpt/index.php +++ /dev/null @@ -1,127 +0,0 @@ -titre = "INTER-SANTE - Demandes de Reglement"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- " "): ?> - - - - -
- -
- - - - - - - - - - - - - - - -
Type
-
- -
-
- - diff --git a/radiantproduction/Vue/Derogationmedicement/index.php b/radiantproduction/Vue/Derogationmedicement/index.php deleted file mode 100644 index b7eeb6e..0000000 --- a/radiantproduction/Vue/Derogationmedicement/index.php +++ /dev/null @@ -1,46 +0,0 @@ -titre = "INTER-SANTE - Dérogations Médicaments"; - $superUser = $_SESSION['superUser']; -?> - - - - - - nettoyer($police['numeroPolice'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($college['codeProduit']) ?> nettoyer($college['libelleCollege']) ?> nettoyer($college['nbAdherent'])) ?> " onClick="javascript:refuser_derogation_medicament('');"> " onClick="javascript:accorder_derogation_medicament('');">
diff --git a/radiantproduction/Vue/Derogationpermanente/index.php b/radiantproduction/Vue/Derogationpermanente/index.php deleted file mode 100644 index aad1306..0000000 --- a/radiantproduction/Vue/Derogationpermanente/index.php +++ /dev/null @@ -1,61 +0,0 @@ -titre = "INTER-SANTE - Suivi dérogation permanente"; - - $derogationFingerPermanent=$beneficiaire['derogationFingerPermanent']; - $idBeneficiaire=$beneficiaire['idBeneficiaire']; - -?> - - - - - - - - - - - - - -
- - " onClick="javascript:desactiver_derogation_permanente('');"> - - " onClick="javascript:activer_derogation_permanente('');"> - -
- -
- - - - - - - - - - - nettoyer($derogation['activation']); - ?> - - - - - - - - - - - - - - - - - -
Date Activation Observation
nettoyer($derogation['dateSysteme'])) ?> nettoyer($derogation['observations']) ?>nettoyer($derogation['codeUtilisateur']) ?>
-
diff --git a/radiantproduction/Vue/Detaildemandedecompte/index.php b/radiantproduction/Vue/Detaildemandedecompte/index.php deleted file mode 100644 index c98f85f..0000000 --- a/radiantproduction/Vue/Detaildemandedecompte/index.php +++ /dev/null @@ -1,132 +0,0 @@ -titre = "INTER-SANTE - Détail Demande Décompte"; - $numeroDemandeDecompte = $reglement['numeroDemandeDecompte']; - $idDemandeDecompte = $reglement['numeroDemandeDecompte']; - $codePrestataire = $reglement['codePrestataire']; - $nbFacture = $reglement['nbFacture']; - - if (est_anglophone()) - { - $libellePeriode = $this->nettoyer($reglement['periodeEng']); - // $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - // $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
Nb
- -
-
- -
- - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie = $this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonKine']." / ".$facture['numeroBonSeance']); - } - - ?> - - - - - - - - - - - - - - - -
Date Type
nettoyer($facture['dateFacture'])) ?> nettoyer($facture['numeroBeneficiaire']) ?> nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
diff --git a/radiantproduction/Vue/Detailgenerationbon/index.php b/radiantproduction/Vue/Detailgenerationbon/index.php deleted file mode 100644 index b11d28a..0000000 --- a/radiantproduction/Vue/Detailgenerationbon/index.php +++ /dev/null @@ -1,133 +0,0 @@ -titre = "INTER-SANTE - " . _("Détail généeration bons") ; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type Date
- -
- - - - - - - - - - - - - - - - - - - echapper($bonpec['motifAnnulation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($bonpec['codeTypeBon']) ?>nettoyer($bonpec['dateGeneration'])) ?>nettoyer($bonpec['dateReception'])) ?>nettoyer($bonpec['codeUtilisateurReception']) ?>nettoyer($bonpec['etatBon']) ?>nettoyer($bonpec['numeroBeneficiaire']) ?>nettoyer($bonpec['beneficiaire']) ?>nettoyer($bonpec['dateImpression'])) ?>nettoyer($bonpec['codeUtilisateurImpression']) ?>nettoyer($bonpec['numeroRemplacement']) ?>
-
- - - diff --git a/radiantproduction/Vue/Diagnosticscons/index.php b/radiantproduction/Vue/Diagnosticscons/index.php deleted file mode 100644 index 8580d15..0000000 --- a/radiantproduction/Vue/Diagnosticscons/index.php +++ /dev/null @@ -1,27 +0,0 @@ -titre = "INTER-SANTE - Notes du dossier"; - - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; -?> - - - - - - - -
- - - - - - - - - - -
Date Diagnostic User
-
diff --git a/radiantproduction/Vue/Diagnosticsconsbeneficiaire/index.php b/radiantproduction/Vue/Diagnosticsconsbeneficiaire/index.php deleted file mode 100644 index 5519ec0..0000000 --- a/radiantproduction/Vue/Diagnosticsconsbeneficiaire/index.php +++ /dev/null @@ -1,25 +0,0 @@ -titre = "INTER-SANTE - Notes du dossier"; -?> - - - - - - - -
- - - - - - - - - - -
Date Diagnostic User
-
diff --git a/radiantproduction/Vue/Dossierclassique/index.php b/radiantproduction/Vue/Dossierclassique/index.php deleted file mode 100644 index 5da1d04..0000000 --- a/radiantproduction/Vue/Dossierclassique/index.php +++ /dev/null @@ -1,162 +0,0 @@ -titre = "INTER-SANTE - Dossier Remboursement Classique"; - $numeroLotDecompte = $dossier['numeroLotDecompte']; - $idDossierClassique = $dossier['idDossierClassique']; - $regle = $dossier['regle']; - $fraisRetenu = $dossier['fraisRetenu']; - $demandeReglement = $dossier['demandeReglement']; -?> - - - - - - - - - " . _("No Lot") . " : " . $numeroLotDecompte ?>" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hospit ?
Observations
- -
- -
- - - -
- - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFacture=$this->nettoyer($facture['numeroFacture']); - ?> - - - - - - - - - - - - - - -
Date
nettoyer($facture['dateFacture'])) ?>nettoyer($facture['dateSysteme_f'])) ?> nettoyer($facture['prestataire']) ?> - - nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
diff --git a/radiantproduction/Vue/Dossierclassiquecpt/index.php b/radiantproduction/Vue/Dossierclassiquecpt/index.php deleted file mode 100644 index 132c697..0000000 --- a/radiantproduction/Vue/Dossierclassiquecpt/index.php +++ /dev/null @@ -1,159 +0,0 @@ -titre = "INTER-SANTE - Dossier Remboursement Classique"; - $numeroLotDecompte = $dossier['numeroLotDecompte']; - $idDossierClassique = $dossier['idDossierClassique']; - $regle = $dossier['regle']; - $fraisRetenu = $dossier['fraisRetenu']; - $demandeReglement = $dossier['demandeReglement']; -?> - - - - - - - - - " . _("No Lot") . " : " . $numeroLotDecompte ?>" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hospit ?
Observations
- -
- -
- - - -
- - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFacture=$this->nettoyer($facture['numeroFacture']); - ?> - - - - - - - - - - - - - - -
Date
nettoyer($facture['dateFacture'])) ?>nettoyer($facture['dateSysteme_f'])) ?> nettoyer($facture['prestataire']) ?> nettoyer($facture['numeroFacture']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
diff --git a/radiantproduction/Vue/Dossiercons/index.php b/radiantproduction/Vue/Dossiercons/index.php deleted file mode 100644 index 20a8972..0000000 --- a/radiantproduction/Vue/Dossiercons/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Consulter une facture"; -?> - - - -
- - - - - - - - - - -
- -
-
- -
- -
diff --git a/radiantproduction/Vue/Dossiers/index.php b/radiantproduction/Vue/Dossiers/index.php deleted file mode 100644 index 2c7cbaa..0000000 --- a/radiantproduction/Vue/Dossiers/index.php +++ /dev/null @@ -1,84 +0,0 @@ -titre = "INTER-SANTE - Historique Dossiers"; -?> - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - nettoyer($feuillemaladie['numeroFeuilleMaladie']); - $numeroBonConsultation = $this->nettoyer($feuillemaladie['numeroBonConsultation']); - $facture = $feuillemaladie['facture']; - $tiersPayant = $feuillemaladie['tiersPayant']; - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- - - - nettoyer($feuillemaladie['dateSysteme'])) ?>nettoyer($feuillemaladie['prestataire']) ?>nettoyer($feuillemaladie['medecinConsultation']) ?>nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>nettoyer($feuillemaladie['fraisExclu'])) ?>nettoyer($feuillemaladie['fraisRetenu'])) ?> nettoyer($feuillemaladie['montantRembourse'])) ?>
-
diff --git a/radiantproduction/Vue/Ecartdecompte/index.php b/radiantproduction/Vue/Ecartdecompte/index.php deleted file mode 100644 index c9d0c90..0000000 --- a/radiantproduction/Vue/Ecartdecompte/index.php +++ /dev/null @@ -1,117 +0,0 @@ -titre = "INTER-SANTE - Notes du dossier"; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; -?> - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($reglement['ndFacture'])) ?> nettoyer($reglement['montantPrestataire'])) ?> nettoyer($reglement['montantApayer'])) ?> nettoyer($reglement['montantRedresse'])) ?>
nettoyer($recapecartdecompte['nbTotal'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotal'])) ?> nettoyer($recapecartdecompte['montantAssureurTotal'])) ?> nettoyer($recapecartdecompte['montantEcartTotal'])) ?>
nettoyer($recapecartdecompte['nbTotalFacture'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalFacture'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalFacture'])) ?> nettoyer($recapecartdecompte['montantEcartTotalFacture'])) ?>
nettoyer($recapecartdecompte['nbTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantEcartTotalNonsaisi'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavPrest'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavPrest'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavAss'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavAss'])) ?>
nettoyer($reglement['resteEcartAjustifer'])) ?>
-
- - - - - - - - - - - - - -
- -
-
- - diff --git a/radiantproduction/Vue/Ecartdecomptecons/index.php b/radiantproduction/Vue/Ecartdecomptecons/index.php deleted file mode 100644 index 4bff0f6..0000000 --- a/radiantproduction/Vue/Ecartdecomptecons/index.php +++ /dev/null @@ -1,114 +0,0 @@ -titre = "INTER-SANTE - Notes du dossier"; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; -?> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($reglement['ndFacture'])) ?> nettoyer($reglement['montantPrestataire'])) ?> nettoyer($reglement['montantApayer'])) ?> nettoyer($reglement['montantRedresse'])) ?>
nettoyer($recapecartdecompte['nbTotal'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotal'])) ?> nettoyer($recapecartdecompte['montantAssureurTotal'])) ?> nettoyer($recapecartdecompte['montantEcartTotal'])) ?>
nettoyer($recapecartdecompte['nbTotalFacture'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalFacture'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalFacture'])) ?> nettoyer($recapecartdecompte['montantEcartTotalFacture'])) ?>
nettoyer($recapecartdecompte['nbTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantPrestataireTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantAssureurTotalNonsaisi'])) ?> nettoyer($recapecartdecompte['montantEcartTotalNonsaisi'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavPrest'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavPrest'])) ?>
nettoyer($recapecartdecompte['nbTotalEnFavAss'])) ?> nettoyer($recapecartdecompte['montantEcartTotalEnFavAss'])) ?>
nettoyer($reglement['resteEcartAjustifer'])) ?>
-
- - - - - - - - - - - -
- -
-
- - diff --git a/radiantproduction/Vue/Echeancier/index.php b/radiantproduction/Vue/Echeancier/index.php deleted file mode 100644 index d711115..0000000 --- a/radiantproduction/Vue/Echeancier/index.php +++ /dev/null @@ -1,122 +0,0 @@ -titre = "INTER-SANTE - Gestion echéancier"; -?> - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($echeancier['id']); - ?> - - - - - - - - - - - - - - - - - - - -
" - onClick="javascript:enregistrer_echeancier();">" - onClick="javascript:enregistrer_echeancier();" disabled>nettoyer($total_echeancier['tauxEcheance']) ?> Totalnettoyer($total_echeancier['primeTtcInitial'])) ?> nettoyer($total_echeancier['interet'])) ?>nettoyer($total_echeancier['primeTtc'])) ?>
nettoyer($echeancier['ordreEcheance']) ?> - - - - - - - nettoyer($echeancier['primeTtcInitial'])) ?>nettoyer($echeancier['tauxInteret']) ?>nettoyer($echeancier['interet'])) ?>nettoyer($echeancier['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Emission/index.php b/radiantproduction/Vue/Emission/index.php deleted file mode 100644 index d910ea2..0000000 --- a/radiantproduction/Vue/Emission/index.php +++ /dev/null @@ -1,214 +0,0 @@ -titre = "INTER-SANTE - Fiche Emission"; - - $idEmission = $emission['idEmission']; - $idPolice = $emission['idPolice']; -?> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['numeroQuittance']); - $idQuittance = $quittance['id']; - $solde=$this->nettoyer($quittance['solde']) - ?> - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($totalquittance['primeTtc'])) ?>nettoyer($totalquittance['encaisse'])) ?>nettoyer($totalquittance['solde'])) ?>
nettoyer($quittance['dateEffet']), $_SESSION['lang']) ?>nettoyer($quittance['dateEcheance']), $_SESSION['lang']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['datePaiement']), $_SESSION['lang']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " onClick="javascript:imprimer_quittance();"> " onClick="javascript:imprimer_quittance_client();">
- - - - - - - - diff --git a/radiantproduction/Vue/Encaisserbordereau/index.php b/radiantproduction/Vue/Encaisserbordereau/index.php deleted file mode 100644 index db504a3..0000000 --- a/radiantproduction/Vue/Encaisserbordereau/index.php +++ /dev/null @@ -1,91 +0,0 @@ -titre = "INTER-SANTE - Encaisser bordereau"; ?> - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- -
-
-
- - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Encaisserclient/index.php b/radiantproduction/Vue/Encaisserclient/index.php deleted file mode 100644 index 4190782..0000000 --- a/radiantproduction/Vue/Encaisserclient/index.php +++ /dev/null @@ -1,79 +0,0 @@ -titre = "INTER-SANTE - Encaisser client"; ?> - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
-
- -
" value="" required >
-
- - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Encaissergc/index.php b/radiantproduction/Vue/Encaissergc/index.php deleted file mode 100644 index 2dacc8d..0000000 --- a/radiantproduction/Vue/Encaissergc/index.php +++ /dev/null @@ -1,111 +0,0 @@ -nettoyer($reglement['gcNumeroDecompte']); - $_SESSION['gcNumeroDecompte'] = $gcNumeroDecompte; - - $codeGcAssureur = $reglement['codeGcAssureur']; - $montantApayer = $reglement['montantDu']; -?> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
" onClick="enregistrer_encaissement_gc();" style='font-size:10pt;' > " onClick="javascript:consulter_gc_reglement();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Encaisserquittance/index.php b/radiantproduction/Vue/Encaisserquittance/index.php deleted file mode 100644 index 81d6704..0000000 --- a/radiantproduction/Vue/Encaisserquittance/index.php +++ /dev/null @@ -1,138 +0,0 @@ -titre = "INTER-SANTE - Encaisser quittance"; - if (est_anglophone()) - { - $typeavenant = $quittance['typeavenantEng']; - $typeoperation = $quittance['typeoperationEng']; - } - else - { - $typeavenant = $quittance['typeavenant']; - $typeoperation = $quittance['typeoperation']; - } - -?> - -nettoyer($quittance['idQuittance'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
- -
- - - -
" onClick="javascript:enregistrer_encaissement_quittance();">
-
- - diff --git a/radiantproduction/Vue/Encselectionquittances/index.php b/radiantproduction/Vue/Encselectionquittances/index.php deleted file mode 100644 index f288e87..0000000 --- a/radiantproduction/Vue/Encselectionquittances/index.php +++ /dev/null @@ -1,222 +0,0 @@ -titre = "INTER-SANTE - sélection quittances Client"; ?> - - - -
-
- - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_encaissement_bordereau();">
-
-
- -
-
- - - - - - - - - - - - - -
- -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['id']); - $numeroQuittance=$this->nettoyer($quittance['numeroQuittance']); - $primeTtc=$this->nettoyer($quittance['primeTtc']); - $encaisse=$this->nettoyer($quittance['encaisse']); - $solde=$this->nettoyer($quittance['solde']); - - $idEncaissement = $this->nettoyer($quittance['idEncaissement']); - ?> - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - -
No
Total nettoyer($totalquittanceImpayee['primeTtc'])) ?>nettoyer($totalquittanceImpayee['encaisse'])) ?>nettoyer($totalquittanceImpayee['solde'])) ?>
" onClick="javascript:ajouter_quittance_acompte();">
nettoyer($quittance['dateEmission'])) ?>nettoyer($quittance['dateEffet'])) ?>nettoyer($quittance['dateEcheance'])) ?>nettoyer($quittance['codeTypeAvenant']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " - onClick="javascript:selectionner_quittance_impayee(, , , , );"> - " onClick="javascript:solder_quittance_temp();">
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detailencaissement['id']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($totaldetailencaissement['montant_selection'])) ?> " onClick="javascript:enregistrer_encaissement_bordereau();">
nettoyer($detailencaissement['numeroClient']) ?>nettoyer($detailencaissement['nomClient']) ?>nettoyer($detailencaissement['numeroPolice']) ?>nettoyer($detailencaissement['idQuittance']) ?>nettoyer($detailencaissement['oldsolde'])) ?>nettoyer($detailencaissement['primeTtc'])) ?>nettoyer($detailencaissement['newsolde'])) ?> " onClick="javascript:supprimer_detail_encaissement();">
-
-
- - diff --git a/radiantproduction/Vue/Encselectquitclient/index.php b/radiantproduction/Vue/Encselectquitclient/index.php deleted file mode 100644 index 5d6d48b..0000000 --- a/radiantproduction/Vue/Encselectquitclient/index.php +++ /dev/null @@ -1,180 +0,0 @@ -titre = "INTER-SANTE - sélection quittances Client"; ?> - - - -
- - - - - - - - - - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_encaissement_bordereau();">
-
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($quittance['id']); - $numeroQuittance=$this->nettoyer($quittance['numeroQuittance']); - $primeTtc=$this->nettoyer($quittance['primeTtc']); - $encaisse=$this->nettoyer($quittance['encaisse']); - $solde=$this->nettoyer($quittance['solde']); - - $idEncaissement = $this->nettoyer($quittance['idEncaissement']); - $annule=$this->nettoyer($quittance['annule']); - ?> - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - - - -
No
Total nettoyer($totalquittanceImpayee['primeTtc'])) ?>nettoyer($totalquittanceImpayee['encaisse'])) ?>nettoyer($totalquittanceImpayee['solde'])) ?>
" onClick="javascript:ajouter_quittance_acompte_client();">
nettoyer($quittance['dateEmission'])) ?>nettoyer($quittance['dateEffet'])) ?>nettoyer($quittance['dateEcheance'])) ?>nettoyer($quittance['codeTypeAvenant']) ?>nettoyer($quittance['libelleQuittance']) ?>nettoyer($quittance['primeTtc'])) ?>nettoyer($quittance['encaisse'])) ?>nettoyer($quittance['solde'])) ?> " - onClick="javascript:selectionner_quittance_impayee(, , , , );"> - " onClick="javascript:solder_quittance_client_temp();">
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detailencaissement['id']); - ?> - - - - - - - - - - - - - - -
nettoyer($totaldetailencaissement['montant_selection'])) ?> " onClick="javascript:enregistrer_encaissement_bordereau();">
nettoyer($detailencaissement['numeroPolice']) ?>nettoyer($detailencaissement['idQuittance']) ?>nettoyer($detailencaissement['oldsolde'])) ?>nettoyer($detailencaissement['primeTtc'])) ?>nettoyer($detailencaissement['newsolde'])) ?> " onClick="javascript:supprimer_detail_encaissement_client();">
-
-
diff --git a/radiantproduction/Vue/Enregencaisbord/index.php b/radiantproduction/Vue/Enregencaisbord/index.php deleted file mode 100644 index 864e266..0000000 --- a/radiantproduction/Vue/Enregencaisbord/index.php +++ /dev/null @@ -1,78 +0,0 @@ -titre = "INTER-SANTE - Enregistrer bordereau"; -?> - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" />
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Enregencaiscli/index.php b/radiantproduction/Vue/Enregencaiscli/index.php deleted file mode 100644 index 9bf33f2..0000000 --- a/radiantproduction/Vue/Enregencaiscli/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Enregistrer bordereau"; ?> - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
" />
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Envoisms/index.php b/radiantproduction/Vue/Envoisms/index.php deleted file mode 100644 index 8b58a1b..0000000 --- a/radiantproduction/Vue/Envoisms/index.php +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - -
- - - - " onClick='javascript:re_init_envoi_sms();'/>
Message
- -
-
-
- -
-
-
diff --git a/radiantproduction/Vue/Envoismscon/index.php b/radiantproduction/Vue/Envoismscon/index.php deleted file mode 100644 index 7b208b6..0000000 --- a/radiantproduction/Vue/Envoismscon/index.php +++ /dev/null @@ -1,25 +0,0 @@ -titre = "INTER-SANTE - Gestion Messagerie"; -?> - - Filtrer sur période pour obtenir le résultat souhaité") ?> - - - - - - - - - - - - - - - -
- -
-
- diff --git a/radiantproduction/Vue/Erreur/index.php b/radiantproduction/Vue/Erreur/index.php deleted file mode 100644 index 32b0e86..0000000 --- a/radiantproduction/Vue/Erreur/index.php +++ /dev/null @@ -1,9 +0,0 @@ -titre = "INTER-SANTE - Gestion erreurs" -?> - - -
-

nettoyer($msgErreur) ?>

-
- diff --git a/radiantproduction/Vue/Etatsassuranceindividuelle/enteteetatsassuranceindividuelle.php b/radiantproduction/Vue/Etatsassuranceindividuelle/enteteetatsassuranceindividuelle.php deleted file mode 100644 index d477e1e..0000000 --- a/radiantproduction/Vue/Etatsassuranceindividuelle/enteteetatsassuranceindividuelle.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Etatsassuranceindividuelle/index.php b/radiantproduction/Vue/Etatsassuranceindividuelle/index.php deleted file mode 100644 index 91d82d9..0000000 --- a/radiantproduction/Vue/Etatsassuranceindividuelle/index.php +++ /dev/null @@ -1,57 +0,0 @@ -titre = "INTER-SANTE - Etats Production"; - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - => -
- -
-
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Etatsperso/index.php b/radiantproduction/Vue/Etatsperso/index.php deleted file mode 100644 index 5e0f98f..0000000 --- a/radiantproduction/Vue/Etatsperso/index.php +++ /dev/null @@ -1,24 +0,0 @@ -titre = "INTER-SANTE - Etats Personnalisés"; -?> - - - - - - - - - -
- -
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Etatsproduction/index.php b/radiantproduction/Vue/Etatsproduction/index.php deleted file mode 100644 index c09ce2e..0000000 --- a/radiantproduction/Vue/Etatsproduction/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Etats Production"; - -?> - - - - - - - - - - - -
- -
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Etatssinistre/index.php b/radiantproduction/Vue/Etatssinistre/index.php deleted file mode 100644 index c09ce2e..0000000 --- a/radiantproduction/Vue/Etatssinistre/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Etats Production"; - -?> - - - - - - - - - - - -
- -
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Etatssyntheses/index.php b/radiantproduction/Vue/Etatssyntheses/index.php deleted file mode 100644 index 6e44f68..0000000 --- a/radiantproduction/Vue/Etatssyntheses/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Etats Synthèses"; - -?> - - - - - - - - - - - -
- -
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Exclusion/index.php b/radiantproduction/Vue/Exclusion/index.php deleted file mode 100644 index 00035e6..0000000 --- a/radiantproduction/Vue/Exclusion/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Exclusions de la famile"; ?> - -
- - - - - - - - - - - - - - -
nettoyer($exclusion['libelleActe']) ?>
-
- - - -
-

-
- diff --git a/radiantproduction/Vue/Exclusionscollege/index.php b/radiantproduction/Vue/Exclusionscollege/index.php deleted file mode 100644 index d61cecb..0000000 --- a/radiantproduction/Vue/Exclusionscollege/index.php +++ /dev/null @@ -1,33 +0,0 @@ -titre = "INTER-SANTE - Exclusions du collège"; ?> - - - - - - - -
- -
- -
- - - - - - - - - - -
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Exporterbons/index.php b/radiantproduction/Vue/Exporterbons/index.php deleted file mode 100644 index 7cea58a..0000000 --- a/radiantproduction/Vue/Exporterbons/index.php +++ /dev/null @@ -1,90 +0,0 @@ -titre = "INTER-SANTE - Afficher bons"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - Type - - - -
- -
-
- - - diff --git a/radiantproduction/Vue/Exporterpaiementdecompte/index.php b/radiantproduction/Vue/Exporterpaiementdecompte/index.php deleted file mode 100644 index 0096039..0000000 --- a/radiantproduction/Vue/Exporterpaiementdecompte/index.php +++ /dev/null @@ -1,27 +0,0 @@ -titre = "INTER-SANTE - Provisions de Sinistres"; -?> - - - - - - - - - - - - - - - - - - - - -
- -
-
diff --git a/radiantproduction/Vue/Extranetadherent/index.php b/radiantproduction/Vue/Extranetadherent/index.php deleted file mode 100644 index 95f43e3..0000000 --- a/radiantproduction/Vue/Extranetadherent/index.php +++ /dev/null @@ -1,43 +0,0 @@ -titre = "INTER-SANTE - Gestion Extranet Assuré"; - - $codeUtilisateur = $adherent['numeroAdherent']; - $idAdherent = $_SESSION['idAdherent_C']; - $actif = $adherent['actif']; - $reInit = $adherent['reInit']; -?> - - - - nettoyer($adherent['numeroAdherent'])?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:reinitpaswd_assure('');"> " onClick="javascript:reinitpaswd_assure('');"> " onClick="javascript:desactiver_user_assure('');"> " onClick="javascript:activer_user_assure('');">
-
diff --git a/radiantproduction/Vue/Factureclassique/index.php b/radiantproduction/Vue/Factureclassique/index.php deleted file mode 100644 index 3b9dd1c..0000000 --- a/radiantproduction/Vue/Factureclassique/index.php +++ /dev/null @@ -1,212 +0,0 @@ -titre = "INTER-SANTE - Facture classique"; - $idDossierClassique = $facture['idDossierClassique']; - $hospitalisation = $facture['hospitalisation']; - $dateConsultation = $dossier['dateConsultation']; - - $controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0); - $controlerPlafondBeneficiaire = ($_SESSION['controlerPlafondBeneficiaire']>0); -?> - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hospit
Observat - - " onClick="javascript:valider_facture_classique_temp();" style='font-size:9pt;' >
-
- -
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - nettoyer($prestation['id']); - $libelleActe = $this->echapper($prestation['libelleActe']); - $valeurActe = $this->nettoyer($prestation['valeurActe']); - ?> - - - - - - - - - - - - -
dechapper($libelleActe) ?> - - nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
-
- - - - - - - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['soldeOld'])) ?>nettoyer($garantieadherent['consommationNew'])) ?>nettoyer($garantieadherent['consommationSousGarantie'])) ?>nettoyer($garantieadherent['fraisExclu'])) ?>nettoyer($garantieadherent['fraisRetenu'])) ?>nettoyer($garantieadherent['soldeNew'])) ?>
- -
- -
- -
- -
- - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Facturecons/index.php b/radiantproduction/Vue/Facturecons/index.php deleted file mode 100644 index aaeeef1..0000000 --- a/radiantproduction/Vue/Facturecons/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Consulter une facture"; ?> - - - -
- - - - - - - - - - -
- -
-
- -
- -
- -
- -
diff --git a/radiantproduction/Vue/Factureconsprestataire/index.php b/radiantproduction/Vue/Factureconsprestataire/index.php deleted file mode 100644 index ec0b78b..0000000 --- a/radiantproduction/Vue/Factureconsprestataire/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Consulter une facture"; ?> - - - -
- - - - - - - - - - -
- -
-
- -
- -
- -
- -
diff --git a/radiantproduction/Vue/Facturegccons/index.php b/radiantproduction/Vue/Facturegccons/index.php deleted file mode 100644 index 663715c..0000000 --- a/radiantproduction/Vue/Facturegccons/index.php +++ /dev/null @@ -1,129 +0,0 @@ -titre = "INTER-SANTE - Prescription Médicaments"; - $numeroBonOrdonnance = $prescription['numeroBonOrdonnance']; -?> - - - - " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" readonly > - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - nettoyer($detailprescription['livre']); - $codePrestataireLivraison=$this->nettoyer($detailprescription['codePrestataireLivraison']); - $prestataireLivraison=$this->nettoyer($detailprescription['prestataireLivraison']); - - $substituable = $this->nettoyer($detailprescription['substituable']); - $substitue = $this->nettoyer($detailprescription['substitue']); - - $nomSubstitut = $this->nettoyer($detailprescription['nomSubstitut']); - $libelleMedicament = $this->nettoyer($detailprescription['libelleMedicament']); - $ajPharmacie = $this->nettoyer($detailprescription['ajPharmacie']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" . $nomSubstitut ?> nettoyer($detailprescription['instructions']) ?> nettoyer($detailprescription['unite']) ?> nettoyer($detailprescription['quantite']) ?> nettoyer($detailprescription['numeroBonOrdonnance']) ?> nettoyer($detailprescription['numeroRemplacement']) ?>
-
- -
-
- - - - - - - - - - - -
" />
-
- - " ")) : ?> - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
- diff --git a/radiantproduction/Vue/Facturenoncharge/index.php b/radiantproduction/Vue/Facturenoncharge/index.php deleted file mode 100644 index 63334e5..0000000 --- a/radiantproduction/Vue/Facturenoncharge/index.php +++ /dev/null @@ -1,70 +0,0 @@ -titre = "INTER-SANTE - Fiche Décompte"; - $numeroDecompte = $reglement['numeroDecompte']; - $idReglement = $_SESSION['idReglement_C']; - - if (est_anglophone()) - { - $libellePeriode = $this->nettoyer($reglement['periodeEng']); - $etatdecompte = $this->nettoyer($reglement['etatdecompteEng']); - - } - else - { - $libellePeriode = $this->nettoyer($reglement['periode']); - $etatdecompte = $this->nettoyer($reglement['etatdecompte']); - } - -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
diff --git a/radiantproduction/Vue/Facturerpolice/index.php b/radiantproduction/Vue/Facturerpolice/index.php deleted file mode 100644 index 680abf6..0000000 --- a/radiantproduction/Vue/Facturerpolice/index.php +++ /dev/null @@ -1,156 +0,0 @@ -titre = "INTER-SANTE - Facturation"; -?> - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - -
- -
- -
- -
- -
- - - - diff --git a/radiantproduction/Vue/Factures/index.php b/radiantproduction/Vue/Factures/index.php deleted file mode 100644 index a5993e9..0000000 --- a/radiantproduction/Vue/Factures/index.php +++ /dev/null @@ -1,126 +0,0 @@ -titre = "INTER-SANTE - Factrures assuré"; -?> - - - - - - - - - - - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonKine']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - -
Type Date
- - nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?> nettoyer($facture['montantRembourse'])) ?>
-
- - diff --git a/radiantproduction/Vue/Facturesfamille/index.php b/radiantproduction/Vue/Facturesfamille/index.php deleted file mode 100644 index 857bbd2..0000000 --- a/radiantproduction/Vue/Facturesfamille/index.php +++ /dev/null @@ -1,119 +0,0 @@ -titre = "INTER-SANTE - Factrures famille"; -?> - - - - - - - - - - - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonKine']); - } - - ?> - - - - - - - - - - - - - - - - - - -
Type Date
- - nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
- - diff --git a/radiantproduction/Vue/Facturesfamilleadh/index.php b/radiantproduction/Vue/Facturesfamilleadh/index.php deleted file mode 100644 index 857bbd2..0000000 --- a/radiantproduction/Vue/Facturesfamilleadh/index.php +++ /dev/null @@ -1,119 +0,0 @@ -titre = "INTER-SANTE - Factrures famille"; -?> - - - - - - - - - - - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); - - $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); - - if($codeTypeFacture=="PHAR") - { - $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); - } - elseif($codeTypeFacture=="OPT") - { - $numeroBon = $this->nettoyer($facture['numeroBonOptique']); - } - elseif($codeTypeFacture=="LAB") - { - $numeroBon = $this->nettoyer($facture['numeroBonExamen']); - } - elseif($codeTypeFacture=="SEA") - { - $numeroBon = $this->nettoyer($facture['numeroBonKine']); - } - - ?> - - - - - - - - - - - - - - - - - - -
Type Date
- - nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
- - diff --git a/radiantproduction/Vue/Facturesfeuille/index.php b/radiantproduction/Vue/Facturesfeuille/index.php deleted file mode 100644 index ec5f744..0000000 --- a/radiantproduction/Vue/Facturesfeuille/index.php +++ /dev/null @@ -1,38 +0,0 @@ -titre = "INTER-SANTE - Repos Médical"; - // $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; -?> - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
Date
-
diff --git a/radiantproduction/Vue/Feuillemaladiecons/index.php b/radiantproduction/Vue/Feuillemaladiecons/index.php deleted file mode 100644 index 447c8a5..0000000 --- a/radiantproduction/Vue/Feuillemaladiecons/index.php +++ /dev/null @@ -1,244 +0,0 @@ -titre = "INTER-SANTE - Feuillemaladie"; - - $facture = $feuillemaladie['facture']; - $numeroDerogation = $feuillemaladie['numeroDerogation']; - $numeroDerogationFinger = $feuillemaladie['numeroDerogationFinger']; - $nb_notefeuillemaladie = $feuillemaladie['nb_notefeuillemaladie']; - - $agePrescription = $this->nettoyer($feuillemaladie['agePrescription']); - $bonCaduc = $this->nettoyer($feuillemaladie['bonCaduc']); - - $actVisible = $_SESSION['actVisible']; - - $codeAffection = $this->nettoyer($feuillemaladie['codeAffection']); - - if (est_anglophone()) - { - $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng'])." => ".$codeAffection; - } - else - { - $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection'])." => ".$codeAffection; - } - - $AffectionVisible = $_SESSION['AffectionVisible']; - - if($AffectionVisible!="1") - { - $libelleAffection = $codeAffection; - } -?> - - - - - - - - - - " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie"). " No : " . $feuillemaladie['numeroFeuilleMaladie'] . " => Notes => " . $nb_notefeuillemaladie . " => User => " . $feuillemaladie['codeUtilisateur'] ?>" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Opt / Hosp
Observat
- - - -
- - -
-

-
- - -
-

-
- -
-

".$agePrescription . " "._("jours") . " => " . _("BON CADUC") ?>

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable=$this->nettoyer($prestation['ententePrealable']); - $autorisation=$this->nettoyer($prestation['autorisation']); - - $codeActe = $this->nettoyer($prestation['codeActe']); - - if (est_anglophone()) - { - $libelleActe = $this->nettoyer($prestation['libelleActeEng']); - } - else - { - $libelleActe = $this->nettoyer($prestation['libelleActe']); - } - - if($actVisible!="1") - { - $libelleActe = $codeActe; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
date
Total nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>
nettoyer($prestation['dateSysteme'])) ?> nettoyer($prestation['medecinActe']) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
- -"0"): ?> -
-

-
- - -"0"): ?> -
-

-
- - - diff --git a/radiantproduction/Vue/Feuillemaladiedec/index.php b/radiantproduction/Vue/Feuillemaladiedec/index.php deleted file mode 100644 index dc2bf4e..0000000 --- a/radiantproduction/Vue/Feuillemaladiedec/index.php +++ /dev/null @@ -1,153 +0,0 @@ -titre = "INTER-SANTE - Feuillemaladie"; - $facture = $feuillemaladie['facture']; - $numeroDerogation = $feuillemaladie['numeroDerogation']; - $numeroDerogationFinger = $feuillemaladie['numeroDerogationFinger']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observat
- - -
-

-
- -
-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($prestation['id']); - $codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']); - $ententePrealable=$this->nettoyer($prestation['ententePrealable']); - $autorisation=$this->nettoyer($prestation['autorisation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - -
date
Total nettoyer($feuillemaladie['fraisReel'])) ?>nettoyer($feuillemaladie['montantTm'])) ?>nettoyer($feuillemaladie['montantArembourser'])) ?>
nettoyer($prestation['dateSysteme'])) ?> nettoyer($prestation['libelleActe']) ?> nettoyer($prestation['medecinActe']) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?>
- -"0"): ?> -
-

-
- - -"0"): ?> -
-

-
- \ No newline at end of file diff --git a/radiantproduction/Vue/Ficheadherent/index.php b/radiantproduction/Vue/Ficheadherent/index.php deleted file mode 100644 index b39904d..0000000 --- a/radiantproduction/Vue/Ficheadherent/index.php +++ /dev/null @@ -1,340 +0,0 @@ -titre = "INTER-SANTE - Fiche Adhérent"; - - $codeTypeAvenant = $_SESSION['codeTypeAvenant_C']; - $estsupprimable_0 = ($codeTypeAvenant=="AFN" or $codeTypeAvenant=="REN"); - $garantieArchive = $_SESSION['garantieArchive_C']; - $estsupprimable = ($estsupprimable_0 && ($garantieArchive=="0")); - - $primeArchiveAdh = $this->nettoyer($adherent['primeArchive']); - $estsupprimableAdh = ($primeArchiveAdh=="0"); - - $superUser = $_SESSION['superUser']; - - $idAdherent = $this->nettoyer($adherent['idAdherent']); - - $adherentRetire = $adherent['sorti']; - $dateSortieAdherent = $adherent['dateSortieAdherent']; - - $controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0); - - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - $idApporteur = $this->nettoyer($adherent['idApporteur']); - $libelleApporteur = $this->nettoyer($adherent['libelleApporteur']); - $typeecheancier = $this->nettoyer($adherent['typeecheancier']); - if (est_anglophone()) - { - $typeecheancier = $this->nettoyer($adherent['typeecheancierEng']); - } - $tauxInteretEcheancier = $this->nettoyer($adherent['tauxInteretEcheancier']); -?> - - - - - - - - - - -
- - - - - nettoyer($adherent['numeroAdherent'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
E-mail - - - " onClick="javascript:de_archiver_adherent_fiche('');"> - - - " onClick="javascript:archiver_adherent_fiche('');"> - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
-

-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($beneficiaire['idBeneficiaire']); - $numeroBeneficiaire = $this->nettoyer($beneficiaire['numeroBeneficiaire']); - $primeArchive = $this->nettoyer($beneficiaire['primeArchive']); - $estsupprimable = ($primeArchive=="0"); - - if (est_anglophone()) - { - $lienParente = $this->nettoyer($beneficiaire['LienParenteEng']); - } - else - { - $lienParente = $this->nettoyer($beneficiaire['LienParente']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sex Age Suppr
Total nettoyer($totalbeneficiaires['primeHt'])) ?>nettoyer($totalbeneficiaires['taxe'])) ?>nettoyer($totalbeneficiaires['fraisCarte'])) ?>nettoyer($totalbeneficiaires['primeTtc'])) ?>
nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['prenomsBeneficiaire']) ?>nettoyer($beneficiaire['sexe']) ?>nettoyer($beneficiaire['dateNaissance'])) ?>nettoyer($beneficiaire['age']) ?>nettoyer($beneficiaire['primeFamille'])) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?> nettoyer($beneficiaire['codeEtatBeneficiaire']) ?> " onClick="javascript:archiver_beneficiaire('');">nettoyer($beneficiaire['codeEtatBeneficiaire']) ?> nettoyer($beneficiaire['primeTtc'])) ?> " onClick="javascript:de_archiver_beneficiaire('');"> nettoyer($beneficiaire['codeEtatBeneficiaire']) ?>
-
- -
- - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?> nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?> nettoyer($garantieadherent['garantieparentaffichage'])?>
- \ No newline at end of file diff --git a/radiantproduction/Vue/Ficheadherentfamiliale/index.php b/radiantproduction/Vue/Ficheadherentfamiliale/index.php deleted file mode 100644 index 320d187..0000000 --- a/radiantproduction/Vue/Ficheadherentfamiliale/index.php +++ /dev/null @@ -1,341 +0,0 @@ -titre = "INTER-SANTE - Fiche Adhérent"; - - $codeTypeAvenant = $_SESSION['codeTypeAvenant_C']; - $estsupprimable_0 = ($codeTypeAvenant=="AFN" or $codeTypeAvenant=="REN"); - $garantieArchive = $_SESSION['garantieArchive_C']; - $estsupprimable = ($estsupprimable_0 && ($garantieArchive=="0")); - - $primeArchiveAdh = $this->nettoyer($adherent['primeArchive']); - $estsupprimableAdh = ($primeArchiveAdh=="0"); - - $superUser = $_SESSION['superUser']; - - $idAdherent = $this->nettoyer($adherent['idAdherent']); - - $adherentRetire = $adherent['sorti']; - $dateSortieAdherent = $adherent['dateSortieAdherent']; - - $controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0); - - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - $idApporteur = $this->nettoyer($adherent['idApporteur']); - $libelleApporteur = $this->nettoyer($adherent['libelleApporteur']); - $typeecheancier = $this->nettoyer($adherent['typeecheancier']); - if (est_anglophone()) - { - $typeecheancier = $this->nettoyer($adherent['typeecheancierEng']); - } - $tauxInteretEcheancier = $this->nettoyer($adherent['tauxInteretEcheancier']); -?> - - - - - - - - - - -
- - - - - nettoyer($adherent['numeroAdherent']) . " => " . _("Assurance Individuellle") ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
E-mail - - - " onClick="javascript:de_archiver_adherent_fiche('');"> - - - " onClick="javascript:archiver_adherent_fiche('');"> - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-

-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($beneficiaire['idBeneficiaire']); - $numeroBeneficiaire = $this->nettoyer($beneficiaire['numeroBeneficiaire']); - $primeArchive = $this->nettoyer($beneficiaire['primeArchive']); - $estsupprimable = ($primeArchive=="0"); - - if (est_anglophone()) - { - $lienParente = $this->nettoyer($beneficiaire['LienParenteEng']); - } - else - { - $lienParente = $this->nettoyer($beneficiaire['LienParente']); - } - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sex Age Suppr
Total nettoyer($totalbeneficiaires['primeBase'])) ?>nettoyer($totalbeneficiaires['primeHt'])) ?>nettoyer($totalbeneficiaires['taxe'])) ?>nettoyer($totalbeneficiaires['fraisCarte'])) ?>nettoyer($totalbeneficiaires['primeTtc'])) ?>
nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['prenomsBeneficiaire']) ?>nettoyer($beneficiaire['sexe']) ?>nettoyer($beneficiaire['dateNaissance'])) ?>nettoyer($beneficiaire['age']) ?>nettoyer($beneficiaire['primeBase'])) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?> nettoyer($beneficiaire['codeEtatBeneficiaire']) ?> " onClick="javascript:archiver_beneficiaire('');">nettoyer($beneficiaire['codeEtatBeneficiaire']) ?> nettoyer($beneficiaire['primeTtc'])) ?> " onClick="javascript:de_archiver_beneficiaire('');"> nettoyer($beneficiaire['codeEtatBeneficiaire']) ?>
-
- -
- - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?> nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?> nettoyer($garantieadherent['garantieparentaffichage'])?>
- \ No newline at end of file diff --git a/radiantproduction/Vue/Fichebeneficiaire/index.php b/radiantproduction/Vue/Fichebeneficiaire/index.php deleted file mode 100644 index 434b1bc..0000000 --- a/radiantproduction/Vue/Fichebeneficiaire/index.php +++ /dev/null @@ -1,331 +0,0 @@ -titre = "INTER-SANTE - Fiche Bénéficiaire"; - - $datejour = $this->datejour; - $estcouvert = ($_SESSION['dateEcheancePolice_C']>=$datejour); - - $sorti = $this->nettoyer($beneficiaire['sorti']); - $dateSortieBeneficiaire = $this->nettoyer($beneficiaire['dateSortieBeneficiaire']); - - $estsorti = false; - // if($dateSortieBeneficiaire>"2000-01-01") - if($sorti=="1") - { - $estsorti = ($dateSortieBeneficiaire<=$datejour); - $estcouvert = ($estcouvert && ($dateSortieBeneficiaire>$datejour)); - } - - $dateEffetCouvert = $_SESSION['dateEffetCouvert']; - - if (est_anglophone()) - { - $produit = $beneficiaire['produitEng']; - $naturepiece = $beneficiaire['naturepieceEng']; - $lienparente = $beneficiaire['lienparenteEng']; - $motifsortie = $beneficiaire['motifsortieEng']; - $etatbeneficiaire = $beneficiaire['etatbeneficiaireEng']; - } - else - { - $produit = $beneficiaire['produit']; - $naturepiece = $beneficiaire['naturepiece']; - $lienparente = $beneficiaire['lienparente']; - $motifsortie = $beneficiaire['motifsortie']; - $etatbeneficiaire = $beneficiaire['etatbeneficiaire']; - } - - $controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0); - $controlerPlafondBeneficiaire = ($_SESSION['controlerPlafondBeneficiaire']>0); - - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - $idApporteur = $this->nettoyer($beneficiaire['idApporteur']); - $libelleApporteur = $this->nettoyer($beneficiaire['libelleApporteur']); - $typeecheancier = $this->nettoyer($beneficiaire['typeecheancier']); - if (est_anglophone()) - { - $typeecheancier = $this->nettoyer($beneficiaire['typeecheancierEng']); - } - $tauxInteretEcheancier = $this->nettoyer($beneficiaire['tauxInteretEcheancier']); - -?> - - - - - - -
-
- " . _("Date Effet") . " : " . dateLang($this->nettoyer($beneficiaire['dateEffet'])) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sex
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
-

-
- - -
- - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?> nettoyer($garantieadherent['garantieparentaffichage'])?>
-
- -
- - -
- -
- " readonly> -
- - -
-
- - " "): ?> - " readonly > - - " readonly > - - - - - -
- " /> -
- -

- " "): ?> -
- -
- -

-
- - - : " readonly> - - : " readonly> - -
- - " readonly> - - diff --git a/radiantproduction/Vue/Fichebeneficiairefamiliale/index.php b/radiantproduction/Vue/Fichebeneficiairefamiliale/index.php deleted file mode 100644 index 6d30051..0000000 --- a/radiantproduction/Vue/Fichebeneficiairefamiliale/index.php +++ /dev/null @@ -1,322 +0,0 @@ -titre = "INTER-SANTE - Fiche Bénéficiaire"; - - $datejour = $this->datejour; - $estcouvert = ($_SESSION['dateEcheancePolice_C']>=$datejour); - - $sorti = $this->nettoyer($beneficiaire['sorti']); - $dateSortieBeneficiaire = $this->nettoyer($beneficiaire['dateSortieBeneficiaire']); - - $estsorti = false; - // if($dateSortieBeneficiaire>"2000-01-01") - if($sorti=="1") - { - $estsorti = ($dateSortieBeneficiaire<=$datejour); - $estcouvert = ($estcouvert && ($dateSortieBeneficiaire>$datejour)); - } - - $dateEffetCouvert = $_SESSION['dateEffetCouvert']; - - if (est_anglophone()) - { - $produit = $beneficiaire['produitEng']; - $naturepiece = $beneficiaire['naturepieceEng']; - $lienparente = $beneficiaire['lienparenteEng']; - $motifsortie = $beneficiaire['motifsortieEng']; - $etatbeneficiaire = $beneficiaire['etatbeneficiaireEng']; - } - else - { - $produit = $beneficiaire['produit']; - $naturepiece = $beneficiaire['naturepiece']; - $lienparente = $beneficiaire['lienparente']; - $motifsortie = $beneficiaire['motifsortie']; - $etatbeneficiaire = $beneficiaire['etatbeneficiaire']; - } - - $controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0); - $controlerPlafondBeneficiaire = ($_SESSION['controlerPlafondBeneficiaire']>0); - - $codeTypeContrat = $_SESSION['codeTypeContrat']; - - $idApporteur = $this->nettoyer($beneficiaire['idApporteur']); - $libelleApporteur = $this->nettoyer($beneficiaire['libelleApporteur']); - $typeecheancier = $this->nettoyer($beneficiaire['typeecheancier']); - if (est_anglophone()) - { - $typeecheancier = $this->nettoyer($beneficiaire['typeecheancierEng']); - } - $tauxInteretEcheancier = $this->nettoyer($beneficiaire['tauxInteretEcheancier']); - -?> - - - - - - -
-
- " . _("Date Effet") . " : " . dateLang($this->nettoyer($beneficiaire['dateEffet'])) . " => " . _("Assurance Individuellle") ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sex
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-

-
- - -
- - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?> nettoyer($garantieadherent['garantieparentaffichage'])?>
-
- -
- - -
- -
- " readonly> -
- - -
-
- - " "): ?> - - - - - - - - -
- -
- -

- " "): ?> -
- -
- -

-
- - - - - - -
- - - " readonly> - - diff --git a/radiantproduction/Vue/Ficheclient/index.php b/radiantproduction/Vue/Ficheclient/index.php deleted file mode 100644 index 6bfeb35..0000000 --- a/radiantproduction/Vue/Ficheclient/index.php +++ /dev/null @@ -1,131 +0,0 @@ - - - - -
-
- nettoyer($client['numeroClient']) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
Fax
E-mail
-
- -
- - - - - - - - - - - - - - - - nettoyer($police['id']); - $nopol = $this->nettoyer($police['numeroPolice']); - ?> - - - - - - - - - - - - - -
Type
nettoyer($police['typeContrat']) ?>nettoyer($police['dateEffet'])) ?>nettoyer($police['dateEcheance'])) ?>nettoyer($police['numeroAvenant']) ?>nettoyer($police['typeAvenant']) ?>nettoyer($police['etatPolice']) ?>nettoyer($police['numeroDevis']) ?>
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Fichedecompte/index.php b/radiantproduction/Vue/Fichedecompte/index.php deleted file mode 100644 index 296d2cf..0000000 --- a/radiantproduction/Vue/Fichedecompte/index.php +++ /dev/null @@ -1,58 +0,0 @@ -titre = "INTER-SANTE - Fiche Décompte"; - $numeroDecompte = $reglement['numeroDecompte']; - $idReglement = $_SESSION['idReglement_C']; -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- diff --git a/radiantproduction/Vue/Fichedevis/index.php b/radiantproduction/Vue/Fichedevis/index.php deleted file mode 100644 index c9e035d..0000000 --- a/radiantproduction/Vue/Fichedevis/index.php +++ /dev/null @@ -1,246 +0,0 @@ -titre = "INTER-SANTE - Fiche Devis"; - $transforme=$this->nettoyer($police['transforme']); - $numeroOptionTarif = $_SESSION['numeroOptionTarif']; - - if (est_anglophone()) - { - $typeContrat = $police['typeContratEng']; - } - else - { - $typeContrat = $police['typeContrat']; - } -?> - -
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
-
-
- - - - - - - - - - - - - - - - - - - -
: - - - - " disabled > - - " onClick="javascript:transformer_devis();" > - - - - " disabled > - - " onClick="javascript:supprimer_option();" > - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Opt - -
Total nettoyer($totalcollege['nbAdherent'])) ?>nettoyer($totalcollege['nbAyantdroit'])) ?>nettoyer($totalcollege['primeFamille_total'])) ?>nettoyer($totalcollege['primeNette_total'])) ?>nettoyer($totalcollege['commission_total'])) ?>nettoyer($totalcollege['commissionAutre_total'])) ?>nettoyer($totalcollege['accessoire_total'])) ?>nettoyer($totalcollege['primeHt_total'])) ?>nettoyer($totalcollege['taxe_total'])) ?>nettoyer($totalcollege['fraisCarte_total'])) ?>nettoyer($totalcollege['primeTtcAdherent_total'])) ?>nettoyer($totalcollege['primeTtcBeneficiaire_total'])) ?>nettoyer($totalcollege['primeTtc_total'])) ?>
nettoyer($college['numeroOptionTarif']) ?> nettoyer($college['codeProduit']) ?> nettoyer($college['libelleCollege']) ?> nettoyer($college['nbAdherent'])) ?>nettoyer($college['nbAyantdroit'])) ?>nettoyer($college['primeFamille'])) ?>nettoyer($college['primeNette'])) ?>nettoyer($college['commission'])) ?>nettoyer($college['commissionAutre'])) ?>nettoyer($college['accessoire'])) ?>nettoyer($college['primeHt'])) ?>nettoyer($college['taxe'])) ?>nettoyer($college['fraisCarte'])) ?>nettoyer($college['primeTtcAdherent'])) ?>nettoyer($college['primeTtcBeneficiaire'])) ?> - - nettoyer($college['primeTtcTotal'])) ?> - - - - - - - - - -
- - - -
- -
-
diff --git a/radiantproduction/Vue/Ficheencaissement/index.php b/radiantproduction/Vue/Ficheencaissement/index.php deleted file mode 100644 index 3b9a8ca..0000000 --- a/radiantproduction/Vue/Ficheencaissement/index.php +++ /dev/null @@ -1,110 +0,0 @@ -titre = "INTER-SANTE - Compta Client"; ?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:imprimer_recu();">
-
-
- -
-
- -
- - - - - - - - - - - - - - - - - nettoyer($detailencaissement['id']); - ?> - - - - - - - - - - - - -
nettoyer($detailencaissement['numeroClient']) ?>nettoyer($detailencaissement['nomClient']) ?>nettoyer($detailencaissement['numeroPolice']) ?>nettoyer($detailencaissement['idQuittance']) ?>nettoyer($detailencaissement['dateEffet'])) ?>nettoyer($detailencaissement['dateEcheance'])) ?>nettoyer($detailencaissement['codeTypeAvenant']) ?>nettoyer($detailencaissement['primeTtc'])) ?>
-
diff --git a/radiantproduction/Vue/Fichegcassureur/index.php b/radiantproduction/Vue/Fichegcassureur/index.php deleted file mode 100644 index 33a5756..0000000 --- a/radiantproduction/Vue/Fichegcassureur/index.php +++ /dev/null @@ -1,57 +0,0 @@ -titre = "INTER-SANTE - Fiche Assureur Gestion Confiée"; - $_SESSION['codeGcAssureur_C'] = $this->nettoyer($gc['codeGcAssureur']) ; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code E-mail
diff --git a/radiantproduction/Vue/Fichegcpolice/index.php b/radiantproduction/Vue/Fichegcpolice/index.php deleted file mode 100644 index 9be4666..0000000 --- a/radiantproduction/Vue/Fichegcpolice/index.php +++ /dev/null @@ -1,55 +0,0 @@ -titre = "INTER-SANTE - Fiche Police Gestion Confiée"; - $nbFactureGc = $this->nettoyer($gc['nbFactureGc']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-

-
diff --git a/radiantproduction/Vue/Fichelimiteadditionnelle/index.php b/radiantproduction/Vue/Fichelimiteadditionnelle/index.php deleted file mode 100644 index 9e171c9..0000000 --- a/radiantproduction/Vue/Fichelimiteadditionnelle/index.php +++ /dev/null @@ -1,191 +0,0 @@ -titre = "INTER-SANTE - Récap limittes additionnelles"; - - $controlPlafondAdherent = $_SESSION['controlPlafondAdherent']; - $controlPlafondBeneficiaire = $_SESSION['controlPlafondBeneficiaire']; -?> - - - - nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($emission['dateEffet'])) ?> nettoyer($emission['dateEcheance'])) ?> nettoyer($emission['dureePolice']) ?> nettoyer($avenant['dateEffet'])) ?> nettoyer($avenant['dateEcheance'])) ?> nettoyer($avenant['dureeAvenant']) ?>
- - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?>
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($totalcollege['nbPersonne'])) ?>nettoyer($totalcollege['primeNette_total'])) ?>nettoyer($totalcollege['accessoire_total'])) ?>nettoyer($totalcollege['taxe_total'])) ?>nettoyer($totalcollege['primeTtc_total'])) ?>
nettoyer($college['libelleCollege']) ?> nettoyer($college['nbPersonne'])) ?>nettoyer($college['primeNette'])) ?>nettoyer($college['accessoire'])) ?>nettoyer($college['taxe'])) ?>nettoyer($college['primeTtcTotal'])) ?> " onClick="javascript:pop_afficher_selection_limite()"> " onClick="javascript:modifier_college_temp()">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['commission'])) ?> nettoyer($avenant['commissionAutre'])) ?> nettoyer($avenant['accessoire'])) ?> nettoyer($avenant['taxe'])) ?> nettoyer($avenant['fraisCarte'])) ?> nettoyer($avenant['primeTtcInitial'])) ?> nettoyer($avenant['primeNetteStat'])) ?>
" onClick="enregistrer_limite_additionnelle();">
-
- - \ No newline at end of file diff --git a/radiantproduction/Vue/Fichemedecin/index.php b/radiantproduction/Vue/Fichemedecin/index.php deleted file mode 100644 index 5963c31..0000000 --- a/radiantproduction/Vue/Fichemedecin/index.php +++ /dev/null @@ -1,56 +0,0 @@ -titre = "INTER-SANTE - Fiche Médecin"; - - $idMedecin = $this->nettoyer($medecin['idMedecin']); - $codeMedecin = $this->nettoyer($medecin['codeMedecin']); - $specialite = $this->nettoyer($medecin['specialite']); - - if (est_anglophone()) - { - $specialite = $this->nettoyer($medecin['specialiteEng']); - } -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
Tel
Sex E-mail
diff --git a/radiantproduction/Vue/Fichepolice/index.php b/radiantproduction/Vue/Fichepolice/index.php deleted file mode 100644 index da7b779..0000000 --- a/radiantproduction/Vue/Fichepolice/index.php +++ /dev/null @@ -1,221 +0,0 @@ -titre = "INTER-SANTE - Fiche police"; - $gcactive = ($this->nettoyer($police['gestionConfiee'])=="1"); - $remplacementAdherent = ($this->nettoyer($police['remplacementAdherent'])=="1"); - - if (est_anglophone()) - { - $typeContrat = $police['typeContratEng']; - $typeAvenant = $police['typeAvenantEng']; - $etatPolice = $police['etatPoliceEng']; - } - else - { - $typeContrat = $police['typeContrat']; - $typeAvenant = $police['typeAvenant']; - $etatPolice = $police['etatPolice']; - } - - $prestationPossible = $this->nettoyer($police['prestationPossible']); -?> - -
- - - - -
- nettoyer($police['numeroPolice']) . " => ID Police : " . $this->nettoyer($police['idPolice']) . " => " . _("Primes non facturées") . " : " . format_N($nb_non_facturees) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
" readonly>" readonly> " readonly>" readonly>
-
- -
-
- - - - - - - - - - - -
" />
-
- - " ")) : ?> - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
- - - - - - - - - - - - - - - -
- -
- -
-
- -
-
diff --git a/radiantproduction/Vue/Ficheprestataire/index.php b/radiantproduction/Vue/Ficheprestataire/index.php deleted file mode 100644 index 5c7fca9..0000000 --- a/radiantproduction/Vue/Ficheprestataire/index.php +++ /dev/null @@ -1,224 +0,0 @@ -titre = "INTER-SANTE - Fiche Prestataire"; - - $_SESSION['codePrestataire_C'] = $this->nettoyer($prestataire['codePrestataire']) ; - $codePrestataire = $_SESSION['codePrestataire_C'] ; - $actif = $prestataire['actif']; - $derogationFingerPrestataire = $prestataire['derogationFingerPrestataire']; - - $derogationFingerPrestatairePossible = $societe['derogationFingerPrestatairePossible']; - - - if (est_anglophone()) - { - $typedecompte = $this->nettoyer($prestataire['typedecompteEng']); - } - else - { - $typedecompte = $this->nettoyer($prestataire['typedecompte']); - } -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code Type
- - " readonly> - - " readonly> - - E-mail - - " readonly> - - " readonly> - -
Iban
" onClick="javascript:desactiver_derogation_finger_prestataire('');"> " onClick="javascript:activer_derogation_finger_prestataire('');"> " onClick="javascript:desactiver_prestataire('');"> " onClick="javascript:activer_prestataire('');">
- - - - -
- - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($hactivationderogationfingerprestataire['dateSysteme'])) ?>nettoyer($hactivationderogationfingerprestataire['motif']) ?>nettoyer($hactivationderogationfingerprestataire['codeUtilisateur']) ?> - - - - - -
-
- - -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ficheprospect/index.php b/radiantproduction/Vue/Ficheprospect/index.php deleted file mode 100644 index 5f015c7..0000000 --- a/radiantproduction/Vue/Ficheprospect/index.php +++ /dev/null @@ -1,124 +0,0 @@ - - - - -
- -
- -
-
- nettoyer($client['numeroClient'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
Fax
E-mail
-
- -
- - - - - - - - - - - - - nettoyer($police['id']); - $nopol = $this->nettoyer($police['numeroPolice']); - ?> - - - - - - - - - -
Type
nettoyer($police['typeContrat']) ?>nettoyer($police['dateEffet'])) ?>nettoyer($police['dateEcheance'])) ?>nettoyer($police['numeroContrat']) ?>
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Ficherenouvellement/index.php b/radiantproduction/Vue/Ficherenouvellement/index.php deleted file mode 100644 index 9df1d1c..0000000 --- a/radiantproduction/Vue/Ficherenouvellement/index.php +++ /dev/null @@ -1,207 +0,0 @@ -titre = "INTER-SANTE - Récap Renouvellement"; ?> - - - - nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['dateEffet'])) ?> nettoyer($avenant['dateEcheance'])) ?> nettoyer($avenant['dureeAvenant']) ?>
- - - - - - - - - - - - - - - - - - - - -
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['commission'])) ?> nettoyer($avenant['commissionAutre'])) ?> nettoyer($avenant['accessoire'])) ?> - nettoyer($avenant['taxe'])) ?> nettoyer($avenant['fraisCarte'])) ?> nettoyer($avenant['primeTtcInitial'])) ?> nettoyer($avenant['primeNetteStat'])) ?>
" onClick="enregistrer_renouvellemnt();">
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Total nettoyer($avenant['nbAdherent'])) ?>nettoyer($avenant['nbAyantdroit'])) ?> nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['fraisCarte'])) ?>nettoyer($avenant['taxe'])) ?> nettoyer($avenant['accessoire'])) ?>nettoyer($avenant['primeTtc'])) ?>
nettoyer($college['libelleCollege']) ?> nettoyer($college['nbAdherent'])) ?>nettoyer($college['nbAyantdroit'])) ?>nettoyer($college['primeFamilleOld'])) ?> nettoyer($college['rapportspRenCalc']) ?> nettoyer($college['primeFamille_an'])) ?> nettoyer($college['tauxCourteDuree']) ?> nettoyer($college['primeFamille'])) ?>nettoyer($college['primeCplFuneraire'])) ?>nettoyer($college['fraisCarte'])) ?>nettoyer($college['taxe'])) ?>nettoyer($college['primeTtcAdherent'])) ?>nettoyer($college['primeTtcBeneficiaire'])) ?>nettoyer($college['accesoireTotal'])) ?>nettoyer($college['primeTtcTotal'])) ?>
-
- - \ No newline at end of file diff --git a/radiantproduction/Vue/Ficherequetesperso/index.php b/radiantproduction/Vue/Ficherequetesperso/index.php deleted file mode 100644 index cba7be6..0000000 --- a/radiantproduction/Vue/Ficherequetesperso/index.php +++ /dev/null @@ -1,54 +0,0 @@ -titre = "INTER-SANTE - Fiche Requête Personnalisée"; - $idrequete = $this->nettoyer($requetesperso['id']); - $codeRequete = $this->nettoyer($requetesperso['codeRequete']); - $sourceDonnees = $this->nettoyer($requetesperso['sourceDonnees']); - $actif = $requetesperso['actif']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Description
- -
" onClick="javascript:enregistrer_modif_requeteperso();" style='font-size:10pt;' > " onClick="javascript:param_requeteperso_liste();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Ficheresiliation/index.php b/radiantproduction/Vue/Ficheresiliation/index.php deleted file mode 100644 index 30cdc06..0000000 --- a/radiantproduction/Vue/Ficheresiliation/index.php +++ /dev/null @@ -1,156 +0,0 @@ -titre = "INTER-SANTE - Récap résiliation"; ?> - - - - nettoyer($_SESSION['numeroPolice_C']) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($emission['dateEffet'])) ?> nettoyer($emission['dateEcheance'])) ?> nettoyer($emission['dureePolice']) ?> nettoyer($avenant['dateEffet'])) ?> nettoyer($avenant['dateEcheance'])) ?> nettoyer($avenant['dureeAvenant']) ?>
- - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($emission['primeNette'])) ?> nettoyer($emission['commission'])) ?> nettoyer($emission['commissionAutre'])) ?> nettoyer($emission['accessoire'])) ?> nettoyer($emission['primeHt'])) ?> nettoyer($emission['taxe'])) ?> nettoyer($emission['fraisCarte'])) ?> nettoyer($emission['primeTtcInitial'])) ?> nettoyer($emission['primeNetteStat'])) ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['commission'])) ?> nettoyer($avenant['commissionAutre'])) ?> nettoyer($avenant['accessoire'])) ?> nettoyer($avenant['primeHt'])) ?> nettoyer($avenant['taxe'])) ?> nettoyer($avenant['fraisCarte'])) ?> nettoyer($avenant['primeTtcInitial'])) ?> nettoyer($avenant['primeNetteStat'])) ?>
" onClick="enregistrer_resiliation();">
- - \ No newline at end of file diff --git a/radiantproduction/Vue/Ficheretrait/index.php b/radiantproduction/Vue/Ficheretrait/index.php deleted file mode 100644 index 9d86ef1..0000000 --- a/radiantproduction/Vue/Ficheretrait/index.php +++ /dev/null @@ -1,213 +0,0 @@ -titre = "INTER-SANTE - Récap résiliation"; - $nbFactAntiDate = $this->nettoyer($avenant['nbFactAntiDate']); -?> - - - - - nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($emission['dateEffet'])) ?> nettoyer($emission['dateEcheance'])) ?> nettoyer($emission['dureePolice']) ?> nettoyer($avenant['dateEffet'])) ?> nettoyer($avenant['dateEcheance'])) ?> nettoyer($avenant['dureeAvenant']) ?>
- - - - - - - - - - - - - - - - - - - - - - - - - -
TOTAL
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['tauxRistourne']) ?>
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['commission'])) ?> nettoyer($avenant['commissionAutre'])) ?> nettoyer($avenant['accessoire'])) ?> nettoyer($avenant['primeHt'])) ?> nettoyer($avenant['taxe'])) ?> nettoyer($avenant['fraisCarte'])) ?> nettoyer($avenant['primeTtcInitial'])) ?> nettoyer($avenant['primeNetteStat'])) ?>
- - " onClick="javascript:recapituler_retrait();"> " onClick="javascript:enregistrer_retrait();">
- - 1): ?> -
-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
nettoyer($avenant['nbAliment']) ?> Total nettoyer($avenant['primeNonAcquise'])) ?>nettoyer($avenant['primeHt'])) ?>nettoyer($avenant['taxe'])) ?>nettoyer($avenant['primeTtc'])) ?>
nettoyer($beneficiaire_sel['codeProduit']) ?>nettoyer($beneficiaire_sel['nomBeneficiaire']) ?>nettoyer($beneficiaire_sel['codeLienParente']) ?>nettoyer($beneficiaire_sel['numeroBeneficiaire']) ?>nettoyer($beneficiaire_sel['dateEntree'])) ?>nettoyer($beneficiaire_sel['duree']) ?>nettoyer($beneficiaire_sel['duree_non_acquise']) ?>nettoyer($beneficiaire_sel['ratioNonAcquise']) ?>nettoyer($beneficiaire_sel['rapportsp']) ?>nettoyer($beneficiaire_sel['primeNetteStat_an'])) ?>nettoyer($beneficiaire_sel['primeTtc_an'])) ?>nettoyer($beneficiaire_sel['primeNonAcquise'])) ?>nettoyer($beneficiaire_sel['primeHt'])) ?>nettoyer($beneficiaire_sel['taxe'])) ?>nettoyer($beneficiaire_sel['primeTtc'])) ?>
-
- - - \ No newline at end of file diff --git a/radiantproduction/Vue/Fichesourcedonneesrequetesperso/index.php b/radiantproduction/Vue/Fichesourcedonneesrequetesperso/index.php deleted file mode 100644 index f89436d..0000000 --- a/radiantproduction/Vue/Fichesourcedonneesrequetesperso/index.php +++ /dev/null @@ -1,35 +0,0 @@ -titre = "INTER-SANTE - Fiche Source de données Requête Personnalisée"; - $idsourcerequete = $this->nettoyer($sourcedonneesrequetesperso['id']); - $sourceDonnees = $this->nettoyer($sourcedonneesrequetesperso['sourceDonnees']); - $actif = $sourcedonneesrequetesperso['actif']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_modif_sourcedonneesrequeteperso();" style='font-size:10pt;' > " onClick="javascript:param_sourcedonneesrequeteperso_liste();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Ficheusergc/index.php b/radiantproduction/Vue/Ficheusergc/index.php deleted file mode 100644 index bc8e491..0000000 --- a/radiantproduction/Vue/Ficheusergc/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Fiche Utilisteur Gestion Confiée"; - - $codeGcAssureur = $this->nettoyer($user_gc['codeGcAssureur']); - $idUtilisateur = $user_gc['id']; - $codeUtilisateur = $user_gc['codeUtilisateur']; - $actif = $user_gc['actif']; - $actVisible = $user_gc['actVisible']; - $reInit = $user_gc['reInit']; - $codeLangue = $user_gc['codeLangue']; - $AffectionVisible = $user_gc['AffectionVisible']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
" onClick="javascript:enregistrer_modif_user_gc();" style='font-size:10pt;' > " onClick="javascript:retour_a_users_gc();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Ficheuserprestataire/index.php b/radiantproduction/Vue/Ficheuserprestataire/index.php deleted file mode 100644 index 005952f..0000000 --- a/radiantproduction/Vue/Ficheuserprestataire/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Fiche Utilisteur Prestataire"; - - $codePrestataire = $this->nettoyer($user_prestataire['codePrestataire']); - $idUtilisateur = $user_prestataire['id']; - $codeUtilisateur = $user_prestataire['codeUtilisateur']; - $actif = $user_prestataire['actif']; - $actVisible = $user_prestataire['actVisible']; - $reInit = $user_prestataire['reInit']; - $codeLangue = $user_prestataire['codeLangue']; - $AffectionVisible = $user_prestataire['AffectionVisible']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
" onClick="javascript:enregistrer_modif_user_prestataire();" style='font-size:10pt;' > " onClick="javascript:users_prestataire();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Ficheusersagence/index.php b/radiantproduction/Vue/Ficheusersagence/index.php deleted file mode 100644 index 2262049..0000000 --- a/radiantproduction/Vue/Ficheusersagence/index.php +++ /dev/null @@ -1,82 +0,0 @@ -titre = "INTER-SANTE - Fiche Utilisteur Assureur"; - - $idUtilisateur = $users_ass['id']; - $codeUtilisateur = $users_ass['codeUtilisateur']; - $codePointVente = $users_ass['codePointVente']; - $actif = $users_ass['actif']; - $actVisible = $users_ass['actVisible']; - $reInit = $users_ass['reInit']; - $codeLangue = $users_ass['codeLangue']; - $AffectionVisible = $users_ass['AffectionVisible']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - -
" onClick="javascript:enregistrer_modif_usersagence();" style='font-size:10pt;' > " onClick="javascript:retour_a_usersagence();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Ficheusersass/index.php b/radiantproduction/Vue/Ficheusersass/index.php deleted file mode 100644 index 8f0aa68..0000000 --- a/radiantproduction/Vue/Ficheusersass/index.php +++ /dev/null @@ -1,82 +0,0 @@ -titre = "INTER-SANTE - Fiche Utilisteur Assureur"; - - $idUtilisateur = $users_ass['id']; - $codeUtilisateur = $users_ass['codeUtilisateur']; - $codeProfil = $users_ass['codeProfil']; - $actif = $users_ass['actif']; - $actVisible = $users_ass['actVisible']; - $reInit = $users_ass['reInit']; - $codeLangue = $users_ass['codeLangue']; - $AffectionVisible = $users_ass['AffectionVisible']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - -
" onClick="javascript:enregistrer_modif_usersassureur();" style='font-size:10pt;' > " onClick="javascript:retour_a_usersassureur();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Flexcode/index.php b/radiantproduction/Vue/Flexcode/index.php deleted file mode 100644 index 0f0de05..0000000 --- a/radiantproduction/Vue/Flexcode/index.php +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - -
-
-
-
- -
-
-
-
- - - - \ No newline at end of file diff --git a/radiantproduction/Vue/Fraisfuneraire/index.php b/radiantproduction/Vue/Fraisfuneraire/index.php deleted file mode 100644 index e206691..0000000 --- a/radiantproduction/Vue/Fraisfuneraire/index.php +++ /dev/null @@ -1,132 +0,0 @@ -titre = "INTER-SANTE - Frais Funéraires"; - $numeroFraisFuneraire = $fraisfuneraire['numeroFraisFuneraire']; - $numeroLotDecompte = $fraisfuneraire['numeroLotDecompte']; - $idFraisfuneraire = $fraisfuneraire['idFraisfuneraire']; - $regle = $fraisfuneraire['regle']; - $demandeReglement = $fraisfuneraire['demandeReglement']; -?> - - - - - - - - -"0"): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observations
- -
-

-
- - -
- -
diff --git a/radiantproduction/Vue/Fraisfunerairecpt/index.php b/radiantproduction/Vue/Fraisfunerairecpt/index.php deleted file mode 100644 index 1503aa8..0000000 --- a/radiantproduction/Vue/Fraisfunerairecpt/index.php +++ /dev/null @@ -1,132 +0,0 @@ -titre = "INTER-SANTE - Frais Funéraires"; - $numeroFraisFuneraire = $fraisfuneraire['numeroFraisFuneraire']; - $numeroLotDecompte = $fraisfuneraire['numeroLotDecompte']; - $idFraisfuneraire = $fraisfuneraire['idFraisfuneraire']; - $regle = $fraisfuneraire['regle']; - $demandeReglement = $fraisfuneraire['demandeReglement']; -?> - - - - - - - - -"0"): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observations
- -
-

-
- - -
- -
diff --git a/radiantproduction/Vue/Gcassureur/index.php b/radiantproduction/Vue/Gcassureur/index.php deleted file mode 100644 index af63d10..0000000 --- a/radiantproduction/Vue/Gcassureur/index.php +++ /dev/null @@ -1,41 +0,0 @@ -titre = "INTER-SANTE - Prestataire"; ?> - - Liste Assureurs Gestion confiée - -
- - - - - - - - - - - - - - - - - - - nettoyer($gc['id']); - $codeGcAssureur = $this->nettoyer($gc['codeGcAssureur']); - ?> - - - - - - - - - - - - -
Code E-mail
nettoyer($gc['libelle']) ?> nettoyer($gc['gcTauxFraisReel']) ?> nettoyer($gc['gcTauxRedressement']) ?> nettoyer($gc['gcTauxTva']) ?> nettoyer($gc['gestioncarte']) ?> nettoyer($gc['fraisGestion'])) ?> nettoyer($gc['email']) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Gccartes/index.php b/radiantproduction/Vue/Gccartes/index.php deleted file mode 100644 index 27b2637..0000000 --- a/radiantproduction/Vue/Gccartes/index.php +++ /dev/null @@ -1,39 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - -
-
- -
-
-
diff --git a/radiantproduction/Vue/Gcfacturation/index.php b/radiantproduction/Vue/Gcfacturation/index.php deleted file mode 100644 index b76cb9d..0000000 --- a/radiantproduction/Vue/Gcfacturation/index.php +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - -
- -
- -
- -
diff --git a/radiantproduction/Vue/Gcfactures/index.php b/radiantproduction/Vue/Gcfactures/index.php deleted file mode 100644 index 9d26f2b..0000000 --- a/radiantproduction/Vue/Gcfactures/index.php +++ /dev/null @@ -1,76 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - -
-
- -
-
- - - - -
- diff --git a/radiantproduction/Vue/Gcfacturescumul/index.php b/radiantproduction/Vue/Gcfacturescumul/index.php deleted file mode 100644 index 6de22d0..0000000 --- a/radiantproduction/Vue/Gcfacturescumul/index.php +++ /dev/null @@ -1,97 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- -
- - -
-
- -
-
- - - - -
- diff --git a/radiantproduction/Vue/Gcfacturesverif/index.php b/radiantproduction/Vue/Gcfacturesverif/index.php deleted file mode 100644 index de79ffa..0000000 --- a/radiantproduction/Vue/Gcfacturesverif/index.php +++ /dev/null @@ -1,74 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - -
-
- -
-
- - - - -
- diff --git a/radiantproduction/Vue/Gcfraisgestion/index.php b/radiantproduction/Vue/Gcfraisgestion/index.php deleted file mode 100644 index 8f4eb2e..0000000 --- a/radiantproduction/Vue/Gcfraisgestion/index.php +++ /dev/null @@ -1,78 +0,0 @@ -
- -titre = "INTER-SANTE - "._("Frais de Gestion"); - $regle = $entetefraisgestion['regle']; - $facture = $entetefraisgestion['facture']; - $regle = $entetefraisgestion['regle']; -?> - - - - - - - => - - - - - - - => - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - Date
" onClick="afficher_detail_gcfraisgestion();" style='font-size:9pt;' > " style='font-size:9pt;' disabled > " onClick="rechargergcfraisgestion();" style='font-size:9pt;' > " onClick="cumul_gc_frais_gestion_par_client();" style='font-size:9pt;' >
- -
-
- -
-
-
diff --git a/radiantproduction/Vue/Gcinitfraisgestion/index.php b/radiantproduction/Vue/Gcinitfraisgestion/index.php deleted file mode 100644 index d65fe9f..0000000 --- a/radiantproduction/Vue/Gcinitfraisgestion/index.php +++ /dev/null @@ -1,61 +0,0 @@ -titre = "INTER-SANTE - Sélection Décompte "; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- -
-
" onClick="lister_entete_gc_frais_gestion();" style='font-size:10pt;' > " onClick="initier_gc_frais_gestion();" style='font-size:10pt;' >
- - -
-

-
- - -
- -
- -
- -
-
- -
-
diff --git a/radiantproduction/Vue/Gcinitfraisgestion/initierdecompte.php b/radiantproduction/Vue/Gcinitfraisgestion/initierdecompte.php deleted file mode 100644 index 65ad032..0000000 --- a/radiantproduction/Vue/Gcinitfraisgestion/initierdecompte.php +++ /dev/null @@ -1,4 +0,0 @@ -
- apres - -
diff --git a/radiantproduction/Vue/Gcmodiffacturation/index.php b/radiantproduction/Vue/Gcmodiffacturation/index.php deleted file mode 100644 index e610aab..0000000 --- a/radiantproduction/Vue/Gcmodiffacturation/index.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - -
Observations
- -
- -
diff --git a/radiantproduction/Vue/Gcnewfacturation/index.php b/radiantproduction/Vue/Gcnewfacturation/index.php deleted file mode 100644 index cc43d8f..0000000 --- a/radiantproduction/Vue/Gcnewfacturation/index.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - -
Observations
- -
- -
diff --git a/radiantproduction/Vue/Gcpolices/index.php b/radiantproduction/Vue/Gcpolices/index.php deleted file mode 100644 index 83b430c..0000000 --- a/radiantproduction/Vue/Gcpolices/index.php +++ /dev/null @@ -1,39 +0,0 @@ -titre = "INTER-SANTE - Polices en Gestion confiée"; ?> - - - -
- - - - - - - - - - - - - nettoyer($gc['idPolice']); - $idGcpolice = $this->nettoyer($gc['idGcpolice']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($gc['souscripteur']) ?>nettoyer($gc['numeroPolice']) ?>nettoyer($gc['gcassureur']) ?> nettoyer($gc['dateEffetPolice'])) ?>nettoyer($gc['dateFinolice'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Gcreglement/index.php b/radiantproduction/Vue/Gcreglement/index.php deleted file mode 100644 index 440d46c..0000000 --- a/radiantproduction/Vue/Gcreglement/index.php +++ /dev/null @@ -1,188 +0,0 @@ -titre = "INTER-SANTE - Facturation Gestion confiée"; - $idGcReglement = $_SESSION['idGcReglement']; - $gcNumeroDecompte = $this->nettoyer($reglement['gcNumeroDecompte']); - $_SESSION['gcNumeroDecompte'] = $gcNumeroDecompte; - - $nbFacture = $reglement['nbFacture']; - $codeGcAssureur = $reglement['codeGcAssureur']; - $valide0 = $this->nettoyer($reglement['valide0']); - $valideAs = $this->nettoyer($reglement['valideAs']); - $valide = $this->nettoyer($reglement['valide']); -?> - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
- -
-
- -
-
- -
- -
- - - diff --git a/radiantproduction/Vue/Gcreglementcons/index.php b/radiantproduction/Vue/Gcreglementcons/index.php deleted file mode 100644 index d03c0ea..0000000 --- a/radiantproduction/Vue/Gcreglementcons/index.php +++ /dev/null @@ -1,182 +0,0 @@ -titre = "INTER-SANTE - Facturation Gestion confiée"; - $idGcReglement = $_SESSION['idGcReglement']; - $gcNumeroDecompte = $this->nettoyer($reglement['gcNumeroDecompte']); - $_SESSION['gcNumeroDecompte'] = $gcNumeroDecompte; - - $codeGcAssureur = $reglement['codeGcAssureur']; - $regle = $this->nettoyer($reglement['regle']); -?> - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total
Date Obs Compo - -
-
- -
-
- -
-
- -
- -
- - - diff --git a/radiantproduction/Vue/Ged/index.php b/radiantproduction/Vue/Ged/index.php deleted file mode 100644 index 2bd4f3b..0000000 --- a/radiantproduction/Vue/Ged/index.php +++ /dev/null @@ -1,80 +0,0 @@ -titre = "INTER-SANTE - GED Globale"; -?> - - Limité à 100 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Doc
" />
-
- - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Gedadherent/index.php b/radiantproduction/Vue/Gedadherent/index.php deleted file mode 100644 index 80b7de7..0000000 --- a/radiantproduction/Vue/Gedadherent/index.php +++ /dev/null @@ -1,80 +0,0 @@ -titre = "INTER-SANTE - GED Famille"; -?> - - Limité à 50 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Doc
" />
-
- - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Gedbeneficiaireprest/index.php b/radiantproduction/Vue/Gedbeneficiaireprest/index.php deleted file mode 100644 index 10e49f2..0000000 --- a/radiantproduction/Vue/Gedbeneficiaireprest/index.php +++ /dev/null @@ -1,79 +0,0 @@ -titre = "INTER-SANTE - GED Bénéficiaire"; -?> - - Limité à 50 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Doc
" />
-
- - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Gedbeneficiaireprod/index.php b/radiantproduction/Vue/Gedbeneficiaireprod/index.php deleted file mode 100644 index 6b1e1bc..0000000 --- a/radiantproduction/Vue/Gedbeneficiaireprod/index.php +++ /dev/null @@ -1,79 +0,0 @@ -titre = "INTER-SANTE - GED Bénéficiaire"; -?> - - Limité à 50 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Doc
" />
-
- - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Gedfeuillemaladie/index.php b/radiantproduction/Vue/Gedfeuillemaladie/index.php deleted file mode 100644 index 8cd665c..0000000 --- a/radiantproduction/Vue/Gedfeuillemaladie/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - GED Dossier"; -?> - - Limité à 50 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Doc
" />
-
- - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Gedpolice/index.php b/radiantproduction/Vue/Gedpolice/index.php deleted file mode 100644 index 2eab885..0000000 --- a/radiantproduction/Vue/Gedpolice/index.php +++ /dev/null @@ -1,78 +0,0 @@ -titre = "INTER-SANTE - GED Police"; -?> - - Limité à 50 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Doc
" />
-
- - -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - - - - - - - - -
Date Src Document
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['source']) ?>nettoyer($ged['souscripteur']) ?>nettoyer($ged['numeroPolice']) ?>nettoyer($ged['prestataire']) ?>nettoyer($ged['adherent']) ?>nettoyer($ged['numeroBeneficiaire']) ?>nettoyer($ged['beneficiaire']) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Genererbon/index.php b/radiantproduction/Vue/Genererbon/index.php deleted file mode 100644 index 485ee1b..0000000 --- a/radiantproduction/Vue/Genererbon/index.php +++ /dev/null @@ -1,116 +0,0 @@ -titre = "INTER-SANTE - Génération de bons"; ?> - -
- - - -
- " /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - - -
-
- - - - - -
- -

- -
- -
-
- - - -
diff --git a/radiantproduction/Vue/Gestionbons/index.php b/radiantproduction/Vue/Gestionbons/index.php deleted file mode 100644 index 970a750..0000000 --- a/radiantproduction/Vue/Gestionbons/index.php +++ /dev/null @@ -1,20 +0,0 @@ -titre = "INTER-SANTE - Gestion Bons de PEC"; ?> - -

- -
- -
- - diff --git a/radiantproduction/Vue/Gestionconfiee/index.php b/radiantproduction/Vue/Gestionconfiee/index.php deleted file mode 100644 index 4f054f7..0000000 --- a/radiantproduction/Vue/Gestionconfiee/index.php +++ /dev/null @@ -1,2 +0,0 @@ -titre = "INTER-SANTE - Gestion confiée"; ?> -

diff --git a/radiantproduction/Vue/Gestiondiverses/index.php b/radiantproduction/Vue/Gestiondiverses/index.php deleted file mode 100644 index eca9992..0000000 --- a/radiantproduction/Vue/Gestiondiverses/index.php +++ /dev/null @@ -1,8 +0,0 @@ -titre = "INTER-SANTE - Gestion Diverses"; ?> -

- -
-
    -

  • -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Gestiondroits/index.php b/radiantproduction/Vue/Gestiondroits/index.php deleted file mode 100644 index e43c2f2..0000000 --- a/radiantproduction/Vue/Gestiondroits/index.php +++ /dev/null @@ -1,10 +0,0 @@ -titre = "INTER-SANTE - Droits Utilisateurs" ?> -

- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Gettextcommun/index.php b/radiantproduction/Vue/Gettextcommun/index.php deleted file mode 100644 index 12b3bd8..0000000 --- a/radiantproduction/Vue/Gettextcommun/index.php +++ /dev/null @@ -1,43 +0,0 @@ - - - - - -
- - - -
- - - -
- - - - - - - - - - - diff --git a/radiantproduction/Vue/Heritageprofilass/index.php b/radiantproduction/Vue/Heritageprofilass/index.php deleted file mode 100644 index 304968c..0000000 --- a/radiantproduction/Vue/Heritageprofilass/index.php +++ /dev/null @@ -1,34 +0,0 @@ -titre = "INTER-SANTE - Héritage de droits"; ?> - - - - - - - - - - - - - - - - - - - - -
- - ==> - -
- -
diff --git a/radiantproduction/Vue/Histoetat/index.php b/radiantproduction/Vue/Histoetat/index.php deleted file mode 100644 index 6ebebaf..0000000 --- a/radiantproduction/Vue/Histoetat/index.php +++ /dev/null @@ -1,81 +0,0 @@ -titre = "INTER-SANTE - Historique des changements d'états"; - if (est_anglophone()) - { - $produit = $beneficiaire['produitEng']; - $naturepiece = $beneficiaire['naturepieceEng']; - $lienparente = $beneficiaire['lienparenteEng']; - $motifsortie = $beneficiaire['motifsortieEng']; - $etat = $beneficiaire['etatbeneficiaireEng']; - } - else - { - $produit = $beneficiaire['produit']; - $naturepiece = $beneficiaire['naturepiece']; - $lienparente = $beneficiaire['lienparente']; - $motifsortie = $beneficiaire['motifsortie']; - $etat = $beneficiaire['etatbeneficiaire']; - } - -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - - - - - - nettoyer($etatbeneficiaire['etatbeneficiaire']); - if (est_anglophone()) - { - $etat_h = $beneficiaire['etatbeneficiaireEng']; - } - ?> - - - - - - - - -
Date
nettoyer($etatbeneficiaire['dateSysteme'])) ?>nettoyer($etatbeneficiaire['motifEtat']) ?>nettoyer($etatbeneficiaire['utilisateur']) ?>
diff --git a/radiantproduction/Vue/Histsupprempreinte/index.php b/radiantproduction/Vue/Histsupprempreinte/index.php deleted file mode 100644 index 8233b6e..0000000 --- a/radiantproduction/Vue/Histsupprempreinte/index.php +++ /dev/null @@ -1,47 +0,0 @@ -titre = "INTER-SANTE - Historique Suppression Empreintes Digitales"; -?> - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - -
Date
-
- diff --git a/radiantproduction/Vue/Histsupprface/index.php b/radiantproduction/Vue/Histsupprface/index.php deleted file mode 100644 index 7f14bfa..0000000 --- a/radiantproduction/Vue/Histsupprface/index.php +++ /dev/null @@ -1,48 +0,0 @@ -titre = "INTER-SANTE - Historique Suppression Faces"; -?> - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - -
Date
-
- diff --git a/radiantproduction/Vue/Image/index.php b/radiantproduction/Vue/Image/index.php deleted file mode 100644 index 4f0674b..0000000 --- a/radiantproduction/Vue/Image/index.php +++ /dev/null @@ -1,17 +0,0 @@ - - - - - -
-
- - - -
- -
-
diff --git a/radiantproduction/Vue/Importassure/index.php b/radiantproduction/Vue/Importassure/index.php deleted file mode 100644 index 0570c1a..0000000 --- a/radiantproduction/Vue/Importassure/index.php +++ /dev/null @@ -1,136 +0,0 @@ -titre = "INTER-SANTE - Import assurés"; -?> - -
- -
- Importation des assurés à partir d'un fichier Excel") ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
-
-
- - Actions - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
- -
- -
- - - -" ")) : ?> - - - - - - - -
- -
diff --git a/radiantproduction/Vue/Importassurefamiliale/index.php b/radiantproduction/Vue/Importassurefamiliale/index.php deleted file mode 100644 index 5fc1c90..0000000 --- a/radiantproduction/Vue/Importassurefamiliale/index.php +++ /dev/null @@ -1,136 +0,0 @@ -titre = "INTER-SANTE - Import assurés"; -?> - -
- -
- Importation des assurés à partir d'un fichier Excel") ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
-
-
- - Actions - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
- -
- -
- - - -" ")) : ?> - - - - - - - -
- -
diff --git a/radiantproduction/Vue/Importdestinatairesms/index.php b/radiantproduction/Vue/Importdestinatairesms/index.php deleted file mode 100644 index 7335bb1..0000000 --- a/radiantproduction/Vue/Importdestinatairesms/index.php +++ /dev/null @@ -1,80 +0,0 @@ -titre = "INTER-SANTE - Import assurés"; -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
- -
- -
- - - - - " ")) : ?> - - - - - - - -
- -
-
- - - diff --git a/radiantproduction/Vue/Importertarifmedicament/index.php b/radiantproduction/Vue/Importertarifmedicament/index.php deleted file mode 100644 index f9c8934..0000000 --- a/radiantproduction/Vue/Importertarifmedicament/index.php +++ /dev/null @@ -1,82 +0,0 @@ -titre = "INTER-SANTE - Importer tarif médicaments"; - $idTarif = $this->nettoyer($tarif['idTarif']); - $codeTarifMedicament = $this->nettoyer($tarif['codeTarifMedicament']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
- -
- -
- - - -" ")) : ?> - - - - - - - -
- -
- diff --git a/radiantproduction/Vue/Imprimerdevis/index.php b/radiantproduction/Vue/Imprimerdevis/index.php deleted file mode 100644 index b972a53..0000000 --- a/radiantproduction/Vue/Imprimerdevis/index.php +++ /dev/null @@ -1,34 +0,0 @@ -titre = "Tâches - Editions Devis"; ?> - - - nettoyer($_SESSION['numeroPolice_d_C'])?> - - - - - - - - - - - - - - - - - - - - - - - -
=>
=>
- -
-
diff --git a/radiantproduction/Vue/Initdecompte/index.php b/radiantproduction/Vue/Initdecompte/index.php deleted file mode 100644 index 53b7f9e..0000000 --- a/radiantproduction/Vue/Initdecompte/index.php +++ /dev/null @@ -1,98 +0,0 @@ -titre = "INTER-SANTE - Sélection Décompte "; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- - -
- -
-
" onClick="initierdecompte();" style='font-size:10pt;' >
- - -
-

-
- - -
- -
- -
- - - -
-
diff --git a/radiantproduction/Vue/Initdecompte/initierdecompte.php b/radiantproduction/Vue/Initdecompte/initierdecompte.php deleted file mode 100644 index 65ad032..0000000 --- a/radiantproduction/Vue/Initdecompte/initierdecompte.php +++ /dev/null @@ -1,4 +0,0 @@ -
- apres - -
diff --git a/radiantproduction/Vue/Initstatistiques/index.php b/radiantproduction/Vue/Initstatistiques/index.php deleted file mode 100644 index 0b21936..0000000 --- a/radiantproduction/Vue/Initstatistiques/index.php +++ /dev/null @@ -1,32 +0,0 @@ -titre = "INTER-SANTE - Initialiser Statistique "; ?> - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:initierstatistiques();" style='font-size:11pt;' > " onClick="javascript:initierstatistiques_non_archives();" style='font-size:11pt;' >
- - -
- -
- - -
-

-
- diff --git a/radiantproduction/Vue/Liaisonclients/index.php b/radiantproduction/Vue/Liaisonclients/index.php deleted file mode 100644 index 2fa5851..0000000 --- a/radiantproduction/Vue/Liaisonclients/index.php +++ /dev/null @@ -1,209 +0,0 @@ -titre = "INTER-SANTE - Modification Client"; - $idClient = $this->nettoyer($client['idClient']); - $idClientParent = $this->nettoyer($client['idClientParent']); - $clientLie = ($idClientParent>"0"); - $aUnParent = ($clientLie && $idClientParent!=$idClient); -?> - - - - - nettoyer($client['nom'] . " " . $client['prenoms']) ?> - - - - - - - - - - - - - -
- - - nettoyer($client_parent['numeroClientParent']); - if($nocliParent<="0") - { - $nocliParent = "0"; - } - ?> - - "0"): ?> - - - - - - - - - - - - - - - - - - -
-
nettoyer($client_parent['clientParent']) ?>
- - - - - - "0"): ?> - - - - - - - - - - - - - - nettoyer($client_enfant['idClientEnfant']); - $nocliEnfant = $this->nettoyer($client_enfant['numeroClientEnfant']); - ?> - - - - - - - -
-
nettoyer($client_enfant['clientEnfant']) ?>
- - - - - "0"): ?> - - - - - - - - - - - - - - nettoyer($client_frere['idClientFrere']); - $nocliFrere = $this->nettoyer($client_frere['numeroClientFrere']); - ?> - - - - - - - -
-
nettoyer($client_frere['clientFrere']) ?>
- - -
-

-
- - - - - - -
-
diff --git a/radiantproduction/Vue/Liercolleges/index.php b/radiantproduction/Vue/Liercolleges/index.php deleted file mode 100644 index 069c0ab..0000000 --- a/radiantproduction/Vue/Liercolleges/index.php +++ /dev/null @@ -1,20 +0,0 @@ -titre = "INTER-SANTE - Lier collèges"; ?> - - - - - - - - - - - -
- -
- -
-
diff --git a/radiantproduction/Vue/Listeactes/index.php b/radiantproduction/Vue/Listeactes/index.php deleted file mode 100644 index d0c5a98..0000000 --- a/radiantproduction/Vue/Listeactes/index.php +++ /dev/null @@ -1,72 +0,0 @@ -titre = "INTER-SANTE - Tarif Actes Médicaux"; - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $codeFamilleActe = $_SESSION['codeFamilleActe_C']; -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
- -
" - onClick="javascript:rechercher_actes_famille_param();" style="font-size:10pt;"> " - onClick="javascript:rechercher_actes_famille_param_tous();" style="font-size:10pt;">
-
- - -
-
- - - - diff --git a/radiantproduction/Vue/Listeadherent/index.php b/radiantproduction/Vue/Listeadherent/index.php deleted file mode 100644 index ed9fca6..0000000 --- a/radiantproduction/Vue/Listeadherent/index.php +++ /dev/null @@ -1,135 +0,0 @@ -titre = "INTER-SANTE - Liste Adhérents"; - - $codeTypeAvenant = $_SESSION['codeTypeAvenant_C']; - $estsupprimable_0 = ($codeTypeAvenant=="AFN" or $codeTypeAvenant=="REN"); - $superUser = $_SESSION['superUser']; - $prestationPossible = $this->nettoyer($police['prestationPossible']); -?> - - - - - - - - - - - -
- -
- -
-
- - - - - - - - - diff --git a/radiantproduction/Vue/Listeavenant/index.php b/radiantproduction/Vue/Listeavenant/index.php deleted file mode 100644 index 52eb4d0..0000000 --- a/radiantproduction/Vue/Listeavenant/index.php +++ /dev/null @@ -1,49 +0,0 @@ -titre = "INTER-SANTE - Liste Avenants police"; -?> - - " . $_SESSION['nomClient_C'] . " => " . $police['numeroPolice'] . " => " . $police['idPolice'] ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($avenant['numeroAvenant']) ?>nettoyer($avenant['dateEffet']), $_SESSION['lang']) ?>nettoyer($avenant['motifavenant']) ?>nettoyer($avenant['utilisateur']) ?>nettoyer($avenant['dateSysteme'])) ?> - - - - - - nettoyer($avenant['dateFacturation'])) ?> nettoyer($avenant['userFacturation']) ?>
diff --git a/radiantproduction/Vue/Listeclients/index.php b/radiantproduction/Vue/Listeclients/index.php deleted file mode 100644 index 09909d2..0000000 --- a/radiantproduction/Vue/Listeclients/index.php +++ /dev/null @@ -1,52 +0,0 @@ -titre = "INTER-SANTE - Liste Clients"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($client['id']); - $nocli = $this->nettoyer($client['numeroClient']); - $gestionConfiee = $this->nettoyer($client['gestionConfiee']); - ?> - - - - - - - - - - - - - - - - - - - -
Spec / Limit
" >
nettoyer($client['nom']) ?>nettoyer($client['prenoms']) ?>nettoyer($client['telephonePortable']) ?>nettoyer($client['idPolice']) ?>nettoyer($client['numeroPolice']) ?>nettoyer($client['police_speciale']) ?>nettoyer($client['limiteConsommation']) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Listedecomptes/index.php b/radiantproduction/Vue/Listedecomptes/index.php deleted file mode 100644 index 7a302c3..0000000 --- a/radiantproduction/Vue/Listedecomptes/index.php +++ /dev/null @@ -1,136 +0,0 @@ -titre = "INTER-SANTE - Historique des décomptes"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- " "): ?> - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
User
-
- - - -
- -
diff --git a/radiantproduction/Vue/Listedemandebon/index.php b/radiantproduction/Vue/Listedemandebon/index.php deleted file mode 100644 index 19b97fb..0000000 --- a/radiantproduction/Vue/Listedemandebon/index.php +++ /dev/null @@ -1,96 +0,0 @@ -titre = "INTER-SANTE - Liste Demandes de BONS"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - Type - -
- -
- - - - - - - - - - - - - -
Id Type
-
- - - diff --git a/radiantproduction/Vue/Listederogations/index.php b/radiantproduction/Vue/Listederogations/index.php deleted file mode 100644 index 9da5c8b..0000000 --- a/radiantproduction/Vue/Listederogations/index.php +++ /dev/null @@ -1,108 +0,0 @@ -titre = "INTER-SANTE - Historique Demandes de dérogation"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - Type - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - -
No Date
-
- - diff --git a/radiantproduction/Vue/Listederogationsbenficiaire/index.php b/radiantproduction/Vue/Listederogationsbenficiaire/index.php deleted file mode 100644 index 4a07473..0000000 --- a/radiantproduction/Vue/Listederogationsbenficiaire/index.php +++ /dev/null @@ -1,94 +0,0 @@ -titre = "INTER-SANTE - Historique Demandes de dérogation"; -?> - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - nettoyer($derogation['idDemandederogation']); - $codeReponseDerogation = $this->nettoyer($derogation['codeReponseDerogation']); - $numeroDerogation = $this->nettoyer($derogation['numeroDerogation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($derogation['dateSysteme'])) ?>nettoyer($derogation['libelleDerogation']) ?>nettoyer($derogation['prestataire']) ?>nettoyer($derogation['dateReponse'])) ?>nettoyer($derogation['responsableDerogation']) ?>nettoyer($derogation['reponseDerogation']) ?> - " - onClick="javascript:accepter_derogation();"> - - " - onClick="javascript:refuser_derogation(, '2');"> - nettoyer($derogation['motifReel']) ?>nettoyer($derogation['debut'])) ?>nettoyer($derogation['fin'])) ?>nettoyer($derogation['motifReel']) ?>nettoyer($derogation['motifRefusAssure']) ?>nettoyer($derogation['tmDerogation']) ?>
-
diff --git a/radiantproduction/Vue/Listedossiers/index.php b/radiantproduction/Vue/Listedossiers/index.php deleted file mode 100644 index 8768d99..0000000 --- a/radiantproduction/Vue/Listedossiers/index.php +++ /dev/null @@ -1,97 +0,0 @@ -titre = "INTER-SANTE - Consultation Dossiers"; -?> - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
Date
-
- - diff --git a/radiantproduction/Vue/Listeententeprealables/index.php b/radiantproduction/Vue/Listeententeprealables/index.php deleted file mode 100644 index 70262c8..0000000 --- a/radiantproduction/Vue/Listeententeprealables/index.php +++ /dev/null @@ -1,105 +0,0 @@ -titre = "INTER-SANTE - Actes soumis à entente préalable"; -?> - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No Date
-
- - diff --git a/radiantproduction/Vue/Listeententeprealablesbenficiaire/index.php b/radiantproduction/Vue/Listeententeprealablesbenficiaire/index.php deleted file mode 100644 index 286f4af..0000000 --- a/radiantproduction/Vue/Listeententeprealablesbenficiaire/index.php +++ /dev/null @@ -1,98 +0,0 @@ -titre = "INTER-SANTE - Actes soumis à entente préalable"; -?> - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeententeprealable']); - $codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']); - $numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']); - $facture = $this->nettoyer($ententeprealable['facture']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
- - nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponsentEnteprealable']) ?> - " - onClick="javascript:accepter_ententeprealable(, );"> - - " - onClick="javascript:refuser_ententeprealable(, );"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Listeententeprealablesmont/index.php b/radiantproduction/Vue/Listeententeprealablesmont/index.php deleted file mode 100644 index 62a52e6..0000000 --- a/radiantproduction/Vue/Listeententeprealablesmont/index.php +++ /dev/null @@ -1,52 +0,0 @@ -titre = "INTER-SANTE - Montures soumises à entente préalable"; -?> - - - - - - - - - - - - - - - - -
- - - -
- -
- - - - - - - - - - - - - - - - - - - - - - -
No Date
-
diff --git a/radiantproduction/Vue/Listeententeprealablesopt/index.php b/radiantproduction/Vue/Listeententeprealablesopt/index.php deleted file mode 100644 index 1ab837b..0000000 --- a/radiantproduction/Vue/Listeententeprealablesopt/index.php +++ /dev/null @@ -1,53 +0,0 @@ -titre = "INTER-SANTE - Verres soumis à entente préalable"; -?> - - - - - - - - - - - - - - - - -
- - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No Date
-
diff --git a/radiantproduction/Vue/Listeententeprealablespha/index.php b/radiantproduction/Vue/Listeententeprealablespha/index.php deleted file mode 100644 index dba5fb3..0000000 --- a/radiantproduction/Vue/Listeententeprealablespha/index.php +++ /dev/null @@ -1,54 +0,0 @@ -titre = "INTER-SANTE - Médicaments soumis à entente préalable"; -?> - - - - - - - - - - - - - - - - -
- - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
No Date
-
diff --git a/radiantproduction/Vue/Listeexclusions/index.php b/radiantproduction/Vue/Listeexclusions/index.php deleted file mode 100644 index a5d1c6f..0000000 --- a/radiantproduction/Vue/Listeexclusions/index.php +++ /dev/null @@ -1,68 +0,0 @@ -titre = "INTER-SANTE - Gestion des actes exclus"; -?> - - - - - - - - - - - - - - - - - - - - - -
- - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Listeexclusionsbenficiaire/index.php b/radiantproduction/Vue/Listeexclusionsbenficiaire/index.php deleted file mode 100644 index 96887cd..0000000 --- a/radiantproduction/Vue/Listeexclusionsbenficiaire/index.php +++ /dev/null @@ -1,93 +0,0 @@ -titre = "INTER-SANTE - Gestion des actes exclus"; -?> - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($ententeprealable['idDemandeautorisation']); - $codeReponseAutorisation = $this->nettoyer($ententeprealable['codeReponseAutorisation']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No Date
nettoyer($ententeprealable['numeroAutorisation']) ?>nettoyer($ententeprealable['dateSysteme'])) ?>nettoyer($ententeprealable['libelleActe']) ?>nettoyer($ententeprealable['prestataire']) ?>nettoyer($ententeprealable['dateReponse'])) ?>nettoyer($ententeprealable['responsableAccord']) ?>nettoyer($ententeprealable['reponseAutorisation']) ?> nettoyer($ententeprealable['prixTarif'])) ?> nettoyer($ententeprealable['valeurActe'])) ?> - " - onClick="javascript:accepter_acte_exclu();"> - - " - onClick="javascript:refuser_acte_exclu(, '2');"> - nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifReel']) ?>nettoyer($ententeprealable['motifRefusAssure']) ?>
-
diff --git a/radiantproduction/Vue/Listeexercices/index.php b/radiantproduction/Vue/Listeexercices/index.php deleted file mode 100644 index 1e410b6..0000000 --- a/radiantproduction/Vue/Listeexercices/index.php +++ /dev/null @@ -1,88 +0,0 @@ -titre = "INTER-SANTE - Historique Exercice Police"; ?> - -
- nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($contrat['exercice']) ?>nettoyer($contrat['dateEffet'])) ?>nettoyer($contrat['dateFin'])) ?>nettoyer($contrat['userCre']) ?>nettoyer($contrat['utilisateur']) ?>nettoyer($contrat['dateSysteme'])) ?>
diff --git a/radiantproduction/Vue/Listefactures/index.php b/radiantproduction/Vue/Listefactures/index.php deleted file mode 100644 index 23420c7..0000000 --- a/radiantproduction/Vue/Listefactures/index.php +++ /dev/null @@ -1,95 +0,0 @@ -titre = "INTER-SANTE -Consultation Factrures"; -?> - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - -
Date
-
- - diff --git a/radiantproduction/Vue/Listefamilleacte/index.php b/radiantproduction/Vue/Listefamilleacte/index.php deleted file mode 100644 index 6510798..0000000 --- a/radiantproduction/Vue/Listefamilleacte/index.php +++ /dev/null @@ -1,54 +0,0 @@ -titre = "INTER-SANTE - Liste des tarifs Medicaments"; - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $adminSin = $_SESSION['adminSin']; -?> - - - -
- - - - - - - - - - - - - - - nettoyer($familleacte['id']); - $hospitalisation = $familleacte['hospitalisation']; - ?> - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:modifier_familles_actes();"> " onClick="javascript:supprimer_familles_actes();"> " disabled > " disabled >
-
diff --git a/radiantproduction/Vue/Listegenererbon/index.php b/radiantproduction/Vue/Listegenererbon/index.php deleted file mode 100644 index 9b5a87b..0000000 --- a/radiantproduction/Vue/Listegenererbon/index.php +++ /dev/null @@ -1,118 +0,0 @@ -titre = "INTER-SANTE - Historique généeration bons"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - Type - -
- -
- - - - - - - - - - - - - - -
TypeDate
-
- - - - - diff --git a/radiantproduction/Vue/Listeimportassure/index.php b/radiantproduction/Vue/Listeimportassure/index.php deleted file mode 100644 index c73c4cf..0000000 --- a/radiantproduction/Vue/Listeimportassure/index.php +++ /dev/null @@ -1,118 +0,0 @@ -titre = "INTER-SANTE - Liste Assurés Importés"; -?> - - - - - - - " . _("Lignes Totales") . " => " . $nb_ligne_ass . " => " . _("Lignes sans collège") . " => " . $nb_adh ?> - -
- - '0'): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '0'): ?> - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($dbeneficiaires_total['nbLigne'])) ?> nettoyer($dbeneficiaires_total['primeHtTotal'])) ?>nettoyer($dbeneficiaires_total['taxeTotal'])) ?>nettoyer($dbeneficiaires_total['fraisCarteTotal'])) ?>nettoyer($dbeneficiaires_total['primeTtcTotal'])) ?>nettoyer($dbeneficiaires_total['primeNetteStatTotal'])) ?>
Sex - - Stat
nettoyer($dbeneficiaires_total['nbLigne'])) ?> nettoyer($dbeneficiaires_total['primeHtTotal'])) ?>nettoyer($dbeneficiaires_total['taxeTotal'])) ?>nettoyer($dbeneficiaires_total['fraisCarteTotal'])) ?>nettoyer($dbeneficiaires_total['primeTtcTotal'])) ?>nettoyer($dbeneficiaires_total['primeNetteStatTotal'])) ?>
nettoyer($beneficiaire['categorie']) ?>nettoyer($beneficiaire['libelleCollege']) ?>nettoyer($beneficiaire['codeProduit']) ?>nettoyer($beneficiaire['libelleCollege']) ?>nettoyer($beneficiaire['codeProduit']) ?>nettoyer($beneficiaire['numeroAdherent']) ?>nettoyer($beneficiaire['noFamille']) ?>nettoyer($beneficiaire['nom']) ?>nettoyer($beneficiaire['prenoms']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['sexe']) ?>nettoyer($beneficiaire['dateNaissance'])) ?>nettoyer($beneficiaire['dateEffet'])) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['fraisCarte'])) ?>nettoyer($beneficiaire['primeTtc'])) ?>nettoyer($beneficiaire['primeNetteStat'])) ?>
- - -
-

-
- - -
- -
-
- diff --git a/radiantproduction/Vue/Listeimportassurefamiliale/index.php b/radiantproduction/Vue/Listeimportassurefamiliale/index.php deleted file mode 100644 index 92732de..0000000 --- a/radiantproduction/Vue/Listeimportassurefamiliale/index.php +++ /dev/null @@ -1,124 +0,0 @@ -titre = "INTER-SANTE - Liste Assurés Importés"; -?> - - - - - - - " . _("Lignes Totales") . " => " . $nb_ligne_ass . " => " . _("Lignes sans collège") . " => " . $nb_adh ?> - -
- - '0'): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($dbeneficiaires_total['nbLigne'])) ?> nettoyer($dbeneficiaires_total['primeBaseTotal'])) ?>nettoyer($dbeneficiaires_total['commissionAutreTotal'])) ?>nettoyer($dbeneficiaires_total['primeHtTotal'])) ?>nettoyer($dbeneficiaires_total['taxeTotal'])) ?> nettoyer($dbeneficiaires_total['interetTotal'])) ?>nettoyer($dbeneficiaires_total['primeTtcTousEcheancesTotal'])) ?>nettoyer($dbeneficiaires_total['primeTtcEcheancesTotal'])) ?>nettoyer($dbeneficiaires_total['partAssureurTotal'])) ?>nettoyer($dbeneficiaires_total['partTiersTotal'])) ?>
Sex
nettoyer($dbeneficiaires_total['nbLigne'])) ?> nettoyer($dbeneficiaires_total['primeBaseTotal'])) ?>nettoyer($dbeneficiaires_total['commissionAutreTotal'])) ?>nettoyer($dbeneficiaires_total['primeHtTotal'])) ?>nettoyer($dbeneficiaires_total['taxeTotal'])) ?> nettoyer($dbeneficiaires_total['interetTotal'])) ?>nettoyer($dbeneficiaires_total['primeTtcTousEcheancesTotal'])) ?>nettoyer($dbeneficiaires_total['primeTtcEcheancesTotal'])) ?>nettoyer($dbeneficiaires_total['partAssureurTotal'])) ?>nettoyer($dbeneficiaires_total['partTiersTotal'])) ?>
nettoyer($beneficiaire['commercial']) ?>nettoyer($beneficiaire['numeroAdherent']) ?>nettoyer($beneficiaire['noFamille']) ?>nettoyer($beneficiaire['nom']) ?>nettoyer($beneficiaire['prenoms']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['sexe']) ?>nettoyer($beneficiaire['dateNaissance'])) ?>nettoyer($beneficiaire['dateEffet'])) ?>nettoyer($beneficiaire['primeBase'])) ?>nettoyer($beneficiaire['commissionAutre'])) ?>nettoyer($beneficiaire['primeHt'])) ?>nettoyer($beneficiaire['taxe'])) ?>nettoyer($beneficiaire['nbEcheance']) ?>nettoyer($beneficiaire['surchargeEcheancier'])) ?>nettoyer($beneficiaire['primeTtcTousEcheances'])) ?>nettoyer($beneficiaire['primeTtcEcheances'])) ?>nettoyer($beneficiaire['partAssureur'])) ?>nettoyer($beneficiaire['partTiers'])) ?>
- -
-

-
- - -
- -
-
- diff --git a/radiantproduction/Vue/Listeimporttarifmedicament/index.php b/radiantproduction/Vue/Listeimporttarifmedicament/index.php deleted file mode 100644 index 84e1361..0000000 --- a/radiantproduction/Vue/Listeimporttarifmedicament/index.php +++ /dev/null @@ -1,105 +0,0 @@ -titre = "INTER-SANTE - Liste Medicaments Importes"; - - $idTarif = $_SESSION['idTarif']; -?> - - - - - - - - " . _("Lignes Totale") . " => " . $nb_ligne_med ?> - -
- - '0'): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($tarifs_total['nbLigne'])) ?>
Code Instructions
nettoyer($tarifs_total['nbLigne'])) ?>
nettoyer($tarif['codeMedicament']) ?>nettoyer($tarif['libelle']) ?>nettoyer($tarif['unite']) ?>nettoyer($tarif['prix'])) ?> - - - - - - nettoyer($tarif['nomSubstitut']) ?>nettoyer($tarif['instructions']) ?> - - - - - - - - - - - - - - - - - -
- - -
-

-
- - -
- -
-
- diff --git a/radiantproduction/Vue/Listemedicaments/index.php b/radiantproduction/Vue/Listemedicaments/index.php deleted file mode 100644 index e34ff59..0000000 --- a/radiantproduction/Vue/Listemedicaments/index.php +++ /dev/null @@ -1,48 +0,0 @@ - -" readonly> - - -
- - - - - - - - - - -
- - - " - onClick="javascript:rechercher_medicaments_param();" style="font-size:10pt;"> -
-
- -
-
- - - - diff --git a/radiantproduction/Vue/Listeprofil/index.php b/radiantproduction/Vue/Listeprofil/index.php deleted file mode 100644 index 2411716..0000000 --- a/radiantproduction/Vue/Listeprofil/index.php +++ /dev/null @@ -1,52 +0,0 @@ -titre = "INTER-SANTE - Liste Profils utilisateurs"; ?> - - - - - - - - - - - -
-
-
-
- -
- -
- - -
- -
- -
- " > -
-
-
-
-
- - - - - - - - - - - - - - - - - - -
Code
nettoyer($profil['codeProfil']) ?>nettoyer($profil['libelle']) ?>
diff --git a/radiantproduction/Vue/Listeprofilass/index.php b/radiantproduction/Vue/Listeprofilass/index.php deleted file mode 100644 index 7dcd213..0000000 --- a/radiantproduction/Vue/Listeprofilass/index.php +++ /dev/null @@ -1,35 +0,0 @@ -titre = "INTER-SANTE - Profils Utilisateurs"; -?> - - - -
- - - - - - - - - - - - - - - - - - - -
Code
nettoyer($profil['codeProfil']) ?> nettoyer($profil['libelle']) ?> nettoyer($profil['libelleEng']) ?>
-
- -
-
- diff --git a/radiantproduction/Vue/Listeprospects/index.php b/radiantproduction/Vue/Listeprospects/index.php deleted file mode 100644 index 3af5112..0000000 --- a/radiantproduction/Vue/Listeprospects/index.php +++ /dev/null @@ -1,45 +0,0 @@ -titre = "INTER-SANTE - Liste Prospects"; ?> - -
- -
- -
- - - - - - - - - - - - - - - - - - - - nettoyer($client['id']); - $nocli = $this->nettoyer($client['numeroClient']); - ?> - - - - - - - - - - - -
" >
nettoyer($client['nom']) ?>nettoyer($client['prenoms']) ?>nettoyer($client['telephonePortable']) ?>nettoyer($client['Ville']) ?>
- -
- diff --git a/radiantproduction/Vue/Listerclients/index.php b/radiantproduction/Vue/Listerclients/index.php deleted file mode 100644 index e95f3e9..0000000 --- a/radiantproduction/Vue/Listerclients/index.php +++ /dev/null @@ -1,65 +0,0 @@ -titre = "INTER-SANTE - Lister Clients"; ?> - - - - - - - - - - - - - - - - - nettoyer($client['id']); - $nocli = $this->nettoyer($client['numeroClient']); - $gestionConfiee = $this->nettoyer($client['gestionConfiee']); - ?> - - - - - - - - - - - - - - - - - - -
Spec / Limit
nettoyer($client['nom']) ?>nettoyer($client['prenoms']) ?>nettoyer($client['telephonePortable']) ?>nettoyer($client['idPolice']) ?>nettoyer($client['numeroPolice']) ?>nettoyer($client['police_speciale']) ?>nettoyer($client['limiteConsommation']) ?>
- - diff --git a/radiantproduction/Vue/Listerequeteperso/index.php b/radiantproduction/Vue/Listerequeteperso/index.php deleted file mode 100644 index 97563b6..0000000 --- a/radiantproduction/Vue/Listerequeteperso/index.php +++ /dev/null @@ -1,53 +0,0 @@ -titre = "INTER-SANTE - Liste Requêtes Personnalisées"; -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source User
nettoyer($requete['nomRequete']) ?> nettoyer($requete['nomRequeteEng']) ?> nettoyer($requete['sourceDonnees']) ?> nettoyer($requete['ordre']) ?> " onClick="javascript:desactiver_requeteperso('');"> " onClick="javascript:activer_requeteperso('');"> nettoyer($requete['codeUtilisateur']) ?> nettoyer($requete['dateSysteme'])) ?> - " onClick="javascript:afficher_requeteperso_id();" style='font-size:9pt;' > -
-
diff --git a/radiantproduction/Vue/Listerprospects/index.php b/radiantproduction/Vue/Listerprospects/index.php deleted file mode 100644 index a4233c8..0000000 --- a/radiantproduction/Vue/Listerprospects/index.php +++ /dev/null @@ -1,32 +0,0 @@ -titre = "INTER-SANTE - Lister Prospects"; ?> - -
- -
- - - - - - - - - - - - - nettoyer($client['id']); - $nocli = $this->nettoyer($client['numeroClient']); - ?> - - - - - - - - - - -
nettoyer($client['nom']) ?>nettoyer($client['prenoms']) ?>nettoyer($client['telephonePortable']) ?>nettoyer($client['Ville']) ?>
diff --git a/radiantproduction/Vue/Listetarifacte/index.php b/radiantproduction/Vue/Listetarifacte/index.php deleted file mode 100644 index 29369c9..0000000 --- a/radiantproduction/Vue/Listetarifacte/index.php +++ /dev/null @@ -1,68 +0,0 @@ -titre = "INTER-SANTE - Liste des tarifs Medicaments"; - $adminSin = $_SESSION['adminSin']; -?> - - - - - - - - - - - - - nettoyer($tarif['id']); - $libelleTarif = $tarif['libelle']; - if (est_anglophone()) - { - $libelleTarif = $tarif['libelleEng']; - } - ?> - - - - - - - - - - - - - - - - - - -
" onClick="javascript:modifier_tarif_actes();"> " onClick="javascript:archiver_tarif_actes();"> " onClick="javascript:supprimer_tarif_actes();"> " disabled > " disabled >
diff --git a/radiantproduction/Vue/Listetarifmedicament/index.php b/radiantproduction/Vue/Listetarifmedicament/index.php deleted file mode 100644 index 91e9958..0000000 --- a/radiantproduction/Vue/Listetarifmedicament/index.php +++ /dev/null @@ -1,31 +0,0 @@ -titre = "INTER-SANTE - Liste des tarifs Medicaments"; -?> - - - - - - - - - - - - nettoyer($tarif['id']); - $libelleTarif = $tarif['libelle']; - if (est_anglophone()) - { - $libelleTarif = $tarif['libelleEng']; - } - ?> - - - - - - - - -
" onClick="javascript:modifier_tarif_medicaments();"> " onClick="javascript:importer_tarif_medicaments();"> " onClick="javascript:supprimer_tarif_medicaments();">
diff --git a/radiantproduction/Vue/Listetarifoptique/index.php b/radiantproduction/Vue/Listetarifoptique/index.php deleted file mode 100644 index c8877c3..0000000 --- a/radiantproduction/Vue/Listetarifoptique/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Liste des tarifs Medicaments"; -?> - - - - - - - - - - - nettoyer($tarif['id']); - $libelleTarif = $tarif['libelle']; - if (est_anglophone()) - { - $libelleTarif = $tarif['libelleEng']; - } - ?> - - - - - - - - -
" onClick="javascript:modifier_tarif_optiques();"> " onClick="javascript:importer_tarif_optiques();"> " onClick="javascript:supprimer_tarif_optiques();">
diff --git a/radiantproduction/Vue/Listeutilisateur/index.php b/radiantproduction/Vue/Listeutilisateur/index.php deleted file mode 100644 index f5e06ec..0000000 --- a/radiantproduction/Vue/Listeutilisateur/index.php +++ /dev/null @@ -1,62 +0,0 @@ -titre = "INTER-SANTE - Liste Utilisateurs"; ?> - - - - - - - - - - - - - -
-
-
-
- - -
- -
- - -
- -
- - -
- -
- -
- " > -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - -
Code
nettoyer($utilisateur['codeUtilisateur']) ?>nettoyer($utilisateur['nom']) ?>nettoyer($utilisateur['prenoms']) ?>
diff --git a/radiantproduction/Vue/Listeverres/index.php b/radiantproduction/Vue/Listeverres/index.php deleted file mode 100644 index f6d35a6..0000000 --- a/radiantproduction/Vue/Listeverres/index.php +++ /dev/null @@ -1,48 +0,0 @@ - -" readonly> - - -
- - - - - - - - - - -
- - - " - onClick="javascript:rechercher_verres_param();" style="font-size:10pt;"> -
-
- -
-
- - - - diff --git a/radiantproduction/Vue/Localiseradherent/index.php b/radiantproduction/Vue/Localiseradherent/index.php deleted file mode 100644 index 5ce617e..0000000 --- a/radiantproduction/Vue/Localiseradherent/index.php +++ /dev/null @@ -1,76 +0,0 @@ -titre = "INTER-SANTE - Prestataire"; - $codePays = $client['codePays']; - $codeVille = $client['codeVille']; - $codeLocalite = $client['codeLocalite']; -?> - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
- -
-
- - -
-
- - - - diff --git a/radiantproduction/Vue/Logconnexion/index.php b/radiantproduction/Vue/Logconnexion/index.php deleted file mode 100644 index 23348c5..0000000 --- a/radiantproduction/Vue/Logconnexion/index.php +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - \ No newline at end of file diff --git a/radiantproduction/Vue/Logreconnaissancefaciale/index.php b/radiantproduction/Vue/Logreconnaissancefaciale/index.php deleted file mode 100644 index 38ea95f..0000000 --- a/radiantproduction/Vue/Logreconnaissancefaciale/index.php +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - diff --git a/radiantproduction/Vue/Logregisterface/index.php b/radiantproduction/Vue/Logregisterface/index.php deleted file mode 100644 index cee5b24..0000000 --- a/radiantproduction/Vue/Logregisterface/index.php +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - diff --git a/radiantproduction/Vue/Logremoveface/index.php b/radiantproduction/Vue/Logremoveface/index.php deleted file mode 100644 index ad0a4fa..0000000 --- a/radiantproduction/Vue/Logremoveface/index.php +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - diff --git a/radiantproduction/Vue/Majdatesortie/index.php b/radiantproduction/Vue/Majdatesortie/index.php deleted file mode 100644 index 1b664d2..0000000 --- a/radiantproduction/Vue/Majdatesortie/index.php +++ /dev/null @@ -1,49 +0,0 @@ -titre = "INTER-SANTE - Forcer la sortie"; ?> - -
-
- - - - - - - - - - - - - - - - - - - -
-
-
- -
- " /> - -
- - - - - - - - - - - - - - - -
-
-
diff --git a/radiantproduction/Vue/Majmedecinsprestataire/index.php b/radiantproduction/Vue/Majmedecinsprestataire/index.php deleted file mode 100644 index 1bd63fa..0000000 --- a/radiantproduction/Vue/Majmedecinsprestataire/index.php +++ /dev/null @@ -1,101 +0,0 @@ -titre = "INTER-SANTE - Liste Médecins prestataire"; - $codePrestataire = $this->nettoyer($prestataire['codePrestataire']); - $idPrestataire = $this->nettoyer($prestataire['id']); - $nomPrestataire = $this->nettoyer($prestataire['libelle']); -?> - - - - - - - - - - - - - -
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
=>
nettoyer($medecinsnonaccessible['noOrdreMedecin']) ?> nettoyer($medecinsnonaccessible['nom']) ?>nettoyer($medecinsnonaccessible['prenoms']) ?>nettoyer($medecinsnonaccessible['specialite']) ?>nettoyer($medecinsnonaccessible['specialiteEng']) ?>
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
<=
nettoyer($medecinsaccessible['noOrdreMedecin']) ?> nettoyer($medecinsaccessible['nom']) ?>nettoyer($medecinsaccessible['prenoms']) ?>
-
-
-
diff --git a/radiantproduction/Vue/Medecins/index.php b/radiantproduction/Vue/Medecins/index.php deleted file mode 100644 index c2145be..0000000 --- a/radiantproduction/Vue/Medecins/index.php +++ /dev/null @@ -1,56 +0,0 @@ -titre = "INTER-SANTE - Prestataire"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - - - - - - - - - - - - - - - - - -
Sex Tel E-mail Cons
-
diff --git a/radiantproduction/Vue/Medecinsprestataire/index.php b/radiantproduction/Vue/Medecinsprestataire/index.php deleted file mode 100644 index e759522..0000000 --- a/radiantproduction/Vue/Medecinsprestataire/index.php +++ /dev/null @@ -1,59 +0,0 @@ -titre = "INTER-SANTE - Liste Médecins prestataire"; - $codePrestataire = $this->nettoyer($prestataire['codePrestataire']); - $idPrestataire = $this->nettoyer($prestataire['id']); - $nomPrestataire = $this->nettoyer($prestataire['libelle']); -?> - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sex E-mail
nettoyer($medecin['noOrdreMedecin']) ?> nettoyer($medecin['nom']) ?>nettoyer($medecin['prenoms']) ?> nettoyer($medecin['sexe']) ?> nettoyer($medecin['specialite']) ?>nettoyer($medecin['specialiteEng']) ?> nettoyer($medecin['telephone']) ?> nettoyer($medecin['email']) ?>
-
-
- -
-
- diff --git a/radiantproduction/Vue/Messagerie/index.php b/radiantproduction/Vue/Messagerie/index.php deleted file mode 100644 index 42fc880..0000000 --- a/radiantproduction/Vue/Messagerie/index.php +++ /dev/null @@ -1,191 +0,0 @@ -titre = "INTER-SANTE - Gestion Messagerie"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - " "): ?> - - - - -
Message
- - -
-
- - - - - - - - - - - - - - - - - - - - diff --git a/radiantproduction/Vue/Messageriecommun/index.php b/radiantproduction/Vue/Messageriecommun/index.php deleted file mode 100644 index 192c5e2..0000000 --- a/radiantproduction/Vue/Messageriecommun/index.php +++ /dev/null @@ -1,45 +0,0 @@ -titre = "INTER-SANTE - Gestion Messagerie"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
Message
" onClick="javascript:enregistrer_message_commun();"> " onClick='javascript:gerer_messagerie();'/>
- -
-
- -
- -
- - diff --git a/radiantproduction/Vue/Modifautresparametresgeneraux/index.php b/radiantproduction/Vue/Modifautresparametresgeneraux/index.php deleted file mode 100644 index 630b442..0000000 --- a/radiantproduction/Vue/Modifautresparametresgeneraux/index.php +++ /dev/null @@ -1,27 +0,0 @@ -titre = "INTER-SANTE - Paramètres Généraux"; ?> - - - - - - - - - - - - - - - - - - - - - - - -
Code
diff --git a/radiantproduction/Vue/Modifautresparametresprod/index.php b/radiantproduction/Vue/Modifautresparametresprod/index.php deleted file mode 100644 index 1857797..0000000 --- a/radiantproduction/Vue/Modifautresparametresprod/index.php +++ /dev/null @@ -1,132 +0,0 @@ -titre = "INTER-SANTE - Modifier Paramètres Généraux de la Production"; ?> - - - - - -" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Description
- Nouvelle Prime = ( (Ancienne Prime * SP) / spMax ). Ce qui veut dire que la S/P ne devrait pas dépasser ce plafond spMax") ?> - nettoyer($societeuser['spMax']) . " % "?>
- - nettoyer($societeuser['fraisCarteAN'])) . " " . $_SESSION['devise_C']?>
- - nettoyer($societeuser['fraisCarteREN'])) . " " . $_SESSION['devise_C']?>
- - nettoyer($societeuser['fraisCarteImp'])) . " " . $_SESSION['devise_C']?>
- - nettoyer($societeuser['spAlertAdherent']) . " % "?>
- - nettoyer($societeuser['tauxRistourne']) . " % "?>
- - nettoyer($societeuser['seuilRistourne']) . " % " ?>
" onClick="javascript:enregistrer_modif_parametres_prod();" style='font-size:10pt;' > " onClick="javascript:afficher_autres_parametresgeneraux();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifautresparametressin/index.php b/radiantproduction/Vue/Modifautresparametressin/index.php deleted file mode 100644 index b348433..0000000 --- a/radiantproduction/Vue/Modifautresparametressin/index.php +++ /dev/null @@ -1,292 +0,0 @@ -titre = "INTER-SANTE - Modifier Paramètres Généraux de la Gestion Sinistres"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Description
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - nettoyer($societeuser['nbMedicamentMax'])) ?>
- - - - - - - - - -
" onClick="javascript:enregistrer_modif_parametres_sin();" style='font-size:10pt;' > " onClick="javascript:afficher_autres_parametresgeneraux();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifieracte/index.php b/radiantproduction/Vue/Modifieracte/index.php deleted file mode 100644 index f909397..0000000 --- a/radiantproduction/Vue/Modifieracte/index.php +++ /dev/null @@ -1,104 +0,0 @@ -nettoyer($acte['id']); - $codeActe = $acte['codeActe']; - $codeFamilleActe = $acte['codeFamilleActe']; - $ententePrealable = $acte['ententePrealable']; - $exclu = $acte['exclu']; - $chirurgie = $acte['chirurgie']; - $actif = $acte['actif']; - $codeGarantie = $acte['codeGarantie']; - $codeTarifActe = $acte['codeTarifActe']; - $codeTypePrestation = $acte['codeTypePrestation']; - $alerte = $acte['alerte']; - $delaiCarenceActe = $acte['delaiCarenceActe']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Français English
- - - -
- - - -
- - - - - - - -
" onClick="javascript:enregistrer_modif_un_acte();" style='font-size:10pt;' > " onClick="javascript:retour_liste_actes();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Modifieradherent/index.php b/radiantproduction/Vue/Modifieradherent/index.php deleted file mode 100644 index d3c03e8..0000000 --- a/radiantproduction/Vue/Modifieradherent/index.php +++ /dev/null @@ -1,157 +0,0 @@ -titre = "INTER-SANTE - Modification Adhérent"; ?> - -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
Sex - - Naissance
- - - -
- -
-
- -
-
-
- -
-
- -
E-mail - -
" />
-
- - - -
- - -
-

-
- diff --git a/radiantproduction/Vue/Modifierapporteur/index.php b/radiantproduction/Vue/Modifierapporteur/index.php deleted file mode 100644 index 1caf48d..0000000 --- a/radiantproduction/Vue/Modifierapporteur/index.php +++ /dev/null @@ -1,53 +0,0 @@ -nettoyer($apporteur['id']); - $codeApporteur = $apporteur['codeApporteur']; - // $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $adminSin = $_SESSION['adminSin']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" readonly >
E-mail
" onClick="javascript:enregistrer_modif_un_apporteur();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_apporteurs();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifierbeneficiaire/index.php b/radiantproduction/Vue/Modifierbeneficiaire/index.php deleted file mode 100644 index 7f188aa..0000000 --- a/radiantproduction/Vue/Modifierbeneficiaire/index.php +++ /dev/null @@ -1,90 +0,0 @@ -titre = "INTER-SANTE - Modification Bénéficiaire"; ?> - -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
Sex - - - -
- -
" />
-
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Modifierclient/index.php b/radiantproduction/Vue/Modifierclient/index.php deleted file mode 100644 index 8d2f9da..0000000 --- a/radiantproduction/Vue/Modifierclient/index.php +++ /dev/null @@ -1,143 +0,0 @@ -titre = "INTER-SANTE - Modification Client"; - $codeLangueClient = $this->nettoyer($client['codeLangueClient']); -?> - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- -
-
- -
-
-
- -
-
- - Fax
E-mail - - - -
- - - -
" />
-
- - - -
-
- - - - - - -
-
- -
diff --git a/radiantproduction/Vue/Modifiercollege/index.php b/radiantproduction/Vue/Modifiercollege/index.php deleted file mode 100644 index 02d7b72..0000000 --- a/radiantproduction/Vue/Modifiercollege/index.php +++ /dev/null @@ -1,5 +0,0 @@ -nettoyer($collegeTemp['imposerPlafond']); - - include $_SESSION['dossierSociete'].'/Tarifs/Vue/Modifiercollege.php'; -?> diff --git a/radiantproduction/Vue/Modifiercolleged/index.php b/radiantproduction/Vue/Modifiercolleged/index.php deleted file mode 100644 index 57be28f..0000000 --- a/radiantproduction/Vue/Modifiercolleged/index.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/radiantproduction/Vue/Modifiercollegetemp/index.php b/radiantproduction/Vue/Modifiercollegetemp/index.php deleted file mode 100644 index ca2ed3d..0000000 --- a/radiantproduction/Vue/Modifiercollegetemp/index.php +++ /dev/null @@ -1,219 +0,0 @@ -titre = "INTER-SANTE - Limites additionnelles collège"; - $_SESSION['garantieArchive_C'] = $collegeTemp['garantieArchive']; - - $controlPlafondAdherent = $_SESSION['controlPlafondAdherent']; - $controlPlafondBeneficiaire = $_SESSION['controlPlafondBeneficiaire']; - $idCollegeTemp = $this->nettoyer($collegeTemp['idCollegeTemp']); - - $nbAdherent = $this->nettoyer($collegeTemp['nbAdherent']); - $nbAyantdroit = $this->nettoyer($collegeTemp['nbAyantdroit']); - $nbAssure = $this->nettoyer($collegeTemp['nbAssure']); - -?> - -
- - - - - " /> - - - - - - - - - - - - - - - -
" . $nbAyantdroit . " > " . $nbAssure ?>" readonly >
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
- - - - - - - - - - - - - - nettoyer($garantieadd['id']); - $garantie = $this->nettoyer($garantieadd['garantie']); - if (est_anglophone()) - { - $garantie = $this->nettoyer($garantieadd['garantieEng']); - } - ?> - - - - - - - - - - - - - - - - -
nettoyer($garantieadd['plafondOld'])) ?>nettoyer($garantieadd['plafondNew'])) ?>nettoyer($garantieadd['primeOption'])) ?> - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['accessoire']))?> nettoyer($collegeTemp['accessoireBeneficiaire']))?> nettoyer($collegeTemp['accessoireAdherent_total']))?> nettoyer($collegeTemp['accessoireBeneficiaire_total']))?> nettoyer($collegeTemp['accessoire_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
-
- - -
-

-
- -
diff --git a/radiantproduction/Vue/Modifiercommercial/index.php b/radiantproduction/Vue/Modifiercommercial/index.php deleted file mode 100644 index dfa08c3..0000000 --- a/radiantproduction/Vue/Modifiercommercial/index.php +++ /dev/null @@ -1,58 +0,0 @@ -nettoyer($apporteur['id']); - $codeApporteur = $apporteur['codeApporteur']; - $codeTypeApporteur = $apporteur['codeTypeApporteur']; - $adminSin = $_SESSION['adminSin']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
E-mail
" onClick="javascript:enregistrer_modif_un_commercial();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_commerciaux();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifierdevis/index.php b/radiantproduction/Vue/Modifierdevis/index.php deleted file mode 100644 index f3648f8..0000000 --- a/radiantproduction/Vue/Modifierdevis/index.php +++ /dev/null @@ -1,120 +0,0 @@ -titre = "INTER-SANTE - Modification Devis"; ?> - -
- -
- -
- - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
- -
- -
" />
-
- - - - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Modifierdossierclassique/index.php b/radiantproduction/Vue/Modifierdossierclassique/index.php deleted file mode 100644 index 7792800..0000000 --- a/radiantproduction/Vue/Modifierdossierclassique/index.php +++ /dev/null @@ -1,162 +0,0 @@ -titre = "INTER-SANTE - Modification Dossier Remboursement Classique"; - $numeroLotDecompte = $dossier['numeroLotDecompte']; - $idDossierClassique = $dossier['idDossierClassique']; - $regle = $dossier['regle']; -?> - - - - - " . _("No Lot") . " : " . $numeroLotDecompte ?>" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hospit ?
Observations
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - Hospit ? - -
- - Observations
- - - -
" onClick="enregistrermodificationsdossierclassique();" style='font-size:10pt;' >
- - - -
-

-
- - -
-
diff --git a/radiantproduction/Vue/Modifierfamilleacte/index.php b/radiantproduction/Vue/Modifierfamilleacte/index.php deleted file mode 100644 index c2adaf9..0000000 --- a/radiantproduction/Vue/Modifierfamilleacte/index.php +++ /dev/null @@ -1,60 +0,0 @@ -titre = "INTER-SANTE - Modification tarif médicaments"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
" onClick="javascript:enregistrer_modif_famille_actes();" style='font-size:10pt;' > " onClick="javascript:lister_famille_actes();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifierfraisfuneraire/index.php b/radiantproduction/Vue/Modifierfraisfuneraire/index.php deleted file mode 100644 index 2227ead..0000000 --- a/radiantproduction/Vue/Modifierfraisfuneraire/index.php +++ /dev/null @@ -1,168 +0,0 @@ -titre = "INTER-SANTE - Modification Demande Frais Funéraires"; - $idFraisfuneraire = $fraisfuneraire['idFraisfuneraire']; - $numeroLotDecompte = $fraisfuneraire['numeroLotDecompte']; -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observations
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
Observations
- - - -
" onClick="enregistrermodificationsfraisfuneraire();" style='font-size:10pt;' >
- - -
-

-
- -
- - -
-
diff --git a/radiantproduction/Vue/Modifiergcassureur/index.php b/radiantproduction/Vue/Modifiergcassureur/index.php deleted file mode 100644 index 5f8d094..0000000 --- a/radiantproduction/Vue/Modifiergcassureur/index.php +++ /dev/null @@ -1,66 +0,0 @@ -titre = "INTER-SANTE - Modification Assureur Gestion Confiée"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code E-mail
- -
" onClick="javascript:enregistrer_modif_gc_assureur();" style='font-size:10pt;' > " onClick="javascript:retour_gc_assureur();" style='font-size:9pt;' >
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Modifiergcpolice/index.php b/radiantproduction/Vue/Modifiergcpolice/index.php deleted file mode 100644 index 65895f0..0000000 --- a/radiantproduction/Vue/Modifiergcpolice/index.php +++ /dev/null @@ -1,57 +0,0 @@ -titre = "INTER-SANTE - Modification Police Gestion Confiée"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_modif_gc_police();" style='font-size:10pt;' > " onClick="javascript:retour_fiche_gc_police();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Modifiermedecin/index.php b/radiantproduction/Vue/Modifiermedecin/index.php deleted file mode 100644 index 498c70e..0000000 --- a/radiantproduction/Vue/Modifiermedecin/index.php +++ /dev/null @@ -1,62 +0,0 @@ -titre = "INTER-SANTE - Modification Médecin"; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - E-mail
- - Sex - -
" onClick="javascript:enregistrer_modif_medecin();" style='font-size:10pt;' > " onClick="javascript:retour_medecin_id();" style='font-size:9pt;' >
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Modifiermedicament/index.php b/radiantproduction/Vue/Modifiermedicament/index.php deleted file mode 100644 index 3ad1620..0000000 --- a/radiantproduction/Vue/Modifiermedicament/index.php +++ /dev/null @@ -1,58 +0,0 @@ -nettoyer($medicament['id']); - $codeMedicament = $medicament['codeMedicament']; - $ententePrealable = $medicament['ententePrealable']; - $exclu = $medicament['exclu']; - $actif = $medicament['actif']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
" onClick="javascript:enregistrer_modif_un_medicament();" style='font-size:10pt;' > " onClick="javascript:retour_liste_medicaments();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Modifierparametresgeneraux/index.php b/radiantproduction/Vue/Modifierparametresgeneraux/index.php deleted file mode 100644 index b93baee..0000000 --- a/radiantproduction/Vue/Modifierparametresgeneraux/index.php +++ /dev/null @@ -1,141 +0,0 @@ -titre = "INTER-SANTE - Paramètres Généraux"; - $codeLangueSociete = $this->nettoyer($societeuser['codeLangueSociete']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
Fax E-mail
- -
" onClick="javascript:enregistrer_modif_parametresgeneraux();" style='font-size:9pt;' > " onClick="javascript:afficher_parametresgeneraux();" style='font-size:9pt;' >
diff --git a/radiantproduction/Vue/Modifierpolice/index.php b/radiantproduction/Vue/Modifierpolice/index.php deleted file mode 100644 index 366f47d..0000000 --- a/radiantproduction/Vue/Modifierpolice/index.php +++ /dev/null @@ -1,178 +0,0 @@ -titre = "INTER-SANTE - Modification Police"; - - if (est_anglophone()) - { - $typeContrat = $police['typeContratEng']; - $typeAvenant = $police['typeAvenantEng']; - $etatPolice = $police['etatPoliceEng']; - } - else - { - $typeContrat = $police['typeContrat']; - $typeAvenant = $police['typeAvenant']; - $etatPolice = $police['etatPolice']; - } -?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
-
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
" />
-
- - - - -
diff --git a/radiantproduction/Vue/Modifierprestataire/index.php b/radiantproduction/Vue/Modifierprestataire/index.php deleted file mode 100644 index 71de332..0000000 --- a/radiantproduction/Vue/Modifierprestataire/index.php +++ /dev/null @@ -1,181 +0,0 @@ -titre = "INTER-SANTE - Modification Prestataire"; - $codeLanguePrestataire = $this->nettoyer($prestataire['codeLanguePrestataire']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- - - - - -
- - -
- -
-
-
- -
-
- -
- - - - E-mail
- -
Iban
- -
" onClick="javascript:enregistrer_modif_prestataire();" style='font-size:10pt;' > " onClick="javascript:retour_prestataire_id();" style='font-size:9pt;' >
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Modifierprimebeneficiaire/index.php b/radiantproduction/Vue/Modifierprimebeneficiaire/index.php deleted file mode 100644 index 55714a4..0000000 --- a/radiantproduction/Vue/Modifierprimebeneficiaire/index.php +++ /dev/null @@ -1,127 +0,0 @@ -titre = "INTER-SANTE - Modification prime Bénéficiaire"; - - $primeHt_info = $this->nettoyer($beneficiaire['primeHt']); - $accessoire_info = $this->nettoyer($beneficiaire['accessoire']); - $commission_info = $this->nettoyer($beneficiaire['commission']); - $commissionAutre_info = $this->nettoyer($beneficiaire['commissionAutre']); - $taxe_info = $this->nettoyer($beneficiaire['taxe']); - $primeTtc_info = $this->nettoyer($beneficiaire['primeTtc']); - $primeNetteStat_info = $this->nettoyer($beneficiaire['primeNetteStat']); -?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
" onClick="javascript:imposerprime();"> " onClick="javascript:recapitulerprimeimposee();">
-
- - - -
\ No newline at end of file diff --git a/radiantproduction/Vue/Modifierproduit/index.php b/radiantproduction/Vue/Modifierproduit/index.php deleted file mode 100644 index 5bd6729..0000000 --- a/radiantproduction/Vue/Modifierproduit/index.php +++ /dev/null @@ -1,68 +0,0 @@ -titre = "INTER-SANTE - Modification Produit"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
" onClick="javascript:enregistrer_modif_produit();" style='font-size:10pt;' > " onClick="javascript:retour_liste_produits();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Modifierprofil/index.php b/radiantproduction/Vue/Modifierprofil/index.php deleted file mode 100644 index 07ce70c..0000000 --- a/radiantproduction/Vue/Modifierprofil/index.php +++ /dev/null @@ -1,44 +0,0 @@ -titre = "INTER-SANTE - Modifier Profil"; ?> - - - - -
- - - -
- - - - - - - - - - - - - - - - - - -
Code
- - " />
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Modifierprospect/index.php b/radiantproduction/Vue/Modifierprospect/index.php deleted file mode 100644 index 1e5e340..0000000 --- a/radiantproduction/Vue/Modifierprospect/index.php +++ /dev/null @@ -1,142 +0,0 @@ -titre = "INTER-SANTE - Modification Prospect"; - $codeLangueClient = $this->nettoyer($client['codeLangueClient']); -?> - -
- -
- -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- -
-
- -
-
-
- -
-
- - Fax
E-mail - - - -
- -
" />
-
- - - -
-
- - - - - - -
-
- -
diff --git a/radiantproduction/Vue/Modifierreseausoins/index.php b/radiantproduction/Vue/Modifierreseausoins/index.php deleted file mode 100644 index a47bef9..0000000 --- a/radiantproduction/Vue/Modifierreseausoins/index.php +++ /dev/null @@ -1,47 +0,0 @@ -titre = "INTER-SANTE - Modification Réseau"; ?> - - - - - - - - - - - - - - - - - - - -
Code
- - - - - - - - - - - - - - - - - - - - - - - - - -
Code
" onClick="javascript:enregistrer_modif_reseaus();" style='font-size:10pt;' > " onClick="javascript:retour_liste_reseaus();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Modifiertarifacte/index.php b/radiantproduction/Vue/Modifiertarifacte/index.php deleted file mode 100644 index 08c7b92..0000000 --- a/radiantproduction/Vue/Modifiertarifacte/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Modification tarif médicaments"; -?> - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_modif_tarif_actes();" style='font-size:10pt;' > " onClick="javascript:lister_tarif_actes();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifiertarifmedicament/index.php b/radiantproduction/Vue/Modifiertarifmedicament/index.php deleted file mode 100644 index 7d89892..0000000 --- a/radiantproduction/Vue/Modifiertarifmedicament/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Modification tarif médicaments"; -?> - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_modif_tarif_medicaments();" style='font-size:10pt;' > " onClick="javascript:lister_tarif_medicaments();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifiertarifoptique/index.php b/radiantproduction/Vue/Modifiertarifoptique/index.php deleted file mode 100644 index b88f6e7..0000000 --- a/radiantproduction/Vue/Modifiertarifoptique/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Modification tarif médicaments"; -?> - - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:enregistrer_modif_tarif_optiques();" style='font-size:10pt;' > " onClick="javascript:lister_tarif_optiques();" style='font-size:10pt;' >
- diff --git a/radiantproduction/Vue/Modifierutilisateur/index.php b/radiantproduction/Vue/Modifierutilisateur/index.php deleted file mode 100644 index 64273e9..0000000 --- a/radiantproduction/Vue/Modifierutilisateur/index.php +++ /dev/null @@ -1,68 +0,0 @@ -titre = "INTER-SANTE - Modifier Utilisateur"; ?> - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
- - E-mail
- - " />
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Modifierverre/index.php b/radiantproduction/Vue/Modifierverre/index.php deleted file mode 100644 index 9be7cc1..0000000 --- a/radiantproduction/Vue/Modifierverre/index.php +++ /dev/null @@ -1,38 +0,0 @@ -nettoyer($verre['id']); - $codeOptique = $verre['codeOptique']; - $actif = $verre['actif']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Français
English
- - " onClick="javascript:enregistrer_modif_un_verre();" style='font-size:10pt;' > " onClick="javascript:retour_liste_verres();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Modifparamdureeviebon/index.php b/radiantproduction/Vue/Modifparamdureeviebon/index.php deleted file mode 100644 index 83e44d6..0000000 --- a/radiantproduction/Vue/Modifparamdureeviebon/index.php +++ /dev/null @@ -1,33 +0,0 @@ -titre = "INTER-SANTE - Modification Durée de vie des bons"; ?> - - - -
- - - - - - - - - - - nettoyer($typebon['id']); - $codeTypeBon = $this->nettoyer($typebon['codeTypeBon']); - ?> - - - - - - - -
nettoyer($typebon['libelleTypebon']) ?>nettoyer($typebon['dureeVie']) ?> - -
-
diff --git a/radiantproduction/Vue/Modifparamseuilalerte/index.php b/radiantproduction/Vue/Modifparamseuilalerte/index.php deleted file mode 100644 index 4aaad34..0000000 --- a/radiantproduction/Vue/Modifparamseuilalerte/index.php +++ /dev/null @@ -1,23 +0,0 @@ -titre = "INTER-SANTE - Seuil alerte consommation"; ?> - - - - - - - - - - - - -
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Nonfacturepolice/index.php b/radiantproduction/Vue/Nonfacturepolice/index.php deleted file mode 100644 index 8c09eab..0000000 --- a/radiantproduction/Vue/Nonfacturepolice/index.php +++ /dev/null @@ -1,58 +0,0 @@ - - nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($ente_nonfacture['nbLignesTotal'])) ?>nettoyer($ente_nonfacture['primeHtTotal'])) ?>nettoyer($ente_nonfacture['taxeTotal'])) ?>nettoyer($ente_nonfacture['fraisCarteTotal'])) ?>nettoyer($ente_nonfacture['primeTtcTotal'])) ?>
- -
Total nettoyer($ente_nonfacture['nbLignesTotal'])) ?>nettoyer($ente_nonfacture['primeHtTotal'])) ?>nettoyer($ente_nonfacture['taxeTotal'])) ?>nettoyer($ente_nonfacture['fraisCarteTotal'])) ?>nettoyer($ente_nonfacture['primeTtcTotal'])) ?>
nettoyer($nonfacture['dateEffet'])) ?> nettoyer($nonfacture['nbLignes'])) ?> nettoyer($nonfacture['primeHt'])) ?> nettoyer($nonfacture['taxe'])) ?> nettoyer($nonfacture['fraisCarte'])) ?> nettoyer($nonfacture['primeTtc'])) ?>
diff --git a/radiantproduction/Vue/Nonfacturepolicecons/index.php b/radiantproduction/Vue/Nonfacturepolicecons/index.php deleted file mode 100644 index 9ae2d81..0000000 --- a/radiantproduction/Vue/Nonfacturepolicecons/index.php +++ /dev/null @@ -1,59 +0,0 @@ - - nettoyer($_SESSION['numeroPolice_C']) ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($ente_nonfacture['nbLignesTotal'])) ?>nettoyer($ente_nonfacture['primeHtTotal'])) ?>nettoyer($ente_nonfacture['taxeTotal'])) ?>nettoyer($ente_nonfacture['fraisCarteTotal'])) ?>nettoyer($ente_nonfacture['primeTtcTotal'])) ?>
- -
Total nettoyer($ente_nonfacture['nbLignesTotal'])) ?>nettoyer($ente_nonfacture['primeHtTotal'])) ?>nettoyer($ente_nonfacture['taxeTotal'])) ?>nettoyer($ente_nonfacture['fraisCarteTotal'])) ?>nettoyer($ente_nonfacture['primeTtcTotal'])) ?>
nettoyer($nonfacture['dateEffet'])) ?> nettoyer($nonfacture['nbLignes'])) ?> nettoyer($nonfacture['primeHt'])) ?> nettoyer($nonfacture['taxe'])) ?> nettoyer($nonfacture['fraisCarte'])) ?> nettoyer($nonfacture['primeTtc'])) ?>
diff --git a/radiantproduction/Vue/Notesbeneficiaire/index.php b/radiantproduction/Vue/Notesbeneficiaire/index.php deleted file mode 100644 index c9cf9b6..0000000 --- a/radiantproduction/Vue/Notesbeneficiaire/index.php +++ /dev/null @@ -1,29 +0,0 @@ -titre = "INTER-SANTE - Notes du dossier"; -?> - - - - - - - -
- - - - - - - - - - - - - -
Date Notes
- -
diff --git a/radiantproduction/Vue/Notesfeuillemaladie/index.php b/radiantproduction/Vue/Notesfeuillemaladie/index.php deleted file mode 100644 index b362cf1..0000000 --- a/radiantproduction/Vue/Notesfeuillemaladie/index.php +++ /dev/null @@ -1,68 +0,0 @@ -titre = "INTER-SANTE - Notes du dossier"; - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; -?> - - - - - - - - - - - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - -
ID Date Notes
- -
diff --git a/radiantproduction/Vue/Nouveaumedicament/index.php b/radiantproduction/Vue/Nouveaumedicament/index.php deleted file mode 100644 index 63cc567..0000000 --- a/radiantproduction/Vue/Nouveaumedicament/index.php +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
" onClick="javascript:enregistrer_nouvel_medicament();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_medicaments();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveauproduit/index.php b/radiantproduction/Vue/Nouveauproduit/index.php deleted file mode 100644 index d707609..0000000 --- a/radiantproduction/Vue/Nouveauproduit/index.php +++ /dev/null @@ -1,37 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau Produit"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
" onClick="javascript:creer_produit();" style='font-size:10pt;' > " onClick="javascript:retour_liste_produits();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveaureseausoins/index.php b/radiantproduction/Vue/Nouveaureseausoins/index.php deleted file mode 100644 index 66a5af9..0000000 --- a/radiantproduction/Vue/Nouveaureseausoins/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau Réseau de soins"; ?> - - - - - - - - - - - - - - - - - - - - - - - - -
Code
" onClick="javascript:creer_reseau();" style='font-size:10pt;' > " onClick="javascript:retour_liste_reseaus();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveautarifacte/index.php b/radiantproduction/Vue/Nouveautarifacte/index.php deleted file mode 100644 index b61018f..0000000 --- a/radiantproduction/Vue/Nouveautarifacte/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau tarif médicaments"; -?> - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_tarif_actes();" style='font-size:10pt;' > " onClick="javascript:retour_tarifs_actes();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveautarifmedicament/index.php b/radiantproduction/Vue/Nouveautarifmedicament/index.php deleted file mode 100644 index 4a3476d..0000000 --- a/radiantproduction/Vue/Nouveautarifmedicament/index.php +++ /dev/null @@ -1,24 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau tarif médicaments"; ?> - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_tarif_medicaments();" style='font-size:10pt;' > " onClick="javascript:retour_tarifs_medicaments();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveautarifoptique/index.php b/radiantproduction/Vue/Nouveautarifoptique/index.php deleted file mode 100644 index 508ac9d..0000000 --- a/radiantproduction/Vue/Nouveautarifoptique/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau tarif médicaments"; -?> - - - - - - - - - - - - - - - - - - - - - - -
" onClick="javascript:creer_tarif_optiques();" style='font-size:10pt;' > " onClick="javascript:retour_tarifs_optiques();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveauverre/index.php b/radiantproduction/Vue/Nouveauverre/index.php deleted file mode 100644 index b442d6e..0000000 --- a/radiantproduction/Vue/Nouveauverre/index.php +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Français
English
- - " onClick="javascript:enregistrer_nouveau_verre();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_verres();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouveleacte/index.php b/radiantproduction/Vue/Nouveleacte/index.php deleted file mode 100644 index 9fd961e..0000000 --- a/radiantproduction/Vue/Nouveleacte/index.php +++ /dev/null @@ -1,101 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau tarif médicaments"; - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $codeFamilleActe = $_SESSION['codeFamilleActe_C']; - $adminSin = $_SESSION['adminSin']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Français English
- - -
- -
-
- - - -
- - - - - - - -
" onClick="javascript:enregistrer_nouvel_acte();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:retour_liste_actes();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Nouvellefamilleacte/index.php b/radiantproduction/Vue/Nouvellefamilleacte/index.php deleted file mode 100644 index 2571542..0000000 --- a/radiantproduction/Vue/Nouvellefamilleacte/index.php +++ /dev/null @@ -1,64 +0,0 @@ -titre = "INTER-SANTE - Créer un nouveau tarif médicaments"; - $codeTarifActe = $_SESSION['codeTarifActe_C']; - $adminSin = $_SESSION['adminSin']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
" onClick="javascript:creer_famille_actes();" style='font-size:10pt;' > " disabled style='font-size:10pt;' > " onClick="javascript:lister_famille_actes();" style='font-size:10pt;' >
diff --git a/radiantproduction/Vue/Opticiencons/index.php b/radiantproduction/Vue/Opticiencons/index.php deleted file mode 100644 index 2ceeccf..0000000 --- a/radiantproduction/Vue/Opticiencons/index.php +++ /dev/null @@ -1,97 +0,0 @@ -titre = "INTER-SANTE - Livraison verres et montures"; - $numeroBonOptique = $_SESSION['numeroBonOptique_C']; - $prestataireLivraison = $this->nettoyer($prescription['prestataireLivraison']); -?> - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

-
- - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detaillivre['typeSysteme']); - ?> - - - - - - - - - - - - - - - - - - -
Total nettoyer($prescription['fraisReel'])) ?>nettoyer($prescription['montantTm'])) ?>nettoyer($prescription['montantArembourser'])) ?>
nettoyer($detaillivre['libelleOptique']) ?> nettoyer($detaillivre['valeurActe'])) ?> nettoyer($detaillivre['monture'])) ?> nettoyer($detaillivre['fraisReel'])) ?> nettoyer($detaillivre['montantTm'])) ?> nettoyer($detaillivre['montantArembourser'])) ?>
- -
- - - - - - - - - - -
-
- diff --git a/radiantproduction/Vue/Opticiendec/index.php b/radiantproduction/Vue/Opticiendec/index.php deleted file mode 100644 index 74afd68..0000000 --- a/radiantproduction/Vue/Opticiendec/index.php +++ /dev/null @@ -1,98 +0,0 @@ -titre = "INTER-SANTE - Livraison verres et montures"; - $numeroBonOptique = $_SESSION['numeroBonOptique_C']; - $prestataireLivraison = $this->nettoyer($prescription['prestataireLivraison']); -?> - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

-
- - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detaillivre['typeSysteme']); - ?> - - - - - - - - - - - - - - - - - - -
Total nettoyer($prescription['fraisReel'])) ?>nettoyer($prescription['montantTm'])) ?>nettoyer($prescription['montantArembourser'])) ?>
nettoyer($detaillivre['libelleOptique']) ?> nettoyer($detaillivre['valeurActe'])) ?> nettoyer($detaillivre['monture'])) ?> nettoyer($detaillivre['fraisReel'])) ?> nettoyer($detaillivre['montantTm'])) ?> nettoyer($detaillivre['montantArembourser'])) ?>
- -
- - - - - - - - - - -
-
- diff --git a/radiantproduction/Vue/Optiquecons/index.php b/radiantproduction/Vue/Optiquecons/index.php deleted file mode 100644 index 449565c..0000000 --- a/radiantproduction/Vue/Optiquecons/index.php +++ /dev/null @@ -1,62 +0,0 @@ -titre = "INTER-SANTE - Prescription Optique"; - $numeroBonOptique = $optique['numeroBonOptique']; - $numeroOptique = $optique['numeroOptique']; -?> - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - nettoyer($detailoptique['livre']); - $codePrestataireLivraison=$this->nettoyer($detailoptique['codePrestataireLivraison']); - $prestataireLivraison=$this->nettoyer($detailoptique['prestataireLivraison']); - ?> - - - - - - - - - - - - - -
nettoyer($detailoptique['libelleOptique']) ?> nettoyer($detailoptique['quantite']) ?>
-
- diff --git a/radiantproduction/Vue/Optiquedec/index.php b/radiantproduction/Vue/Optiquedec/index.php deleted file mode 100644 index c90c641..0000000 --- a/radiantproduction/Vue/Optiquedec/index.php +++ /dev/null @@ -1,62 +0,0 @@ -titre = "INTER-SANTE - Prescription Optique"; - $numeroBonOptique = $optique['numeroBonOptique']; - $numeroOptique = $optique['numeroOptique']; -?> - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - nettoyer($detailoptique['livre']); - $codePrestataireLivraison=$this->nettoyer($detailoptique['codePrestataireLivraison']); - $prestataireLivraison=$this->nettoyer($detailoptique['prestataireLivraison']); - ?> - - - - - - - - - - - - - -
nettoyer($detailoptique['libelleOptique']) ?> nettoyer($detailoptique['quantite']) ?>
-
- diff --git a/radiantproduction/Vue/Paiementdecompte/index.php b/radiantproduction/Vue/Paiementdecompte/index.php deleted file mode 100644 index a3613f5..0000000 --- a/radiantproduction/Vue/Paiementdecompte/index.php +++ /dev/null @@ -1,177 +0,0 @@ -titre = "INTER-SANTE - paiement décomptes"; - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $numeroReglement = $this->nettoyer($reglement['numeroReglement']); - $_SESSION['numeroReglement_C'] = $numeroReglement; - $nbDecomptes = $reglement['nbDecomptes']; - $valide = $this->nettoyer($reglement['valide']); -?> - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date Init
- -
-
- -
-
- - " readonly > - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - nettoyer($decompte['idTemp']); - $idReglement = $this->nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - ?> - - - - - - - - - - - - - - - - - - - -
Type
- -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['typedecompte']) ?>
- -
-
- - diff --git a/radiantproduction/Vue/Paiementdecomptecons/index.php b/radiantproduction/Vue/Paiementdecomptecons/index.php deleted file mode 100644 index f067d56..0000000 --- a/radiantproduction/Vue/Paiementdecomptecons/index.php +++ /dev/null @@ -1,164 +0,0 @@ -titre = "INTER-SANTE - Consultation paiement décomptes"; - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $numeroReglement = $this->nettoyer($reglement['numeroReglement']); - $_SESSION['numeroReglement_C'] = $numeroReglement; - $nbDecomptes = $reglement['nbDecomptes']; - $valide = $this->nettoyer($reglement['valide']); -?> - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Init Init
-
-
- -
- - - - - - - - - - - - - - - nettoyer($decompte['idReglement']); - $idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']); - $numeroDecompte = $this->nettoyer($decompte['numeroDecompte']); - $numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']); - $codePrestataire = $this->nettoyer($decompte['codePrestataire']); - $codeExercice = $this->nettoyer($decompte['codeExercice']); - $codeMois = $this->nettoyer($decompte['codeMois']); - - $codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']); - - if($codeTypeDecompte=="E" or $codeTypeDecompte=="L") - { - $codeTypeDecompte="P"; - } - ?> - - - - - - - - - - - - - - -
nettoyer($decompte['codeExercice']) ?>nettoyer($decompte['codeMois']) ?> - - - - - - - - nettoyer($decompte['prestataire']) ?>nettoyer($decompte['montantApayer'])) ?>nettoyer($decompte['dateDemandeReglement'])) ?>nettoyer($decompte['numeroLotDecompte']) ?>
-
- - diff --git a/radiantproduction/Vue/Paramactevisible/index.php b/radiantproduction/Vue/Paramactevisible/index.php deleted file mode 100644 index e3fb621..0000000 --- a/radiantproduction/Vue/Paramactevisible/index.php +++ /dev/null @@ -1,24 +0,0 @@ -titre = "INTER-SANTE - Seuil alerte consommation"; ?> - - - - - - - - - - - - -
- -
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Parambons/index.php b/radiantproduction/Vue/Parambons/index.php deleted file mode 100644 index 124bb22..0000000 --- a/radiantproduction/Vue/Parambons/index.php +++ /dev/null @@ -1,39 +0,0 @@ -titre = "INTER-SANTE - Durée de vie des bons"; ?> - - - - - - - - - - - - - - - - nettoyer($typebon['id']); - $codeTypeBon = $this->nettoyer($typebon['codeTypeBon']); - ?> - - - - - - - - - -
nettoyer($typebon['libelleTypebon']) ?>nettoyer($typebon['dureeVie']) ?> nettoyer($typebon['libelleTypeGestionBon']) ?> - " - onClick="javascript:modifier_type_bon()"> -
- -
- -
diff --git a/radiantproduction/Vue/Paramdureeviebon/index.php b/radiantproduction/Vue/Paramdureeviebon/index.php deleted file mode 100644 index 1e44cd6..0000000 --- a/radiantproduction/Vue/Paramdureeviebon/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Durée de vie des bons"; ?> - - - -
- - - - - - - - - - nettoyer($typebon['id']); - $codeTypeBon = $this->nettoyer($typebon['codeTypeBon']); - ?> - - - - - - -
nettoyer($typebon['libelleTypebon']) ?>nettoyer($typebon['dureeVie']) ?>
-
diff --git a/radiantproduction/Vue/Paramerequeteperso/index.php b/radiantproduction/Vue/Paramerequeteperso/index.php deleted file mode 100644 index 9c7ad36..0000000 --- a/radiantproduction/Vue/Paramerequeteperso/index.php +++ /dev/null @@ -1,11 +0,0 @@ -titre = "INTER-SANTE - Requetes personnalisées"; ?> - - - -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Parametrages/index.php b/radiantproduction/Vue/Parametrages/index.php deleted file mode 100644 index 60a9a68..0000000 --- a/radiantproduction/Vue/Parametrages/index.php +++ /dev/null @@ -1,2 +0,0 @@ -titre = "INTER-SANTE - Paramétrages"; ?> -

diff --git a/radiantproduction/Vue/Parametresgeneraux/index.php b/radiantproduction/Vue/Parametresgeneraux/index.php deleted file mode 100644 index c60aad7..0000000 --- a/radiantproduction/Vue/Parametresgeneraux/index.php +++ /dev/null @@ -1,131 +0,0 @@ -titre = "INTER-SANTE - Paramètres Généraux"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
Fax E-mail
diff --git a/radiantproduction/Vue/Paramhabilitation/index.php b/radiantproduction/Vue/Paramhabilitation/index.php deleted file mode 100644 index 131c9f5..0000000 --- a/radiantproduction/Vue/Paramhabilitation/index.php +++ /dev/null @@ -1,9 +0,0 @@ -titre = "INTER-SANTE - Habilitations"; ?> - - - -
-
    -

  • -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Paramhabilitationass/index.php b/radiantproduction/Vue/Paramhabilitationass/index.php deleted file mode 100644 index f524b9d..0000000 --- a/radiantproduction/Vue/Paramhabilitationass/index.php +++ /dev/null @@ -1,23 +0,0 @@ -titre = "INTER-SANTE - droits assureurs"; ?> - - - - - - - - - - - - -
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Paramprod/index.php b/radiantproduction/Vue/Paramprod/index.php deleted file mode 100644 index 1eb6120..0000000 --- a/radiantproduction/Vue/Paramprod/index.php +++ /dev/null @@ -1,17 +0,0 @@ -titre = "INTER-SANTE - Paramètres Production"; ?> - - - -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Paramreinitmotpass/index.php b/radiantproduction/Vue/Paramreinitmotpass/index.php deleted file mode 100644 index f75c4a5..0000000 --- a/radiantproduction/Vue/Paramreinitmotpass/index.php +++ /dev/null @@ -1,43 +0,0 @@ -titre = "INTER-SANTE - "._("Paramètres changement de mot de passe") ?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
:
:
:
" />
- -
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Paramseuilalerte/index.php b/radiantproduction/Vue/Paramseuilalerte/index.php deleted file mode 100644 index 3ff7546..0000000 --- a/radiantproduction/Vue/Paramseuilalerte/index.php +++ /dev/null @@ -1,23 +0,0 @@ -titre = "INTER-SANTE - Seuil alerte consommation"; ?> - - - - - - - - - - - - -
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Paramsin/index.php b/radiantproduction/Vue/Paramsin/index.php deleted file mode 100644 index 8248157..0000000 --- a/radiantproduction/Vue/Paramsin/index.php +++ /dev/null @@ -1,16 +0,0 @@ -titre = "INTER-SANTE - Paramètres Prestations"; ?> - - - -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Paramsourcedonneesrequetesperso/index.php b/radiantproduction/Vue/Paramsourcedonneesrequetesperso/index.php deleted file mode 100644 index d529323..0000000 --- a/radiantproduction/Vue/Paramsourcedonneesrequetesperso/index.php +++ /dev/null @@ -1,58 +0,0 @@ -titre = "INTER-SANTE - Paramètres de la source données"; - $idsourcerequete = $this->nettoyer($sourcedonneesrequetesperso['id']); - $sourceDonnees = $this->nettoyer($sourcedonneesrequetesperso['sourceDonnees']); -?> - - - - - - " . $sourceDonnees ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type User
nettoyer($paramrequete['parametre']) ?> nettoyer($paramrequete['typeDonnee']) ?> nettoyer($paramrequete['ordre']) ?> nettoyer($paramrequete['codeUtilisateur']) ?> nettoyer($paramrequete['dateSysteme'])) ?> - -
- -" disabled > - -" onClick="javascript:reconstruire_param_requeteperso();" style='font-size:11pt;' > diff --git a/radiantproduction/Vue/Payerdossierclassique/index.php b/radiantproduction/Vue/Payerdossierclassique/index.php deleted file mode 100644 index a72a7e1..0000000 --- a/radiantproduction/Vue/Payerdossierclassique/index.php +++ /dev/null @@ -1,136 +0,0 @@ -titre = "INTER-SANTE - Paiement Dossier Classique"; - $idDossierClassique = $dossier['idDossierClassique']; - $numeroLotDecompte = $dossier['numeroLotDecompte']; - $montantApayer = $dossier['montantApayer']; - $regle = $dossier['regle']; -?> - - - - - - " . _("No Lot") . " : " . $numeroLotDecompte ?>" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hospit ?
Observations
- - - -
" onClick="enregistrer_paiement_dossier_classique();" style='font-size:10pt;' >
- - -
-

-
- - - -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Payerfactureclassique/index.php b/radiantproduction/Vue/Payerfactureclassique/index.php deleted file mode 100644 index b281758..0000000 --- a/radiantproduction/Vue/Payerfactureclassique/index.php +++ /dev/null @@ -1,96 +0,0 @@ -titre = "INTER-SANTE - Paiement facture Classique"; - - $idFacture = $_SESSION['idFacture_C']; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observat - - Hospit
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
" onClick="enregistrer_paiement_facture_classique();" style='font-size:10pt;' >
- - -
-

-
- diff --git a/radiantproduction/Vue/Payerfraisfuneraire/index.php b/radiantproduction/Vue/Payerfraisfuneraire/index.php deleted file mode 100644 index 57032c3..0000000 --- a/radiantproduction/Vue/Payerfraisfuneraire/index.php +++ /dev/null @@ -1,129 +0,0 @@ -titre = "INTER-SANTE - Paiement Frais Funéraires"; - $idFraisfuneraire = $fraisfuneraire['idFraisfuneraire']; - $numeroLotDecompte = $fraisfuneraire['numeroLotDecompte']; - $montantApayer = $fraisfuneraire['montantApayer']; -?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observations
Relation
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
" onClick="enregistrerpaiementfraisfuneraire();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Pharmaciencons/index.php b/radiantproduction/Vue/Pharmaciencons/index.php deleted file mode 100644 index e8bacd9..0000000 --- a/radiantproduction/Vue/Pharmaciencons/index.php +++ /dev/null @@ -1,173 +0,0 @@ -titre = "INTER-SANTE - Livraison Médicaments"; - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $prestataireLivraison = $this->nettoyer($prescription['prestataireLivraison']); - $_SESSION['idFacture_C'] = $this->nettoyer($prescription['idFacture']); - $actVisible = $_SESSION['actVisible']; -?> - - - - - - - - - - - - - - - - - - - - - - - -
-
- -" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detaillivre['id']); - $substituable = $this->nettoyer($detaillivre['substituable']); - $substitue = $this->nettoyer($detaillivre['substitue']); - $ajPharmacie = $this->nettoyer($detaillivre['ajPharmacie']); - $typeSysteme = $this->nettoyer($detaillivre['typeSysteme']); - - $libelleMedicament = $this->nettoyer($detaillivre['libelleMedicament']); - $codeMedicament = $this->nettoyer($detaillivre['codeMedicament']); - $nomSubstitut = $this->nettoyer($detaillivre['nomSubstitut']); - $ententePrealable = $this->nettoyer($detaillivre['ententePrealable']); - - if($actVisible!="1") - { - $libelleMedicament = $codeMedicament; - $nomSubstitut = $nomSubstitut; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($prescription['fraisReel'])) ?>nettoyer($prescription['montantTm'])) ?>nettoyer($prescription['montantArembourser'])) ?>
nettoyer($detaillivre['unite']) ?> nettoyer($detaillivre['valeurActe'])) ?> nettoyer($detaillivre['quantite']) ?> nettoyer($detaillivre['fraisReel'])) ?> nettoyer($detaillivre['montantTm'])) ?> nettoyer($detaillivre['montantArembourser'])) ?>
- -
- - - - - - - - - - -
-
- -
-
- - - - - - - - - - - -
" />
-
- - " ")) : ?> - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
diff --git a/radiantproduction/Vue/Pharmaciendec/index.php b/radiantproduction/Vue/Pharmaciendec/index.php deleted file mode 100644 index 76649e0..0000000 --- a/radiantproduction/Vue/Pharmaciendec/index.php +++ /dev/null @@ -1,116 +0,0 @@ -titre = "INTER-SANTE - Livraison Médicaments"; - $numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C']; - $prestataireLivraison = $this->nettoyer($prescription['prestataireLivraison']); - $_SESSION['idFacture_C'] = $this->nettoyer($prescription['idFacture']); - -?> - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - nettoyer($detaillivre['id']); - $substituable = $this->nettoyer($detaillivre['substituable']); - $substitue = $this->nettoyer($detaillivre['substitue']); - $ajPharmacie = $this->nettoyer($detaillivre['ajPharmacie']); - $typeSysteme = $this->nettoyer($detaillivre['typeSysteme']); - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($prescription['fraisReel'])) ?>nettoyer($prescription['montantTm'])) ?>nettoyer($prescription['montantArembourser'])) ?>
nettoyer($detaillivre['nomSubstitut']) ?> nettoyer($detaillivre['libelleMedicament']) ?> nettoyer($detaillivre['unite']) ?> nettoyer($detaillivre['valeurActe'])) ?> nettoyer($detaillivre['quantite']) ?> nettoyer($detaillivre['fraisReel'])) ?> nettoyer($detaillivre['montantTm'])) ?> nettoyer($detaillivre['montantArembourser'])) ?>
- -
- - - - - - - - - - -
-
diff --git a/radiantproduction/Vue/Plafondadherent/index.php b/radiantproduction/Vue/Plafondadherent/index.php deleted file mode 100644 index 6b63910..0000000 --- a/radiantproduction/Vue/Plafondadherent/index.php +++ /dev/null @@ -1,63 +0,0 @@ -titre = "INTER-SANTE - Limites Famille"; -?> - - - - " . $_SESSION['nomAdherent_C'] . " ( " .$_SESSION['numeroAdherent_C']. " )" ?> - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
- -
-
-
- - -
- -
diff --git a/radiantproduction/Vue/Plafondavantfacturecdec/index.php b/radiantproduction/Vue/Plafondavantfacturecdec/index.php deleted file mode 100644 index 28ff5c1..0000000 --- a/radiantproduction/Vue/Plafondavantfacturecdec/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Limites avant facturation"; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
-
diff --git a/radiantproduction/Vue/Plafondavantfactureclassique/index.php b/radiantproduction/Vue/Plafondavantfactureclassique/index.php deleted file mode 100644 index 28ff5c1..0000000 --- a/radiantproduction/Vue/Plafondavantfactureclassique/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Limites avant facturation"; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
-
diff --git a/radiantproduction/Vue/Plafondavantfacturecons/index.php b/radiantproduction/Vue/Plafondavantfacturecons/index.php deleted file mode 100644 index 28ff5c1..0000000 --- a/radiantproduction/Vue/Plafondavantfacturecons/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Limites avant facturation"; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
-
diff --git a/radiantproduction/Vue/Plafondavantfacturephacons/index.php b/radiantproduction/Vue/Plafondavantfacturephacons/index.php deleted file mode 100644 index 28ff5c1..0000000 --- a/radiantproduction/Vue/Plafondavantfacturephacons/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Limites avant facturation"; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
-
diff --git a/radiantproduction/Vue/Plafondavantfacturephadec/index.php b/radiantproduction/Vue/Plafondavantfacturephadec/index.php deleted file mode 100644 index 28ff5c1..0000000 --- a/radiantproduction/Vue/Plafondavantfacturephadec/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Limites avant facturation"; ?> - - - -
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
-
diff --git a/radiantproduction/Vue/Plafondbeneficiaire/index.php b/radiantproduction/Vue/Plafondbeneficiaire/index.php deleted file mode 100644 index 0f81de2..0000000 --- a/radiantproduction/Vue/Plafondbeneficiaire/index.php +++ /dev/null @@ -1,63 +0,0 @@ -titre = "INTER-SANTE - Limites Famille"; -?> - - - - " . $_SESSION['beneficiaire_C'] . " ( " .$_SESSION['numeroBeneficiaire_C']. " )" ?> - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
- -
-
-
- - -
- -
diff --git a/radiantproduction/Vue/Policesnonren/index.php b/radiantproduction/Vue/Policesnonren/index.php deleted file mode 100644 index 551964a..0000000 --- a/radiantproduction/Vue/Policesnonren/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Polices non renouvellées"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($rapportsp['nomClient']) ?>nettoyer($rapportsp['numeroClient']) ?>nettoyer($rapportsp['numeroPolice']) ?>nettoyer($rapportsp['dateEffet'])) ?>nettoyer($rapportsp['dateEcheance'])) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Prescriptioncons/index.php b/radiantproduction/Vue/Prescriptioncons/index.php deleted file mode 100644 index bc025f3..0000000 --- a/radiantproduction/Vue/Prescriptioncons/index.php +++ /dev/null @@ -1,218 +0,0 @@ -titre = "INTER-SANTE - Prescription Médicaments"; - $numeroBonOrdonnance = $prescription['numeroBonOrdonnance']; - $actVisible = $_SESSION['actVisible']; -?> - - - - " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" readonly > - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - nettoyer($detailprescription['id']); - $livre = $this->nettoyer($detailprescription['livre']); - $codePrestataireLivraison = $this->nettoyer($detailprescription['codePrestataireLivraison']); - $prestataireLivraison = $this->nettoyer($detailprescription['prestataireLivraison']); - $substituable = $this->nettoyer($detailprescription['substituable']); - $substitue = $this->nettoyer($detailprescription['substitue']); - $ajPharmacie = $this->nettoyer($detailprescription['ajPharmacie']); - $nomSubstitut = $this->nettoyer($detailprescription['nomSubstitut']); - $libelleMedicament = $this->nettoyer($detailprescription['libelleMedicament']); - $codeMedicament = $this->nettoyer($detailprescription['codeMedicament']); - $ententePrealable = $this->nettoyer($detailprescription['ententePrealable']); - $medicamentRemplace = $this->nettoyer($detailprescription['medicamentRemplace']); - $idPrestationmedicaments = $this->nettoyer($detailprescription['idPrestationmedicaments']); - - if($actVisible!="1") - { - $libelleMedicament = $codeMedicament; - $nomSubstitut = $nomSubstitut; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($detailprescription['unite']) ?> nettoyer($detailprescription['quantite']) ?> nettoyer($detailprescription['numeroBonOrdonnance']) ?> nettoyer($detailprescription['numeroRemplacement']) ?>
- - - - - - - - - - - - - - - - nettoyer($medicament_libere['libelleMedicament']); - $codeMedicament = $this->nettoyer($medicament_libere['codeMedicament']); - $prestataireLivraison = $this->nettoyer($medicament_libere['prestataireLivraison']); - - if($actVisible!="1") - { - $libelleMedicament = $codeMedicament; - } - ?> - - - - - - - - - - -
nettoyer($medicament_libere['quantite']) ?> nettoyer($medicament_libere['userLiberation']) ?> nettoyer($medicament_libere['dateSave'])) ?>
-
- -
-
- - - - - - - - - - - -
" />
-
- - " ")) : ?> - - - - - - - - - - - - nettoyer($ged['idGed']); - $cheminFichier = $this->nettoyer($ged['cheminFichier']); - ?> - - - - - - - -
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> - -
-
- - - - diff --git a/radiantproduction/Vue/Prescriptiondec/index.php b/radiantproduction/Vue/Prescriptiondec/index.php deleted file mode 100644 index 955f75c..0000000 --- a/radiantproduction/Vue/Prescriptiondec/index.php +++ /dev/null @@ -1,71 +0,0 @@ -titre = "INTER-SANTE - Prescription Médicaments"; - $numeroBonOrdonnance = $prescription['numeroBonOrdonnance']; -?> - - - - " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" readonly > - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - nettoyer($detailprescription['livre']); - $codePrestataireLivraison=$this->nettoyer($detailprescription['codePrestataireLivraison']); - $prestataireLivraison=$this->nettoyer($detailprescription['prestataireLivraison']); - $ajPharmacie = $this->nettoyer($detailprescription['ajPharmacie']); - ?> - - - - - - - - - - - - - - - - - - - - - -
nettoyer($detailprescription['libelleMedicament']) ?> nettoyer($detailprescription['instructions']) ?> nettoyer($detailprescription['unite']) ?> nettoyer($detailprescription['quantite']) ?> nettoyer($detailprescription['numeroBonOrdonnance']) ?> nettoyer($detailprescription['numeroRemplacement']) ?>
-
diff --git a/radiantproduction/Vue/Prestatairegestionbon/index.php b/radiantproduction/Vue/Prestatairegestionbon/index.php deleted file mode 100644 index 7dce8e2..0000000 --- a/radiantproduction/Vue/Prestatairegestionbon/index.php +++ /dev/null @@ -1,25 +0,0 @@ -titre = "INTER-SANTE - Attribution profil"; -?> - - - - - - - - - - - - -
- -
- -
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Prestatairenmoins/index.php b/radiantproduction/Vue/Prestatairenmoins/index.php deleted file mode 100644 index ad6ffe1..0000000 --- a/radiantproduction/Vue/Prestatairenmoins/index.php +++ /dev/null @@ -1,70 +0,0 @@ -titre = "INTER-SANTE - Prestataires en moins"; - -?> - -" readonly > - -
- - - - - - - - - - -
- - - -
-
- - - - - - - - - - nettoyer($prestatairereseau['codePrestataire']); - ?> - - - - - - -
=>
nettoyer($prestatairereseau['prestataire']) ?>
-
- -
- - - - - - - - - - nettoyer($prestataireenmoins['id']); - ?> - - - - - - -
<=
nettoyer($prestataireenmoins['prestataire']) ?>
- -
- -
- -
diff --git a/radiantproduction/Vue/Prestatairenplus/index.php b/radiantproduction/Vue/Prestatairenplus/index.php deleted file mode 100644 index 4eab174..0000000 --- a/radiantproduction/Vue/Prestatairenplus/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Prestataires en plus"; - -?> - -" readonly > - -
- - - - - - - - - - -
- - - -
-
- - - - - - - - - - nettoyer($prestatairehorsreseau['codePrestataire']); - ?> - - - - - - -
=>
nettoyer($prestatairehorsreseau['prestataire']) ?>
-
- -
- - - - - - - - - - - nettoyer($prestataireenplus['id']); - ?> - - - - - - - - - -
<=
nettoyer($prestataireenplus['prestataire']) ?> - -
- -
- -
- -
diff --git a/radiantproduction/Vue/Prestatairenpluscons/index.php b/radiantproduction/Vue/Prestatairenpluscons/index.php deleted file mode 100644 index 362925c..0000000 --- a/radiantproduction/Vue/Prestatairenpluscons/index.php +++ /dev/null @@ -1,51 +0,0 @@ -titre = "INTER-SANTE - Prestataires en plus"; - -?> - - - - - - - - - - -
- -
- -
-
-
- - - - - - - - - - - -
-
- -
- - - - - - - - - - -
-
-
-
diff --git a/radiantproduction/Vue/Prestataires/index.php b/radiantproduction/Vue/Prestataires/index.php deleted file mode 100644 index 475ce0c..0000000 --- a/radiantproduction/Vue/Prestataires/index.php +++ /dev/null @@ -1,79 +0,0 @@ -titre = "INTER-SANTE - Prestataire"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type - - - -
- - -
- -
-
-
- -
-
- - -
- - - - - - - - - - - - - - - - -
code Type
-
diff --git a/radiantproduction/Vue/Prestatairetm/index.php b/radiantproduction/Vue/Prestatairetm/index.php deleted file mode 100644 index 9f69409..0000000 --- a/radiantproduction/Vue/Prestatairetm/index.php +++ /dev/null @@ -1,77 +0,0 @@ -titre = "INTER-SANTE - Prestataires avec dérogations T M"; - -?> - -" readonly > - -
- - - - - - - - - - -
- - - -
-
- - - - - - - - - - nettoyer($prestatairereseau['codePrestataire']); - ?> - - - - - - -
=>
nettoyer($prestatairereseau['prestataire']) ?>
-
- -
- - - - - - - - - - - nettoyer($prestatairetm['id']); - ?> - - - - - - - - - -
<=
nettoyer($prestatairetm['prestataire']) ?> - -
- -
- -
- -
diff --git a/radiantproduction/Vue/Prestatairetmcons/index.php b/radiantproduction/Vue/Prestatairetmcons/index.php deleted file mode 100644 index b87a36f..0000000 --- a/radiantproduction/Vue/Prestatairetmcons/index.php +++ /dev/null @@ -1,33 +0,0 @@ -titre = "INTER-SANTE - Prestataires avec dérogations T M"; - -?> - -" readonly > - - - - - - - - -
- -
- -
- - - - - - - - - - - -
-
diff --git a/radiantproduction/Vue/Prestations/ebeneenregistrerface.php b/radiantproduction/Vue/Prestations/ebeneenregistrerface.php deleted file mode 100644 index 128f61b..0000000 --- a/radiantproduction/Vue/Prestations/ebeneenregistrerface.php +++ /dev/null @@ -1,6 +0,0 @@ -

-

- -

- - diff --git a/radiantproduction/Vue/Prestations/index.php b/radiantproduction/Vue/Prestations/index.php deleted file mode 100644 index e5bf1ba..0000000 --- a/radiantproduction/Vue/Prestations/index.php +++ /dev/null @@ -1,425 +0,0 @@ -titre = "INTER-SANTE - Prestations"; - $datejour = $this->datejour; - $estcouvert = ($_SESSION['dateEcheancePolice_C']>=$datejour); - - $_SESSION['nbTentative'] = "0"; - - $age = $beneficiaire['ageBeneficiaire']; - $estidentifiable = ($age>6); - $estsubstitue = ($_SESSION['idSubstitut_C']>0); - - $dateSortieBeneficiaire = $this->nettoyer($beneficiaire['dateSortieBeneficiaire']); - - $estsorti = false; - if($dateSortieBeneficiaire>"2000-01-01") - { - $estsorti = ($dateSortieBeneficiaire<=$datejour); - $estcouvert = ($estcouvert && ($dateSortieBeneficiaire>$datejour)); - } - - $dateEffetCouvert = $_SESSION['dateEffetCouvert']; - - $controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0); - $controlerPlafondBeneficiaire = ($_SESSION['controlerPlafondBeneficiaire']>0); - - $faceRegistered = $this->nettoyer($beneficiaire['faceRegistered']); - $face_confirmee = $_SESSION['okId_face']; - $fingerActif = $_SESSION['fingerActif']; - $faceActif = $_SESSION['faceActif']; -?> - - - - - - - - - " . _("Date Effet") . " : " . dateLang($this->nettoyer($beneficiaire['dateEffetBeneficiaire'])) ?> - - -
- -
- -
- -
- - - - - - - - - - - - - - -
- " onClick="javascript:ebene_init_confirm_photo_face();"> -
- " onClick="javascript:ebene_init_photo_face();"> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($beneficiaire['dateEntreeBeneficiaire'])).' - '.dateLang($_SESSION['dateEcheancePolice_C']) ?> nettoyer($beneficiaire['dateEntreeBeneficiaire'])).' - '.dateLang($_SESSION['dateEcheancePolice_C']) ?>
Sex
E-mail
" readonly >
- - - - - - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['exercieReference'])?> nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?> nettoyer($garantieadherent['garantieparentaffichage'])?>
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - "> - - - - - - "> - - - - - - - - - - - - "> - - - - - - "> -
-
- - - - - - - - - - - - " readonly> - - -
- -
- - - - - - - - - - - diff --git a/radiantproduction/Vue/Produitreseau/index.php b/radiantproduction/Vue/Produitreseau/index.php deleted file mode 100644 index 0c6f060..0000000 --- a/radiantproduction/Vue/Produitreseau/index.php +++ /dev/null @@ -1,20 +0,0 @@ -titre = "INTER-SANTE - Accès Réseau et Tickets Modérateurs"; ?> - - - - - - - - - - - -
- -
- -
-
diff --git a/radiantproduction/Vue/Produits/index.php b/radiantproduction/Vue/Produits/index.php deleted file mode 100644 index 0510239..0000000 --- a/radiantproduction/Vue/Produits/index.php +++ /dev/null @@ -1,35 +0,0 @@ -titre = "INTER-SANTE - Liste des Catégories Assurés"; ?> - - - - - - - - - - - - - - - - - - - nettoyer($produit['id']); - ?> - - - - - - - - - - - - -
MinMax
nettoyer($produit['codeProduit']) ?> nettoyer($produit['libelle']) ?> nettoyer($produit['primeFamille'])) ?> nettoyer($produit['primeIndividu'])) ?> nettoyer($produit['primeMin'])) ?> nettoyer($produit['primeMax'])) ?> " onClick="javascript:modifier_produit();"> " onClick="javascript:supprimer_produit();">
diff --git a/radiantproduction/Vue/Profilmenu/index.php b/radiantproduction/Vue/Profilmenu/index.php deleted file mode 100644 index f3c5699..0000000 --- a/radiantproduction/Vue/Profilmenu/index.php +++ /dev/null @@ -1,33 +0,0 @@ -titre = "INTER-SANTE - Menus par profil"; ?> - -
-
-
- -
- -
- -
- -
- -
-
- -
- - -
- -
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Profilutilisateur/index.php b/radiantproduction/Vue/Profilutilisateur/index.php deleted file mode 100644 index 5c21883..0000000 --- a/radiantproduction/Vue/Profilutilisateur/index.php +++ /dev/null @@ -1,32 +0,0 @@ -titre = "INTER-SANTE - Utilisateurs par profil"; ?> - -
-
-
- -
- -
- -
- -
- -
-
- -
- -
- -
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Profilvue/index.php b/radiantproduction/Vue/Profilvue/index.php deleted file mode 100644 index 05147fd..0000000 --- a/radiantproduction/Vue/Profilvue/index.php +++ /dev/null @@ -1,39 +0,0 @@ -titre = "INTER-SANTE - Menus vues par profil"; ?> - -
-
-
- -
- -
- - -
- -
- -
- -
- -
-
- -
- -
- -
-
-
- - -
-

-
- diff --git a/radiantproduction/Vue/Provisonssin/index.php b/radiantproduction/Vue/Provisonssin/index.php deleted file mode 100644 index c34a456..0000000 --- a/radiantproduction/Vue/Provisonssin/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Provisions de Sinistres"; -?> - - - - - - - - - - - - - - - - - - - -
- -
-
diff --git a/radiantproduction/Vue/Quitter/index.php b/radiantproduction/Vue/Quitter/index.php deleted file mode 100644 index 544c16d..0000000 --- a/radiantproduction/Vue/Quitter/index.php +++ /dev/null @@ -1,3 +0,0 @@ -titre = "INTER-SANTE - Déconnexion" ?> -

- \ No newline at end of file diff --git a/radiantproduction/Vue/Recaplimiteadd/index.php b/radiantproduction/Vue/Recaplimiteadd/index.php deleted file mode 100644 index 625a3b7..0000000 --- a/radiantproduction/Vue/Recaplimiteadd/index.php +++ /dev/null @@ -1,106 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total nettoyer($totalcollege['nbPersonne'])) ?>nettoyer($totalcollege['primeNette_total'])) ?>nettoyer($totalcollege['accessoire_total'])) ?>nettoyer($totalcollege['taxe_total'])) ?>nettoyer($totalcollege['primeTtc_total'])) ?>
nettoyer($college['libelleCollege']) ?> nettoyer($college['nbPersonne'])) ?>nettoyer($college['primeNette'])) ?>nettoyer($college['accessoire'])) ?>nettoyer($college['taxe'])) ?>nettoyer($college['primeTtcTotal'])) ?> " onClick="javascript:pop_afficher_selection_limite()"> " onClick="javascript:modifier_college_temp()">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
nettoyer($avenant['primeNette'])) ?> nettoyer($avenant['commission'])) ?> nettoyer($avenant['commissionAutre'])) ?> nettoyer($avenant['accessoire'])) ?> nettoyer($avenant['taxe'])) ?> nettoyer($avenant['fraisCarte'])) ?> nettoyer($avenant['primeTtcInitial'])) ?> nettoyer($avenant['primeNetteStat'])) ?>
" onClick="enregistrer_limite_additionnelle();">
-
- diff --git a/radiantproduction/Vue/Recaplimitecollege/index.php b/radiantproduction/Vue/Recaplimitecollege/index.php deleted file mode 100644 index b01f758..0000000 --- a/radiantproduction/Vue/Recaplimitecollege/index.php +++ /dev/null @@ -1,80 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($collegeTemp['primeTtcAdherent']))?> nettoyer($collegeTemp['primeTtcBeneficiaire']))?> nettoyer($collegeTemp['primeTtcAdherent_total']))?> nettoyer($collegeTemp['primeTtcBeneficiaire_total']))?> nettoyer($collegeTemp['primeTtc_total']))?>
nettoyer($collegeTemp['primeNette']))?> nettoyer($collegeTemp['primeNetteBeneficiaire']))?> nettoyer($collegeTemp['primeNetteAdherent_total']))?> nettoyer($collegeTemp['primeNetteBeneficiaire_total']))?> nettoyer($collegeTemp['primeNette_total']))?>
nettoyer($collegeTemp['accessoire']))?> nettoyer($collegeTemp['accessoireBeneficiaire']))?> nettoyer($collegeTemp['accessoireAdherent_total']))?> nettoyer($collegeTemp['accessoireBeneficiaire_total']))?> nettoyer($collegeTemp['accessoire_total']))?>
nettoyer($collegeTemp['primeHt']))?> nettoyer($collegeTemp['primeHtBeneficiaire']))?> nettoyer($collegeTemp['primeHtAdherent_total']))?> nettoyer($collegeTemp['primeHtBeneficiaire_total']))?> nettoyer($collegeTemp['primeHt_total']))?>
nettoyer($collegeTemp['taxe']))?> nettoyer($collegeTemp['taxeBeneficiaire']))?> nettoyer($collegeTemp['taxeAdherent_total']))?> nettoyer($collegeTemp['taxeBeneficiaire_total']))?> nettoyer($collegeTemp['taxe_total']))?>
-
diff --git a/radiantproduction/Vue/Recconnexion/index.php b/radiantproduction/Vue/Recconnexion/index.php deleted file mode 100644 index b98c6b0..0000000 --- a/radiantproduction/Vue/Recconnexion/index.php +++ /dev/null @@ -1 +0,0 @@ -titre = "INTER-SANTE - Reconnexion" ?> \ No newline at end of file diff --git a/radiantproduction/Vue/Recherche/index.php b/radiantproduction/Vue/Recherche/index.php deleted file mode 100644 index c6c0db3..0000000 --- a/radiantproduction/Vue/Recherche/index.php +++ /dev/null @@ -1,85 +0,0 @@ -titre = "INTER-SANTE - "._("Rechercher assuré") ; -?> - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TelE-mail
" >
-
- -

- - - - - - - - - - - - - - - - - - - nettoyer($beneficiaire['id']); - $numeroBeneficiaire=$this->nettoyer($beneficiaire['numeroBeneficiaire']); - ?> - - - - - - - - - - - - - - - - - - -
Sex
nettoyer($beneficiaire['numeroAdherent']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['prenomsBeneficiaire']) ?>nettoyer($beneficiaire['codeLienParente']) ?>nettoyer($beneficiaire['dateNaissance'])) ?>nettoyer($beneficiaire['sexe']) ?>nettoyer($beneficiaire['telephonePortable']) ?>nettoyer($beneficiaire['nomClient']) ?>nettoyer($beneficiaire['codeEtatBeneficiaire']) ?>
-
diff --git a/radiantproduction/Vue/Rechercheprestations/index.php b/radiantproduction/Vue/Rechercheprestations/index.php deleted file mode 100644 index 3e57cbc..0000000 --- a/radiantproduction/Vue/Rechercheprestations/index.php +++ /dev/null @@ -1,108 +0,0 @@ -titre = "INTER-SANTE - "._("Rechercher sinistre") ; -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tel E-mail
" >
- - " readonly> - - - - - - - - - - - - - - - - - - - nettoyer($beneficiaire['idBeneficiaire']); - $numeroBeneficiaire=$this->nettoyer($beneficiaire['numeroBeneficiaire']); - ?> - - - - - - - - - - - - - - - - - - -
Sex E-mail
nettoyer($beneficiaire['numeroAdherent']) ?>nettoyer($beneficiaire['nomBeneficiaire']) ?>nettoyer($beneficiaire['prenomsBeneficiaire']) ?>nettoyer($beneficiaire['lienparente']) ?>nettoyer($beneficiaire['dateNaissance'])) ?>nettoyer($beneficiaire['sexe']) ?>nettoyer($beneficiaire['telephonePortableAdherent']) ?>nettoyer($beneficiaire['emailAdherent']) ?>nettoyer($beneficiaire['nomClient']) ?>
-
\ No newline at end of file diff --git a/radiantproduction/Vue/Refuseracteexclu/index.php b/radiantproduction/Vue/Refuseracteexclu/index.php deleted file mode 100644 index 67d7e0c..0000000 --- a/radiantproduction/Vue/Refuseracteexclu/index.php +++ /dev/null @@ -1,58 +0,0 @@ -titre = "INTER-SANTE - Refuser un acte exclu"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
" onClick="enregistrerrefus_acte_exclu();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Refuseracteexclus/index.php b/radiantproduction/Vue/Refuseracteexclus/index.php deleted file mode 100644 index 8321b40..0000000 --- a/radiantproduction/Vue/Refuseracteexclus/index.php +++ /dev/null @@ -1,58 +0,0 @@ -titre = "INTER-SANTE - Refuser un acte exclu"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
" onClick="enregistrerrefus_acte_exclu_2();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Refuserderogation/index.php b/radiantproduction/Vue/Refuserderogation/index.php deleted file mode 100644 index e5c9313..0000000 --- a/radiantproduction/Vue/Refuserderogation/index.php +++ /dev/null @@ -1,70 +0,0 @@ -titre = "INTER-SANTE - Refuser Dérogation"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
" onClick="enregistrerrefusderogation();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Refuserderogations/index.php b/radiantproduction/Vue/Refuserderogations/index.php deleted file mode 100644 index 0ced50b..0000000 --- a/radiantproduction/Vue/Refuserderogations/index.php +++ /dev/null @@ -1,70 +0,0 @@ -titre = "INTER-SANTE - Refuser Dérogation"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
" onClick="enregistrerrefusderogation_2();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Refuserententeprealable/index.php b/radiantproduction/Vue/Refuserententeprealable/index.php deleted file mode 100644 index 825f13c..0000000 --- a/radiantproduction/Vue/Refuserententeprealable/index.php +++ /dev/null @@ -1,66 +0,0 @@ -titre = "INTER-SANTE - Refuser un acte"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
" onClick="enregistrerrefusententepreslable();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Refuserententeprealables/index.php b/radiantproduction/Vue/Refuserententeprealables/index.php deleted file mode 100644 index 7895ffa..0000000 --- a/radiantproduction/Vue/Refuserententeprealables/index.php +++ /dev/null @@ -1,66 +0,0 @@ -titre = "INTER-SANTE - Refuser un acte"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
" onClick="enregistrerrefusententepreslable_2();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Refuserententeprealablesmont/index.php b/radiantproduction/Vue/Refuserententeprealablesmont/index.php deleted file mode 100644 index 04a8620..0000000 --- a/radiantproduction/Vue/Refuserententeprealablesmont/index.php +++ /dev/null @@ -1,71 +0,0 @@ -titre = "INTER-SANTE - Refuser des verres"; - $idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
" onClick="enregistrerrefusententepreslable_mont();" style='font-size:10pt;' >
- - -
-

-
- - -
-
- - - - -
-
diff --git a/radiantproduction/Vue/Refuserententeprealablesopt/index.php b/radiantproduction/Vue/Refuserententeprealablesopt/index.php deleted file mode 100644 index da16e19..0000000 --- a/radiantproduction/Vue/Refuserententeprealablesopt/index.php +++ /dev/null @@ -1,74 +0,0 @@ -titre = "INTER-SANTE - Refuser des verres"; - $idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']); -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
" onClick="enregistrerrefusententepreslable_opt();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
- - - -
-
diff --git a/radiantproduction/Vue/Refuserententeprealablespha/index.php b/radiantproduction/Vue/Refuserententeprealablespha/index.php deleted file mode 100644 index 619bbec..0000000 --- a/radiantproduction/Vue/Refuserententeprealablespha/index.php +++ /dev/null @@ -1,66 +0,0 @@ -titre = "INTER-SANTE - Refuser un médicament"; ?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly>
" onClick="enregistrerrefusententepreslable_pha();" style='font-size:10pt;' >
- - -
-

-
- -
- -
-
diff --git a/radiantproduction/Vue/Reglerdecompte/index.php b/radiantproduction/Vue/Reglerdecompte/index.php deleted file mode 100644 index 7d3b74a..0000000 --- a/radiantproduction/Vue/Reglerdecompte/index.php +++ /dev/null @@ -1,106 +0,0 @@ -titre = "INTER-SANTE - Règlement Décompte"; - $idReglement = $_SESSION['idReglement_C']; - $numeroDecompte = $reglement['numeroDecompte']; - $montantApayer = $reglement['montantApayer']; -?> - -" readonly > - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
- -" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
" onClick="enregistrerreglementdecompte();" style='font-size:10pt;' >
- - -
-

-
- diff --git a/radiantproduction/Vue/Relevecompteprestaire/index.php b/radiantproduction/Vue/Relevecompteprestaire/index.php deleted file mode 100644 index d00b6fb..0000000 --- a/radiantproduction/Vue/Relevecompteprestaire/index.php +++ /dev/null @@ -1,83 +0,0 @@ -titre = "INTER-SANTE - Relevé de Compte Prestataire"; - - $codePrestataire = $this->nettoyer($prestataire['codePrestataire']); - $idPrestataire = $this->nettoyer($prestataire['idPrestataire']); - $nom_prestataire = $this->nettoyer($prestataire['prestataire']); -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - -
-
- - -
- -
diff --git a/radiantproduction/Vue/Relevecompteprestairep/index.php b/radiantproduction/Vue/Relevecompteprestairep/index.php deleted file mode 100644 index 2cc2523..0000000 --- a/radiantproduction/Vue/Relevecompteprestairep/index.php +++ /dev/null @@ -1,136 +0,0 @@ -titre = "INTER-SANTE - Relevé de Compte Prestataire"; - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- " "): ?> - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- -
- - diff --git a/radiantproduction/Vue/Remboursementclassique/index.php b/radiantproduction/Vue/Remboursementclassique/index.php deleted file mode 100644 index 8a0dac0..0000000 --- a/radiantproduction/Vue/Remboursementclassique/index.php +++ /dev/null @@ -1,24 +0,0 @@ -titre = "INTER-SANTE - Remboursement classique"; -?> - - Liste des dossiers") ?> - - - - - - - - - - - - - - -
- -
- -
\ No newline at end of file diff --git a/radiantproduction/Vue/Remplaceradherent/index.php b/radiantproduction/Vue/Remplaceradherent/index.php deleted file mode 100644 index 378bd28..0000000 --- a/radiantproduction/Vue/Remplaceradherent/index.php +++ /dev/null @@ -1,66 +0,0 @@ -titre = "INTER-SANTE - Remplacement Famille"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- diff --git a/radiantproduction/Vue/Remplaceradherentcons/index.php b/radiantproduction/Vue/Remplaceradherentcons/index.php deleted file mode 100644 index b9b105c..0000000 --- a/radiantproduction/Vue/Remplaceradherentcons/index.php +++ /dev/null @@ -1,93 +0,0 @@ -titre = "INTER-SANTE - Consultation remplacement famille "; -?> - - SORTANT") ?> - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - -
- - - -
- - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?> nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
diff --git a/radiantproduction/Vue/Remplaceradherentcons/remplacant.php b/radiantproduction/Vue/Remplaceradherentcons/remplacant.php deleted file mode 100644 index af85e09..0000000 --- a/radiantproduction/Vue/Remplaceradherentcons/remplacant.php +++ /dev/null @@ -1,94 +0,0 @@ -titre = "INTER-SANTE - Consultation remplacement famille "; -?> - - ENTRANT") ?> - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - -
- - - -
- - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - nettoyer($garantieadherent['champApplication']); - ?> - - - - - - - - - - - - - - - - -
nettoyer($garantieadherent['garantie'])?> nettoyer($garantieadherent['plafond'])) ?> nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?>
- diff --git a/radiantproduction/Vue/Reposmedical/index.php b/radiantproduction/Vue/Reposmedical/index.php deleted file mode 100644 index b5be18a..0000000 --- a/radiantproduction/Vue/Reposmedical/index.php +++ /dev/null @@ -1,58 +0,0 @@ -titre = "INTER-SANTE - Repos Médical"; - - $numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C']; -?> - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
Date Notes
- -
diff --git a/radiantproduction/Vue/Requeterecherche/index.php b/radiantproduction/Vue/Requeterecherche/index.php deleted file mode 100644 index c25dcb4..0000000 --- a/radiantproduction/Vue/Requeterecherche/index.php +++ /dev/null @@ -1,28 +0,0 @@ -titre = "INTER-SANTE - Consultations diverses"; - -?> - - - - - - - - - - - -
- -
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Requetes/index.php b/radiantproduction/Vue/Requetes/index.php deleted file mode 100644 index 9f57737..0000000 --- a/radiantproduction/Vue/Requetes/index.php +++ /dev/null @@ -1,23 +0,0 @@ -titre = "INTER-SANTE - Requêtes"; -?> - - - - - - - - -
- -
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Reseausoins/index.php b/radiantproduction/Vue/Reseausoins/index.php deleted file mode 100644 index 7bc502c..0000000 --- a/radiantproduction/Vue/Reseausoins/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Liste des Catégories Assurés"; ?> - - - - - - - - - - - - - nettoyer($reseau['id']); - ?> - - - - - - - - - -
Code
nettoyer($reseau['codeReseau']) ?> nettoyer($reseau['libelle']) ?> nettoyer($reseau['tm']) ?> " onClick="javascript:modifier_reseau();"> " onClick="javascript:supprimer_reseau();">
diff --git a/radiantproduction/Vue/Sourcerequetesperso/index.php b/radiantproduction/Vue/Sourcerequetesperso/index.php deleted file mode 100644 index 7679c45..0000000 --- a/radiantproduction/Vue/Sourcerequetesperso/index.php +++ /dev/null @@ -1,54 +0,0 @@ -titre = "INTER-SANTE - Liste Sources de Données Requêtes Personnalisées"; -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
User
nettoyer($requete['codeUtilisateur']) ?> nettoyer($requete['dateSysteme'])) ?> " onClick="javascript:desactiver_sourcedonneesrequeteperso('');"> " onClick="javascript:activer_sourcedonneesrequeteperso('');"> - " onClick="javascript:afficher_sourcedonneesrequeteperso_id();" style='font-size:9pt;' > - - " onClick="javascript:parametres_sourcedonneesrequeteperso();" style='font-size:9pt;' > -
-
diff --git a/radiantproduction/Vue/Spadherent/index.php b/radiantproduction/Vue/Spadherent/index.php deleted file mode 100644 index bdc4e01..0000000 --- a/radiantproduction/Vue/Spadherent/index.php +++ /dev/null @@ -1,83 +0,0 @@ -titre = "INTER-SANTE - Rapport S/P Famille"; - - $adherentRetire = $spadherent['adherentRetire']; - $dateSortieAdherent = $spadherent['dateSortieAdherent']; -?> - -nettoyer($spadherent['adherent'])." ( ".$this->nettoyer($spadherent['numeroAdherent'])." ) " ?> - - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($spadherent['dateEffet'])) ?> nettoyer($spadherent['dateEcheance'])) ?> nettoyer($spadherent['duree_acquise']) ?> nettoyer($spadherent['ratio_acquise']) ?> nettoyer($spadherent['dureePolice']) ?>
- - - - - - - - - - - - - - - - - - - - - - -
nettoyer($spadherent['dateEffetAdherent'])) ?> nettoyer($spadherent['dateEcheance'])) ?> nettoyer($spadherent['duree_acquise_adherent']) ?> nettoyer($spadherent['ratio_acquise_adherent']) ?> nettoyer($spadherent['dureePolice']) ?>
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($spadherent['primestat'])) ?> nettoyer($spadherent['prime_acquise'])) ?> nettoyer($spadherent['consommation'])) ?> nettoyer($spadherent['rapportsp']) ?> nettoyer($spadherent['rapportspgeneral']) ?>
- - -
-

-
- diff --git a/radiantproduction/Vue/Spcollege/index.php b/radiantproduction/Vue/Spcollege/index.php deleted file mode 100644 index 7e8c489..0000000 --- a/radiantproduction/Vue/Spcollege/index.php +++ /dev/null @@ -1,51 +0,0 @@ -titre = "INTER-SANTE - Rapport S/P Collège"; ?> - - - - -nettoyer($spcollege['libelleCollege'])." ( ".$this->nettoyer($spcollege['codeProduit'])." ) " ?> - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($spcollege['dateEffet'])) ?> nettoyer($spcollege['dateEcheance'])) ?> nettoyer($spcollege['duree_acquise']) ?> nettoyer($spcollege['ratio_acquise']) ?> nettoyer($spcollege['dureePolice']) ?>
- - - - - - - - - - - - - - - - - - - - - -
nettoyer($spcollege['primestat'])) ?> nettoyer($spcollege['prime_acquise'])) ?> nettoyer($spcollege['consommation'])) ?> nettoyer($spcollege['rapportsp']) ?> nettoyer($spcollege['rapportspgeneral']) ?>
diff --git a/radiantproduction/Vue/Sppolice/index.php b/radiantproduction/Vue/Sppolice/index.php deleted file mode 100644 index 3c2763c..0000000 --- a/radiantproduction/Vue/Sppolice/index.php +++ /dev/null @@ -1,40 +0,0 @@ -titre = "INTER-SANTE - Rapport S/P police"; ?> - - nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($sppoliceentete['dateEffet'])) ?> nettoyer($sppoliceentete['dateEcheance'])) ?> nettoyer($sppoliceentete['duree_acquise']) ?> nettoyer($sppoliceentete['ratio_acquise']) ?> nettoyer($sppoliceentete['dureePolice']) ?>
- - - - - - - - - -
- -
- -
diff --git a/radiantproduction/Vue/Statistiques/index.php b/radiantproduction/Vue/Statistiques/index.php deleted file mode 100644 index 54fcd94..0000000 --- a/radiantproduction/Vue/Statistiques/index.php +++ /dev/null @@ -1,40 +0,0 @@ -titre = "INTER-SANTE - Statistqiues"; - $idEntetestat = $_SESSION['idEntetestat_C']; - - $_SESSION['debutStat'] = $this->nettoyer($entetestat['debutExercice']); - $_SESSION['finStat'] = $this->nettoyer($entetestat['dateAnalyse']); - $_SESSION['idEnteteArchive'] = $this->nettoyer($entetestat['idEnteteArchive']); -?> - - - - - - - - - - - - - - - - - - - -
- - Analyse
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Statistiquesnonarchives/index.php b/radiantproduction/Vue/Statistiquesnonarchives/index.php deleted file mode 100644 index 89b6944..0000000 --- a/radiantproduction/Vue/Statistiquesnonarchives/index.php +++ /dev/null @@ -1,40 +0,0 @@ -titre = "INTER-SANTE - Statistqiues non archivés"; - $idEntetestat = $_SESSION['idEntetestat_C']; - - $_SESSION['debutStat'] = $this->nettoyer($entetestat['debutExercice']); - $_SESSION['finStat'] = $this->nettoyer($entetestat['dateAnalyse']); - $_SESSION['idEnteteArchive'] = $this->nettoyer($entetestat['idEnteteArchive']); -?> - - - - - - - - - - - - - - - - - - - -
- - Analyse
- -
-
- - -
-
diff --git a/radiantproduction/Vue/Supprimerempreinte/index.php b/radiantproduction/Vue/Supprimerempreinte/index.php deleted file mode 100644 index adf224f..0000000 --- a/radiantproduction/Vue/Supprimerempreinte/index.php +++ /dev/null @@ -1,35 +0,0 @@ -titre = "INTER-SANTE - Suppression EMprinte Digitale"; -?> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($empreintesupprimer['dateSave'])) ?>nettoyer($empreintesupprimer['motif']) ?>nettoyer($empreintesupprimer['nomUtilisateur']) ?>
-
diff --git a/radiantproduction/Vue/Supprimerface/index.php b/radiantproduction/Vue/Supprimerface/index.php deleted file mode 100644 index 59e93aa..0000000 --- a/radiantproduction/Vue/Supprimerface/index.php +++ /dev/null @@ -1,37 +0,0 @@ -titre = "INTER-SANTE - Suppression Face"; -?> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Date
nettoyer($facesupprimer['dateSysteme'])) ?>nettoyer($facesupprimer['motif']) ?>nettoyer($facesupprimer['nomUtilisateur']) ?>nettoyer($facesupprimer['prestataire']) ?>
-
diff --git a/radiantproduction/Vue/Syntheseconsopolice/index.php b/radiantproduction/Vue/Syntheseconsopolice/index.php deleted file mode 100644 index d95761c..0000000 --- a/radiantproduction/Vue/Syntheseconsopolice/index.php +++ /dev/null @@ -1,49 +0,0 @@ -titre = "INTER-SANTE - SYNTHESE CONSOMMATIONS DE LA POLICE"; -?> - - nettoyer($_SESSION['numeroPolice_C'])?> - - - - - - - - - - - - - - - - - - - - - - -
nettoyer($sppoliceentete['dateEffet'])) ?> nettoyer($sppoliceentete['dateEcheance'])) ?> nettoyer($sppoliceentete['duree_acquise']) ?> nettoyer($sppoliceentete['ratio_acquise']) ?> nettoyer($sppoliceentete['dureePolice']) ?>
- - - - - - - - - - - - -
- -
- -
- -
- -
diff --git a/radiantproduction/Vue/Tableaucommission/detailcommission.php b/radiantproduction/Vue/Tableaucommission/detailcommission.php deleted file mode 100644 index 6ddc927..0000000 --- a/radiantproduction/Vue/Tableaucommission/detailcommission.php +++ /dev/null @@ -1,39 +0,0 @@ -nettoyer($typeapporteur['codeTypeApporteur']); -?> - - - - nettoyer($typeapporteur['libelle'])?> - - - - - - - - - - - - nettoyer($donnee['idTableaucommission']); - $codeTypeContrat = $this->nettoyer($donnee['codeTypeContrat']); - $codeEtape = $this->nettoyer($donnee['codeEtape']); - $tauxCommission = $this->nettoyer($donnee['tauxCommission']); - ?> - - - - - - - - - - - - - - -
nettoyer($donnee['idTableaucommission']) ?> nettoyer($donnee['typecontrat']) ?> nettoyer($donnee['etapepolice']) ?>
diff --git a/radiantproduction/Vue/Tableaucommission/index.php b/radiantproduction/Vue/Tableaucommission/index.php deleted file mode 100644 index 665b43c..0000000 --- a/radiantproduction/Vue/Tableaucommission/index.php +++ /dev/null @@ -1,26 +0,0 @@ -titre = "INTER-SANTE - Liste des Types Apporteur"; ?> - - - - - - - - - - - nettoyer($donnee['id']); - $codeTypeApporteur = $this->nettoyer($donnee['codeTypeApporteur']); - ?> - - - - - - - -
nettoyer($donnee['codeTypeApporteur']) ?> nettoyer($donnee['libelle']) ?> nettoyer($donnee['libelleEng']) ?>
- -
-
diff --git a/radiantproduction/Vue/Tarifs/index.php b/radiantproduction/Vue/Tarifs/index.php deleted file mode 100644 index c51aec7..0000000 --- a/radiantproduction/Vue/Tarifs/index.php +++ /dev/null @@ -1,13 +0,0 @@ -titre = "INTER-SANTE - Gestion des tarifs"; ?> - - - -
- -
diff --git a/radiantproduction/Vue/Tarifsactes/index.php b/radiantproduction/Vue/Tarifsactes/index.php deleted file mode 100644 index b8a9861..0000000 --- a/radiantproduction/Vue/Tarifsactes/index.php +++ /dev/null @@ -1,50 +0,0 @@ -titre = "INTER-SANTE - Tarif Actes Médicaux"; -?> - - - - - -
- - - - - - - - - - -
- - " - onClick="javascript:afficher_tarifacte();" style="font-size:10pt;">
-
- - -
-
- - diff --git a/radiantproduction/Vue/Tarifsmedicaments/index.php b/radiantproduction/Vue/Tarifsmedicaments/index.php deleted file mode 100644 index 7c2a255..0000000 --- a/radiantproduction/Vue/Tarifsmedicaments/index.php +++ /dev/null @@ -1,49 +0,0 @@ -titre = "INTER-SANTE - Tarif Pharmacies"; -?> - - - -
- - - - - - - - - - -
- - " - onClick="javascript:afficher_tarifpharmacie();" style="font-size:10pt;">
-
- -
-
- - - - diff --git a/radiantproduction/Vue/Tarifsoptiques/index.php b/radiantproduction/Vue/Tarifsoptiques/index.php deleted file mode 100644 index 80fe83f..0000000 --- a/radiantproduction/Vue/Tarifsoptiques/index.php +++ /dev/null @@ -1,49 +0,0 @@ -titre = "INTER-SANTE - Tarif verres"; -?> - - -
- - - - - - - - - - -
- - " - onClick="javascript:afficher_tarifoptique();" style="font-size:10pt;">
-
- -
-
- - - - - diff --git a/radiantproduction/Vue/Testsms/index.php b/radiantproduction/Vue/Testsms/index.php deleted file mode 100644 index b508e30..0000000 --- a/radiantproduction/Vue/Testsms/index.php +++ /dev/null @@ -1,40 +0,0 @@ -titre = "INTER-SANTE - Autres Paramètres Généraux"; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Code
- - diff --git a/radiantproduction/Vue/Textecp/index.php b/radiantproduction/Vue/Textecp/index.php deleted file mode 100644 index d2e0e31..0000000 --- a/radiantproduction/Vue/Textecp/index.php +++ /dev/null @@ -1,7 +0,0 @@ -titre = "Tâches - Texte libre sur CP"; ?> - -nettoyer($_SESSION['numeroPolice_C']) ?> -
- - " /> -
diff --git a/radiantproduction/Vue/Textecpd/index.php b/radiantproduction/Vue/Textecpd/index.php deleted file mode 100644 index 44b2ab4..0000000 --- a/radiantproduction/Vue/Textecpd/index.php +++ /dev/null @@ -1,8 +0,0 @@ -titre = "Tâches - Texte libre sur Devis"; ?> - - nettoyer($_SESSION['numeroPolice_d_C']) ?> - -
- - " /> -
diff --git a/radiantproduction/Vue/Typesapporteurs/index.php b/radiantproduction/Vue/Typesapporteurs/index.php deleted file mode 100644 index 36c6129..0000000 --- a/radiantproduction/Vue/Typesapporteurs/index.php +++ /dev/null @@ -1,22 +0,0 @@ -titre = "INTER-SANTE - Liste des Types Apporteur"; ?> - - - - - - - - - - - nettoyer($donnee['id']); - ?> - - - - - - - -
nettoyer($donnee['codeTypeApporteur']) ?> nettoyer($donnee['libelle']) ?> nettoyer($donnee['libelleEng']) ?>
diff --git a/radiantproduction/Vue/Usersagence/index.php b/radiantproduction/Vue/Usersagence/index.php deleted file mode 100644 index 71453c5..0000000 --- a/radiantproduction/Vue/Usersagence/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Utilisateurs Agences"; ?> - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
diff --git a/radiantproduction/Vue/Usersassureur/index.php b/radiantproduction/Vue/Usersassureur/index.php deleted file mode 100644 index e78e79b..0000000 --- a/radiantproduction/Vue/Usersassureur/index.php +++ /dev/null @@ -1,30 +0,0 @@ -titre = "INTER-SANTE - Utilisateurs Assureur"; ?> - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
diff --git a/radiantproduction/Vue/Usersgcassureur/index.php b/radiantproduction/Vue/Usersgcassureur/index.php deleted file mode 100644 index 2738883..0000000 --- a/radiantproduction/Vue/Usersgcassureur/index.php +++ /dev/null @@ -1,82 +0,0 @@ -titre = "INTER-SANTE - Liste Utilisateurs Gestion Confiée"; - $codeGcAssureur = $this->nettoyer($gc['codeGcAssureur']); - $nomGcAssureur = $this->nettoyer($gc['libelle']); -?> - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
nettoyer($user_gc['codeUtilisateur']) ?> nettoyer($user_gc['utilisateur']) ?> " onClick="javascript:reinitpaswd_gc('');"> " onClick="javascript:reinitpaswd_gc('');"> " onClick="javascript:desactiver_user_gc('');"> " onClick="javascript:activer_user_gc('');"> Désactiver?") ?>" onClick="javascript:gerer_acces_actes_gc('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_actes_gc('', '');"> Désactiver?") ?>" onClick="javascript:gerer_acces_affection_gc('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_affection_gc('', '');"> - " onClick="javascript:afficher_users_gc_id();" style='font-size:9pt;' > -
-
-
- -
-
- diff --git a/radiantproduction/Vue/Usersprestaire/index.php b/radiantproduction/Vue/Usersprestaire/index.php deleted file mode 100644 index 7d0ce1c..0000000 --- a/radiantproduction/Vue/Usersprestaire/index.php +++ /dev/null @@ -1,81 +0,0 @@ -titre = "INTER-SANTE - Liste Utilisateurs prestataire"; - $codePrestataire = $this->nettoyer($prestataire['codePrestataire']); - $idPrestataire = $this->nettoyer($prestataire['id']); - $nomPrestataire = $this->nettoyer($prestataire['libelle']); -?> - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
nettoyer($users_prestataire['codeUtilisateur']) ?> nettoyer($users_prestataire['utilisateur']) ?> " onClick="javascript:reinitpaswd_prestataire('');"> " onClick="javascript:reinitpaswd_prestataire('');"> " onClick="javascript:desactiver_user_prestataire('');"> " onClick="javascript:activer_user_prestataire('');"> Désactiver?") ?>" onClick="javascript:gerer_acces_actes_prestataire('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_actes_prestataire('', '');"> Désactiver?") ?>" onClick="javascript:gerer_acces_affection_prestataire('', '');"> Activer?") ?>" onClick="javascript:gerer_acces_affection_prestataire('', '');"> - " onClick="javascript:afficher_users_prestataire_id();" style='font-size:9pt;' > -
-
- -
-
- diff --git a/radiantproduction/Vue/Validerpaiementdecompte/index.php b/radiantproduction/Vue/Validerpaiementdecompte/index.php deleted file mode 100644 index c48ad0f..0000000 --- a/radiantproduction/Vue/Validerpaiementdecompte/index.php +++ /dev/null @@ -1,90 +0,0 @@ -titre = "INTER-SANTE - Validation paiement décomptes"; - $idPaiementDecompte = $_SESSION['idPaiementDecompte_C']; - $numeroReglement = $this->nettoyer($reglement['numeroReglement']); - $_SESSION['numeroReglement_C'] = $numeroReglement; - $nbDecomptes = $reglement['nbDecomptes']; - $valide = $this->nettoyer($reglement['valide']); - $montantApayer = $this->nettoyer($reglement['montantApayer']); - -?> - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Date Init
-
- -" readonly > - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
" onClick="enregistrer_valider_paiement_decompte();" style='font-size:10pt;' >
- - -
-

-
- diff --git a/radiantproduction/Vue/erreur.php b/radiantproduction/Vue/erreur.php deleted file mode 100644 index c4e7eba..0000000 --- a/radiantproduction/Vue/erreur.php +++ /dev/null @@ -1 +0,0 @@ -

nettoyer($msgErreur) ?>

diff --git a/radiantproduction/Vue/gabarit.php b/radiantproduction/Vue/gabarit.php deleted file mode 100644 index 1b3d0f4..0000000 --- a/radiantproduction/Vue/gabarit.php +++ /dev/null @@ -1,315 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - <?= $_SESSION['vue'] ?> - - - - - - - - - - - - - - - - -
-
- -
- -
-
- - " " ) - { - $photoFace = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$_SESSION['lienPhoto_C']; - } - ?> - -
-
- - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Context
" . $this->nettoyer(format_N($_SESSION['ndDep_C'])) . " > " . $this->nettoyer(format_N($_SESSION['ndActif_C'])) ?>" readonly >
- " " ): ?> - - -
Changer mot de passe
- - - - - - - - - - - - - - - - - - - - - - - -
- - -
- Messages -
- -
- - " onclick="javascript:gerer_messagerie();" > - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
- -
- - - \ No newline at end of file diff --git a/radiantproduction/Vue/gabarit_test.php b/radiantproduction/Vue/gabarit_test.php deleted file mode 100644 index b69d10b..0000000 --- a/radiantproduction/Vue/gabarit_test.php +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - <?= $_SESSION['vue'] ?> - - - - - - - - - - - - - - - -
-
- -
- -
-
-
-
- - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Context
" . $this->nettoyer($_SESSION['ndDep_C']) . " > " . $this->nettoyer($_SESSION['ndActif_C']) ?>" readonly >
- " " ): ?> - - -
Changer mot de passe
- - - - - - - - - - - - - - - - - - - - - - - -
- - -
- Messages -
- -
- - " onclick="javascript:gerer_messagerie();" > - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
- -
- - - \ No newline at end of file diff --git a/radiantproduction/Vue/portail.php b/radiantproduction/Vue/portail.php deleted file mode 100644 index f2f41dc..0000000 --- a/radiantproduction/Vue/portail.php +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - <?= $titre ?> - - - - - - - - - -
-
- -
-
- - - \ No newline at end of file diff --git a/radiantproduction/faceebene/ebenetraitementimage.php b/radiantproduction/faceebene/ebenetraitementimage.php deleted file mode 100644 index 218a2e1..0000000 --- a/radiantproduction/faceebene/ebenetraitementimage.php +++ /dev/null @@ -1,132 +0,0 @@ - - - - diff --git a/radiantproduction/faceebene/webcam.min.js b/radiantproduction/faceebene/webcam.min.js deleted file mode 100644 index 03de2f7..0000000 --- a/radiantproduction/faceebene/webcam.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// WebcamJS v1.0.25 - http://github.com/jhuckaby/webcamjs - MIT Licensed -(function(e){var t;function a(){var e=Error.apply(this,arguments);e.name=this.name="FlashError";this.stack=e.stack;this.message=e.message}function i(){var e=Error.apply(this,arguments);e.name=this.name="WebcamError";this.stack=e.stack;this.message=e.message}var s=function(){};s.prototype=Error.prototype;a.prototype=new s;i.prototype=new s;var Webcam={version:"1.0.26",protocol:location.protocol.match(/https/i)?"https":"http",loaded:false,live:false,userMedia:true,iOS:/iPad|iPhone|iPod/.test(navigator.userAgent)&&!e.MSStream,params:{width:0,height:0,dest_width:0,dest_height:0,image_format:"jpeg",jpeg_quality:90,enable_flash:true,force_flash:false,flip_horiz:false,fps:30,upload_name:"webcam",constraints:null,swfURL:"",flashNotDetectedText:"ERROR: No Adobe Flash Player detected. Webcam.js relies on Flash for browsers that do not support getUserMedia (like yours).",noInterfaceFoundText:"No supported webcam interface found.",unfreeze_snap:true,iosPlaceholderText:"Click here to open camera.",user_callback:null,user_canvas:null},errors:{FlashError:a,WebcamError:i},hooks:{},init:function(){var t=this;this.mediaDevices=navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?navigator.mediaDevices:navigator.mozGetUserMedia||navigator.webkitGetUserMedia?{getUserMedia:function(e){return new Promise(function(t,a){(navigator.mozGetUserMedia||navigator.webkitGetUserMedia).call(navigator,e,t,a)})}}:null;e.URL=e.URL||e.webkitURL||e.mozURL||e.msURL;this.userMedia=this.userMedia&&!!this.mediaDevices&&!!e.URL;if(navigator.userAgent.match(/Firefox\D+(\d+)/)){if(parseInt(RegExp.$1,10)<21)this.userMedia=null}if(this.userMedia){e.addEventListener("beforeunload",function(e){t.reset()})}},exifOrientation:function(e){var t=new DataView(e);if(t.getUint8(0)!=255||t.getUint8(1)!=216){console.log("Not a valid JPEG file");return 0}var a=2;var i=null;while(a8){console.log("Invalid EXIF orientation value ("+p+")");return 0}return p}}}else{a+=2+t.getUint16(a+2)}}return 0},fixOrientation:function(e,t,a){var i=new Image;i.addEventListener("load",function(e){var s=document.createElement("canvas");var r=s.getContext("2d");if(t<5){s.width=i.width;s.height=i.height}else{s.width=i.height;s.height=i.width}switch(t){case 2:r.transform(-1,0,0,1,i.width,0);break;case 3:r.transform(-1,0,0,-1,i.width,i.height);break;case 4:r.transform(1,0,0,-1,0,i.height);break;case 5:r.transform(0,1,1,0,0,0);break;case 6:r.transform(0,1,-1,0,i.height,0);break;case 7:r.transform(0,-1,-1,0,i.height,i.width);break;case 8:r.transform(0,-1,1,0,0,i.width);break}r.drawImage(i,0,0);a.src=s.toDataURL()},false);i.src=e},attach:function(a){if(typeof a=="string"){a=document.getElementById(a)||document.querySelector(a)}if(!a){return this.dispatch("error",new i("Could not locate DOM element to attach to."))}this.container=a;a.innerHTML="";var s=document.createElement("div");a.appendChild(s);this.peg=s;if(!this.params.width)this.params.width=a.offsetWidth;if(!this.params.height)this.params.height=a.offsetHeight;if(!this.params.width||!this.params.height){return this.dispatch("error",new i("No width and/or height for webcam. Please call set() first, or attach to a visible element."))}if(!this.params.dest_width)this.params.dest_width=this.params.width;if(!this.params.dest_height)this.params.dest_height=this.params.height;this.userMedia=t===undefined?this.userMedia:t;if(this.params.force_flash){t=this.userMedia;this.userMedia=null}if(typeof this.params.fps!=="number")this.params.fps=30;var r=this.params.width/this.params.dest_width;var o=this.params.height/this.params.dest_height;if(this.userMedia){var n=document.createElement("video");n.setAttribute("autoplay","autoplay");n.setAttribute("playsinline","playsinline");n.style.width=""+this.params.dest_width+"px";n.style.height=""+this.params.dest_height+"px";if(r!=1||o!=1){a.style.overflow="hidden";n.style.webkitTransformOrigin="0px 0px";n.style.mozTransformOrigin="0px 0px";n.style.msTransformOrigin="0px 0px";n.style.oTransformOrigin="0px 0px";n.style.transformOrigin="0px 0px";n.style.webkitTransform="scaleX("+r+") scaleY("+o+")";n.style.mozTransform="scaleX("+r+") scaleY("+o+")";n.style.msTransform="scaleX("+r+") scaleY("+o+")";n.style.oTransform="scaleX("+r+") scaleY("+o+")";n.style.transform="scaleX("+r+") scaleY("+o+")"}a.appendChild(n);this.video=n;var l=this;this.mediaDevices.getUserMedia({audio:false,video:this.params.constraints||{mandatory:{minWidth:this.params.dest_width,minHeight:this.params.dest_height}}}).then(function(t){n.onloadedmetadata=function(e){l.stream=t;l.loaded=true;l.live=true;l.dispatch("load");l.dispatch("live");l.flip()};if("srcObject"in n){n.srcObject=t}else{n.src=e.URL.createObjectURL(t)}}).catch(function(e){if(l.params.enable_flash&&l.detectFlash()){setTimeout(function(){l.params.force_flash=1;l.attach(a)},1)}else{l.dispatch("error",e)}})}else if(this.iOS){var h=document.createElement("div");h.id=this.container.id+"-ios_div";h.className="webcamjs-ios-placeholder";h.style.width=""+this.params.width+"px";h.style.height=""+this.params.height+"px";h.style.textAlign="center";h.style.display="table-cell";h.style.verticalAlign="middle";h.style.backgroundRepeat="no-repeat";h.style.backgroundSize="contain";h.style.backgroundPosition="center";var c=document.createElement("span");c.className="webcamjs-ios-text";c.innerHTML=this.params.iosPlaceholderText;h.appendChild(c);var d=document.createElement("img");d.id=this.container.id+"-ios_img";d.style.width=""+this.params.dest_width+"px";d.style.height=""+this.params.dest_height+"px";d.style.display="none";h.appendChild(d);var f=document.createElement("input");f.id=this.container.id+"-ios_input";f.setAttribute("type","file");f.setAttribute("accept","image/*");f.setAttribute("capture","camera");var l=this;var m=this.params;f.addEventListener("change",function(e){if(e.target.files.length>0&&e.target.files[0].type.indexOf("image/")==0){var t=URL.createObjectURL(e.target.files[0]);var a=new Image;a.addEventListener("load",function(e){var t=document.createElement("canvas");t.width=m.dest_width;t.height=m.dest_height;var i=t.getContext("2d");ratio=Math.min(a.width/m.dest_width,a.height/m.dest_height);var s=m.dest_width*ratio;var r=m.dest_height*ratio;var o=(a.width-s)/2;var n=(a.height-r)/2;i.drawImage(a,o,n,s,r,0,0,m.dest_width,m.dest_height);var l=t.toDataURL();d.src=l;h.style.backgroundImage="url('"+l+"')"},false);var i=new FileReader;i.addEventListener("load",function(e){var i=l.exifOrientation(e.target.result);if(i>1){l.fixOrientation(t,i,a)}else{a.src=t}},false);var s=new XMLHttpRequest;s.open("GET",t,true);s.responseType="blob";s.onload=function(e){if(this.status==200||this.status===0){i.readAsArrayBuffer(this.response)}};s.send()}},false);f.style.display="none";a.appendChild(f);h.addEventListener("click",function(e){if(m.user_callback){l.snap(m.user_callback,m.user_canvas)}else{f.style.display="block";f.focus();f.click();f.style.display="none"}},false);a.appendChild(h);this.loaded=true;this.live=true}else if(this.params.enable_flash&&this.detectFlash()){e.Webcam=Webcam;var h=document.createElement("div");h.innerHTML=this.getSWFHTML();a.appendChild(h)}else{this.dispatch("error",new i(this.params.noInterfaceFoundText))}if(this.params.crop_width&&this.params.crop_height){var p=Math.floor(this.params.crop_width*r);var u=Math.floor(this.params.crop_height*o);a.style.width=""+p+"px";a.style.height=""+u+"px";a.style.overflow="hidden";a.scrollLeft=Math.floor(this.params.width/2-p/2);a.scrollTop=Math.floor(this.params.height/2-u/2)}else{a.style.width=""+this.params.width+"px";a.style.height=""+this.params.height+"px"}},reset:function(){if(this.preview_active)this.unfreeze();this.unflip();if(this.userMedia){if(this.stream){if(this.stream.getVideoTracks){var e=this.stream.getVideoTracks();if(e&&e[0]&&e[0].stop)e[0].stop()}else if(this.stream.stop){this.stream.stop()}}delete this.stream;delete this.video}if(this.userMedia!==true&&this.loaded&&!this.iOS){var t=this.getMovie();if(t&&t._releaseCamera)t._releaseCamera()}if(this.container){this.container.innerHTML="";delete this.container}this.loaded=false;this.live=false},set:function(){if(arguments.length==1){for(var e in arguments[0]){this.params[e]=arguments[0][e]}}else{this.params[arguments[0]]=arguments[1]}},on:function(e,t){e=e.replace(/^on/i,"").toLowerCase();if(!this.hooks[e])this.hooks[e]=[];this.hooks[e].push(t)},off:function(e,t){e=e.replace(/^on/i,"").toLowerCase();if(this.hooks[e]){if(t){var a=this.hooks[e].indexOf(t);if(a>-1)this.hooks[e].splice(a,1)}else{this.hooks[e]=[]}}},dispatch:function(){var t=arguments[0].replace(/^on/i,"").toLowerCase();var s=Array.prototype.slice.call(arguments,1);if(this.hooks[t]&&this.hooks[t].length){for(var r=0,o=this.hooks[t].length;rERROR: the Webcam.js Flash fallback does not work from local disk. Please run it from a web server.'}if(!this.detectFlash()){this.dispatch("error",new a("Adobe Flash Player not found. Please install from get.adobe.com/flashplayer and try again."));return'

'+this.params.flashNotDetectedText+"

"}if(!i){var s="";var r=document.getElementsByTagName("script");for(var o=0,n=r.length;o';return t},getMovie:function(){if(!this.loaded)return this.dispatch("error",new a("Flash Movie is not loaded yet"));var e=document.getElementById("webcam_movie_obj");if(!e||!e._snap)e=document.getElementById("webcam_movie_embed");if(!e)this.dispatch("error",new a("Cannot locate Flash movie in DOM"));return e},freeze:function(){var e=this;var t=this.params;if(this.preview_active)this.unfreeze();var a=this.params.width/this.params.dest_width;var i=this.params.height/this.params.dest_height;this.unflip();var s=t.crop_width||t.dest_width;var r=t.crop_height||t.dest_height;var o=document.createElement("canvas");o.width=s;o.height=r;var n=o.getContext("2d");this.preview_canvas=o;this.preview_context=n;if(a!=1||i!=1){o.style.webkitTransformOrigin="0px 0px";o.style.mozTransformOrigin="0px 0px";o.style.msTransformOrigin="0px 0px";o.style.oTransformOrigin="0px 0px";o.style.transformOrigin="0px 0px";o.style.webkitTransform="scaleX("+a+") scaleY("+i+")";o.style.mozTransform="scaleX("+a+") scaleY("+i+")";o.style.msTransform="scaleX("+a+") scaleY("+i+")";o.style.oTransform="scaleX("+a+") scaleY("+i+")";o.style.transform="scaleX("+a+") scaleY("+i+")"}this.snap(function(){o.style.position="relative";o.style.left=""+e.container.scrollLeft+"px";o.style.top=""+e.container.scrollTop+"px";e.container.insertBefore(o,e.peg);e.container.style.overflow="hidden";e.preview_active=true},o)},unfreeze:function(){if(this.preview_active){this.container.removeChild(this.preview_canvas);delete this.preview_context;delete this.preview_canvas;this.preview_active=false;this.flip()}},flip:function(){if(this.params.flip_horiz){var e=this.container.style;e.webkitTransform="scaleX(-1)";e.mozTransform="scaleX(-1)";e.msTransform="scaleX(-1)";e.oTransform="scaleX(-1)";e.transform="scaleX(-1)";e.filter="FlipH";e.msFilter="FlipH"}},unflip:function(){if(this.params.flip_horiz){var e=this.container.style;e.webkitTransform="scaleX(1)";e.mozTransform="scaleX(1)";e.msTransform="scaleX(1)";e.oTransform="scaleX(1)";e.transform="scaleX(1)";e.filter="";e.msFilter=""}},savePreview:function(e,t){var a=this.params;var i=this.preview_canvas;var s=this.preview_context;if(t){var r=t.getContext("2d");r.drawImage(i,0,0)}e(t?null:i.toDataURL("image/"+a.image_format,a.jpeg_quality/100),i,s);if(this.params.unfreeze_snap)this.unfreeze()},snap:function(e,t){if(!e)e=this.params.user_callback;if(!t)t=this.params.user_canvas;var a=this;var s=this.params;if(!this.loaded)return this.dispatch("error",new i("Webcam is not loaded yet"));if(!e)return this.dispatch("error",new i("Please provide a callback function or canvas to snap()"));if(this.preview_active){this.savePreview(e,t);return null}var r=document.createElement("canvas");r.width=this.params.dest_width;r.height=this.params.dest_height;var o=r.getContext("2d");if(this.params.flip_horiz){o.translate(s.dest_width,0);o.scale(-1,1)}var n=function(){if(this.src&&this.width&&this.height){o.drawImage(this,0,0,s.dest_width,s.dest_height)}if(s.crop_width&&s.crop_height){var a=document.createElement("canvas");a.width=s.crop_width;a.height=s.crop_height;var i=a.getContext("2d");i.drawImage(r,Math.floor(s.dest_width/2-s.crop_width/2),Math.floor(s.dest_height/2-s.crop_height/2),s.crop_width,s.crop_height,0,0,s.crop_width,s.crop_height);o=i;r=a}if(t){var n=t.getContext("2d");n.drawImage(r,0,0)}e(t?null:r.toDataURL("image/"+s.image_format,s.jpeg_quality/100),r,o)};if(this.userMedia){o.drawImage(this.video,0,0,this.params.dest_width,this.params.dest_height);n()}else if(this.iOS){var l=document.getElementById(this.container.id+"-ios_div");var h=document.getElementById(this.container.id+"-ios_img");var c=document.getElementById(this.container.id+"-ios_input");iFunc=function(e){n.call(h);h.removeEventListener("load",iFunc);l.style.backgroundImage="none";h.removeAttribute("src");c.value=null};if(!c.value){h.addEventListener("load",iFunc);c.style.display="block";c.focus();c.click();c.style.display="none"}else{iFunc(null)}}else{var d=this.getMovie()._snap();var h=new Image;h.onload=n;h.src="data:image/"+this.params.image_format+";base64,"+d}return null},configure:function(e){if(!e)e="camera";this.getMovie()._configure(e)},flashNotify:function(e,t){switch(e){case"flashLoadComplete":this.loaded=true;this.dispatch("load");break;case"cameraLive":this.live=true;this.dispatch("live");break;case"error":this.dispatch("error",new a(t));break;default:break}},b64ToUint6:function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:e===43?62:e===47?63:0},base64DecToArr:function(e,t){var a=e.replace(/[^A-Za-z0-9\+\/]/g,""),i=a.length,s=t?Math.ceil((i*3+1>>2)/t)*t:i*3+1>>2,r=new Uint8Array(s);for(var o,n,l=0,h=0,c=0;c>>(16>>>o&24)&255}l=0}}return r},upload:function(e,t,a){var i=this.params.upload_name||"webcam";var s="";if(e.match(/^data\:image\/(\w+)/))s=RegExp.$1;else throw"Cannot locate image format in Data URI";var r=e.replace(/^data\:image\/\w+\;base64\,/,"");var o=new XMLHttpRequest;o.open("POST",t,true);if(o.upload&&o.upload.addEventListener){o.upload.addEventListener("progress",function(e){if(e.lengthComputable){var t=e.loaded/e.total;Webcam.dispatch("uploadProgress",t,e)}},false)}var n=this;o.onload=function(){if(a)a.apply(n,[o.status,o.responseText,o.statusText]);Webcam.dispatch("uploadComplete",o.status,o.responseText,o.statusText)};var l=new Blob([this.base64DecToArr(r)],{type:"image/"+s});var h=new FormData;h.append(i,l,i+"."+s.replace(/e/,""));o.send(h)}};Webcam.init();if(typeof define==="function"&&define.amd){define(function(){return Webcam})}else if(typeof module==="object"&&module.exports){module.exports=Webcam}else{e.Webcam=Webcam}})(window); \ No newline at end of file