feat: travel info shows the hotel address maintained in TYPO3

The address MyEP returns for a travel is meant for the bus driver (e.g.
a parking spot near the hotel), so guests were shown a technical
location instead of the hotel's postal address.

The hotel from MyEP is now matched to its TYPO3 record by code or
additional code, and the editorial "Anschrift" is shown with its line
breaks. If no hotel matches, it is hidden or its address is empty, the
MyEP address is still shown as before, so no travel info loses its
address block.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-11-05 18:16:07 +01:00
1 parent e6d1009b52
commit 54567d7d79
3 files changed
+37 -5

No files matched your search

@@ -69,11 +69,18 @@
Adresse
</h3>
<p>
{travelData.hotel.name}
<br>
{travelData.hotel.street}
<br>
{travelData.hotel.country} {travelData.hotel.city}
<f:if condition="{hotelAddress}">
<f:then>
<f:format.nl2br>{hotelAddress}</f:format.nl2br>
</f:then>
<f:else>
{travelData.hotel.name}
<br>
{travelData.hotel.street}
<br>
{travelData.hotel.country} {travelData.hotel.city}
</f:else>
</f:if>
</p>
</f:else>
</f:if>