feat: refactor staffing status assignment and filtering
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user