feat: name the accommodation booking PDF after its record label

This commit is contained in:
fromme committed 2026-10-01 08:46:12 +02:00
1 parent ec10ca3623
commit 56deb1e24b
2 files changed
+4 -5

No files matched your search

@@ -93,7 +93,7 @@ class AccommodationBookingPdfGenerator
$parts = array_filter([
$booking->getDateFrom()?->format('Y-m-d'),
$booking->getAccommodation()?->getCalendarCode(),
'Buchung',
$booking->recordLabel(),
]);
return implode(' ', $parts).'.pdf';