PMCORE-3515

This commit is contained in:
Andrea Adamczyk
2021-11-25 15:08:32 -04:00
parent 8fe4e77fbc
commit 741a424e47
14 changed files with 866 additions and 46 deletions

View File

@@ -260,4 +260,16 @@ class Inbox extends AbstractCases
'total' => $count
];
}
/**
* Count how many cases there are in TO_DO
*
* @return int
*/
public function getCounterMetrics()
{
$query = Delegation::query()->select();
$query->inboxMetrics();
return $query->count(['APP_DELEGATION.APP_NUMBER']);
}
}