add condition to count accounts that arent removed
This commit is contained in:
parent
09771e1a76
commit
aa433f9d87
|
@ -42,7 +42,7 @@ abstract class BaseUsers extends BaseAdmin
|
||||||
{
|
{
|
||||||
$active = DBA::count('user', ['blocked' => false, 'verified' => true, 'account_removed' => false]);
|
$active = DBA::count('user', ['blocked' => false, 'verified' => true, 'account_removed' => false]);
|
||||||
$pending = Register::getPendingCount();
|
$pending = Register::getPendingCount();
|
||||||
$blocked = DBA::count('user', ['blocked' => true, 'verified' => true]);
|
$blocked = DBA::count('user', ['blocked' => true, 'verified' => true, 'account_removed' => false]);
|
||||||
$deleted = DBA::count('user', ['account_removed' => true]);
|
$deleted = DBA::count('user', ['account_removed' => true]);
|
||||||
|
|
||||||
$tabs = [
|
$tabs = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user