feat: refactored accommodation booking status model
This commit is contained in:
1 parent
e8accbb3ed
commit
5a3957e143
42 files changed
+1190
-277
No files matched your search
@@ -98,7 +98,8 @@ class AccommodationBookingPdfGenerator
|
||||
$groupName = (new AsciiSlugger('de'))->slug((string) $booking->getGroupName())->lower()->toString();
|
||||
|
||||
return sprintf(
|
||||
'buchung-%s%s.pdf',
|
||||
'%s-%s%s.pdf',
|
||||
mb_strtolower($booking->recordLabel()),
|
||||
$booking->getDateFrom()?->format('Y-m-d') ?? 'ohne-datum',
|
||||
'' !== $groupName ? '-'.$groupName : ''
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user