78 lines
No EOL
2.3 KiB
Twig
78 lines
No EOL
2.3 KiB
Twig
{% if(isPossible) %}
|
|
<table class="st-booking-table">
|
|
<tbody>
|
|
<tr>
|
|
<td class="st-position-price-col">
|
|
Datum:
|
|
</td>
|
|
<td class="st-position-name-col">
|
|
{{ fewo_booking_request.fromDate|date }} - {{ fewo_booking_request.toDate|date }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><hr style="margin-top: 0; margin-bottom: 0"></td>
|
|
</tr>
|
|
|
|
{% for season, values in priceResult.season %}
|
|
<tr>
|
|
<td class="st-position-price-col">
|
|
Saison:
|
|
</td>
|
|
<td class="st-position-name-col">
|
|
{{ season }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="st-position-price-col">
|
|
Mindestbelegung:
|
|
</td>
|
|
<td class="st-position-name-col">
|
|
{{ values.minimumStay }} {{ values.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="st-position-price-col">
|
|
+ {{ values.price|number_format(2) }} €
|
|
</td>
|
|
<td class="st-position-name-col">
|
|
{{ values.numberDays }} {{ values.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ values.perNight|number_format(2) }} €
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><hr style="margin-top: 0; margin-bottom: 0"></td>
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
<tr>
|
|
<td class="st-position-price-col">
|
|
+ {{ priceResult.flatPrice|number_format(2) }} €
|
|
</td>
|
|
<td class="st-position-name-col">
|
|
Service-Gebühr
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="st-position-price-col">
|
|
+ {{ priceResult.deposit|number_format(2) }} €
|
|
</td>
|
|
<td class="st-position-name-col">
|
|
Kaution
|
|
</td>
|
|
</tr>
|
|
<tr class="st-total-tr">
|
|
<td class="st-position-price-col">
|
|
<span class="st-total-price">= {{ priceResult.total_price|number_format(2) }} €</span>
|
|
</td>
|
|
<td class="st-position-name-col">Miete inkl. Kaution</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
|
|
Leider ist der gewünschter Zeitraum ist nicht buchbar.<br>
|
|
Bitte ändern Sie das Datum, rote Felder sind bereits gebucht.
|
|
|
|
{% endif %} |