From d40a985a3238a0b72a67e3e448d057e1aac04d32 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 21 Dec 2025 13:33:11 +0000 Subject: [PATCH] a --- Vue/Accueilassure/index copy.php | 1437 +++++++++++++++++ Vue/Accueilassure/index.php | 92 -- .../prestatairesactifs.php | 6 - 3 files changed, 1437 insertions(+), 98 deletions(-) create mode 100755 Vue/Accueilassure/index copy.php diff --git a/Vue/Accueilassure/index copy.php b/Vue/Accueilassure/index copy.php new file mode 100755 index 0000000..e58218b --- /dev/null +++ b/Vue/Accueilassure/index copy.php @@ -0,0 +1,1437 @@ + + + + +titre = "Intersanté - Accueil"; + + $pourcentage = round((100*$limite_adherent['consommation'])/$limite_adherent['plafond']); + + // var_dump($garantieadherents); +?> + + +
+
+
+
+
+

+ + +

+
+ +
+

+ + +

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

+ + +
+
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+
+
+ +
+ + +
+
+ % +
+
+ +
+ + +
+ +
+

+ + + +

+ +
+
+ + + + + + + + + + + + + + + + + +
= 50%'?>= 80%'?>
+
+ +
+
+ +
+ + + + + + + + + + + + + nettoyer($v['champApplication']); + $pourcentConsoFamille = $this->nettoyer($v['pourcentConsoFamille']); + $idAdherent = $this->nettoyer($v['idAdherent']); + $codeGarantie = $this->nettoyer($v['codeGarantie']); + $exercieReference = $this->nettoyer($v['exercieReference']); + $plafondFamille = format_N($this->nettoyer($v['plafondFamille'])); + $plafondFamille = format_N($this->nettoyer($v['plafondFamille'])); + ?> + ='50' && $pourcentConsoFamille<'80'): ?> + + ='80' && $pourcentConsoFamille <'100'): ?> + + ='100'): ?> + + + + + + + + + + + + +
nettoyer($v['exercieReference'])?> + ='95'): ?> + " href="javascript:alert('Plafond atteint pour cette garantie!');"> + + nettoyer($v['garantie'])?> + + + + nettoyer($v['garantie'])?> + + nettoyer($v['consommationFamille'])) ?>nettoyer($v['soldeGarantieFamille'])) ?>
+
+ +
+ nettoyer($v['champApplication']); + $pourcentConsoFamille = $this->nettoyer($v['pourcentConsoFamille']); + $idAdherent = $this->nettoyer($v['idAdherent']); + $codeGarantie = $this->nettoyer($v['codeGarantie']); + $exercieReference = $this->nettoyer($v['exercieReference']); + $plafondFamille = format_N($this->nettoyer($v['plafondFamille'])); + $garantie = $this->nettoyer($v['garantie']); + $exercice = $this->nettoyer($v['exercieReference']); + ?> +
+
+
+
+
+ ='50' && $pourcentConsoFamille<'80'): ?> + + ='80' && $pourcentConsoFamille <'100'): ?> + + ='100'): ?> + " href="javascript:alert_limite('G');"> + + + + + +
+ +
+
+
+
+
+
+ + +
+
+ +
+
+ + nettoyer($v['consommationFamille'])) ?> +
+
+ +
+
+ + nettoyer($v['soldeGarantieFamille'])) ?> +
+
+
+ + + +
+
+

+ +

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

+ + + +

