[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Irene Tortorella changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Paul Derscheid changed: What|Removed |Added CC||[email protected] --- Comment #6 from Paul Derscheid --- Hi there, I have a hacky fix for this in my refactor on Bug 41129. For the closed days, I added a wip api endpoint to expose them to both the staff interface and the OPAC. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize (ashimema) changed: What|Removed |Added Status|ASSIGNED|BLOCKED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize (ashimema) changed: What|Removed |Added Depends on|37354 |41129 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37354 [Bug 37354] Bookings should respect circulation rules for max loan periods https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129 [Bug 41129] Migrate place_booking.js to a Vue island. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Jessie Zairo changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 David Nind changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize (ashimema) changed: What|Removed |Added Depends on|34440 |37354 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34440 [Bug 34440] Add warm-up and cool-down periods to bookings https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37354 [Bug 37354] Bookings should respect circulation rules for max loan periods -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Koha collecto changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 --- Comment #5 from Martin Renvoize --- The main blocker here is the lack of API's for fetching calendar open/closed days. We need to work on that first and also consider how opening hours and days work together. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Aude Charillon changed: What|Removed |Added CC||aude.charillon@ptfs-europe. ||com --- Comment #4 from Aude Charillon --- This is of interest to a library we work with: they use the Tools > Calendar to mark closed days and would like to see those closed days greyed out when placing bookings. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Marie changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 --- Comment #3 from Martin Renvoize --- Created attachment 169687 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169687&action=edit Bug 37363: Initial work on supporting closed days This is just a proof of concept at this point.. we need api's for fetching regular and irregular closed days before we can fully impliment the functionality. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize changed: What|Removed |Added Blocks||36383 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36383 [Bug 36383] Add option to set open booking days -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363
--- Comment #2 from Martin Renvoize ---
This works from onDayCreate:
```
// Make closed days unclickable (while keeping them part of the range)
if (date.getDay() === 0 || date.getDay() === 6) {
dayElem.classList.add("closed-day");
// Remove the click event to disable the day
dayElem.addEventListener('click', function(event) {
event.stopImmediatePropagation();
}, true);
}
```
I'll submit the patch once I've finished work on bug 34440
--
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize changed: What|Removed |Added Depends on|29002 |34440 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29002 [Bug 29002] Add ability to book items ahead of time https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34440 [Bug 34440] Add warm-up and cool-down periods to bookings -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize changed: What|Removed |Added Assignee|[email protected] |martin.renvoize@ptfs-europe |ity.org |.com --- Comment #1 from Martin Renvoize --- Flatpickr doesn't appear to support this spanning functionality natively.. there are a few idea's here though: https://github.com/flatpickr/flatpickr/issues/955 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37363] Booking dates should respect closed days
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 Martin Renvoize changed: What|Removed |Added Depends on||29002 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29002 [Bug 29002] Add ability to book items ahead of time -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
