diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 0ca76d214d7..ed9b8fa43b7 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -220,12 +220,12 @@ if ($conf->use_javascript_ajax) { $SommeE += isset($MembersExcluded[$key]) ? $MembersExcluded [$key] : 0; $i++; } - $total = $SommeA + $SommeB + $SommeC + $SommeD +$SommeE; + $total = $SommeA + $SommeB + $SommeC + $SommeD + $SommeE; $dataseries = array(); $dataseries[] = array($langs->transnoentitiesnoconv("OutOfDate"), round($SommeB)); $dataseries[] = array($langs->transnoentitiesnoconv("UpToDate"), round($SommeC)); - $dataseries[] = array($langs->transnoentitiesnoconv("MembersStatusResiliated"), round($SommeD)); $dataseries[] = array($langs->transnoentitiesnoconv("MembersStatusExcluded"), round($SommeE)); + $dataseries[] = array($langs->transnoentitiesnoconv("MembersStatusResiliated"), round($SommeD)); $dataseries[] = array($langs->transnoentitiesnoconv("MembersStatusToValid"), round($SommeA)); include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php'; @@ -233,7 +233,7 @@ if ($conf->use_javascript_ajax) { include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; $dolgraph = new DolGraph(); $dolgraph->SetData($dataseries); - $dolgraph->SetDataColor(array($badgeStatus1, $badgeStatus4, $badgeStatus6, $badgeStatus8, '-'.$badgeStatus0)); + $dolgraph->SetDataColor(array($badgeStatus1, $badgeStatus4, $badgeStatus8, $badgeStatus6, '-'.$badgeStatus0)); $dolgraph->setShowLegend(2); $dolgraph->setShowPercent(1); $dolgraph->SetType(array('pie')); @@ -458,7 +458,7 @@ if ($resql) { print '