This commit is contained in:
2024-12-09 20:30:19 +01:00
parent d080b6287c
commit 9b5f3b23fb
13 changed files with 636 additions and 43 deletions

View File

@@ -1,8 +1,10 @@
function openReservationForm() {
document.getElementById("reservationForm").style.display = "block";
const now = new Date();
const formattedDate = now.toLocaleDateString('cs-CZ', { day: '2-digit', month: '2-digit', year: 'numeric' });
document.getElementById('date').value = formattedDate;
document.getElementById('reservationForm').style.display = 'block';
}
function closeReservationForm() {
document.getElementById("reservationForm").style.display = "none";
document.getElementById('reservationForm').style.display = 'none';
}