#13044 change enable for disabled message
This commit is contained in:
parent
c1bfeb93f5
commit
cac66629c6
|
@ -210,8 +210,8 @@ class Overview extends Element
|
||||||
$total_disabled_agents = round((($total - count($enabled_agents)) * 100) / $total);
|
$total_disabled_agents = round((($total - count($enabled_agents)) * 100) / $total);
|
||||||
$total_enabled_agents = round((count($enabled_agents) * 100) / $total);
|
$total_enabled_agents = round((count($enabled_agents) * 100) / $total);
|
||||||
} else {
|
} else {
|
||||||
$total_disabled_agents = 0;
|
$total_disabled_agents = 100;
|
||||||
$total_enabled_agents = 100;
|
$total_enabled_agents = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($total_enabled_agents > 0) {
|
if ($total_enabled_agents > 0) {
|
||||||
|
|
Loading…
Reference in New Issue