39 lines
1.1 KiB
Twig
39 lines
1.1 KiB
Twig
{#- Accommodation and group facts for booking emails, kept out of _price_breakdown.html.twig
|
||
so that partial holds prices only. Context: booking. -#}
|
||
<h2>Unterkunft</h2>
|
||
|
||
<table>
|
||
<tr>
|
||
<td><strong>Name</strong></td>
|
||
<td>{{ booking.accommodation.name }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>Anreise</strong></td>
|
||
<td>{{ booking.dateFrom|date('d.m.Y') }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>Abreise</strong></td>
|
||
<td>{{ booking.dateTo|date('d.m.Y') }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>Nächte</strong></td>
|
||
<td>{{ booking.nights }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>Anzahl Personen</strong></td>
|
||
<td>{{ booking.paxCount }}</td>
|
||
</tr>
|
||
{% if booking.minorsCount > 0 %}
|
||
<tr>
|
||
<td><strong>davon Kinder (0–3 J.)</strong></td>
|
||
<td>{{ booking.minorsCount }}</td>
|
||
</tr>
|
||
{% endif %}
|
||
{% if booking.childrenCount > 0 %}
|
||
<tr>
|
||
<td><strong>davon Kinder (4–{{ booking.accommodation.maxAdolescentAge }} J.)</strong></td>
|
||
<td>{{ booking.childrenCount }}</td>
|
||
</tr>
|
||
{% endif %}
|
||
</table>
|