Bug 36079

Summary: Library hours and the Calendar are not linked in any meaningful ways
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt, r.delahunty
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 6796    
Bug Blocks:    

Description Martin Renvoize 2024-02-13 10:59:37 UTC
Bug 6796 adds the ability to define library opening hours for each branch. It does not, however, respect weekday closed days as defined in the Calendar page.

We should expose that detail from the libraries interface, including in the summary table, details view and edit form.

I believe this would be best achieved by migrating the weekly closed days from repeatable holidays into the new library_hours table and thus making it available via the existing library_hours embed in the API.  This makes it trivial to display the open/closed state in the api driven datatable as well as on the view and edit pages.

We should continue to support displaying and editing these weekly closed days from the calendar too, however.