feat: re-generate access links for bookings when sent via email

This commit is contained in:
Björn Fromme committed 2026-08-20 14:21:02 +02:00
1 parent 98a303e941
commit ef439f6faf
9 files changed
+58 -252

No files matched your search

@@ -43,9 +43,9 @@ class SendAccessLinkController extends AbstractController
return new HxRedirectResponse($this->generateUrl('app_admin_accommodationbooking_edit', ['id' => $booking->getId()]));
}
$this->bookingService->sendCustomerConfirmationEmail($booking);
$this->bookingService->sendAccessLink($booking);
$this->addFlash('success', 'Der Zugangslink wurde dem Kunden per E-Mail zugestellt.');
$this->addFlash('success', 'Ein neuer Zugangslink wurde dem Kunden per E-Mail zugestellt.');
$this->logger->info('Sent accommodation booking access link', [
'id' => $booking->getId(),