... |
... |
@@ -120,6 +120,8 @@
|
120 |
120 |
{% if not booking.checked_in %}
|
121 |
121 |
{% if booking.approved != '0' %}
|
122 |
122 |
<a hx-get="/_ajax/vr_wa/v1/slot?do=booking&id={{ booking.id }}" hx-target="body" hx-swap="beforeend" href="javascript:;" class="btn btn--sm btn-info m-0">Ändern</a>
|
|
123 |
+ {% endif %}
|
|
124 |
+ {% if booking.approved == '1' %}
|
123 |
125 |
<a hx-get="/_ajax/vr_wa/v1/slot?do=checkin&id={{ booking.id }}" hx-target="body" hx-swap="beforeend" href="javascript:;" class="btn btn--sm btn-success m-0">Check-in</a>
|
124 |
126 |
{% endif %}
|
125 |
127 |
<a hx-get="/_ajax/vr_wa/v1/slot?do=delete&id={{ booking.id }}" hx-target="body" hx-swap="beforeend" hx-confirm="Sind Sie sicher, dass Sie diese Reservierung löschen möchten?" href="javascript:;" class="btn btn--sm btn-danger m-0">Löschen</a>
|