wip: improved booking summary
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<h3>Zusammenfassung</h3>
|
||||
<p>Reise: {{ bookingCreateDto.travel.label }}</p>
|
||||
<p>Datum: {{ bookingCreateDto.travel.dateFrom|date('d.m.Y') }} - {{ bookingCreateDto.travel.dateTo|date('d.m.Y') }}</p>
|
||||
<p>Hotel: {{ bookingCreateDto.travel.hotel.name }}</p>
|
||||
{% if groupedSelectedRooms.by_room is not empty %}
|
||||
<h4>Zimmer</h4>
|
||||
<ul class="list-disc pl-4 pb-4">
|
||||
{% for roomSelection in groupedSelectedRooms.by_room %}
|
||||
<li>
|
||||
{{ roomSelection.quantity }} x {{ roomSelection.roomLabel }}
|
||||
{% if assignmentCounts is defined and assignmentCounts[roomSelection.roomId] is defined %}
|
||||
<span class="block text-sm">{{ assignmentCounts[roomSelection.roomId] }}/{{ roomSelection.quantity }} belegt</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if groupedSelectedRooms.by_pax is not empty %}
|
||||
<h4>Betten</h4>
|
||||
<ul class="list-disc pl-4 pb-4">
|
||||
{% for roomSelection in groupedSelectedRooms.by_pax %}
|
||||
<li>
|
||||
{{ roomSelection.quantity }} x {{ roomSelection.roomLabel }}
|
||||
{% if assignmentCounts is defined and assignmentCounts[roomSelection.roomId] is defined %}
|
||||
<span class="block text-sm">{{ assignmentCounts[roomSelection.roomId] }}/{{ roomSelection.quantity }} belegt</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<h4>Anzahl Teilnehmer</h4>
|
||||
<p>{{ participantCount }}</p>
|
||||
Reference in New Issue
Block a user