feat: refactor staffing status assignment and filtering
This commit is contained in:
@@ -39,6 +39,10 @@ class CreateController extends AbstractController
|
||||
$this->entityManager->persist($application);
|
||||
$this->entityManager->flush();
|
||||
|
||||
// Update staffing status of related assignment
|
||||
$assignment->updateStaffingStatus();
|
||||
$this->entityManager->flush();
|
||||
|
||||
$this->addFlash('success', 'Deine Bewerbung wurde entgegengenommen');
|
||||
$this->logger->info('Create application', [
|
||||
'teamer_id' => $teamer->getId(),
|
||||
|
||||
Reference in New Issue
Block a user