feat: name the accommodation booking PDF after its record label
This commit is contained in:
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';
|
||||
|
||||
Reference in new issue
Block a user