Add SommeE
This commit is contained in:
parent
ed7dc56c82
commit
749e33d518
@ -202,6 +202,8 @@ if ($conf->use_javascript_ajax) {
|
|||||||
|
|
||||||
$SommeC = 0;
|
$SommeC = 0;
|
||||||
$SommeD = 0;
|
$SommeD = 0;
|
||||||
|
$SommeE = 0;
|
||||||
|
|
||||||
$total = 0;
|
$total = 0;
|
||||||
$dataval = array();
|
$dataval = array();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@ -218,7 +220,7 @@ if ($conf->use_javascript_ajax) {
|
|||||||
$SommeE += isset($MembersExcluded[$key]) ? $MembersExcluded [$key] : 0;
|
$SommeE += isset($MembersExcluded[$key]) ? $MembersExcluded [$key] : 0;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$total = $SommeA + $SommeB + $SommeC + $SommeD;
|
$total = $SommeA + $SommeB + $SommeC + $SommeD +$SommeE;
|
||||||
$dataseries = array();
|
$dataseries = array();
|
||||||
$dataseries[] = array($langs->transnoentitiesnoconv("OutOfDate"), round($SommeB));
|
$dataseries[] = array($langs->transnoentitiesnoconv("OutOfDate"), round($SommeB));
|
||||||
$dataseries[] = array($langs->transnoentitiesnoconv("UpToDate"), round($SommeC));
|
$dataseries[] = array($langs->transnoentitiesnoconv("UpToDate"), round($SommeC));
|
||||||
@ -241,7 +243,7 @@ if ($conf->use_javascript_ajax) {
|
|||||||
|
|
||||||
$boxgraph .= '</td></tr>';
|
$boxgraph .= '</td></tr>';
|
||||||
$boxgraph .= '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td class="right">';
|
$boxgraph .= '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td class="right">';
|
||||||
$boxgraph .= $SommeA + $SommeB + $SommeC + $SommeD;
|
$boxgraph .= $SommeA + $SommeB + $SommeC + $SommeD + $SommeE;
|
||||||
$boxgraph .= '</td></tr>';
|
$boxgraph .= '</td></tr>';
|
||||||
$boxgraph .= '</table>';
|
$boxgraph .= '</table>';
|
||||||
$boxgraph .= '</div>';
|
$boxgraph .= '</div>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user