diff --git a/templates/groups/offer/view.html.twig b/templates/groups/offer/view.html.twig index ae01ea05..4493b70d 100644 --- a/templates/groups/offer/view.html.twig +++ b/templates/groups/offer/view.html.twig @@ -49,8 +49,9 @@ {% include '_partials/_flashes.html.twig' %}
+ {% set addressee = booking.groupName ?: [booking.firstName, booking.lastName] | filter(v => v) | join(' ') %}

- {{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }} + {{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }}{% if addressee %}, {{ addressee }}{% endif %}

{{ ctx.accommodation.name }}