feat: refactor staffing status assignment and filtering

This commit is contained in:
Björn Fromme committed 2024-07-16 17:34:50 +02:00
1 parent fa9c68c463
commit 5dd2f79c2d
14 files changed
+128 -52

No files matched your search

@@ -39,6 +39,10 @@ class DisposeController extends AbstractController
$this->entityManager->remove($application);
$this->entityManager->flush();
// Update staffing status of related assignment
$disposition->getAssignment()->updateStaffingStatus();
$this->entityManager->flush();
$this->eventDispatcher->dispatch(new DispositionCreatedEvent($disposition), DispositionCreatedEvent::NAME);
$this->addFlash('success', 'Teamer:in wurde eingeteilt');