https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129
--- Comment #71 from Paul Derscheid <[email protected]> --- Created attachment 203650 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203650&action=edit Bug 41129: Add client-side booking rules and utilities Add the client-side rules used to determine which booking dates and options are available. - evaluate booking, checkout, lead-period, trail-period, holiday, and maximum booking-period restrictions - convert booking availability responses into item and date indexes - filter items, item types, and pickup locations as the booking context changes - convert calendar dates to library-timezone day boundaries for API requests - build calendar markers and accessible descriptions for date restrictions - add booking type declarations and shared ID and debounce utilities - add component tests for rules, constraints, availability maps, and dates Test plan: 1. Run: `yarn cypress run --component --browser electron --spec 't/cypress/component/lib/booking/**/*_spec.ts'` 2. Verify that all booking rule, constraint, availability-map, and timezone tests pass. Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/> Assisted-by: Opus 4.8 (Anthropic) Assisted-by: GPT 5.6 (OpenAI) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
