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

@@ -26,6 +26,9 @@ class DeleteController extends AbstractController
$this->entityManager->remove($application);
$this->entityManager->flush();
$application->getAssignment()->updateStaffingStatus();
$this->entityManager->flush();
$this->addFlash('success', 'Die Bewerbung wurde gelöscht');
$this->logger->info('Delete application', [
'destination' => (string) $application->getAssignment()->getDestination(),