+ +
+
+
+
+
+
+ + + +
+
+ +
+ +
+
+
+ +
+
+
+ +
+ +
+ + +
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+ +
+ +
+
+ + + + + + + + + + + + + + + nettoyer($beneficiaire['idBeneficiaire']); + $numeroBeneficiaire = $this->nettoyer($beneficiaire['numeroBeneficiaire']); + $pourcent = round((100*$beneficiaire['consommation'])/$beneficiaire['plafond'],1); + + $faceRegistered = $this->nettoyer($beneficiaire['faceRegistered']); + $lienPhoto = $this->nettoyer($beneficiaire['lienPhoto']); + + // vérifier que la photo du bénéficiaire existe + $photo = ""; + $photoAssureCrypte = ""; + + if($faceRegistered == "1" && $lienPhoto>" ") + { + $photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto; + + $photoAssureCrypte = $photo; + + } + + $prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']); + + $impaye = ($prestationPossible=="0") ? 1 : 0; + ?> + + + + + + + + + + + + + + + + +
+ +
+ <?= _(" + > +
+ +
+ +
+ +
+ + + nettoyer($beneficiaire['nomBeneficiaire'])." ".$this->nettoyer($beneficiaire['prenomsBeneficiaire']) ?> + + nettoyer($beneficiaire['nomBeneficiaire'])." ".$this->nettoyer($beneficiaire['prenomsBeneficiaire']) ?> + nettoyer($beneficiaire['dateNaissance']), $_SESSION['lang']) ?>nettoyer($beneficiaire['lienparente']) ?> + + nettoyer($beneficiaire['consommation'])) ?>
+
+
+ + +
+ nettoyer($beneficiaire['idBeneficiaire']); + $numeroBeneficiaire = $this->nettoyer($beneficiaire['numeroBeneficiaire']); + $pourcent = round((100*$beneficiaire['consommation'])/$beneficiaire['plafond'],1); + + $faceRegistered = $this->nettoyer($beneficiaire['faceRegistered']); + $lienPhoto = $this->nettoyer($beneficiaire['lienPhoto']); + + $prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']); + + // vérifier que la photo du bénéficiaire existe + $photo = ""; + $photoAssureCrypte = ""; + + if($faceRegistered == "1" && $lienPhoto>" ") + { + $photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto; + + $photoAssureCrypte = $photo; + + } + ?> +
+ +
+ +
+ <?= _(" + > +
+ +
+ +
+ +
+ +
+ +
+

nettoyer($beneficiaire['nomBeneficiaire'])." ".$this->nettoyer($beneficiaire['prenomsBeneficiaire']) ?>

+
+
+ +
+
+
+ + nettoyer($beneficiaire['ageBeneficiaire'])." "._("ans") ?> +
+
+ +
+
+ + nettoyer($beneficiaire['lienparente']) ?> +
+
+
+ + + +
+
+ +
+
+ + +
+ +
+
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+ +
+ + +
+
+
+
+ +
+
+
+
+ + +
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+ +
+
+
+ +
+
+
+
+
+ + + + + + + + + + + +
+ diff --git a/Vue/Accueilassure/index.php b/Vue/Accueilassure/index.php index e58218b..f488e74 100755 --- a/Vue/Accueilassure/index.php +++ b/Vue/Accueilassure/index.php @@ -1025,98 +1025,6 @@ plugins: [ChartDataLabels] }); - // Graphique des dépenses par garantie - const dataConso = ; - const barCtx = document.getElementById('depensesChart').getContext('2d'); - const barChart = new Chart(barCtx, { - type: 'bar', - data: { - labels: dataConso.garanties, - datasets: [{ - label: 'Dépenses', - data: dataConso.depenses, - backgroundColor: 'rgba(54, 162, 235, 0.7)', - borderColor: 'rgba(54, 162, 235, 1)', - borderWidth: 1 - }] - }, - options: { - responsive: true, - maintainAspectRatio: false, - plugins: { - annotation: { - annotations: dataConso.plafonds.map((plafond, index) => { - if (plafond === null) return null; - - return { - type: 'line', - yMin: plafond, - yMax: plafond, - borderColor: 'rgba(255, 99, 132, 0.7)', - borderWidth: 2, - borderDash: [6, 6], - label: { - content: `Plafond: ${formatMoney(plafond)}`, - enabled: true, - position: 'right' - } - }; - }).filter(annotation => annotation !== null) - }, - legend: { - display: false - }, - tooltip: { - callbacks: { - label: function(context) { - const plafond = dataConso.plafonds[context.dataIndex]; - let tooltip = `Dépenses: ${formatMoney(context.parsed.y)}`; - - if (plafond !== null) { - const pourcentage = Math.min(100, Math.round((context.parsed.y / plafond) * 100)); - tooltip += ` (${pourcentage}% du plafond)`; - } else { - tooltip += ' (plafond illimité)'; - } - - return tooltip; - } - } - } - }, - scales: { - y: { - beginAtZero: true, - title: { - display: true, - text: `Montant des dépenses`, - font: { - weight: 'bold' - } - }, - ticks: { - callback: function(value) { - return formatMoney(value); - } - }, - suggestedMax: Math.max(...dataConso.depenses) * 1.5 - }, - x: { - title: { - display: true, - text: 'Garanties', - font: { - weight: 'bold' - } - }, - grid: { - display: false - } - } - } - } - }); - // Générer la légende au chargement et lors du redimensionnement generateCustomLegend(distributionChart, 'pieChartLegend'); window.addEventListener('resize', function() { diff --git a/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php b/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php index a3ab41e..5950dcc 100755 --- a/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php +++ b/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php @@ -151,12 +151,6 @@ nettoyer($prestataire['mobile']) ?> -
-
- - nettoyer($prestataire['email']) ?> -
-