wip: first working version

This commit is contained in:
Björn Fromme
2024-11-21 18:38:41 +01:00
parent d4c4e69d09
commit bd13ae6537
24 changed files with 590 additions and 319 deletions
+12 -22
View File
@@ -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 %}