wip: group inquiries and booking

This commit is contained in:
Björn Fromme committed 2026-07-16 09:03:42 +02:00
1 parent 225ed518e3
commit 1e59d38eb4
33 files changed
+644 -95

No files matched your search

@@ -62,7 +62,7 @@ class EditController extends AbstractController
$currentIds = array_column($booking->getAdditionalServices(), 'originalServiceId');
$currentAdditionalServices = array_values(array_filter(
$additionalServices,
fn(AdditionalService $s) => in_array($s->getId(), $currentIds, true),
fn (AdditionalService $s) => in_array($s->getId(), $currentIds, true),
));
}
@@ -103,6 +103,8 @@ class EditController extends AbstractController
}
}
$this->bookingService->refreshPriceSnapshot($booking);
$this->entityManager->persist($booking);
$this->entityManager->flush();