changes to the Event lisseer and the Display of the booking range for the client

This commit is contained in:
2026-06-26 19:37:04 +02:00
parent 111d40b787
commit d2c7e57f8d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ document.addEventListener('DOMContentLoaded', function () {
const slotStartSet = new Set(candidateSlots.map(function (slot) { return slot.start; }));
const allDays = dateRangeInclusive(String(available.date_start || ''), String(available.date_end || ''));
let slotMinTime = '08:15:00';
let slotMinTime = '08:00:00';
let slotMaxTime = '20:00:00';
const visibleStart = allDays[0] || String(available.date_start || '');
+2 -2
View File
@@ -435,8 +435,8 @@
slotLengthInput.addEventListener('change', calculateSlots);
}
if (clientsperslot) {
slotLengthInput.addEventListener('input', calculateSlots);
slotLengthInput.addEventListener('change', calculateSlots);
clientsperslot.addEventListener('input', calculateSlots);
clientsperslot.addEventListener('change', calculateSlots);
}
if (startDateInput.value && endDateInput.value) {