diff --git a/Vue/Ajaxsyntheseconsopolice/index.php b/Vue/Ajaxsyntheseconsopolice/index.php index fcab7b5..4a785a1 100644 --- a/Vue/Ajaxsyntheseconsopolice/index.php +++ b/Vue/Ajaxsyntheseconsopolice/index.php @@ -1,120 +1,63 @@ -
| = _("Adhérent") ?> | - // Calcul des sommes - foreach ($conommations as $conso) { - $totStat += (float)$conso['primeStat']; - $totTtc += (float)$conso['primeTtc']; - $totAll += (float)$conso['consommation_ALL']; - foreach ($natures as $n) { - $totPlafonds[$n] += (float)$conso['plafond_' . $n]; - $totConsos[$n] += (float)$conso['consommation_' . $n]; - } - } - ?> - - -||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = _("Bénéficiaire") ?> | -= _("Primes") ?> | -= _("Plafonds") ?> | -= _("Consommations") ?> | -|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = _("Nom / N° Adh") ?> | -ID | -Stat | -TTC | -= $n ?> | -= $n ?> | -TOTAL | -= _("Primes") ?> | - - -|||||||||
| = $this->nettoyer($conso['nomAdherent']) ?> | -= $this->nettoyer($conso['numeroAdherent']) ?> | -= format_N($conso['primeStat']) ?> | -= format_N($conso['primeTtc']) ?> | -= format_N($conso['plafond_'.$n]) ?> | -= format_N($conso['consommation_'.$n]) ?> | -= format_N($conso['consommation_ALL']) ?> | -= _("Plafonds") ?> | - -|||||||||
| = _("TOTAL GÉNÉRAL") ?> : | -= format_N($totStat) ?> | -= format_N($totTtc) ?> | -= format_N($totPlafonds[$n]) ?> | -= format_N($totConsos[$n]) ?> | -= format_N($totAll) ?> | -|||||||||||