fix: allow booking the free part of a partly booked day

This commit is contained in:
fromme committed 2026-09-13 19:11:51 +02:00
1 parent a88ff7ff24
commit 78839838f0
15 files changed
+541 -60

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@
{% for resource in resources %}
{% if resource.svgElementId and geometry[resource.svgElementId] is defined %}
{{ plan.spot(resource, geometry[resource.svgElementId], 140, 70,
bookings_by_resource[resource.id]|default([]), selected_date, is_past, time_params) }}
{{ plan.spot(spots[resource.id], geometry[resource.svgElementId], 140, 70,
selected_date, is_past, time_params) }}
{% endif %}
{% endfor %}
</svg>