wip: first working version
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
{% extends 'layout.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<table>
|
||||
<thead>
|
||||
<div class="overflow-auto">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">
|
||||
Buchungsdatum
|
||||
</th>
|
||||
<th scope="col">
|
||||
Reisedatum
|
||||
Buchungsdatum/<br>Reisedatum
|
||||
</th>
|
||||
<th scope="col">
|
||||
Reise
|
||||
@@ -17,25 +15,19 @@
|
||||
Vorgangsnr.
|
||||
</th>
|
||||
<th scope="col">
|
||||
Preis
|
||||
</th>
|
||||
<th scope="col">
|
||||
offen
|
||||
Preis/<br>offen
|
||||
</th>
|
||||
<th scope="col">
|
||||
Status
|
||||
</th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for booking in bookings %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ booking.bookingDate | date('d.m.Y') }}
|
||||
</td>
|
||||
<td>
|
||||
{{ booking.travelDate | date('d.m.Y') }}
|
||||
{{ booking.bookingDate | date('d.m.Y') }}/<br>{{ booking.travelDate | date('d.m.Y') }}
|
||||
</td>
|
||||
<td>
|
||||
{{ booking.travel }}
|
||||
@@ -44,10 +36,7 @@
|
||||
{{ booking.bookingNumber }}
|
||||
</td>
|
||||
<td>
|
||||
{{ booking.price|format_currency('EUR') }}
|
||||
</td>
|
||||
<td>
|
||||
{{ booking.balance ? booking.balance|format_currency('EUR') : '-' }}
|
||||
{{ booking.price|format_currency('EUR') }}/<br>{{ booking.balance ? booking.balance|format_currency('EUR') : '-' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ booking.status }}
|
||||
@@ -76,6 +65,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user