From 749e33d5180ad547d43934901c420450c2dff9cf Mon Sep 17 00:00:00 2001 From: daraelmin Date: Sun, 14 Mar 2021 14:37:20 +0100 Subject: [PATCH] Add SommeE --- htdocs/adherents/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 9f8e5d07818..0721c8f23e4 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -202,6 +202,8 @@ if ($conf->use_javascript_ajax) { $SommeC = 0; $SommeD = 0; + $SommeE = 0; + $total = 0; $dataval = array(); $i = 0; @@ -218,7 +220,7 @@ if ($conf->use_javascript_ajax) { $SommeE += isset($MembersExcluded[$key]) ? $MembersExcluded [$key] : 0; $i++; } - $total = $SommeA + $SommeB + $SommeC + $SommeD; + $total = $SommeA + $SommeB + $SommeC + $SommeD +$SommeE; $dataseries = array(); $dataseries[] = array($langs->transnoentitiesnoconv("OutOfDate"), round($SommeB)); $dataseries[] = array($langs->transnoentitiesnoconv("UpToDate"), round($SommeC)); @@ -241,7 +243,7 @@ if ($conf->use_javascript_ajax) { $boxgraph .= ''; $boxgraph .= ''.$langs->trans("Total").''; - $boxgraph .= $SommeA + $SommeB + $SommeC + $SommeD; + $boxgraph .= $SommeA + $SommeB + $SommeC + $SommeD + $SommeE; $boxgraph .= ''; $boxgraph .= ''; $boxgraph .= '';