This commit is contained in:
Dvorinka
2025-06-20 11:50:49 +02:00
parent 888d1b222e
commit b0cf7b77d5
3 changed files with 120 additions and 95 deletions
+14 -1
View File
@@ -155,6 +155,16 @@
</div>
</div>
<!-- Reservation Details (Hidden by default) -->
<div id="reservationDetails" class="hidden space-y-4">
<div class="bg-blue-50 p-4 rounded-lg">
<h3 class="text-blue-700 font-semibold mb-2">Informace o rezervaci:</h3>
<div id="reservationInfo" class="space-y-2">
<!-- Reservation info will be populated here -->
</div>
</div>
</div>
<!-- Date and Time Fields - Departure -->
<div class="grid md:grid-cols-2 gap-5">
<div class="space-y-2">
@@ -359,7 +369,10 @@
const timeEnd = document.getElementById('time_end');
const dateStart = document.getElementById('date_start');
const dateEnd = document.getElementById('date_end');
const reservationDetails = document.getElementById('reservationDetails');
const reservationInfo = document.getElementById('reservationInfo');
const currentReservationId = new URLSearchParams(window.location.search).get('reservationId');
let debounceTimer;
// Set default dates to today