feat: allow overlapping assignments via flag set on individual teamers
This commit is contained in:
1 parent
4e92eebb39
commit
a95291d4ec
6 files changed
+68
-5
No files matched your search
@@ -19,6 +19,10 @@ class ApplicationValidator extends ConstraintValidator
|
||||
|
||||
$teamer = $application->getTeamer();
|
||||
|
||||
if (true === $teamer->isAllowOverlappingApplications()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$assignment = $application->getAssignment();
|
||||
$destination = $assignment->getDestination();
|
||||
|
||||
|
||||
Reference in new issue
Block a user