DONE: merge heir tab into profile tab, santize userIcNum and name, rename to malay, add stat card on user list
This commit is contained in:
@@ -50,6 +50,14 @@ class UserService
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array{total: int, joined_this_month: int}
|
||||
*/
|
||||
public function getListStats(string $search, string $status, array $dateFilters = []): array
|
||||
{
|
||||
return $this->repository->getListStats($search, $status, $dateFilters);
|
||||
}
|
||||
|
||||
public function restoreUser(string $id): ?User
|
||||
{
|
||||
if (! $this->repository->restore($id)) {
|
||||
|
||||
Reference in New Issue
Block a user