From 5854b8c1a4b18b8301ad843ec7f8a3e76a098fe9 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 16 Jan 2026 07:11:49 +0000 Subject: [PATCH] a --- Bootstrap_new/css/override.css | 0 Bootstrap_new/css/style_office.css | 45 +- Bootstrap_new/css/ux_enhancements.css | 0 Bootstrap_new/images/new/README.md | 0 Bootstrap_new/images/new/favicon.png | Bin .../images/new/icons/icon-128x128.png | Bin .../images/new/icons/icon-144x144.png | Bin .../images/new/icons/icon-152x152.png | Bin Bootstrap_new/images/new/icons/icon-16x16.png | Bin .../images/new/icons/icon-180x180.png | Bin .../new/icons/icon-192x192-maskable.png | Bin .../images/new/icons/icon-192x192.png | Bin Bootstrap_new/images/new/icons/icon-32x32.png | Bin .../images/new/icons/icon-384x384.png | Bin Bootstrap_new/images/new/icons/icon-48x48.png | Bin .../new/icons/icon-512x512-maskable.png | Bin .../images/new/icons/icon-512x512.png | Bin Bootstrap_new/images/new/icons/icon-64x64.png | Bin Bootstrap_new/images/new/icons/icon-96x96.png | Bin Bootstrap_new/images/new/manifest.json | 0 Bootstrap_new/images/new/meta-tags.html | 0 Bootstrap_new/js/ux-manager.js | 0 Controleur/ControleurAjaxavenant.php | 0 ...ontroleurAjaxbeneficiaireprimeadherent.php | 0 ...ntroleurAjaxconsultertableauprestation.php | 0 Controleur/ControleurAjaxcontextpolice.php | 0 .../ControleurAjaxcontroleavenantpolice.php | 0 Controleur/ControleurAjaxcontrolepiece.php | 0 Controleur/ControleurAjaxdetailretrait.php | 0 .../ControleurAjaxexporterlisteassure.php | 0 ...ntroleurAjaxexporterunequittanceclient.php | 0 Controleur/ControleurAjaxfactureconspop.php | 72 + Controleur/ControleurAjaxfacturesfamille.php | 0 Controleur/ControleurAjaxfichepolice.php | 0 Controleur/ControleurAjaxhabilitation.php | 150 ++ .../ControleurAjaximporterlisteassure.php | 0 Controleur/ControleurAjaximprimercp.php | 0 .../ControleurAjaximprimerlisteassure.php | 0 Controleur/ControleurAjaxlisteadherent.php | 0 Controleur/ControleurAjaxlistegedpolice.php | 0 .../ControleurAjaxlistepolicesclient.php | 0 .../ControleurAjaxlisterpolicesclient.php | 20 + Controleur/ControleurAjaxlocalite.php | 0 Controleur/ControleurAjaxmouvementassure.php | 19 +- Controleur/ControleurAjaxproraterprime.php | 0 ...ontroleurAjaxproraterprimebeneficiaire.php | 0 .../ControleurAjaxsaisirpassnewuser.php | 14 + Controleur/ControleurAjaxselectionretrait.php | 0 Controleur/ControleurAjaxsppolice.php | 0 .../ControleurAjaxsyntheseconsopolice.php | 0 Controleur/ControleurAjaxuserrhclient.php | 89 + Controleur/ControleurAjaxville.php | 0 .../ControleurAssuranceindividuelle.php | 0 .../ControleurBeneficiaireprimeadherent.php | 0 Controleur/ControleurChangeretatadherent.php | 0 .../ControleurChangeretatbeneficiaire.php | 0 Controleur/ControleurChangermotpass.php | 81 + Controleur/ControleurCollegepolice.php | 0 Controleur/ControleurConnexion.php | 0 Controleur/ControleurConsultercollege.php | 0 Controleur/ControleurContrat.php | 0 Controleur/ControleurCreeradherent.php | 0 Controleur/ControleurCreeravenant.php | 0 Controleur/ControleurCreerbeneficiaire.php | 0 Controleur/ControleurEmission.php | 0 Controleur/ControleurFacturesfamilleadh.php | 0 Controleur/ControleurFicheadherent.php | 44 +- Controleur/ControleurFichebeneficiaire.php | 30 +- Controleur/ControleurFichepolice.php | 0 Controleur/ControleurFicheretrait.php | 0 Controleur/ControleurFicheuserrhclient.php | 45 + Controleur/ControleurGedpolice.php | 0 Controleur/ControleurImportassure.php | 0 Controleur/ControleurLiercolleges.php | 0 Controleur/ControleurListeadherent.php | 0 Controleur/ControleurListeavenant.php | 0 Controleur/ControleurListeimportassure.php | 0 Controleur/ControleurMouvementassure.php | 6 +- .../ControleurMouvementassureclient.php | 39 + Controleur/ControleurNonfacturepolice.php | 0 Controleur/ControleurNonfacturepolicecons.php | 0 Controleur/ControleurNouveluserrh.php | 51 + Controleur/ControleurPlafondadherent.php | 0 Controleur/ControleurRechercherassure.php | 0 Controleur/ControleurRoles.php | 22 + Controleur/ControleurSpadherent.php | 0 Controleur/ControleurSppolice.php | 0 Controleur/ControleurSyntheseconsopolice.php | 0 Controleur/ControleurTextecp.php | 0 Controleur/ControleurUsersrhclient.php | 26 + Framework/Moritio.php | 2 +- Js/fonctions.js | 1587 ++++++++++++++++- Js/sw-register.js | 0 Modele/Adherent.php | 29 + Modele/Adherent_temp.php | 0 Modele/Avenant.php | 0 Modele/Beneficiaire.php | 13 + Modele/Client.php | 102 ++ Modele/Collegepolice.php | 0 Modele/Emission.php | 0 Modele/Etatcp.php | 0 Modele/Mouvementassure.php | 10 +- Modele/Police.php | 11 + Modele/Quittance.php | 0 Modele/Sensmouvement.php | 0 Modele/Societeuser.php | 46 + Modele/Typeapporteur.php | 0 Modele/Typeavenant.php | 0 Modele/Utilisateur.php | 79 +- .../Controleur/Consultercollegeindex.php | 0 .../radiant/Tarifs/Controleur/Cpfc1eng.php | 0 .../radiant/Tarifs/Controleur/Cpfc1kiny.php | 0 .../radiant/Tarifs/Controleur/Cpfc2eng.php | 0 .../radiant/Tarifs/Controleur/Cpfc2kiny.php | 0 .../radiant/Tarifs/Controleur/Cpstandard.php | 0 .../Tarifs/Controleur/Cpstandardeng.php | 0 .../Controleur/Creercollegedenregistrer.php | 0 .../Tarifs/Controleur/Creercollegedindex.php | 0 .../Controleur/Creercollegedinitcollege.php | 0 .../Controleur/Creercollegeenregistrer.php | 0 .../Tarifs/Controleur/Creercollegeindex.php | 0 .../Controleur/Creercollegeinitcollege.php | 0 .../Tarifs/Controleur/Devisstandard.php | 0 .../Tarifs/Controleur/Devisstandardeng.php | 0 .../Tarifs/Controleur/Editioncarteassure.php | 0 .../Modifiercollegedenregistrer.php | 0 .../Controleur/Modifiercollegedindex.php | 0 .../Controleur/Modifiercollegeenregistrer.php | 0 .../Controleur/Modifiercollegeindex.php | 0 Societes/radiant/Tarifs/Img/logo_carte.png | Bin Societes/radiant/Tarifs/Img/logo_societe.png | Bin .../radiant/Tarifs/Modele/College_temp.php | 0 .../radiant/Tarifs/Modele/College_temp_d.php | 0 Societes/radiant/Tarifs/Modele/Police.php | 0 Societes/radiant/Tarifs/Modele/Police_d.php | 0 Societes/radiant/Tarifs/Modele/Tarif.php | 0 .../radiant/Tarifs/Vue/Consultercollege.php | 0 Societes/radiant/Tarifs/Vue/Creercollege.php | 0 Societes/radiant/Tarifs/Vue/Creercolleged.php | 0 .../radiant/Tarifs/Vue/Modifiercollege.php | 0 .../radiant/Tarifs/Vue/Modifiercolleged.php | 0 Vue/Accueil/index.php | 85 +- Vue/Ajaxavenant/getdateavenant.php | 0 .../getdateavenantbeneficiaire.php | 0 Vue/Ajaxavenant/index.php | 0 Vue/Ajaxbeneficiaireprimeadherent/index.php | 140 +- Vue/Ajaxconsultertableauprestation/index.php | 0 Vue/Ajaxcontrolepiece/index.php | 0 Vue/Ajaxdetailretrait/index.php | 0 Vue/Ajaxfactureconspop/feuillemaladie.php | 136 ++ Vue/Ajaxfactureconspop/geds.php | 75 + Vue/Ajaxfactureconspop/index.php | 162 ++ Vue/Ajaxfactureconspop/medicaments.php | 85 + Vue/Ajaxfactureconspop/prestationactes.php | 105 ++ Vue/Ajaxfactureconspop/verres.php | 74 + Vue/Ajaxfacturesfamille/index.php | 128 +- Vue/Ajaxfichepolice/index.php | 0 Vue/Ajaxgabarit/index.php | 0 Vue/Ajaxgraphiquesinistres/index.php | 0 .../afficheraccessousmenusass.php | 80 + .../ajouterunsousmenusass.php | 1 + Vue/Ajaxhabilitation/index.php | 111 ++ .../afficheradherentimportee.php | 0 .../ajouterunadherentaucollege.php | 0 .../exclureligneimportee.php | 0 .../importermodele.php | 0 .../incorpoerassuresimportes.php | 0 Vue/Ajaximporterlisteassure/index.php | 0 .../initimportermodele.php | 0 .../retirerunadherentaucollege.php | 0 Vue/Ajaxlisteadherent/index.php | 2 +- Vue/Ajaxlistegedpolice/index.php | 67 +- Vue/Ajaxlistepolicesclient/index.php | 0 Vue/Ajaxlisterpolicesclient/index.php | 63 + Vue/Ajaxlocalite/consultation.php | 0 Vue/Ajaxlocalite/filtreadherentlocalite.php | 0 Vue/Ajaxlocalite/index.php | 0 Vue/Ajaxmouvementassure/client.php | 4 + Vue/Ajaxmouvementassure/index.php | 141 +- Vue/Ajaxmouvementassure/vide.php | 0 Vue/Ajaxplafondadherent/index.php | 90 +- Vue/Ajaxproraterprime/index.php | 0 Vue/Ajaxproraterprimebeneficiaire/index.php | 201 +-- Vue/Ajaxsaisirpassnewuser/index.php | 74 + Vue/Ajaxselectionretrait/index.php | 0 Vue/Ajaxsppolice/categorie.php | 90 +- Vue/Ajaxsppolice/college.php | 98 +- Vue/Ajaxsppolice/index.php | 0 Vue/Ajaxsppolice/police.php | 99 +- Vue/Ajaxsyntheseconsopolice/index.php | 195 +- Vue/Ajaxuserrhclient/creeruser.php | 24 + Vue/Ajaxuserrhclient/index.php | 0 Vue/Ajaxville/consultation.php | 0 Vue/Ajaxville/index.php | 0 Vue/Assuranceindividuelle/index.php | 0 Vue/Beneficiaireprimeadherent/index.php | 86 +- Vue/Changeretatadherent/index.php | 0 Vue/Changeretatbeneficiaire/index.php | 0 Vue/Changermotpass/index.php | 50 +- Vue/Changermotpass/index_2026_01_08.php | 323 ++++ Vue/Collegepolice/index.php | 0 Vue/Consultercollege/index.php | 0 Vue/Contrat/index.php | 0 Vue/Creeradherent/index.php | 0 Vue/Creeravenant/index.php | 0 Vue/Creerbeneficiaire/index.php | 456 +++-- Vue/Emission/index.php | 0 Vue/Facturesfamilleadh/index.php | 245 +-- Vue/Ficheadherent/index.php | 856 ++++++--- .../ebeneenregistrerface.php | 0 Vue/Fichebeneficiaire/index.php | 859 +++++---- Vue/Fichepolice/index.php | 4 +- Vue/Ficheretrait/index.php | 0 Vue/Ficheuserrhclient/index.php | 111 ++ Vue/Gedpolice/index.php | 196 +- Vue/Importassure/index.php | 0 Vue/Liercolleges/index.php | 0 Vue/Listeadherent/index.php | 2 +- Vue/Listeavenant/index.php | 0 Vue/Listeimportassure/index.php | 12 +- Vue/Mouvementassure/index.php | 132 +- Vue/Mouvementassureclient/index.php | 81 + Vue/Nonfacturepolice/index.php | 137 +- Vue/Nonfacturepolicecons/index.php | 0 Vue/Nouveluserrh/index.php | 117 ++ Vue/Plafondadherent/index.php | 154 +- Vue/Rechercherassure/index.php | 4 +- Vue/Roles/index.php | 77 + Vue/Spadherent/index.php | 217 ++- Vue/Sppolice/index.php | 126 +- Vue/Syntheseconsopolice/index.php | 128 +- Vue/Textecp/index.php | 0 Vue/Usersrhclient/index.php | 116 ++ Vue/gabarit.php | 216 ++- 234 files changed, 7614 insertions(+), 2053 deletions(-) mode change 100755 => 100644 Bootstrap_new/css/override.css mode change 100755 => 100644 Bootstrap_new/css/style_office.css mode change 100755 => 100644 Bootstrap_new/css/ux_enhancements.css mode change 100755 => 100644 Bootstrap_new/images/new/README.md mode change 100755 => 100644 Bootstrap_new/images/new/favicon.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-128x128.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-144x144.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-152x152.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-16x16.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-180x180.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-192x192-maskable.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-192x192.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-32x32.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-384x384.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-48x48.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-512x512-maskable.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-512x512.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-64x64.png mode change 100755 => 100644 Bootstrap_new/images/new/icons/icon-96x96.png mode change 100755 => 100644 Bootstrap_new/images/new/manifest.json mode change 100755 => 100644 Bootstrap_new/images/new/meta-tags.html mode change 100755 => 100644 Bootstrap_new/js/ux-manager.js mode change 100755 => 100644 Controleur/ControleurAjaxavenant.php mode change 100755 => 100644 Controleur/ControleurAjaxbeneficiaireprimeadherent.php mode change 100755 => 100644 Controleur/ControleurAjaxconsultertableauprestation.php mode change 100755 => 100644 Controleur/ControleurAjaxcontextpolice.php mode change 100755 => 100644 Controleur/ControleurAjaxcontroleavenantpolice.php mode change 100755 => 100644 Controleur/ControleurAjaxcontrolepiece.php mode change 100755 => 100644 Controleur/ControleurAjaxdetailretrait.php mode change 100755 => 100644 Controleur/ControleurAjaxexporterlisteassure.php mode change 100755 => 100644 Controleur/ControleurAjaxexporterunequittanceclient.php create mode 100644 Controleur/ControleurAjaxfactureconspop.php mode change 100755 => 100644 Controleur/ControleurAjaxfacturesfamille.php mode change 100755 => 100644 Controleur/ControleurAjaxfichepolice.php create mode 100755 Controleur/ControleurAjaxhabilitation.php mode change 100755 => 100644 Controleur/ControleurAjaximporterlisteassure.php mode change 100755 => 100644 Controleur/ControleurAjaximprimercp.php mode change 100755 => 100644 Controleur/ControleurAjaximprimerlisteassure.php mode change 100755 => 100644 Controleur/ControleurAjaxlisteadherent.php mode change 100755 => 100644 Controleur/ControleurAjaxlistegedpolice.php mode change 100755 => 100644 Controleur/ControleurAjaxlistepolicesclient.php create mode 100644 Controleur/ControleurAjaxlisterpolicesclient.php mode change 100755 => 100644 Controleur/ControleurAjaxlocalite.php mode change 100755 => 100644 Controleur/ControleurAjaxmouvementassure.php mode change 100755 => 100644 Controleur/ControleurAjaxproraterprime.php mode change 100755 => 100644 Controleur/ControleurAjaxproraterprimebeneficiaire.php create mode 100755 Controleur/ControleurAjaxsaisirpassnewuser.php mode change 100755 => 100644 Controleur/ControleurAjaxselectionretrait.php mode change 100755 => 100644 Controleur/ControleurAjaxsppolice.php mode change 100755 => 100644 Controleur/ControleurAjaxsyntheseconsopolice.php create mode 100755 Controleur/ControleurAjaxuserrhclient.php mode change 100755 => 100644 Controleur/ControleurAjaxville.php mode change 100755 => 100644 Controleur/ControleurAssuranceindividuelle.php mode change 100755 => 100644 Controleur/ControleurBeneficiaireprimeadherent.php mode change 100755 => 100644 Controleur/ControleurChangeretatadherent.php mode change 100755 => 100644 Controleur/ControleurChangeretatbeneficiaire.php create mode 100755 Controleur/ControleurChangermotpass.php mode change 100755 => 100644 Controleur/ControleurCollegepolice.php mode change 100755 => 100644 Controleur/ControleurConnexion.php mode change 100755 => 100644 Controleur/ControleurConsultercollege.php mode change 100755 => 100644 Controleur/ControleurContrat.php mode change 100755 => 100644 Controleur/ControleurCreeradherent.php mode change 100755 => 100644 Controleur/ControleurCreeravenant.php mode change 100755 => 100644 Controleur/ControleurCreerbeneficiaire.php mode change 100755 => 100644 Controleur/ControleurEmission.php mode change 100755 => 100644 Controleur/ControleurFacturesfamilleadh.php mode change 100755 => 100644 Controleur/ControleurFicheadherent.php mode change 100755 => 100644 Controleur/ControleurFichebeneficiaire.php mode change 100755 => 100644 Controleur/ControleurFichepolice.php mode change 100755 => 100644 Controleur/ControleurFicheretrait.php create mode 100755 Controleur/ControleurFicheuserrhclient.php mode change 100755 => 100644 Controleur/ControleurGedpolice.php mode change 100755 => 100644 Controleur/ControleurImportassure.php mode change 100755 => 100644 Controleur/ControleurLiercolleges.php mode change 100755 => 100644 Controleur/ControleurListeadherent.php mode change 100755 => 100644 Controleur/ControleurListeavenant.php mode change 100755 => 100644 Controleur/ControleurListeimportassure.php mode change 100755 => 100644 Controleur/ControleurMouvementassure.php create mode 100644 Controleur/ControleurMouvementassureclient.php mode change 100755 => 100644 Controleur/ControleurNonfacturepolice.php mode change 100755 => 100644 Controleur/ControleurNonfacturepolicecons.php create mode 100755 Controleur/ControleurNouveluserrh.php mode change 100755 => 100644 Controleur/ControleurPlafondadherent.php mode change 100755 => 100644 Controleur/ControleurRechercherassure.php create mode 100644 Controleur/ControleurRoles.php mode change 100755 => 100644 Controleur/ControleurSpadherent.php mode change 100755 => 100644 Controleur/ControleurSppolice.php mode change 100755 => 100644 Controleur/ControleurSyntheseconsopolice.php mode change 100755 => 100644 Controleur/ControleurTextecp.php create mode 100755 Controleur/ControleurUsersrhclient.php mode change 100755 => 100644 Js/sw-register.js mode change 100755 => 100644 Modele/Adherent_temp.php mode change 100755 => 100644 Modele/Avenant.php mode change 100755 => 100644 Modele/Collegepolice.php mode change 100755 => 100644 Modele/Emission.php mode change 100755 => 100644 Modele/Etatcp.php mode change 100755 => 100644 Modele/Mouvementassure.php mode change 100755 => 100644 Modele/Police.php mode change 100755 => 100644 Modele/Quittance.php mode change 100755 => 100644 Modele/Sensmouvement.php mode change 100755 => 100644 Modele/Typeapporteur.php mode change 100755 => 100644 Modele/Typeavenant.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Consultercollegeindex.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Cpfc1eng.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Cpfc1kiny.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Cpfc2eng.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Cpfc2kiny.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Cpstandard.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Cpstandardeng.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Creercollegedindex.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Creercollegeindex.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Devisstandard.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Devisstandardeng.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Editioncarteassure.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Modifiercollegedenregistrer.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Modifiercollegedindex.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Modifiercollegeenregistrer.php mode change 100755 => 100644 Societes/radiant/Tarifs/Controleur/Modifiercollegeindex.php mode change 100755 => 100644 Societes/radiant/Tarifs/Img/logo_carte.png mode change 100755 => 100644 Societes/radiant/Tarifs/Img/logo_societe.png mode change 100755 => 100644 Societes/radiant/Tarifs/Modele/College_temp.php mode change 100755 => 100644 Societes/radiant/Tarifs/Modele/College_temp_d.php mode change 100755 => 100644 Societes/radiant/Tarifs/Modele/Police.php mode change 100755 => 100644 Societes/radiant/Tarifs/Modele/Police_d.php mode change 100755 => 100644 Societes/radiant/Tarifs/Modele/Tarif.php mode change 100755 => 100644 Societes/radiant/Tarifs/Vue/Consultercollege.php mode change 100755 => 100644 Societes/radiant/Tarifs/Vue/Creercollege.php mode change 100755 => 100644 Societes/radiant/Tarifs/Vue/Creercolleged.php mode change 100755 => 100644 Societes/radiant/Tarifs/Vue/Modifiercollege.php mode change 100755 => 100644 Societes/radiant/Tarifs/Vue/Modifiercolleged.php mode change 100755 => 100644 Vue/Accueil/index.php mode change 100755 => 100644 Vue/Ajaxavenant/getdateavenant.php mode change 100755 => 100644 Vue/Ajaxavenant/getdateavenantbeneficiaire.php mode change 100755 => 100644 Vue/Ajaxavenant/index.php mode change 100755 => 100644 Vue/Ajaxbeneficiaireprimeadherent/index.php mode change 100755 => 100644 Vue/Ajaxconsultertableauprestation/index.php mode change 100755 => 100644 Vue/Ajaxcontrolepiece/index.php mode change 100755 => 100644 Vue/Ajaxdetailretrait/index.php create mode 100644 Vue/Ajaxfactureconspop/feuillemaladie.php create mode 100644 Vue/Ajaxfactureconspop/geds.php create mode 100644 Vue/Ajaxfactureconspop/index.php create mode 100644 Vue/Ajaxfactureconspop/medicaments.php create mode 100644 Vue/Ajaxfactureconspop/prestationactes.php create mode 100644 Vue/Ajaxfactureconspop/verres.php mode change 100755 => 100644 Vue/Ajaxfacturesfamille/index.php mode change 100755 => 100644 Vue/Ajaxfichepolice/index.php mode change 100755 => 100644 Vue/Ajaxgabarit/index.php mode change 100755 => 100644 Vue/Ajaxgraphiquesinistres/index.php create mode 100755 Vue/Ajaxhabilitation/afficheraccessousmenusass.php create mode 100755 Vue/Ajaxhabilitation/ajouterunsousmenusass.php create mode 100755 Vue/Ajaxhabilitation/index.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/afficheradherentimportee.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/ajouterunadherentaucollege.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/exclureligneimportee.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/importermodele.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/incorpoerassuresimportes.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/index.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/initimportermodele.php mode change 100755 => 100644 Vue/Ajaximporterlisteassure/retirerunadherentaucollege.php mode change 100755 => 100644 Vue/Ajaxlisteadherent/index.php mode change 100755 => 100644 Vue/Ajaxlistegedpolice/index.php mode change 100755 => 100644 Vue/Ajaxlistepolicesclient/index.php create mode 100644 Vue/Ajaxlisterpolicesclient/index.php mode change 100755 => 100644 Vue/Ajaxlocalite/consultation.php mode change 100755 => 100644 Vue/Ajaxlocalite/filtreadherentlocalite.php mode change 100755 => 100644 Vue/Ajaxlocalite/index.php create mode 100644 Vue/Ajaxmouvementassure/client.php mode change 100755 => 100644 Vue/Ajaxmouvementassure/index.php mode change 100755 => 100644 Vue/Ajaxmouvementassure/vide.php mode change 100755 => 100644 Vue/Ajaxplafondadherent/index.php mode change 100755 => 100644 Vue/Ajaxproraterprime/index.php mode change 100755 => 100644 Vue/Ajaxproraterprimebeneficiaire/index.php create mode 100755 Vue/Ajaxsaisirpassnewuser/index.php mode change 100755 => 100644 Vue/Ajaxselectionretrait/index.php mode change 100755 => 100644 Vue/Ajaxsppolice/categorie.php mode change 100755 => 100644 Vue/Ajaxsppolice/college.php mode change 100755 => 100644 Vue/Ajaxsppolice/index.php mode change 100755 => 100644 Vue/Ajaxsppolice/police.php mode change 100755 => 100644 Vue/Ajaxsyntheseconsopolice/index.php create mode 100755 Vue/Ajaxuserrhclient/creeruser.php create mode 100755 Vue/Ajaxuserrhclient/index.php mode change 100755 => 100644 Vue/Ajaxville/consultation.php mode change 100755 => 100644 Vue/Ajaxville/index.php mode change 100755 => 100644 Vue/Assuranceindividuelle/index.php mode change 100755 => 100644 Vue/Beneficiaireprimeadherent/index.php mode change 100755 => 100644 Vue/Changeretatadherent/index.php mode change 100755 => 100644 Vue/Changeretatbeneficiaire/index.php create mode 100755 Vue/Changermotpass/index_2026_01_08.php mode change 100755 => 100644 Vue/Collegepolice/index.php mode change 100755 => 100644 Vue/Consultercollege/index.php mode change 100755 => 100644 Vue/Contrat/index.php mode change 100755 => 100644 Vue/Creeradherent/index.php mode change 100755 => 100644 Vue/Creeravenant/index.php mode change 100755 => 100644 Vue/Creerbeneficiaire/index.php mode change 100755 => 100644 Vue/Emission/index.php mode change 100755 => 100644 Vue/Facturesfamilleadh/index.php mode change 100755 => 100644 Vue/Ficheadherent/index.php mode change 100755 => 100644 Vue/Fichebeneficiaire/ebeneenregistrerface.php mode change 100755 => 100644 Vue/Fichebeneficiaire/index.php mode change 100755 => 100644 Vue/Fichepolice/index.php mode change 100755 => 100644 Vue/Ficheretrait/index.php create mode 100755 Vue/Ficheuserrhclient/index.php mode change 100755 => 100644 Vue/Gedpolice/index.php mode change 100755 => 100644 Vue/Importassure/index.php mode change 100755 => 100644 Vue/Liercolleges/index.php mode change 100755 => 100644 Vue/Listeadherent/index.php mode change 100755 => 100644 Vue/Listeavenant/index.php mode change 100755 => 100644 Vue/Listeimportassure/index.php mode change 100755 => 100644 Vue/Mouvementassure/index.php create mode 100644 Vue/Mouvementassureclient/index.php mode change 100755 => 100644 Vue/Nonfacturepolice/index.php mode change 100755 => 100644 Vue/Nonfacturepolicecons/index.php create mode 100755 Vue/Nouveluserrh/index.php mode change 100755 => 100644 Vue/Plafondadherent/index.php mode change 100755 => 100644 Vue/Rechercherassure/index.php create mode 100755 Vue/Roles/index.php mode change 100755 => 100644 Vue/Spadherent/index.php mode change 100755 => 100644 Vue/Sppolice/index.php mode change 100755 => 100644 Vue/Syntheseconsopolice/index.php mode change 100755 => 100644 Vue/Textecp/index.php create mode 100755 Vue/Usersrhclient/index.php diff --git a/Bootstrap_new/css/override.css b/Bootstrap_new/css/override.css old mode 100755 new mode 100644 diff --git a/Bootstrap_new/css/style_office.css b/Bootstrap_new/css/style_office.css old mode 100755 new mode 100644 index 86c4deb..5c544f0 --- a/Bootstrap_new/css/style_office.css +++ b/Bootstrap_new/css/style_office.css @@ -249,6 +249,7 @@ body.sidebar-collapsed .app-sidebar .nav-link:hover::after { .nav-link[aria-expanded="true"] .nav-arrow { transform: rotate(90deg); + transition: transform 0.3s; } .nav-submenu { @@ -862,6 +863,20 @@ body.sidebar-collapsed .nav-bar { padding: 1rem !important; font-size: 9pt; } + + .chart-container { + height: 60vh; + } + + .card-header { + flex-direction: column; + align-items: flex-start !important; + } + + .btn-export { + margin-top: 0.5rem; + align-self: flex-end; + } } /* Écrans larges : mêmes insets pour nav-tabs et content-area */ @@ -1045,7 +1060,9 @@ li i { margin-right:10px; color:#007bff; } #div_colleges_police, #div_ajout_adherent, #div_avenant, -#div_liste_adherent { +#div_liste_adherent, +#div_adherent, +#div_liste { background-color: var(--office-light); color: var(--office-dark); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; @@ -1059,7 +1076,9 @@ li i { margin-right:10px; color:#007bff; } #div_colleges_police .card, #div_ajout_adherent .card, #div_avenant .card, -#div_liste_adherent .card{ +#div_liste_adherent .card, +#div_adherent .card, +#div_liste .card{ border: 1px solid var(--office-border); border-radius: 2px; /* Office style is more rectangular */ } @@ -1070,7 +1089,9 @@ li i { margin-right:10px; color:#007bff; } #div_colleges_police .card-header, #div_ajout_adherent .card-header, #div_avenant .card-header, -#div_liste_adherent .card-header{ +#div_liste_adherent .card-header +#div_adherent .card-header, +#div_adherent .card-header{ border-bottom: 1px solid var(--office-border) !important; background-color: white; color: var(--office-dark); @@ -1428,4 +1449,20 @@ li i { margin-right:10px; color:#007bff; } padding: 15px; border-radius: 8px; background-color: white; -} \ No newline at end of file +} + +/* Styles communs pour tous les graphiques */ +.chart-container { + position: relative; + width: 100%; + min-height: 300px; +} + +.legend-text { + vertical-align: middle; +} + +.btn-export { + padding: 0.25rem 0.5rem; + font-size: 0.75rem; +} diff --git a/Bootstrap_new/css/ux_enhancements.css b/Bootstrap_new/css/ux_enhancements.css old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/README.md b/Bootstrap_new/images/new/README.md old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/favicon.png b/Bootstrap_new/images/new/favicon.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-128x128.png b/Bootstrap_new/images/new/icons/icon-128x128.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-144x144.png b/Bootstrap_new/images/new/icons/icon-144x144.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-152x152.png b/Bootstrap_new/images/new/icons/icon-152x152.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-16x16.png b/Bootstrap_new/images/new/icons/icon-16x16.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-180x180.png b/Bootstrap_new/images/new/icons/icon-180x180.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-192x192-maskable.png b/Bootstrap_new/images/new/icons/icon-192x192-maskable.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-192x192.png b/Bootstrap_new/images/new/icons/icon-192x192.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-32x32.png b/Bootstrap_new/images/new/icons/icon-32x32.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-384x384.png b/Bootstrap_new/images/new/icons/icon-384x384.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-48x48.png b/Bootstrap_new/images/new/icons/icon-48x48.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-512x512-maskable.png b/Bootstrap_new/images/new/icons/icon-512x512-maskable.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-512x512.png b/Bootstrap_new/images/new/icons/icon-512x512.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-64x64.png b/Bootstrap_new/images/new/icons/icon-64x64.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/icons/icon-96x96.png b/Bootstrap_new/images/new/icons/icon-96x96.png old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/manifest.json b/Bootstrap_new/images/new/manifest.json old mode 100755 new mode 100644 diff --git a/Bootstrap_new/images/new/meta-tags.html b/Bootstrap_new/images/new/meta-tags.html old mode 100755 new mode 100644 diff --git a/Bootstrap_new/js/ux-manager.js b/Bootstrap_new/js/ux-manager.js old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxavenant.php b/Controleur/ControleurAjaxavenant.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxbeneficiaireprimeadherent.php b/Controleur/ControleurAjaxbeneficiaireprimeadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxconsultertableauprestation.php b/Controleur/ControleurAjaxconsultertableauprestation.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxcontextpolice.php b/Controleur/ControleurAjaxcontextpolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxcontroleavenantpolice.php b/Controleur/ControleurAjaxcontroleavenantpolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxcontrolepiece.php b/Controleur/ControleurAjaxcontrolepiece.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxdetailretrait.php b/Controleur/ControleurAjaxdetailretrait.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxexporterlisteassure.php b/Controleur/ControleurAjaxexporterlisteassure.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxexporterunequittanceclient.php b/Controleur/ControleurAjaxexporterunequittanceclient.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxfactureconspop.php b/Controleur/ControleurAjaxfactureconspop.php new file mode 100644 index 0000000..7c2c83b --- /dev/null +++ b/Controleur/ControleurAjaxfactureconspop.php @@ -0,0 +1,72 @@ +facture = new Facture(); + } + + public function index() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $_SESSION['idFacture_C'] = $idFacture; + + $facture = $this->facture->consulterfacturefacture($idFacture) ; + + $this->genererVueAjax(array('facture' => $facture)); + } + + public function feuillemaladie() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $feuillemaladie = $this->facture->consulterfacturefeuillemaladie($idFacture) ; + + $diagnostics = $this->facture->consulterfacturediagnostics($idFacture); + + $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'diagnostics' => $diagnostics)); + } + + public function prestationactes() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $prestations = $this->facture->consulterfactureprestationactes($idFacture) ; + + $this->genererVueAjax(array('prestations' => $prestations)); + } + + public function medicaments() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $medicaments = $this->facture->consulterfacturemedicaments($idFacture) ; + + $this->genererVueAjax(array('medicaments' => $medicaments)); + } + + public function geds() + { + unset($_FILES['fichier_upload']); + + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $geds = $this->facture->getgedfacture($idFacture); + + $this->genererVueAjax(array('geds' => $geds)); + } + + public function verres() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $verres = $this->facture->consulterfactureverres($idFacture) ; + + $this->genererVueAjax(array('verres' => $verres)); + } + +} \ No newline at end of file diff --git a/Controleur/ControleurAjaxfacturesfamille.php b/Controleur/ControleurAjaxfacturesfamille.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxfichepolice.php b/Controleur/ControleurAjaxfichepolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxhabilitation.php b/Controleur/ControleurAjaxhabilitation.php new file mode 100755 index 0000000..4c798fe --- /dev/null +++ b/Controleur/ControleurAjaxhabilitation.php @@ -0,0 +1,150 @@ +utilisateur = new Utilisateur(); + } + + public function index() + { + $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 ajouterunmenuprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); + + $this->utilisateur->ajouterunmenuprofilrh($codeProfil, $codeMenu); + } + + + public function retirerunmenuprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); + + $this->utilisateur->retirerunmenuprofilrh($codeProfil, $codeMenu); + } + + + public function ajoutertousmenusprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + $this->utilisateur->ajoutertousmenusprofilrh($codeProfil); + } + + + public function retirertousmenuprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + $this->utilisateur->retirertousmenuprofilrh($codeProfil); + } + + + 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"); + $codePointVente = $this->requete->getParametreFormulaire("codePointVente"); + + $users = $this->utilisateur->getusersassueurfiltre($codeProfil, $nom, $prenoms, $codePointVente); + + $this->genererVueAjax(array('users' => $users)); + } +} \ No newline at end of file diff --git a/Controleur/ControleurAjaximporterlisteassure.php b/Controleur/ControleurAjaximporterlisteassure.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaximprimercp.php b/Controleur/ControleurAjaximprimercp.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaximprimerlisteassure.php b/Controleur/ControleurAjaximprimerlisteassure.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxlisteadherent.php b/Controleur/ControleurAjaxlisteadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxlistegedpolice.php b/Controleur/ControleurAjaxlistegedpolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxlistepolicesclient.php b/Controleur/ControleurAjaxlistepolicesclient.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxlisterpolicesclient.php b/Controleur/ControleurAjaxlisterpolicesclient.php new file mode 100644 index 0000000..f39af48 --- /dev/null +++ b/Controleur/ControleurAjaxlisterpolicesclient.php @@ -0,0 +1,20 @@ +police = new Police(); + } + + public function index() + { + $vue = $this->requete->getParametreFormulaire("vue"); + $polices = $this->police->getPoliceRh(); + + $this->genererVueAjax(array('vue' => $vue, 'polices' => $polices)); + } +} \ No newline at end of file diff --git a/Controleur/ControleurAjaxlocalite.php b/Controleur/ControleurAjaxlocalite.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxmouvementassure.php b/Controleur/ControleurAjaxmouvementassure.php old mode 100755 new mode 100644 index bb6df7c..26d37f8 --- a/Controleur/ControleurAjaxmouvementassure.php +++ b/Controleur/ControleurAjaxmouvementassure.php @@ -12,11 +12,11 @@ class ControleurAjaxmouvementassure extends Controleur { { $codeSensMouvement = $this->requete->getParametreFormulaire("codeSensMouvement"); $valide = $this->requete->getParametreFormulaire("valide"); - + $ajoutClient = $this->requete->getParametreFormulaire("ajoutClient"); $debut = $this->requete->getParametreDate("debut"); $fin = $this->requete->getParametreDate("fin"); - $mouvementassures = $this->mouvementassure->getMouvementassure($codeSensMouvement, $valide, $debut, $fin); + $mouvementassures = $this->mouvementassure->getMouvementassure($ajoutClient, $codeSensMouvement, $valide, $debut, $fin); $this->genererVueAjax(array('mouvementassures' => $mouvementassures)); } @@ -25,5 +25,20 @@ class ControleurAjaxmouvementassure extends Controleur { { $this->genererVueAjax(array()); } + + public function client() + { + $_SESSION['idPolice_C'] = $this->requete->getParametreFormulaire("idPolice"); + + $codeSensMouvement = $this->requete->getParametreFormulaire("codeSensMouvement"); + $valide = $this->requete->getParametreFormulaire("valide"); + $ajoutClient = $this->requete->getParametreFormulaire("ajoutClient"); + $debut = $this->requete->getParametreDate("debut"); + $fin = $this->requete->getParametreDate("fin"); + + $mouvementassures = $this->mouvementassure->getMouvementassure($ajoutClient, $codeSensMouvement, $valide, $debut, $fin); + + $this->genererVueAjax(array('mouvementassures' => $mouvementassures)); + } } \ No newline at end of file diff --git a/Controleur/ControleurAjaxproraterprime.php b/Controleur/ControleurAjaxproraterprime.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxproraterprimebeneficiaire.php b/Controleur/ControleurAjaxproraterprimebeneficiaire.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxsaisirpassnewuser.php b/Controleur/ControleurAjaxsaisirpassnewuser.php new file mode 100755 index 0000000..59123de --- /dev/null +++ b/Controleur/ControleurAjaxsaisirpassnewuser.php @@ -0,0 +1,14 @@ +requete->getParametreFormulaire("codeModeGenerationPass"); + + $this->genererVueAjax(array('codeModeGenerationPass' => $codeModeGenerationPass)); + } +} \ No newline at end of file diff --git a/Controleur/ControleurAjaxselectionretrait.php b/Controleur/ControleurAjaxselectionretrait.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxsppolice.php b/Controleur/ControleurAjaxsppolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxsyntheseconsopolice.php b/Controleur/ControleurAjaxsyntheseconsopolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAjaxuserrhclient.php b/Controleur/ControleurAjaxuserrhclient.php new file mode 100755 index 0000000..20c72c5 --- /dev/null +++ b/Controleur/ControleurAjaxuserrhclient.php @@ -0,0 +1,89 @@ +client = new Client(); + } + + public function index() + { + $this->genererVueAjax(); + } + + + public function reinitpaswd() + { + $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); + + $this->client->reinitpaswd($codeUtilisateur); + } + + public function desactiver() + { + $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); + + $this->client->desactiver($codeUtilisateur); + } + + public function activer() + { + $codeUtilisateur = $this->requete->getParametreFormulaire("codeUtilisateur"); + + $this->client->activer($codeUtilisateur); + } + + + public function enregistrermodifuser() + { + $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"); + + $telephone = $this->requete->getParametreFormulaire("telephone"); + $email = $this->requete->getParametreFormulaire("email"); + + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + $this->client->enregistrermodifuser($idUtilisateur, $nom, $prenoms, $actif, $actVisible, + $codeLangue, $AffectionVisible, $telephone, $email, $codeProfil); + } + + public function creeruser() + { + $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"); + + $codeModeGenerationPass = $this->requete->getParametreFormulaire("codeModeGenerationPass"); + $codeModeEnvoiPass = $this->requete->getParametreFormulaire("codeModeEnvoiPass"); + + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + + if($this->client->existelogin($codeUtilisateur)) + { + $this->genererVueAjax(array('uniciteLogin' => "0", 'msgErreur' => "Login $codeUtilisateur déjà utilisé!")); + } + else + { + $this->client->creeruser($codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, $actVisible, + $AffectionVisible, $codeModeGenerationPass, $codeModeEnvoiPass, $codeProfil); + + $this->genererVueAjax(array('uniciteLogin' => "1", 'msgErreur' => "Utlisateur $codeUtilisateur créé avec succès!")); + } + } +} \ No newline at end of file diff --git a/Controleur/ControleurAjaxville.php b/Controleur/ControleurAjaxville.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurAssuranceindividuelle.php b/Controleur/ControleurAssuranceindividuelle.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurBeneficiaireprimeadherent.php b/Controleur/ControleurBeneficiaireprimeadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurChangeretatadherent.php b/Controleur/ControleurChangeretatadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurChangeretatbeneficiaire.php b/Controleur/ControleurChangeretatbeneficiaire.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurChangermotpass.php b/Controleur/ControleurChangermotpass.php new file mode 100755 index 0000000..b477100 --- /dev/null +++ b/Controleur/ControleurChangermotpass.php @@ -0,0 +1,81 @@ +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"); + + // Ici on va faire intervenir la complexité du mot de passe + $tb_complexitePassWord = $this->utilisateur->getcomplexitepassword(); + $complexitePassWord = $tb_complexitePassWord['complexitePassWord']; + $longueurPassWord = $tb_complexitePassWord['longueurPassWord']; + + if (strlen($nvmdp)<$longueurPassWord) + { + $this->genererVue(array('msgErreur' => _('Veuillez revoir la longueur du mot de passe!')), "index"); + }/* + else if ( strlen($complexitePassWord)>1 && !(preg_match($complexitePassWord, $nvmdp)) ) + { + $this->genererVue(array('msgErreur' => 'Mot de passe non conforme!'), "index"); + }*/ + else 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->respecteoldpass($login, $nvmdp)) + { + $this->genererVue(array('msgErreur' => _('Mot de passe récemment utilsé!')), "index"); + } + else if ($this->utilisateur->connecter($login, $ancmdp)) + { + $this->utilisateur->changerpass($login, $ancmdp, $nvmdp); + // $this->rediriger("Recherche"); + // ajout KANE du 24/03/2025 + $this->rediriger("Connexion/deconnecter/"); + exit(); + + } + 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/Controleur/ControleurCollegepolice.php b/Controleur/ControleurCollegepolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurConsultercollege.php b/Controleur/ControleurConsultercollege.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurContrat.php b/Controleur/ControleurContrat.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurCreeradherent.php b/Controleur/ControleurCreeradherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurCreeravenant.php b/Controleur/ControleurCreeravenant.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurCreerbeneficiaire.php b/Controleur/ControleurCreerbeneficiaire.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurEmission.php b/Controleur/ControleurEmission.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurFacturesfamilleadh.php b/Controleur/ControleurFacturesfamilleadh.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurFicheadherent.php b/Controleur/ControleurFicheadherent.php old mode 100755 new mode 100644 index b5ef345..cc353d2 --- a/Controleur/ControleurFicheadherent.php +++ b/Controleur/ControleurFicheadherent.php @@ -21,6 +21,7 @@ class ControleurFicheadherent extends Controleur { $_SESSION['modeDevis'] = "0"; } + public function index() { $idPolice = $_SESSION['idPolice_C']; @@ -37,9 +38,48 @@ class ControleurFicheadherent extends Controleur { $_SESSION['controlerPlafondBeneficiaire'] = "0"; $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); + + $prestationsParMois = $this->adherent->getPrestationsmensuelles($idAdherent); + $prestationsParLiens = $this->adherent->getPrestationsLiensParente($idAdherent); + + // Prestations par mois + $tabPrestationsParMois = [ + 'mois' => array_column($prestationsParMois, 'mois'), + 'consos' => array_column($prestationsParMois, 'consommationAdherent') + ]; + + // Prestations par liens de parenté + $tabPrestationsParLiens = [ + 'lienparente' => array_column($prestationsParLiens, 'lienparente'), + 'consos_liens' => array_column($prestationsParLiens, 'consommation') + ]; + + $nbreLienParente = count($tabPrestationsParLiens['lienparente']); + + // Consommations par garanties + $tabConsoParGaranties = [ + 'garanties' => array_column($garantieadherents, 'codeGarantie'), + 'depenses' => array_column($garantieadherents, 'consommationFamille'), + 'plafonds' => array_column($garantieadherents, 'plafondFamille') + ]; + + // Encodage JSON + $dataConsoParMois = json_encode($tabPrestationsParMois, JSON_NUMERIC_CHECK); + $dataConsoParLiens = json_encode($tabPrestationsParLiens, JSON_NUMERIC_CHECK); + $dataConsoParGaranties = json_encode($tabConsoParGaranties, JSON_NUMERIC_CHECK); + - $this->genererVue(array('adherent' => $adherent, 'beneficiaires' => $beneficiaires, 'totalbeneficiaires' => $totalbeneficiaires, - 'garantieadherents' => $garantieadherents, 'limite_adherent' => $limite_adherent)); + $this->genererVue(array( + 'adherent' => $adherent, + 'beneficiaires' => $beneficiaires, + 'totalbeneficiaires' => $totalbeneficiaires, + 'garantieadherents' => $garantieadherents, + 'limite_adherent' => $limite_adherent, + 'dataConsoParMois' => $dataConsoParMois, + 'dataConsoParLiens' => $dataConsoParLiens, + 'dataConsoParGaranties' => $dataConsoParGaranties, + 'nbreLienParente' => $nbreLienParente + )); } public function supprimer() { diff --git a/Controleur/ControleurFichebeneficiaire.php b/Controleur/ControleurFichebeneficiaire.php old mode 100755 new mode 100644 index d0188c7..4775c5a --- a/Controleur/ControleurFichebeneficiaire.php +++ b/Controleur/ControleurFichebeneficiaire.php @@ -202,9 +202,35 @@ class ControleurFichebeneficiaire extends Controleur $limite_beneficiaire = $this->garantieadherent->getLimitesBeneficiaire($idBeneficiaire); $limite_adherent = $this->garantieadherent->getLimitesAdherent($idAdherent); + + $prestationsParMois = $this->beneficiaire->getPrestationsmensuelles($idBeneficiaire); + + // Extraction directe des colonnes avec array_column + $tabConsoParMois = [ + 'mois' => array_column($prestationsParMois, 'mois'), + 'consos' => array_column($prestationsParMois, 'consommationBeneficiaire') + ]; + + $tabConsoParGaranties = [ + 'garanties' => array_column($garantieadherents, 'codeGarantie'), + 'depenses' => array_column($garantieadherents, 'consommation'), + 'plafonds' => array_column($garantieadherents, 'plafond') + ]; + + // Encodage JSON + $dataConsoParMois = json_encode($tabConsoParMois, JSON_NUMERIC_CHECK); + $dataConsoParGaranties = json_encode($tabConsoParGaranties, JSON_NUMERIC_CHECK); - $this->genererVue(array('beneficiaire' => $beneficiaire, 'message' => $message, 'nouveau_fichier' => $nouveau_fichier, - 'garantieadherents' => $garantieadherents, 'limite_beneficiaire' => $limite_beneficiaire, 'limite_adherent' => $limite_adherent)); + $this->genererVue(array( + 'beneficiaire' => $beneficiaire, + 'message' => $message, + 'nouveau_fichier' => $nouveau_fichier, + 'garantieadherents' => $garantieadherents, + 'limite_beneficiaire' => $limite_beneficiaire, + 'limite_adherent' => $limite_adherent, + 'dataConsoParMois' => $dataConsoParMois, + 'dataConsoParGaranties' => $dataConsoParGaranties + )); } public function supprimer() { diff --git a/Controleur/ControleurFichepolice.php b/Controleur/ControleurFichepolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurFicheretrait.php b/Controleur/ControleurFicheretrait.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurFicheuserrhclient.php b/Controleur/ControleurFicheuserrhclient.php new file mode 100755 index 0000000..08570cd --- /dev/null +++ b/Controleur/ControleurFicheuserrhclient.php @@ -0,0 +1,45 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Ficheuserrhclient"); + + $this->client = new Client(); + $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_rh = $this->client->getunuserrhclient($idUtilisateur); + $user_profil = $this->client->getListeProfilRh(); + + $this->genererVue(array( + 'user_rh' => $user_rh, + 'user_actif' => $user_actif, + 'user_actVisible' => $user_actVisible, + 'langue' => $langue, + 'user_AffectionVisible' => $user_AffectionVisible, + 'user_profil' => $user_profil + )); + } +} \ No newline at end of file diff --git a/Controleur/ControleurGedpolice.php b/Controleur/ControleurGedpolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurImportassure.php b/Controleur/ControleurImportassure.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurLiercolleges.php b/Controleur/ControleurLiercolleges.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurListeadherent.php b/Controleur/ControleurListeadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurListeavenant.php b/Controleur/ControleurListeavenant.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurListeimportassure.php b/Controleur/ControleurListeimportassure.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurMouvementassure.php b/Controleur/ControleurMouvementassure.php old mode 100755 new mode 100644 index d176115..8538d46 --- a/Controleur/ControleurMouvementassure.php +++ b/Controleur/ControleurMouvementassure.php @@ -19,7 +19,9 @@ class ControleurMouvementassure extends Controleur { } public function index() { - $mvt_valide = $this->oui_non->getListe(); - $this->genererVue(array('sensmouvement' => $this->sensmouvement, 'mvt_valide' => $mvt_valide)); + $mvt_valide = $this->oui_non->getListe(); + $mvt_ajoutClient = $this->oui_non->getListe(); + $this->genererVue(array('sensmouvement' => $this->sensmouvement + , 'mvt_valide' => $mvt_valide, 'mvt_ajoutClient' => $mvt_ajoutClient)); } } \ No newline at end of file diff --git a/Controleur/ControleurMouvementassureclient.php b/Controleur/ControleurMouvementassureclient.php new file mode 100644 index 0000000..96a5bd5 --- /dev/null +++ b/Controleur/ControleurMouvementassureclient.php @@ -0,0 +1,39 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Mouvementassureclient'); + + $this->sensmouvement = (new Sensmouvement())->getListe(); + $this->oui_non = new Ouinon(); + $this->police = new Police(); + } + + public function index() { + $polices = $this->police->getPoliceRh(); + $mvt_valide = $this->oui_non->getListe(); + $mvt_ajoutClient = $this->oui_non->getListe(); + + $this->genererVue + ( + array + ( + 'sensmouvement' => $this->sensmouvement, + 'mvt_valide' => $mvt_valide, + 'polices' => $polices, + 'mvt_ajoutClient' => $mvt_ajoutClient, + ) + ); + } +} \ No newline at end of file diff --git a/Controleur/ControleurNonfacturepolice.php b/Controleur/ControleurNonfacturepolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurNonfacturepolicecons.php b/Controleur/ControleurNonfacturepolicecons.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurNouveluserrh.php b/Controleur/ControleurNouveluserrh.php new file mode 100755 index 0000000..cf8bac7 --- /dev/null +++ b/Controleur/ControleurNouveluserrh.php @@ -0,0 +1,51 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Nouveluserrh'); + + $this->client = new Client(); + $this->langue = new Langue(); + $this->oui_non = new Ouinon(); + $this->societeuser = new Societeuser(); + } + + public function index() + { + $idClient = $_SESSION['idClient_C']; + //$gc = $this->client->getGcAssureurCode($codeGcAssureur); + $langue = $this->langue->getListe(); + $user_actVisible = $this->oui_non->getListe(); + $user_AffectionVisible = $this->oui_non->getListe(); + + $user_profil = $this->client->getListeProfilRh(); + + $paramsgenerationpass = $this->societeuser->getparamsgenerationpass(); + $modeenvoipass = $this->societeuser->getmodeenvoipass(); + $modegenerationpass = $this->societeuser->getmodegenerationpass(); + + $this->genererVue(array( + //'gc' => $gc, + 'langue' => $langue, + 'user_actVisible' => $user_actVisible, + 'paramsgenerationpass' => $paramsgenerationpass, + 'modeenvoipass' => $modeenvoipass, + 'modegenerationpass' => $modegenerationpass, + 'user_AffectionVisible' => $user_AffectionVisible, + 'user_profil' => $user_profil + )); + } +} \ No newline at end of file diff --git a/Controleur/ControleurPlafondadherent.php b/Controleur/ControleurPlafondadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurRechercherassure.php b/Controleur/ControleurRechercherassure.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurRoles.php b/Controleur/ControleurRoles.php new file mode 100644 index 0000000..ce6f74f --- /dev/null +++ b/Controleur/ControleurRoles.php @@ -0,0 +1,22 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Roles'); + + $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/Controleur/ControleurSpadherent.php b/Controleur/ControleurSpadherent.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurSppolice.php b/Controleur/ControleurSppolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurSyntheseconsopolice.php b/Controleur/ControleurSyntheseconsopolice.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurTextecp.php b/Controleur/ControleurTextecp.php old mode 100755 new mode 100644 diff --git a/Controleur/ControleurUsersrhclient.php b/Controleur/ControleurUsersrhclient.php new file mode 100755 index 0000000..09d5ffd --- /dev/null +++ b/Controleur/ControleurUsersrhclient.php @@ -0,0 +1,26 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Usersrhclient"); + + $this->client = new Client(); + + } + public function index() { + $idClient = $_SESSION['idClient_C']; + + $client = $this->client->getClientId($idClient); + + $users = $this->client->getusersrhclient($idClient); + + $this->genererVue(array('client' => $client, 'users' => $users)); + } +} \ No newline at end of file diff --git a/Framework/Moritio.php b/Framework/Moritio.php index 6d9a8cd..3a2eaf2 100755 --- a/Framework/Moritio.php +++ b/Framework/Moritio.php @@ -6,7 +6,7 @@ function getMoritio_2() { - return "2026-01-31"; + return "2027-01-31"; } function getLicensed($codeSociete, $nomSociete) diff --git a/Js/fonctions.js b/Js/fonctions.js index 8ca5c8a..2566e1d 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -42,8 +42,17 @@ $(function() { // Initialisation des composants au chargement de la page appliquerDataTable('.tabliste'); - const vueOuverte = $("#vue").val(); + //const vueOuverte = $("#vue").val(); + let nomForm = $("#nomForm").val(); + /* + if(nomForm == "nouveluserrh") + { + ajax_saisir_pass_new_user(); + $("#nom").focus(); + } + */ + /* if(vueOuverte === "Accueil"){ reset_graphique(); @@ -224,6 +233,23 @@ function alert_ebene(msgFr, msgEn) { window.alert(message); } +/* +function alert_ebene(p_msg, p_msg_eng) { + const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR"; + const message = (codeLangue === "en_US") ? p_msg_eng : p_msg; + + return Swal.fire({ + text: message, + icon: 'info', + confirmButtonText: (codeLangue === "en_US") ? 'OK' : 'D\'accord' + }).then(() => { + // Ici tu mets l'action suivante, elle ne s'exécute qu'après clic sur OK + console.log("Utilisateur a validé le message"); + }); +} + */ + + /* function alert_ebene(msgFr, msgEn) { const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR"; @@ -1339,7 +1365,17 @@ function imprimer_contrat() function imprimer_cp(lienEtat) { var div_export = $('#div_export_a'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + div_export.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); donnees = 'lienEtat='+lienEtat; @@ -1421,7 +1457,7 @@ function enregistrer_avenant() alert_ebene(v_msg, v_msgEng); return; - } + } motifavenant=$("#motifavenant").val(); @@ -1437,19 +1473,21 @@ function enregistrer_avenant() 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...' + '
'); - $("#btn_enreg").click(); - } - */ + confirm_ebene(v_msg, v_msgEng).then(isConfirmed => { if (isConfirmed) { - var div_attente = $('#div_attente'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - $("#btn_enreg").click(); + var div_attente = $('#div_attente'); + + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); } }); @@ -1459,8 +1497,18 @@ function pop_afficher_selection_retrait() { var div_selection_assure = $('#div_selection_assure'); - div_selection_assure.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + div_selection_assure.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ url: $("#racineWeb").val()+"Ajaxselectionretrait/", type : 'post', @@ -1513,7 +1561,7 @@ function recapituler_retrait() oTable.destroy(); setTimeout(function() { - appliquerDataTable(); + appliquerDataTable('.tabliste'); }, 500); }, error: function(data) { @@ -1610,7 +1658,16 @@ function exporter_modele_assure() var div_export = $('#div_exporter_liste_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + div_export.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaximporterlisteassure/exportermodele/", @@ -1889,7 +1946,16 @@ function ebene_confirmer_photo_face() // OK return; } - $("#div_wait_face_ebene").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_wait_face_ebene").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); compare_face = $("#compare_face").val(); @@ -1983,7 +2049,16 @@ function ebene_supprimer_photo_face() // OK $("ebene_take_photo_face").prop('disabled', true); $("motif").prop('disabled', true); - $("#div_wait_face_ebene").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_wait_face_ebene").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); compare_face = $("#compare_face").val(); @@ -2041,7 +2116,16 @@ function histsupprface() donnees = 'debut='+debut+'&fin='+fin; - $("#div_detail_suppr_face").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_detail_suppr_face").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxhistsupprface/", @@ -2067,8 +2151,17 @@ function histsupprface_export() donnees = 'debut='+debut+'&fin='+fin; donnees_retour = ""; - $("#div_detail_suppr_face").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail_suppr_face").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxhistsupprfaceexport/", type : 'post', @@ -2094,8 +2187,17 @@ function histo_enrollement_face() donnees = 'debut='+debut+'&fin='+fin; donnees_retour = ""; - $("#div_detail_suppr_face").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail_suppr_face").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxhistsupprfaceexport/historiqueenrollement/", type : 'post', @@ -2118,8 +2220,17 @@ function afficher_liste_log_reconnaissance_faciale() donnees = 'debut='+debut+'&fin='+fin; - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxlogreconnaissancefaciale/", type : 'post', @@ -2142,7 +2253,16 @@ function exporter_log_reconnaissance_faciale() donnees = 'debut='+debut+'&fin='+fin; - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_deatil_pop").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $("#btn_pop").click(); @@ -2168,8 +2288,17 @@ function afficher_liste_log_register_face() donnees = 'debut='+debut+'&fin='+fin; - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxlogregisterface/", type : 'post', @@ -2192,7 +2321,16 @@ function exporter_log_register_face() donnees = 'debut='+debut+'&fin='+fin; - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_deatil_pop").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $("#btn_pop").click(); @@ -2218,8 +2356,17 @@ function afficher_liste_log_remove_face() donnees = 'debut='+debut+'&fin='+fin; - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxlogremoveface/", type : 'post', @@ -2242,7 +2389,16 @@ function exporter_log_remove_face() donnees = 'debut='+debut+'&fin='+fin; - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_deatil_pop").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $("#btn_pop").click(); @@ -2279,8 +2435,17 @@ function afficher_liste_logconnexion() donnees = 'login='+login+'&ipConnexion='+ipConnexion+'&debut='+debut+'&fin='+fin; - $("#div_detail").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxlogconnexion/", type : 'post', @@ -2305,7 +2470,16 @@ function exporter_liste_logconnexion() donnees = 'login='+login+'&ipConnexion='+ipConnexion+'&debut='+debut+'&fin='+fin; - $("#div_deatil_pop").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_deatil_pop").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $("#btn_pop").click(); @@ -2452,6 +2626,17 @@ function prorater_prime_beneficiaire() donnees = '&dateEntree='+dateEntree; donnees += '&fraisCarte='+fraisCarte; donnees += '&prorata='+prorata; + + $("#div_prime").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxproraterprimebeneficiaire/", @@ -2666,8 +2851,17 @@ function calculer_prime_inmportation() var div_attente = $('#div_liste_assure_importe'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaximporterlisteassure/calculerprimeimportee/", type: 'POST', @@ -2745,8 +2939,17 @@ function incorporer_assures_inmportes() { var div_attente = $('#div_liste_assure_importe'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaximporterlisteassure/incorpoerassuresimportes/", type: 'POST', @@ -2809,8 +3012,16 @@ function afficher_adherent_importee() var div_attente = $('#div_adherents_importes'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaximporterlisteassure/afficheradherentimportee/", @@ -3048,8 +3259,18 @@ function incorporer_assures_inmportes() if (isConfirmed) { var div_attente = $('#div_liste_assure_importe'); - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); - + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ url: $("#racineWeb").val()+"Ajaximporterlisteassure/incorpoerassuresimportes/", type: 'POST', @@ -3068,30 +3289,6 @@ function incorporer_assures_inmportes() } }); - /* - 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 afficher_police_id() @@ -3149,7 +3346,16 @@ function afficher_garantieadherent_entete_contrat() // donnees = 'exercieReference='+exercieReference; donnees = 'idEntetecontrat='+idEntetecontrat; - div_attente.html('
  ' + 'Chargement en cours! Veuillez patienter...' + '
'); + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxplafondadherent/", @@ -3216,8 +3422,17 @@ function listerfacturefamille() donnees = 'd1='+d1+'&d2='+d2; - $("#div_dossiers").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_dossiers").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxfacturesfamille/", type : 'post', @@ -3240,8 +3455,17 @@ function afficher_beneficiare_prime_adherent() donnees_retour = ""; donnees = 'debutPeriode='+debutPeriode+"&finPeriode="+finPeriode; - $("#div_detail_requete").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_detail_requete").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxbeneficiaireprimeadherent/", type : 'post', @@ -3264,7 +3488,16 @@ function rapport_sp_police() function sinistres_a_prime_police() { - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_detail_sp").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxsppolice/police/", @@ -3281,7 +3514,16 @@ function sinistres_a_prime_police() function sinistres_a_prime_categorie() { - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_detail_sp").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxsppolice/categorie/", @@ -3299,7 +3541,16 @@ function sinistres_a_prime_categorie() function sinistres_a_prime_college() { - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_detail_sp").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxsppolice/college/", @@ -3319,10 +3570,17 @@ function requetes_synthese_consommation_police() { v_url = $("#racineWeb").val()+"Ajaxsyntheseconsopolice/"; - $("#div_detail_exp").html(''); + $("#div_detail_sp").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); - $("#div_detail_sp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - $.ajax({ url: v_url, type : 'post', @@ -3345,7 +3603,16 @@ function requetes_synthese_consommation_police_export() { v_url = $("#racineWeb").val()+"Ajaxsyntheseconsopolice/exportxls/"; - $("#div_detail_exp").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_detail_exp").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: v_url, @@ -3371,8 +3638,17 @@ function lister_ged_police() donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine; - $("#div_ged").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); - + $("#div_ged").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + $.ajax({ url: $("#racineWeb").val()+"Ajaxlistegedpolice/", type : 'post', @@ -3411,7 +3687,17 @@ function imprimer_liste_assures_date() donnees = 'dateAnalyse='+dateAnalyse; var div_export = $('#div_export_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + div_export.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaximprimerlisteassure/", @@ -3454,7 +3740,17 @@ function exporter_liste_assures_date() donnees = 'dateAnalyse='+dateAnalyse; var div_export = $('#div_exporter_liste_assures'); - div_export.html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + + div_export.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxexporterlisteassure/", @@ -3489,16 +3785,27 @@ function retour_recherche_assure() function liste_mouvemements_assures() { + ajoutClient=$("#ajoutClient").val(); codeSensMouvement=$("#codeSensMouvement").val(); valide=$("#valide").val(); debut=$("#debut").val(); fin=$("#fin").val(); donnees = 'codeSensMouvement='+codeSensMouvement; + donnees += '&ajoutClient='+ajoutClient; donnees += '&valide='+valide; donnees += '&debut='+debut+'&fin='+fin; - $("#div_mvt").html('
  ' + 'Veuillez patienter... / Please wait...' + '
'); + $("#div_mvt").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); $.ajax({ url: $("#racineWeb").val()+"Ajaxmouvementassure/", @@ -3508,8 +3815,1116 @@ function liste_mouvemements_assures() }, success: function(data) { $("#div_mvt").html(data); + appliquerDataTable('.tabliste'); }, complete: function() { } }); } + +function retour_fiche_police() +{ + + idPolice=$("#idPolice_C" ).val(); + + if (idPolice>"") + { + window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); + }else{ + window.location.assign($("#racineWeb" ).val()+"Accueil/"); + } + +} + +function liste_mouvemements_assures_client() +{ + 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; + } + + codeSensMouvement=$("#codeSensMouvement").val(); + ajoutClient=$("#ajoutClient").val(); + valide=$("#valide").val(); + debut=$("#debut").val(); + fin=$("#fin").val(); + + donnees = 'idPolice='+idPolice; + donnees += '&codeSensMouvement='+codeSensMouvement; + donnees += '&ajoutClient='+ajoutClient; + donnees += '&valide='+valide; + donnees += '&debut='+debut+'&fin='+fin; + + $("#div_mvt").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxmouvementassure/client/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + $("#div_mvt").html(data); + appliquerDataTable('.tabliste'); + }, + complete: function() { + } + }); +} + + +function consulter_facture_pop(idFacture) +{ + $("#div_facture_detail").html(''); + + $("#div_consulter_facture_pop").html(` +
+
+ Loading... +
+ + 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(` +
+
+ Loading... +
+ + 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(` +
+
+ Loading... +
+ + 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(` +
+
+ Loading... +
+ + 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 consulterfactureverres_pop() +{ + idFacture = $("#idFacture").val(); + + $("#div_facture_detail").html(` +
+
+ Loading... +
+ + 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 consulterfactureged_pop() +{ + idFacture = $("#idFacture").val(); + + $("#div_facture_detail").html(` +
+
+ Loading... +
+ + 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 lister_polices_client(id) { + const vues = { + 1: "Rechercherassure", + 2: "Syntheseconsopolice", + 3: "Sppolice" + }; + + vue = vues[id] || null; // null si id ne correspond à rien + + const modalEl = document.getElementById('pop_police'); + + // On déplace le modal directement sous s'il n'y est pas déjà. + // Cela permet de passer outre les z-index des conteneurs parents (Sidebar, Header). + if (modalEl.parentElement !== document.body) { + document.body.appendChild(modalEl); + } + + const racine = $("#racineWeb").val() || "/"; + const divPolice = document.getElementById('div_police'); + + /* =================================================== + * Préparation visuelle (Spinner) + * =================================================== */ + showLoader("#div_police", { size: 3 }); + + + /* =================================================== + * Initialisation de l'instance Bootstrap + * =================================================== */ + const modal = bootstrap.Modal.getOrCreateInstance(modalEl, { + backdrop: 'static', + keyboard: false + }); + + /* =================================================== + * Gestion de l'événement d'affichage et AJAX + * =================================================== */ + // On utilise 'shown.bs.modal' pour lancer l'AJAX une fois le modal visible + $(modalEl).one('shown.bs.modal', function () { + $.ajax({ + url: racine + "Ajaxlisterpolicesclient/", + type: 'POST', + data: { vue: vue }, + success: function (data) { + divPolice.innerHTML = data; + }, + error: function (xhr, status, error) { + divPolice.innerHTML = ` +
+ Erreur : Impossible de générer la liste des polices. + ${error} +
+ `; + } + }); + }); + + /* =================================================== + * 6. Affichage final + * =================================================== */ + modal.show(); +} + +function ajax_contexter_police(){ + idPolice = $("#idPolice").val(); + + donnees = 'idPolice='+idPolice; + $.ajax({ + url: $("#racineWeb").val()+"Ajaxcontextpolice/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + complete: function() { + + } + }); + +} + +function ouvrir_vue(vue) +{ + window.location.assign($("#racineWeb" ).val()+vue+"/"); +} + +function afficher_users_client_id(idUtilisateur) +{ + window.location.assign($("#racineWeb" ).val()+"Ficheuserrhclient/"+idUtilisateur+"/"); +} + +function retour_a_users_rh_client() +{ + window.location.assign($("#racineWeb" ).val()+"Usersrhclient/"); +} + +function verifMailValeur(v_mail) +{ + if (v_mail.length==0) + { + return true; + } + else + { + var regex = /^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+([;.](([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+)*$/; + if(!regex.test(v_mail)) + { + return false; + } + else + { + return true; + } + } +} + +function enregistrer_modif_user_rh() +{ + idUtilisateur = $("#idUtilisateur").val(); + nom = $("#nom").val(); + prenoms = $("#prenoms").val(); + actif = $("#actif").val(); + actVisible = "0"; + codeLangue = $("#codeLangueUser").val(); + AffectionVisible = "0"; + + telephone = $("#telephone").val(); + email = $("#email").val(); + + codeProfil = $("#codeProfil").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 (codeProfil<=" ") + { + v_msg="Le profil utilisateur est obligatoire!"; + v_msgEng="The user profile is required!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + + if(!verifMailValeur(email)) + { + v_msg="Veuillez revoir l'adresse mail!"; + v_msgEng="Please review the email address!"; + alert_ebene(v_msg, v_msgEng); + + $("#email").focus(); + return; + } + + donnees = 'idUtilisateur=' + idUtilisateur; + donnees += '&nom=' + nom; + donnees += '&prenoms=' + prenoms; + donnees += '&actif=' + actif; + donnees += '&actVisible=' + actVisible; + donnees += '&codeLangue=' + codeLangue; + donnees += '&codeProfil=' + codeProfil; + donnees += '&AffectionVisible=' + AffectionVisible; + donnees += '&telephone='+telephone+'&email='+email; + + v_msg="Confirmez-vous ces modifications?"; + v_msgEng="Do you confirm these modifications?"; + + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/enregistrermodifuser/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + //$('#div_test_gabarit').html(data); + }, + complete: function() { + retour_a_users_rh_client(); + } + }); + } else { + // L'utilisateur a annulé + console.log("Confirmation refusée"); + } + }); + +} + +function creer_user_rh_client() +{ + codeUtilisateur = $("#codeUtilisateur").val(); + codeUtilisateur = codeUtilisateur.trim(); + codeUtilisateur = supprimer_espace_string(codeUtilisateur); + codeUtilisateur = codeUtilisateur.toLowerCase(); + + codeModeGenerationPass = $("#codeModeGenerationPass").val(); + codeModeEnvoiPass = $("#codeModeEnvoiPass").val(); + + nom = $("#nom").val(); + prenoms = $("#prenoms").val(); + telephone = $("#telephone").val(); + email = $("#email").val(); + + codeProfil = $("#codeProfil").val(); + + codeLangue = $("#codeLangueUser").val(); + actVisible = "0"; + AffectionVisible = "0"; + + 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(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 (codeProfil<=" ") + { + v_msg="Le profil utilisateur est obligatoire!"; + v_msgEng="The user profile is required!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + + if ((codeModeEnvoiPass=="1" || codeModeEnvoiPass=="2") && (telephone <=" ") ) + { + v_msg="Veuillez revoir le téléphone!"; + v_msgEng="Please review the phone!"; + alert_ebene(v_msg, v_msgEng); + + $("#telephone").focus(); + return; + } + + if ((codeModeEnvoiPass=="0" || codeModeEnvoiPass=="2") && (email <=" ") ) + { + v_msg="Veuillez revoir l'adresse mail!"; + v_msgEng="Please review the email address!"; + alert_ebene(v_msg, v_msgEng); + + $("#email").focus(); + return; + } + + if(codeModeGenerationPass=="0") + { + 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; + } + } + + if(!verifMailValeur(email)) + { + v_msg="Veuillez revoir l'adresse mail!"; + v_msgEng="Please review the email address!"; + alert_ebene(v_msg, v_msgEng); + + $("#email").focus(); + return; + } + + motPass = nvmdp; + + donnees = 'codeUtilisateur='+codeUtilisateur; + donnees += '&nom='+nom+'&prenoms='+prenoms; + donnees += '&telephone='+telephone+'&email='+email+'&motPass='+motPass; + donnees += '&codeLangue='+codeLangue+'&actVisible='+actVisible; + donnees += '&AffectionVisible='+AffectionVisible; + donnees += '&codeModeGenerationPass='+codeModeGenerationPass; + donnees += '&codeModeEnvoiPass='+codeModeEnvoiPass; + donnees += '&codeProfil=' + codeProfil; + + v_msg="Confirmez-vous ce nouvel utilisateur?"; + v_msgEng="Do you confirm this new user?"; + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/creeruser/", + 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_rh_client(); + } + else + { + v_msg="Login " + codeUtilisateur +" déjà utilisé!"; + v_msgEng="Login " + codeUtilisateur +" already in use!"; + alert_ebene(v_msg, v_msgEng); + + $("#codeUtilisateur").focus(); + } + } + }); + } + }); +} + +function reinitpaswd_user_rh(codeUtilisateur) +{ + v_msg="Confirmez-vous la réinitialisation?"; + v_msgEng="Do you confirm the reset?"; + + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + donnees = "codeUtilisateur="+codeUtilisateur; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/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 { + // L'utilisateur a annulé + v_msg="Opération annulée!"; + v_msgEng="Operation canceled!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + }); +} + + +function users_rh_client() +{ + window.location.assign($("#racineWeb" ).val()+"Usersrhclient/"); +} + +function desactiver_user_rh_client(codeUtilisateur) +{ + v_msg="Confirmez-vous la désactivation?"; + v_msgEng="Do you confirm the deactivation?"; + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + donnees = "codeUtilisateur="+codeUtilisateur; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/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_rh_client(); + } + }); + return; + } else { + // L'utilisateur a annulé + v_msg="Opération annulée!"; + v_msgEng="Operation canceled!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + }); + +} + +function activer_user_rh_client(codeUtilisateur) +{ + v_msg="Confirmez-vous l\'activation?"; + v_msgEng="Do you confirm the activation?"; + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + donnees = "codeUtilisateur="+codeUtilisateur; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/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_rh_client(); + } + }); + return; + } else { + // L'utilisateur a annulé + v_msg="Opération annulée!"; + v_msgEng="Operation canceled!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + }); + +} + +function ajax_saisir_pass_new_user() +{ + codeModeGenerationPass = $("#codeModeGenerationPass").val(); + + donnees = 'codeModeGenerationPass='+codeModeGenerationPass; + + $("#div_passwd").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxsaisirpassnewuser/", + type: 'POST', + data: donnees, + success: function(data) { + $("#div_passwd").html(data); + }, + error: function(data) { + }, + complete: function() + { + if(codeModeGenerationPass=="0") + { + $("#nvmdp").focus(); + } + else + { + $("#btn_enreg").focus(); + } + } + }); +} + +function controle_longeur_passe(controle) +{ + longueur = controle.value.length; + + if(longueur==0) + { + return false; + } + + if(longueur<8) + { + v_msg="8 caractères minimum exigé!"; + v_msgEng="8 characters minmum required!"; + alert_ebene(v_msg, v_msgEng); + + controle.value=""; + controle.focus(); + return false; + } +} + +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<8) + { + v_msg="8 caractères minimum exigé!"; + v_msgEng="8 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 supprimer_espace_string(p_mot) +{ + p_mot = p_mot.trim(); + p_mot = p_mot.replace(/ /g, ""); + return p_mot; +} + + +function afficher_menu_principal_profil_rh() +{ + 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(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + div_attente.html(data); + }, + complete: function() { + } + }); +} + +function ajouter_tous_menus_principal_profil_rh() +{ + 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()+"Ajaxhabilitation/ajoutertousmenusprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} + +function ajouter_un_menu_principal_profil_rh(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()+"Ajaxhabilitation/ajouterunmenuprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} + +function retirer_tous_menus_principal_profil_rh() +{ + 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()+"Ajaxhabilitation/retirertousmenuprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} + +function retirer_un_menu_principal_profil_rh(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()+"Ajaxhabilitation/retirerunmenuprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} diff --git a/Js/sw-register.js b/Js/sw-register.js old mode 100755 new mode 100644 diff --git a/Modele/Adherent.php b/Modele/Adherent.php index 41bf3f0..aa930a4 100755 --- a/Modele/Adherent.php +++ b/Modele/Adherent.php @@ -846,5 +846,34 @@ class Adherent extends Modele { $resultat = $this->executerRequete($sql, array($idAdherent)); return $resultat->fetch(PDO::FETCH_ASSOC); } + + // Ajouté par Sorel le 12-01-2026 => Gestion des graphiques de la famille + + public function getPrestationsmensuelles($idAdherent){ + + if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US"){ + $sql = 'call prestations_mensuelles_famille_eng(?)'; + }else{ + $sql = 'call prestations_mensuelles_famille(?)'; + } + + $resultat = $this->executerRequete($sql, array($idAdherent)); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + + public function getPrestationsLiensParente($idAdherent){ + + if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US"){ + + $sql = 'call prestations_lienparente_famille_eng(?)'; + }else{ + $sql = 'call prestations_lienparente_famille(?)'; + } + + $resultat = $this->executerRequete($sql, array($idAdherent)); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Modele/Adherent_temp.php b/Modele/Adherent_temp.php old mode 100755 new mode 100644 diff --git a/Modele/Avenant.php b/Modele/Avenant.php old mode 100755 new mode 100644 diff --git a/Modele/Beneficiaire.php b/Modele/Beneficiaire.php index c13d2be..b6b4894 100755 --- a/Modele/Beneficiaire.php +++ b/Modele/Beneficiaire.php @@ -1644,5 +1644,18 @@ class Beneficiaire extends Modele { return $resultat->fetch(PDO::FETCH_ASSOC); } + + public function getPrestationsmensuelles($idBeneficiaire){ + + if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US"){ + $sql = 'call prestations_mensuelles_beneficiaire_eng(?)'; + }else{ + $sql = 'call prestations_mensuelles_beneficiaire(?)'; + } + + $resultat = $this->executerRequete($sql, array($idBeneficiaire)); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Modele/Client.php b/Modele/Client.php index 2de56de..1fd8153 100755 --- a/Modele/Client.php +++ b/Modele/Client.php @@ -287,4 +287,106 @@ class Client extends Modele { return $resultat->fetchAll(PDO::FETCH_ASSOC); } + + public function getusersrhclient($idClient) + { + $sql = 'call sp_c_get_users_rh(?)'; + + $resultat = $this->executerRequete($sql, array($idClient)); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + + public function getunuserrhclient($idUtilisateur) + { + $sql = 'call sp_un_user_rh_client(?)'; + + $resultat = $this->executerRequete($sql, array($idUtilisateur)); + + return $resultat->fetch(PDO::FETCH_ASSOC); + } + + public function getListeProfilRh() + { + if (est_anglophone()){ + $sql = 'call sp_get_liste_profil_rh_eng()'; + }else{ + $sql = 'call sp_get_liste_profil_rh()'; + } + + $resultat = $this->executerRequete($sql); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + + public function enregistrermodifuser($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible, $telephone, $email, $codeProfil) + { + $user = $_SESSION['login']; + + $sql = 'call sp_c_modifier_user_rh(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; + + $resultat = $this->executerRequete($sql, array($idUtilisateur, $nom, $prenoms, $actif, $actVisible, $codeLangue, $AffectionVisible, $user, $telephone, $email, $codeProfil)); + } + + public function reinitpaswd($codeUtilisateur) + { + $sql = 'call sp_c_reinit_utilisateur_rh_client(?)'; + + $this->executerRequete($sql, array($codeUtilisateur)); + } + + public function desactiver($codeUtilisateur) + { + $sql = 'call sp_c_desactiver_utilisateur_rh_client(?)'; + + $this->executerRequete($sql, array($codeUtilisateur)); + } + + public function activer($codeUtilisateur) + { + $sql = 'call sp_c_activer_utilisateur_rh_client(?)'; + + $this->executerRequete($sql, array($codeUtilisateur)); + } + + public function existelogin($codeUtilisateur) { + $sql = 'select id FROM c_utilisateur WHERE (codeUtilisateur=?)'; + $resultat = $this->executerRequete($sql, array($codeUtilisateur)); + return ($resultat->rowCount() > 0); + } + + public function creeruser($codeUtilisateur, $nom, $prenoms, $telephone, $email, $motPass, $codeLangue, + $actVisible, $AffectionVisible, $codeModeGenerationPass, $codeModeEnvoiPass, $codeProfil) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + $idClient = $_SESSION['idClient_C']; + $numeroClient = $_SESSION['numeroClient_C']; + + $passAutoGen = ""; + + switch ($codeModeGenerationPass) + { + case "0": + $hash = password_hash($motPass, PASSWORD_DEFAULT); + break; + case "1": + $passAutoGen = uniqid(); + $hash = password_hash($passAutoGen, PASSWORD_DEFAULT); + $motPass = $passAutoGen; + break; + case 2: + $hash = ""; + break; + default: + $hash = password_hash($motPass, PASSWORD_DEFAULT); + } + + $sql = 'call sp_c_creer_user_rh_client(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; + + $this->executerRequete($sql, array($codeSociete, $idClient, $numeroClient, $codeUtilisateur, $nom, $prenoms, $telephone, + $email, $hash, $codeLangue, $actVisible, $AffectionVisible, $user, $codeModeGenerationPass, + $passAutoGen, $codeModeEnvoiPass, $motPass, $codeProfil)); + } + } \ No newline at end of file diff --git a/Modele/Collegepolice.php b/Modele/Collegepolice.php old mode 100755 new mode 100644 diff --git a/Modele/Emission.php b/Modele/Emission.php old mode 100755 new mode 100644 diff --git a/Modele/Etatcp.php b/Modele/Etatcp.php old mode 100755 new mode 100644 diff --git a/Modele/Mouvementassure.php b/Modele/Mouvementassure.php old mode 100755 new mode 100644 index b9bb50b..402419f --- a/Modele/Mouvementassure.php +++ b/Modele/Mouvementassure.php @@ -3,17 +3,15 @@ require_once 'Framework/Modele.php'; class Mouvementassure extends Modele { - public function getMouvementassure($codeSensMouvement, $valide, $debut, $fin) + public function getMouvementassure($ajoutClient, $codeSensMouvement, $valide, $debut, $fin) { $codeSensMouvement = contruireParamLike($codeSensMouvement); + $ajoutClient = contruireParamLike($ajoutClient); $valide = contruireParamLike($valide); - $sql = 'call sp_get_mouvementassures(?, ?, ?, ?, ?)'; + $sql = 'call sp_get_mouvementassures(?, ?, ?, ?, ?, ?)'; - // var_dump(array($codeSensMouvement, $valide, $debut, $fin)); - // exit(); - - $resultat = $this->executerRequete($sql, array($_SESSION['idPolice_C'], $codeSensMouvement, $valide, $debut, $fin)); + $resultat = $this->executerRequete($sql, array($_SESSION['idPolice_C'], $ajoutClient, $codeSensMouvement, $valide, $debut, $fin)); return $resultat->fetchAll(PDO::FETCH_ASSOC); } diff --git a/Modele/Police.php b/Modele/Police.php old mode 100755 new mode 100644 index 5d8b7c3..e5e2f3d --- a/Modele/Police.php +++ b/Modele/Police.php @@ -862,5 +862,16 @@ class Police extends Modele { $liste = $this->executerRequete($sql,array($_SESSION['codeSociete'],$idPolice)); return $liste->fetchAll(PDO::FETCH_ASSOC); } + + public function getPoliceRh() { + + $codeSociete = $_SESSION['codeSociete']; + + $sql = 'CALL sp_liste_police_client_rh(?);'; + + $liste = $this->executerRequete($sql,array($_SESSION['idClient_C'])); + + return $liste->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Modele/Quittance.php b/Modele/Quittance.php old mode 100755 new mode 100644 diff --git a/Modele/Sensmouvement.php b/Modele/Sensmouvement.php old mode 100755 new mode 100644 diff --git a/Modele/Societeuser.php b/Modele/Societeuser.php index c57121b..1bb2da2 100755 --- a/Modele/Societeuser.php +++ b/Modele/Societeuser.php @@ -50,4 +50,50 @@ class Societeuser extends Modele { return $resultat->fetchAll(PDO::FETCH_ASSOC); } + public function getparamsgenerationpass() + { + $codeSociete = $_SESSION['codeSociete']; + + $sql = 'SELECT A.codeModeGenerationPass, B.libelle AS modegenerationpass, A.codeModeEnvoiPass FROM societeuser A + LEFT JOIN modegenerationpass B ON (B.codeModeGenerationPass=A.codeModeGenerationPass) WHERE (A.codeSociete=?) LIMIT 1;'; + + $resultat = $this->executerRequete($sql, array($codeSociete));; + + $ligne = $resultat->fetch(PDO::FETCH_ASSOC); + + return $ligne; + } + + public function getmodeenvoipass() + { + if (est_anglophone()) + { + $sql = 'SELECT codeModeEnvoiPass AS `code`, libelleEng AS libelle FROM modeenvoipass ORDER BY ordre;'; + } + else + { + $sql = 'SELECT codeModeEnvoiPass AS `code`, libelle FROM modeenvoipass ORDER BY ordre;'; + } + + $resultat = $this->executerRequete($sql); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + + public function getmodegenerationpass() + { + if (est_anglophone()) + { + $sql = 'SELECT codeModeGenerationPass AS `code`, libelleEng AS libelle FROM modegenerationpass ORDER BY ordre;'; + } + else + { + $sql = 'SELECT codeModeGenerationPass AS `code`, libelle FROM modegenerationpass ORDER BY ordre;'; + } + + $resultat = $this->executerRequete($sql); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } + } \ No newline at end of file diff --git a/Modele/Typeapporteur.php b/Modele/Typeapporteur.php old mode 100755 new mode 100644 diff --git a/Modele/Typeavenant.php b/Modele/Typeavenant.php old mode 100755 new mode 100644 diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index 48c732e..3c00b6c 100755 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -33,7 +33,7 @@ class Utilisateur extends Modele { public function changerpass($login, $ancmdp, $nvmdp) { $hash = password_hash($nvmdp, PASSWORD_DEFAULT); - $sql = "call sp_a_changer_mot_passe_assure(?, ?)"; + $sql = "call sp_c_changer_mot_passe_client(?, ?)"; $this->executerRequete($sql, array($hash, $login)); $_SESSION['passExpired'] = false; $_SESSION['passAchanger'] = false; @@ -65,8 +65,7 @@ class Utilisateur extends Modele { $this->executerRequete($sql, array($user, $codeNewLang)); $_SESSION['lang'] = $codeNewLang; - setcookie('lang', $codeLangue, time()+365*24*3600, '/'); - $_COOKIE['lang'] = $codeNewLang; + setcookie('lang', $codeNewLang, time()+365*24*3600, '/'); } public function verifiermotpassdefaut($codeSociete, $mdp) @@ -130,4 +129,78 @@ class Utilisateur extends Modele { setcookie('lang', $codeNewLang, time()+365*24*3600, '/'); } + public function getListeProfilCode() + { + if (est_anglophone()) + { + $sql = 'SELECT codeProfil AS `code`, CONCAT(libelleEng, " ( ", codeProfil, " )") AS libelle FROM c_profil WHERE (codeSociete=?) ORDER BY libelleEng'; + } + else + { + $sql = 'SELECT codeProfil AS `code`, CONCAT(libelle, " ( ", codeProfil, " )") AS libelle FROM c_profil WHERE (codeSociete=?) ORDER BY libelle'; + } + + $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); + return $liste->fetchAll(PDO::FETCH_ASSOC); + } + + public function getMenusAccessiblesProfil($codeProfil) + { + $sql = "call sp_c_get_menus_accessibles_profil_rh(?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } + + public function getMenusNonAccessiblesProfil($codeProfil) + { + $sql = "call sp_c_get_menus_non_accessibles_profil_rh(?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } + + public function ajoutertousmenusprofilrh($codeProfil) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_ajouter_tous_menus_accessibles_profil_rh(?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); + } + + public function ajouterunmenuprofilrh($codeProfil, $codeMenu) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_ajouter_un_menu_accessibles_profil_rh(?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); + } + + public function retirertousmenuprofilrh($codeProfil) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_retirer_tous_menus_accessibles_profil_rh(?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); + } + + public function retirerunmenuprofilrh($codeProfil, $codeMenu) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_retirer_un_menu_accessibles_profil_rh(?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); + } } \ No newline at end of file diff --git a/Societes/radiant/Tarifs/Controleur/Consultercollegeindex.php b/Societes/radiant/Tarifs/Controleur/Consultercollegeindex.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Cpfc1eng.php b/Societes/radiant/Tarifs/Controleur/Cpfc1eng.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Cpfc1kiny.php b/Societes/radiant/Tarifs/Controleur/Cpfc1kiny.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php b/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Cpfc2kiny.php b/Societes/radiant/Tarifs/Controleur/Cpfc2kiny.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Cpstandard.php b/Societes/radiant/Tarifs/Controleur/Cpstandard.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php b/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php b/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php b/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php b/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php b/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php b/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php b/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Devisstandard.php b/Societes/radiant/Tarifs/Controleur/Devisstandard.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php b/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Editioncarteassure.php b/Societes/radiant/Tarifs/Controleur/Editioncarteassure.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Modifiercollegedenregistrer.php b/Societes/radiant/Tarifs/Controleur/Modifiercollegedenregistrer.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Modifiercollegedindex.php b/Societes/radiant/Tarifs/Controleur/Modifiercollegedindex.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Modifiercollegeenregistrer.php b/Societes/radiant/Tarifs/Controleur/Modifiercollegeenregistrer.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Controleur/Modifiercollegeindex.php b/Societes/radiant/Tarifs/Controleur/Modifiercollegeindex.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Img/logo_carte.png b/Societes/radiant/Tarifs/Img/logo_carte.png old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Img/logo_societe.png b/Societes/radiant/Tarifs/Img/logo_societe.png old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Modele/College_temp.php b/Societes/radiant/Tarifs/Modele/College_temp.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Modele/College_temp_d.php b/Societes/radiant/Tarifs/Modele/College_temp_d.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Modele/Police.php b/Societes/radiant/Tarifs/Modele/Police.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Modele/Police_d.php b/Societes/radiant/Tarifs/Modele/Police_d.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Modele/Tarif.php b/Societes/radiant/Tarifs/Modele/Tarif.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Vue/Consultercollege.php b/Societes/radiant/Tarifs/Vue/Consultercollege.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Vue/Creercollege.php b/Societes/radiant/Tarifs/Vue/Creercollege.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Vue/Creercolleged.php b/Societes/radiant/Tarifs/Vue/Creercolleged.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Vue/Modifiercollege.php b/Societes/radiant/Tarifs/Vue/Modifiercollege.php old mode 100755 new mode 100644 diff --git a/Societes/radiant/Tarifs/Vue/Modifiercolleged.php b/Societes/radiant/Tarifs/Vue/Modifiercolleged.php old mode 100755 new mode 100644 diff --git a/Vue/Accueil/index.php b/Vue/Accueil/index.php old mode 100755 new mode 100644 index 6ae68b0..8873ce4 --- a/Vue/Accueil/index.php +++ b/Vue/Accueil/index.php @@ -32,12 +32,12 @@
: - +
: - +
@@ -48,7 +48,7 @@
: - +
: @@ -73,7 +73,6 @@

- - - - - - - \ No newline at end of file diff --git a/Vue/Ajaxavenant/getdateavenant.php b/Vue/Ajaxavenant/getdateavenant.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxavenant/getdateavenantbeneficiaire.php b/Vue/Ajaxavenant/getdateavenantbeneficiaire.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxavenant/index.php b/Vue/Ajaxavenant/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxbeneficiaireprimeadherent/index.php b/Vue/Ajaxbeneficiaireprimeadherent/index.php old mode 100755 new mode 100644 index ce96888..272dbb7 --- a/Vue/Ajaxbeneficiaireprimeadherent/index.php +++ b/Vue/Ajaxbeneficiaireprimeadherent/index.php @@ -1,68 +1,76 @@ - - - - - - - - - - - - +
+
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($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'])) ?> +
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'])) ?>
+ + + + 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'])) ?> + + + + + + \ No newline at end of file diff --git a/Vue/Ajaxconsultertableauprestation/index.php b/Vue/Ajaxconsultertableauprestation/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxcontrolepiece/index.php b/Vue/Ajaxcontrolepiece/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxdetailretrait/index.php b/Vue/Ajaxdetailretrait/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxfactureconspop/feuillemaladie.php b/Vue/Ajaxfactureconspop/feuillemaladie.php new file mode 100644 index 0000000..7faa8cd --- /dev/null +++ b/Vue/Ajaxfactureconspop/feuillemaladie.php @@ -0,0 +1,136 @@ +
+ nettoyer($feuillemaladie['libelleAffectionEng']); + $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']); + } else { + $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']); + $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']); + } + + if($AffectionVisible != "1") { + $libelleAffection = $this->nettoyer($feuillemaladie['codeAffection']); + } + ?> + +
+ + +
+ +
+
+
+
+ +
nettoyer($feuillemaladie['numeroFeuilleMaladie']) ?>
+
+
+ +
nettoyer($feuillemaladie['dateConsultation'])) ?>
+
+
+ +
nettoyer($feuillemaladie['prestataire']) ?>
+
+
+ +
nettoyer($feuillemaladie['medecinConsultation']) ?>
+
+
+ +
+ $feuillemaladie['numeroBonConsultation'], + 'Phar.' => $feuillemaladie['numeroBonOrdonnance'], + 'Hosp.' => $feuillemaladie['numeroBonHospitalisation'], + 'Opt.' => $feuillemaladie['numeroBonOptique'], + 'Exam.' => $feuillemaladie['numeroBonExamen'], + 'Kine.' => $feuillemaladie['numeroBonKine'] + ]; + foreach($bons as $lbl => $val): ?> +
+
+
+
nettoyer($val) ?: '-' ?>
+
+
+ +
+ +
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + nettoyer($diagnostic['supprime']) == '1'); + $rowStyle = $isSupprime ? 'style="background-color: #fff5f5; opacity: 0.7;"' : ''; + + $codeAff = $this->nettoyer($diagnostic['codeAffection']); + $libAff = est_anglophone() ? $this->nettoyer($diagnostic['libelleAffectionEng']) : $this->nettoyer($diagnostic['libelleAffection']); + + if($AffectionVisible != "1") { $libAff = $codeAff; } + else { $libAff .= " $codeAff"; } + ?> + > + + + + + + + + +
+ nettoyer($diagnostic['dateSysteme'])) ?> + + + + + + nettoyer($diagnostic['codeUtilisateur']) ?> + + nettoyer($diagnostic['userSuppression']) ?> + + nettoyer($diagnostic['heueSuppression'])) ?> +
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxfactureconspop/geds.php b/Vue/Ajaxfactureconspop/geds.php new file mode 100644 index 0000000..ef98615 --- /dev/null +++ b/Vue/Ajaxfactureconspop/geds.php @@ -0,0 +1,75 @@ +
+
+
+
+ + + + +
+ +
+ + + + + + + + + + + + + + + nettoyer($ged['idGed']); + $cheminFichier = $this->nettoyer($ged['cheminFichier']); + $nomFichier = $this->nettoyer($ged['nomOrigine']); + + // Détection de l'icône selon l'extension + $extension = strtolower(pathinfo($nomFichier, PATHINFO_EXTENSION)); + $icon = "fa-file-lines"; + if(in_array($extension, ['jpg', 'jpeg', 'png'])) $icon = "fa-file-image text-info"; + if($extension == 'pdf') $icon = "fa-file-pdf text-danger"; + ?> + + + + + + + + +
+ +
+
nettoyer($ged['dateSysteme'])) ?>
+
+
+
+ +
+ + ID: # +
+
+
+ "> + + +
+
+
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxfactureconspop/index.php b/Vue/Ajaxfactureconspop/index.php new file mode 100644 index 0000000..6696ba5 --- /dev/null +++ b/Vue/Ajaxfactureconspop/index.php @@ -0,0 +1,162 @@ +
+
+
+
+
+ : + nettoyer($facture['idFacture']) ?> +
+
+ nettoyer($facture['etatfacture']) ?> +
+
+ : + nettoyer($facture['codeUtilisateur']) ?> +
+
+
+
+
+
+ +
nettoyer($facture['numeroBeneficiaire']) ?> - nettoyer($facture['beneficiaire']) ?>
+
+
+ +
nettoyer($facture['adherent']) ?>
+
Pol: nettoyer($facture['numeroPolice']) ?> | Cat: nettoyer($facture['codeProduit']) ?>
+
+
+ +
nettoyer($facture['prestataire']) ?>
+
+
+ +
nettoyer($facture['emailAdherent']) ?>
+
nettoyer($facture['telAdherent']) ?>
+
+
+
+
+ +
+
+
+
+
+
+
+
+
nettoyer($facture['fraisReel'])) ?>
+
+
+
+
nettoyer($facture['montantTm'])) ?>
+
+
+
+
nettoyer($facture['fraisExclu'])) ?>
+
+
+
+
nettoyer($facture['montantArembourser'])) ?>
+
+
+
+
+
+
+
nettoyer($facture['fraisRetenu'])) ?>
+
+
+
+
nettoyer($facture['montantRedresse'])) ?>
+
+
+
+
nettoyer($facture['montantApayer'])) ?>
+
+
+
+
nettoyer($facture['montantPaye'])) ?>
+
+
+
+
+
+
+
+
+
+
    +
  • + + ' : '' ?> +
  • +
  • + + ' : '' ?> +
  • +
  • + + nettoyer($facture['numeroDecompte']) ?> +
  • +
  • + + nettoyer($facture['numeroLotDecompte']) ?> +
  • +
+
+
+
+
+ +
+
+
+
+ : + nettoyer($facture['dateSysteme'])) ?> +
+
+ : + nettoyer($facture['userControle']) ?> +
+
+ : + nettoyer($facture['dateDecompte'])) ?> +
+
+ : + nettoyer($facture['heureReglement'])) ?> +
+
+
+
+ +
+ + diff --git a/Vue/Ajaxfactureconspop/medicaments.php b/Vue/Ajaxfactureconspop/medicaments.php new file mode 100644 index 0000000..8f6ac98 --- /dev/null +++ b/Vue/Ajaxfactureconspop/medicaments.php @@ -0,0 +1,85 @@ +
+ + +
+ + +
+ +
+ + + + + + + + + + + + + + nettoyer($medicament['ententePrealable']); + $libelle = $this->nettoyer($medicament['libelleMedicament']); + $code = $this->nettoyer($medicament['codeMedicament']); + + if($actVisible != "1") { $libelle = $code; } + + // Logique de statut pour l'entente préalable + $statusLabel = ""; + $rowClass = ""; + + switch($entente) { + case '1': // Accordé + $statusLabel = ''; + break; + case '2': // En attente / Attention + $statusLabel = ''; + break; + case '9': // Refusé + $statusLabel = ''; + $rowClass = "table-danger opacity-75"; + break; + } + ?> + + + + + + + + + + + +
+ nettoyer($medicament['dateSysteme'])) ?> + +
+ +
+
+ +
Code:
+ +
+
+
nettoyer($medicament['valeurActe'])) ?>nettoyer($medicament['quantite']) ?>nettoyer($medicament['fraisReel'])) ?>nettoyer($medicament['montantTm'])) ?> + nettoyer($medicament['montantArembourser'])) ?> +
+
+ +
+ Accordé + En attente + Refusé / Hors panier +
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxfactureconspop/prestationactes.php b/Vue/Ajaxfactureconspop/prestationactes.php new file mode 100644 index 0000000..1bd3da3 --- /dev/null +++ b/Vue/Ajaxfactureconspop/prestationactes.php @@ -0,0 +1,105 @@ +
+ + +
+ + +
+ +
+ + + + + + + + + + + + + + + + nettoyer($prestation['codeTypePrestation']); + $entente = $this->nettoyer($prestation['ententePrealable']); + $auto = $this->nettoyer($prestation['autorisation']); + $valide = $this->nettoyer($prestation['valide']); + + $codeActe = $this->nettoyer($prestation['codeActe']); + $libelleActe = est_anglophone() ? $this->nettoyer($prestation['libelleActeEng']) : $this->nettoyer($prestation['libelleActe']); + + if($actVisible != "1") { $libelleActe = $codeActe; } + + // Logique de statut (Entente ou Autorisation) + $rowClass = ""; + $statusIcon = ""; + + if($entente == '9' || $auto == '9') { + $rowClass = "table-danger opacity-75"; + $statusIcon = ''; + } elseif($entente == '2' || $auto == '2') { + $rowClass = "table-warning bg-opacity-10"; + $statusIcon = ''; + } elseif($entente == '1' || $auto == '1') { + $statusIcon = ''; + } + ?> + + + + + + + + + + + + + +
Val.
+ nettoyer($prestation['dateSysteme'])) ?> + + + +
+ +
+ + +
Code:
+ +
+
+
nettoyer($prestation['valeurActe'])) ?>nettoyer($prestation['quantite']) ?>nettoyer($prestation['fraisReel'])) ?>nettoyer($prestation['montantTm'])) ?> + nettoyer($prestation['montantArembourser'])) ?> + + + + + + +
+
+ +
+
+ + + +
+
+ +
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxfactureconspop/verres.php b/Vue/Ajaxfactureconspop/verres.php new file mode 100644 index 0000000..3488484 --- /dev/null +++ b/Vue/Ajaxfactureconspop/verres.php @@ -0,0 +1,74 @@ +
+ + +
+ + +
+ +
+ + + + + + + + + + + + + + + nettoyer($verre['libelleVerre']); + $codeOptique = $this->nettoyer($verre['codeOptique']); + + // Gestion de la confidentialité (Masquage du libellé si actVisible != 1) + if($actVisible != "1") { + $displayTitle = $codeOptique; + $subTitle = ""; + } else { + $displayTitle = $libelleVerre; + $subTitle = '
Code: '.$codeOptique.'
'; + } + ?> + + + + + + + + +
+ +
+
nettoyer($verre['dateSysteme'])) ?>
+
+
+
+
+ +
+
+ + +
+
+
+ nettoyer($verre['valeurActe'])) ?> +
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxfacturesfamille/index.php b/Vue/Ajaxfacturesfamille/index.php old mode 100755 new mode 100644 index 76a9860..4912188 --- a/Vue/Ajaxfacturesfamille/index.php +++ b/Vue/Ajaxfacturesfamille/index.php @@ -1,62 +1,70 @@ -
- - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); +
+
+
Type Date
+ + + + + + + + + + + + + + + nettoyer($facture['idFacture']); + $codeType = $this->nettoyer($facture['codeTypeFacture']); + + // Définition des couleurs par type + $badgeClass = "bg-secondary"; + switch($codeType) { + case 'PHAR': $badgeClass = "bg-success"; break; + case 'OPT' : $badgeClass = "bg-info text-dark"; break; + case 'LAB' : $badgeClass = "bg-warning text-dark"; break; + case 'SEA' : $badgeClass = "bg-primary"; break; + } - $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']); - } - ?> - - - - - - - - - - - - - - - -
nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
+ // Logique du numéro de bon + $numeroBon = $this->nettoyer($facture['numeroBonConsultation']); + if($codeType=="PHAR") $numeroBon = $this->nettoyer($facture['numeroBonOrdonnance']); + elseif($codeType=="OPT") $numeroBon = $this->nettoyer($facture['numeroBonOptique']); + elseif($codeType=="LAB") $numeroBon = $this->nettoyer($facture['numeroBonExamen']); + elseif($codeType=="SEA") $numeroBon = $this->nettoyer($facture['numeroBonKine']); + ?> + + + + + + + + + + + +
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/Vue/Ajaxfichepolice/index.php b/Vue/Ajaxfichepolice/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxgabarit/index.php b/Vue/Ajaxgabarit/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxgraphiquesinistres/index.php b/Vue/Ajaxgraphiquesinistres/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxhabilitation/afficheraccessousmenusass.php b/Vue/Ajaxhabilitation/afficheraccessousmenusass.php new file mode 100755 index 0000000..2833011 --- /dev/null +++ b/Vue/Ajaxhabilitation/afficheraccessousmenusass.php @@ -0,0 +1,80 @@ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
=>
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
<=
+ +
+
+
diff --git a/Vue/Ajaxhabilitation/ajouterunsousmenusass.php b/Vue/Ajaxhabilitation/ajouterunsousmenusass.php new file mode 100755 index 0000000..c89ed47 --- /dev/null +++ b/Vue/Ajaxhabilitation/ajouterunsousmenusass.php @@ -0,0 +1 @@ +OK ajouterunsousmenusass \ No newline at end of file diff --git a/Vue/Ajaxhabilitation/index.php b/Vue/Ajaxhabilitation/index.php new file mode 100755 index 0000000..6476099 --- /dev/null +++ b/Vue/Ajaxhabilitation/index.php @@ -0,0 +1,111 @@ +
+
+
+
+
+
+ +
+ +
+ +
+ +
+ + + + + + + + + +
+ +
+
+
+
+ +
+
+
+
+ +
+ +
+ +
+ +
+ + + + + + + + + +
+ +
+
+
+
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaximporterlisteassure/afficheradherentimportee.php b/Vue/Ajaximporterlisteassure/afficheradherentimportee.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/ajouterunadherentaucollege.php b/Vue/Ajaximporterlisteassure/ajouterunadherentaucollege.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/exclureligneimportee.php b/Vue/Ajaximporterlisteassure/exclureligneimportee.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/importermodele.php b/Vue/Ajaximporterlisteassure/importermodele.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/incorpoerassuresimportes.php b/Vue/Ajaximporterlisteassure/incorpoerassuresimportes.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/index.php b/Vue/Ajaximporterlisteassure/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/initimportermodele.php b/Vue/Ajaximporterlisteassure/initimportermodele.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaximporterlisteassure/retirerunadherentaucollege.php b/Vue/Ajaximporterlisteassure/retirerunadherentaucollege.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxlisteadherent/index.php b/Vue/Ajaxlisteadherent/index.php old mode 100755 new mode 100644 index 19284db..acdd260 --- a/Vue/Ajaxlisteadherent/index.php +++ b/Vue/Ajaxlisteadherent/index.php @@ -66,7 +66,7 @@ - + diff --git a/Vue/Ajaxlistegedpolice/index.php b/Vue/Ajaxlistegedpolice/index.php old mode 100755 new mode 100644 index cfe044e..63d49b2 --- a/Vue/Ajaxlistegedpolice/index.php +++ b/Vue/Ajaxlistegedpolice/index.php @@ -1,39 +1,42 @@ -
- " ")) : ?> - - - - - - - - - - - - - - - +
+
Date Src Document
+ + + + + + + + - - nettoyer($ged['idGed']); + nettoyer($ged['cheminFichier']); ?> - - - - - - - - - - - + + + + + diff --git a/Vue/Ajaxlistepolicesclient/index.php b/Vue/Ajaxlistepolicesclient/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxlisterpolicesclient/index.php b/Vue/Ajaxlisterpolicesclient/index.php new file mode 100644 index 0000000..f6884b1 --- /dev/null +++ b/Vue/Ajaxlisterpolicesclient/index.php @@ -0,0 +1,63 @@ + +
+
+
+ +
+ + + + +
+
+ +
+ +
+
+
+ + + + \ No newline at end of file diff --git a/Vue/Ajaxlocalite/consultation.php b/Vue/Ajaxlocalite/consultation.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxlocalite/filtreadherentlocalite.php b/Vue/Ajaxlocalite/filtreadherentlocalite.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxlocalite/index.php b/Vue/Ajaxlocalite/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxmouvementassure/client.php b/Vue/Ajaxmouvementassure/client.php new file mode 100644 index 0000000..8addbb4 --- /dev/null +++ b/Vue/Ajaxmouvementassure/client.php @@ -0,0 +1,4 @@ + +MOUVEMENTS CLIENTS + + \ No newline at end of file diff --git a/Vue/Ajaxmouvementassure/index.php b/Vue/Ajaxmouvementassure/index.php old mode 100755 new mode 100644 index 62e4551..effc90e --- a/Vue/Ajaxmouvementassure/index.php +++ b/Vue/Ajaxmouvementassure/index.php @@ -1,43 +1,98 @@ -
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']) ?> - +
+
nettoyer($ged['dateSysteme'])) ?>
+
nettoyer($ged['souscripteur']) ?>
+
+ nettoyer($ged['source']) ?> + +
nettoyer($ged['numeroPolice']) ?>
+
+ nettoyer($ged['numeroBeneficiaire']) ?> - nettoyer($ged['beneficiaire']) ?> +
+
nettoyer($ged['adherent']) ?>
+
+
+ nettoyer($ged['nomOrigine']) ?> +
+
+ + +
- - - - - - - - - - - - - - - - - nettoyer($mvt['id']); - $valide = $this->nettoyer($mvt['valide']); - $libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement']; - ?> - - - - - - - - - - - - - - - - - - - - -
Mvt
nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> nettoyer($mvt['codeUtilisateur']) ?>nettoyer($mvt['adherent']) ?>nettoyer($mvt['beneficiaire']) ?>nettoyer($mvt['numeroBeneficiaire']) ?>nettoyer($mvt['codeLienParente']) ?>nettoyer($mvt['dateSysteme'])) ?> nettoyer($mvt['dateValidation'])) ?>nettoyer($mvt['userValidation']) ?>
\ No newline at end of file +
+ + + + + + + + + + + + + + + + + nettoyer($mvt['ajoutClient']); + $valide = $this->nettoyer($mvt['valide']); + $sensMvt = $mvt['sensMouvement']; // On suppose que '0' = Entrée, '1' = Sortie + $libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement']; + $LibelleAjoutClient = _("Non"); + if ($ajoutClient == "1") + { + $LibelleAjoutClient = _("Oui"); + } + ?> + + + + + + + + + + + + + + + + + + + + +
+ nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + + + + + + + + + + + +
nettoyer($mvt['beneficiaire']) ?>
+
nettoyer($mvt['numeroBeneficiaire']) ?>
+
+ nettoyer($mvt['adherent']) ?> + + nettoyer($mvt['codeLienParente']) ?> + +
nettoyer($mvt['dateSysteme'])) ?>
+
nettoyer($mvt['codeUtilisateur']) ?>
+
+ + + + + + + + + + + +
nettoyer($mvt['userValidation']) ?>
+
nettoyer($mvt['dateValidation'])) ?>
+ + + +
+ +
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxmouvementassure/vide.php b/Vue/Ajaxmouvementassure/vide.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxplafondadherent/index.php b/Vue/Ajaxplafondadherent/index.php old mode 100755 new mode 100644 index f87519a..ef3babd --- a/Vue/Ajaxplafondadherent/index.php +++ b/Vue/Ajaxplafondadherent/index.php @@ -1,33 +1,59 @@ -
- - - - - - - - - - - - - +
+
+
+
+ + + + + + + + + + + + nettoyer($garantieadherent['solde']); + $statusClass = ($solde <= 0) ? 'text-danger fw-bold' : 'text-success fw-bold'; + $rowClass = ($solde <= 0) ? 'table-danger' : ''; + ?> + + + + + + + + + + +
+ nettoyer($garantieadherent['garantie']) ?> +
+ Réf: nettoyer($garantieadherent['exercieReference']) ?> +
+
+ nettoyer($garantieadherent['plafondAnnuel'])) ?> + + + nettoyer($garantieadherent['tauxAvenant']) ?> % + + + nettoyer($garantieadherent['plafond'])) ?> + + nettoyer($garantieadherent['consommation'])) ?> + + + + + +
+
- - - nettoyer($garantieadherent['exercieReference'])?> - nettoyer($garantieadherent['garantie'])?> - nettoyer($garantieadherent['plafondAnnuel'])) ?> - nettoyer($garantieadherent['tauxAvenant']) ?> - nettoyer($garantieadherent['plafond'])) ?> - nettoyer($garantieadherent['consommation'])) ?> - nettoyer($garantieadherent['solde'])) ?> - - - - - -
-
- -
+ + + diff --git a/Vue/Ajaxproraterprime/index.php b/Vue/Ajaxproraterprime/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxproraterprimebeneficiaire/index.php b/Vue/Ajaxproraterprimebeneficiaire/index.php old mode 100755 new mode 100644 index 81935ba..e9408a0 --- a/Vue/Ajaxproraterprimebeneficiaire/index.php +++ b/Vue/Ajaxproraterprimebeneficiaire/index.php @@ -1,112 +1,99 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - +
+
+
+
+
+
+
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['primeBeneficiaire_an']))?> nettoyer($beneficiaire_temp['primeBeneficiaire']))?>
nettoyer($beneficiaire_temp['primeCplFuneraire_an']))?> nettoyer($beneficiaire_temp['primeCplFuneraire']))?>
nettoyer($beneficiaire_temp['primeNette_an'])) ?>nettoyer($beneficiaire_temp['primeNette'])) ?>
nettoyer($beneficiaire_temp['surprimeOption_an']))?> nettoyer($beneficiaire_temp['surprimeOption']))?>
nettoyer($beneficiaire_temp['commission_an'])) ?>nettoyer($beneficiaire_temp['commission'])) ?>
nettoyer($beneficiaire_temp['commissionAutre_an'])) ?>nettoyer($beneficiaire_temp['commissionAutre'])) ?>
nettoyer($beneficiaire_temp['surprimeTm_an']))?> nettoyer($beneficiaire_temp['surprimeTm']))?>
nettoyer($beneficiaire_temp['surprimeAnt_an']))?> nettoyer($beneficiaire_temp['surprimeAnt']))?>
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'])) ?>
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'])) ?>
+ + + + nettoyer($beneficiaire_temp['primeTtc_an'])) ?> + nettoyer($beneficiaire_temp['primeTtc'])) ?> + + + + nettoyer($beneficiaire_temp['primeNetteStat_an'])) ?> + nettoyer($beneficiaire_temp['primeNetteStat'])) ?> + + + +
+ diff --git a/Vue/Ajaxsaisirpassnewuser/index.php b/Vue/Ajaxsaisirpassnewuser/index.php new file mode 100755 index 0000000..ac9a11b --- /dev/null +++ b/Vue/Ajaxsaisirpassnewuser/index.php @@ -0,0 +1,74 @@ + +
+
+ +
+ + " + onBlur="controle_longeur_passe(this);" + required + autocomplete="new-password"> + +
+
+
+ +
+ +
+ + " + onBlur="controle_new_pass();" + required + autocomplete="new-password"> + +
+
+
+ + + + + + + + + diff --git a/Vue/Ajaxselectionretrait/index.php b/Vue/Ajaxselectionretrait/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxsppolice/categorie.php b/Vue/Ajaxsppolice/categorie.php old mode 100755 new mode 100644 index 459fbe3..0c7e5bb --- a/Vue/Ajaxsppolice/categorie.php +++ b/Vue/Ajaxsppolice/categorie.php @@ -1,31 +1,65 @@ -
+
+ +
+ +
+
- " disabled > +
+
+ + + + + + + + + + + -
- - - - - - - - - - + + = 100) ? 'text-danger fw-bold' : (($ratio >= 75) ? 'text-warning fw-bold' : 'text-success fw-bold'); + $progressColor = ($ratio >= 100) ? 'bg-danger' : (($ratio >= 75) ? 'bg-warning' : 'bg-success'); + ?> + + - - - - - - - - - - - - -
Cat
+ nettoyer($sppolice['codeProduit']) ?> +
nettoyer($sppolice['codeProduit']) ?> nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
-
+ nettoyer($sppolice['primestat'])) ?> + nettoyer($sppolice['prime_acquise'])) ?> + + + nettoyer($sppolice['consommation'])) ?> + + + +
+ nettoyer($sppolice['rapportsp']) ?> % +
+
+
+
+ + + + nettoyer($sppolice['rapportspgeneral']) ?> % + + + + + +
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxsppolice/college.php b/Vue/Ajaxsppolice/college.php old mode 100755 new mode 100644 index b005e6a..0ea1298 --- a/Vue/Ajaxsppolice/college.php +++ b/Vue/Ajaxsppolice/college.php @@ -1,32 +1,72 @@ -
+
+ +
+ +
+
- " disabled > +
+
+ + + + + + + + + + + -
- - - - - - - - - - + + = 100) { $bgRatio = 'bg-danger'; $textRatio = 'text-danger'; } + elseif ($ratio >= 80) { $bgRatio = 'bg-warning'; $textRatio = 'text-warning'; } + ?> + + + + - - - - - - - - - - - - - -
+ nettoyer($sppolice['codeProduit']) ?> + + nettoyer($sppolice['libelleCollege']) ?> +
nettoyer($sppolice['codeProduit']) ?> nettoyer($sppolice['libelleCollege']) ?> nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
-
+ nettoyer($sppolice['primestat'])) ?> + nettoyer($sppolice['prime_acquise'])) ?> + nettoyer($sppolice['consommation'])) ?> + + +
+ nettoyer($sppolice['rapportsp']) ?>% +
+
+
+
+ + + + nettoyer($sppolice['rapportspgeneral']) ?>% + + + + + +
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxsppolice/index.php b/Vue/Ajaxsppolice/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxsppolice/police.php b/Vue/Ajaxsppolice/police.php old mode 100755 new mode 100644 index 2b62abe..5bae70b --- a/Vue/Ajaxsppolice/police.php +++ b/Vue/Ajaxsppolice/police.php @@ -1,26 +1,79 @@ -
+
+
+
+ +
+ +
- " disabled > +
+
+
+
+
+

nettoyer($sppolice['primestat'])) ?>

+
+
+
+
- - - - - - - - - - +
+
+
+
+

nettoyer($sppolice['prime_acquise'])) ?>

+
+
+
+
- - - - - - - - - -
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
-
+
+
+
+
+

nettoyer($sppolice['consommation'])) ?>

+
+
+
+
+
+ +
+
+ 80 ? 'danger' : ($sp_acquis > 60 ? 'warning' : 'success'); + ?> +
+
+
+
+

nettoyer($sppolice['rapportsp']) ?> %

+
+
+ +
+
+
+
+ +
+
+
+
+
+

nettoyer($sppolice['rapportspgeneral']) ?> %

+
+
+ +
+
+
+
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxsyntheseconsopolice/index.php b/Vue/Ajaxsyntheseconsopolice/index.php old mode 100755 new mode 100644 index 4a785a1..1130207 --- a/Vue/Ajaxsyntheseconsopolice/index.php +++ b/Vue/Ajaxsyntheseconsopolice/index.php @@ -1,63 +1,142 @@ -
- - - - +titre = "INTER-SANTE - Synthèse Consommations"; + // Initialisation des totaux pour le footer + $totStat = $totTtc = $totAll = 0; + $natures = ['OUT', 'INP', 'OPT', 'MON', 'DEN', 'FUN']; + $totPlafonds = array_fill_keys($natures, 0); + $totConsos = array_fill_keys($natures, 0); +?> - + - - - - -
nettoyer($conommation['consommation_ALL'])) ?>
-
\ No newline at end of file +
+ +
+ +
+

+

Police: | Date:

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
N° AdhStatTTCTOTAL
nettoyer($conso['nomAdherent']) ?>nettoyer($conso['numeroAdherent']) ?> + +
:
+
+
+
+ + \ No newline at end of file diff --git a/Vue/Ajaxuserrhclient/creeruser.php b/Vue/Ajaxuserrhclient/creeruser.php new file mode 100755 index 0000000..bd3da61 --- /dev/null +++ b/Vue/Ajaxuserrhclient/creeruser.php @@ -0,0 +1,24 @@ +
+ + + +
+
+ + +
+
+ + + + + +
\ No newline at end of file diff --git a/Vue/Ajaxuserrhclient/index.php b/Vue/Ajaxuserrhclient/index.php new file mode 100755 index 0000000..e69de29 diff --git a/Vue/Ajaxville/consultation.php b/Vue/Ajaxville/consultation.php old mode 100755 new mode 100644 diff --git a/Vue/Ajaxville/index.php b/Vue/Ajaxville/index.php old mode 100755 new mode 100644 diff --git a/Vue/Assuranceindividuelle/index.php b/Vue/Assuranceindividuelle/index.php old mode 100755 new mode 100644 diff --git a/Vue/Beneficiaireprimeadherent/index.php b/Vue/Beneficiaireprimeadherent/index.php old mode 100755 new mode 100644 index 0265669..6ed6941 --- a/Vue/Beneficiaireprimeadherent/index.php +++ b/Vue/Beneficiaireprimeadherent/index.php @@ -1,25 +1,71 @@ -titre = "INTER-SANTE - Fiche Emission"; +titre = "INTER-SANTE - Fiche Emission"; ?> -?> +
+ +

- +
+
+ : nettoyer($_SESSION['numeroPolice_C']) ?> + ID: nettoyer($_SESSION['idPolice_C']) ?> +
+
+ +
+
- - - - - +
+
+
+
+ +
+ + +
+
-
- - - - - -
+
+ +
+ + +
+
-
- -
- +
+ +
+ +
+
+ + Actif +
+
+
+ + + +
+
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/Vue/Changeretatadherent/index.php b/Vue/Changeretatadherent/index.php old mode 100755 new mode 100644 diff --git a/Vue/Changeretatbeneficiaire/index.php b/Vue/Changeretatbeneficiaire/index.php old mode 100755 new mode 100644 diff --git a/Vue/Changermotpass/index.php b/Vue/Changermotpass/index.php index 84cd684..43d67e8 100755 --- a/Vue/Changermotpass/index.php +++ b/Vue/Changermotpass/index.php @@ -46,12 +46,14 @@ + @@ -109,15 +111,21 @@ .password-change-container { max-width: 100%; margin: 0 auto; - padding: 20px; + /*padding: 20px;*/ + padding: 0px; } .password-change-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); + /* padding: 30px; margin-top: 20px; + */ + padding: 0px; + margin-top: 0px; + } .password-change-header .alert { @@ -126,12 +134,14 @@ } .password-change-form .form-group { - margin-bottom: 1.5rem; + /*margin-bottom: 1.5rem;*/ + margin-bottom: 0rem; } .password-change-form .form-label { font-weight: 400; - margin-bottom: 0.5rem; + /*margin-bottom: 0.5rem;*/ + margin-bottom: 0rem; color: #333; font-size:1.8rem !important; } @@ -156,13 +166,18 @@ .form-actions { display: flex; + /* gap: 15px; margin-top: 2rem; + */ + gap: 0px; + margin-top: 0rem; } .form-actions .btn { flex: 1; - padding: 12px; + /*padding: 12px;*/ + padding: 0px; } /* Large screens optimization */ @@ -173,18 +188,21 @@ } .password-change-card { - padding: 40px; + /*padding: 40px;*/ + padding: 0px; } } /* Responsive adjustments */ @media (max-width: 768px) { .password-change-container { - padding: 15px; + /*padding: 15px;*/ + padding: 0px; } .password-change-card { - padding: 20px; + /*padding: 20px;*/ + padding: 0px; } .form-actions { @@ -194,11 +212,13 @@ @media (max-width: 576px) { .password-change-container { - padding: 10px; + /*padding: 10px;*/ + padding: 0px; } .password-change-card { - padding: 15px; + /*padding: 15px;*/ + padding: 0px; border-radius: 8px; } @@ -207,22 +227,26 @@ } .form-actions .btn { - padding: 10px; + /*padding: 10px;*/ + padding: 0px; } } /* Very small screens */ @media (max-width: 375px) { .password-change-container { - padding: 5px; + /*padding: 5px;*/ + padding: 0px; } .password-change-card { - padding: 12px; + /*padding: 12px;*/ + padding: 0px; } .password-change-header .alert { - padding: 12px; + /*padding: 12px;*/ + padding: 0px; } } diff --git a/Vue/Changermotpass/index_2026_01_08.php b/Vue/Changermotpass/index_2026_01_08.php new file mode 100755 index 0000000..84cd684 --- /dev/null +++ b/Vue/Changermotpass/index_2026_01_08.php @@ -0,0 +1,323 @@ +titre = "INTER-SANTÉ - ". _("Changement de mot de passe"); +?> + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+
+ +
+ + +
+
+
+
+
+ +
+
+ + + + +
+
+
+ +
+
+ +
+ + +
+
+ + +
+
+
+ +
+
+ + + + +
+
+
+
+
+ + +
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/Vue/Collegepolice/index.php b/Vue/Collegepolice/index.php old mode 100755 new mode 100644 diff --git a/Vue/Consultercollege/index.php b/Vue/Consultercollege/index.php old mode 100755 new mode 100644 diff --git a/Vue/Contrat/index.php b/Vue/Contrat/index.php old mode 100755 new mode 100644 diff --git a/Vue/Creeradherent/index.php b/Vue/Creeradherent/index.php old mode 100755 new mode 100644 diff --git a/Vue/Creeravenant/index.php b/Vue/Creeravenant/index.php old mode 100755 new mode 100644 diff --git a/Vue/Creerbeneficiaire/index.php b/Vue/Creerbeneficiaire/index.php old mode 100755 new mode 100644 index 88e3140..cbb1172 --- a/Vue/Creerbeneficiaire/index.php +++ b/Vue/Creerbeneficiaire/index.php @@ -1,258 +1,206 @@ 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'])) ?>
-
+
- +

- -
-

-
- +
+
+ : nettoyer($_SESSION['numeroPolice_C']) ?> + ID: nettoyer($_SESSION['idPolice_C']) ?> +
+

:

+
+ +
+
+ + + + + + +
+ +
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ + +
+
+ +
+
+ +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+
+ +
+ +
+
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+
+
+ +
+
+
+
+
+ + + + +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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['primeHt_an'])) ?>nettoyer($beneficiaire_temp['primeHt'])) ?>
nettoyer($beneficiaire_temp['taxe_an'])) ?>nettoyer($beneficiaire_temp['taxe'])) ?>
nettoyer($beneficiaire_temp['fraisCarte_an'])) ?>nettoyer($beneficiaire_temp['fraisCarte'])) ?>
nettoyer($beneficiaire_temp['primeTtc_an'])) ?>nettoyer($beneficiaire_temp['primeTtc'])) ?>
+
+
+
+ + + + +
\ No newline at end of file diff --git a/Vue/Emission/index.php b/Vue/Emission/index.php old mode 100755 new mode 100644 diff --git a/Vue/Facturesfamilleadh/index.php b/Vue/Facturesfamilleadh/index.php old mode 100755 new mode 100644 index bb8960d..8ef59d9 --- a/Vue/Facturesfamilleadh/index.php +++ b/Vue/Facturesfamilleadh/index.php @@ -1,119 +1,140 @@ -titre = "INTER-SANTE - Factrures famille"; -?> +titre = "INTER-SANTE - Factures famille"; ?> - - - - - - +
+ +

-
- +
+
+ : nettoyer($_SESSION['numeroPolice_C']) ?> + ID: nettoyer($_SESSION['idPolice_C']) ?> +
+
+ +
+
- - - - -
+
+
+
+
+
+ + + + + + + +
+
+
+
+
- + -
- - - - - - - - - - - - - - - - - - - nettoyer($facture['idFacture']); - $numeroFeuilleMaladie=$this->nettoyer($facture['numeroFeuilleMaladie']); - $tiersPayant = $facture['tiersPayant']; - - $codeTypeFacture = $this->nettoyer($facture['codeTypeFacture']); +
+
+
Type Date
+ + + + + + + + + + + + + + + nettoyer($facture['idFacture']); + $codeType = $this->nettoyer($facture['codeTypeFacture']); + + // Définition des couleurs par type + $badgeClass = "bg-secondary"; + switch($codeType) { + case 'PHAR': $badgeClass = "bg-success"; break; + case 'OPT' : $badgeClass = "bg-info text-dark"; break; + case 'LAB' : $badgeClass = "bg-warning text-dark"; break; + case 'SEA' : $badgeClass = "bg-primary"; break; + } - $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']); - } - - ?> - - - - - - - - - - - - - - - - - - -
- - nettoyer($facture['dateSysteme'])) ?>nettoyer($facture['prestataire']) ?>nettoyer($facture['beneficiaire']) ?>nettoyer($facture['fraisReel'])) ?>nettoyer($facture['montantTm'])) ?>nettoyer($facture['montantArembourser'])) ?>nettoyer($facture['fraisExclu'])) ?>nettoyer($facture['fraisRetenu'])) ?>
-
- - + + + + + \ No newline at end of file diff --git a/Vue/Ficheadherent/index.php b/Vue/Ficheadherent/index.php old mode 100755 new mode 100644 index 87649e7..ed81361 --- a/Vue/Ficheadherent/index.php +++ b/Vue/Ficheadherent/index.php @@ -48,272 +48,620 @@ -
- - - +
+ +

- nettoyer($adherent['numeroAdherent'])?> - - - - - - - - - +
+
+ : nettoyer($_SESSION['numeroPolice_C']) ?> + ID: nettoyer($_SESSION['idPolice_C']) ?> +
+
- - - + + + + + + + + + +
+
+
: nettoyer($adherent['numeroAdherent']) ?>
+
+
+
+
+ +
+ + +
+
+
+ + +
+
+ +
+ + +
+
+
+ + +
+
+ +
+ + +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ + +
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + nettoyer($beneficiaire['faceRegistered']); + ?> + + + + + + + + + + + + + + + + + + + + + +
+ + Photo + + + + nettoyer($beneficiaire['nomBeneficiaire']) ?> nettoyer($beneficiaire['prenomsBeneficiaire']) ?> ans + + + +
+
+
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
nettoyer($garantieadherent['garantie']) ?> + +
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/Vue/Fichebeneficiaire/ebeneenregistrerface.php b/Vue/Fichebeneficiaire/ebeneenregistrerface.php old mode 100755 new mode 100644 diff --git a/Vue/Fichebeneficiaire/index.php b/Vue/Fichebeneficiaire/index.php old mode 100755 new mode 100644 index 9648d44..51f1fae --- a/Vue/Fichebeneficiaire/index.php +++ b/Vue/Fichebeneficiaire/index.php @@ -77,307 +77,568 @@ -
-
- " . _("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'])?>
-
- -
- - - - - - - - - - - - - -
- " onClick="javascript:ebene_init_confirm_photo_face();"> -
- " onClick="javascript:ebene_init_photo_face();"> -
- -
- -
- - Photo du bénéficiaire - -
+
- -
-
- -
- " readonly> -
- - -
-
- - " "): ?> - " readonly > - - " readonly > - - - - - -
- " /> -
- -

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

-
+

- - : " readonly> - - : " readonly> - -
+
+
+ : nettoyer($_SESSION['numeroPolice_C']) ?> + ID: nettoyer($_SESSION['idPolice_C']) ?> +
-
+
+
+
+

+ : +

+ : nettoyer($beneficiaire['dateEffet'])) ?> +
+ +
+ + + + +
+
+ +
+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+ +
+ +
+ + +
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ + + + +
+ +
+ + +
+
+

+ +
+ + + +
+
+
+ + +
+ +
+
:
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ + + +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ +
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
%
nettoyer($garantieadherent['exercieReference'])?>nettoyer($garantieadherent['garantie'])?>nettoyer($garantieadherent['plafondAnnuel'])) ?>nettoyer($garantieadherent['tauxAvenant']) ?>%nettoyer($garantieadherent['plafond'])) ?>nettoyer($garantieadherent['consommation'])) ?>nettoyer($garantieadherent['solde'])) ?> + nettoyer($garantieadherent['champApplication'])=='1') ? 'checked' : '' ?> disabled> + nettoyer($garantieadherent['garantieparentaffichage'])?>
+
+
+
+ +
+
+
+
+
+ + +
+
+ +
+
+ " "): ?> +
+ +
+ +
+ + : +
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + \ No newline at end of file diff --git a/Vue/Fichepolice/index.php b/Vue/Fichepolice/index.php old mode 100755 new mode 100644 index 013e23d..3668111 --- a/Vue/Fichepolice/index.php +++ b/Vue/Fichepolice/index.php @@ -129,7 +129,7 @@
- +
diff --git a/Vue/Ficheretrait/index.php b/Vue/Ficheretrait/index.php old mode 100755 new mode 100644 diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php new file mode 100755 index 0000000..94fe7d7 --- /dev/null +++ b/Vue/Ficheuserrhclient/index.php @@ -0,0 +1,111 @@ +titre = "ISA WEB - Modifier Utilisateur"; + + $idClient = $this->nettoyer($user_rh['idClient']); + $idUtilisateur = $user_rh['id']; + $codeUtilisateur = $user_rh['codeUtilisateur']; + $actif = $user_rh['actif']; + $codeProfil = $user_rh['codeProfil']; + $codeLangue = $user_rh['codeLangue']; +?> + +
+ + + +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
+ + +
+
+ + +
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+ +
+
+
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+
+ + \ No newline at end of file diff --git a/Vue/Gedpolice/index.php b/Vue/Gedpolice/index.php old mode 100755 new mode 100644 index 84d6a96..5d92cc4 --- a/Vue/Gedpolice/index.php +++ b/Vue/Gedpolice/index.php @@ -1,89 +1,125 @@ -titre = "INTER-SANTE - GED Police"; +titre = "INTER-SANTE - GED Police"; ?> - /* - var_dump - ( - array( - "cheminGed" => $_SESSION['cheminGed'], - "lienRh" => $_SESSION['lienRh_C'], - "dossierGed" => $_SESSION['dossierGed'], - ) - ); - */ -?> +
+

- Limité à 50 documents => Filtrer sur période pour obtenir le résultat souhaité") ?> +
+

+ : + nettoyer($_SESSION['numeroPolice_C']) ?> +

+ + + +
-
- - - - - + " ")) : ?> + + - - +
+
+
+
+
+
+
+
+ +
+ + +
+
+ + +
+ + + + + +
-
- +
- - - - - - - + + +
+ +
+
+ + + + + - - - - -
Doc
" />
- +
+
+
+ + + + + + + + + + + + nettoyer($ged['cheminFichier']); + ?> + + + + + + + + + +
+
nettoyer($ged['dateSysteme'])) ?>
+
nettoyer($ged['souscripteur']) ?>
+
+ nettoyer($ged['source']) ?> + +
nettoyer($ged['numeroPolice']) ?>
+
+ nettoyer($ged['numeroBeneficiaire']) ?> - nettoyer($ged['beneficiaire']) ?> +
+
nettoyer($ged['adherent']) ?>
+
+
+ nettoyer($ged['nomOrigine']) ?> +
+
+ + + +
+
+
+
+
+
- -
- " ")) : ?> - - - - - - - - - - - - - - - - - - - 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']) ?> - -
-
+ \ No newline at end of file diff --git a/Vue/Importassure/index.php b/Vue/Importassure/index.php old mode 100755 new mode 100644 diff --git a/Vue/Liercolleges/index.php b/Vue/Liercolleges/index.php old mode 100755 new mode 100644 diff --git a/Vue/Listeadherent/index.php b/Vue/Listeadherent/index.php old mode 100755 new mode 100644 index 5d375ee..9890567 --- a/Vue/Listeadherent/index.php +++ b/Vue/Listeadherent/index.php @@ -59,7 +59,7 @@ foreach ($modals as $id => $cfg):