feat: extend teamer dashboard
This commit is contained in:
1 parent
8ff59b3068
commit
b5781df8d9
16 files changed
+286
-30
No files matched your search
@@ -55,6 +55,15 @@ class ApplicationRepository extends ServiceEntityRepository
|
||||
;
|
||||
}
|
||||
|
||||
public function getPendingForTeamer(Teamer $teamer, int $limit = 5): array
|
||||
{
|
||||
return $this
|
||||
->getPendingForTeamerQuery($teamer)
|
||||
->setMaxResults($limit)
|
||||
->getResult()
|
||||
;
|
||||
}
|
||||
|
||||
public function getCurrentByAssignment(Assignment $assignment): array
|
||||
{
|
||||
$qb = $this->createQueryBuilder('application');
|
||||
|
||||
Reference in new issue
Block a user