https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42310

            Bug ID: 42310
           Summary: Move calendar CRUD to Koha::Calendar::* with
                    normalized schema
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The calendar system currently relies on C4::Calendar for all write operations
using raw DBI, and two overloaded tables where column values determine the type
of closure (repeatable_holidays.weekday IS NOT NULL = weekly, IS NULL =
annual; special_holidays.isexception = closure vs exception). Single dates are
stored as separate day/month/year smallints instead of a DATE column.

The goal is to replace this with proper Koha::Object classes under the
Koha::Calendar::* namespace backed by normalized, purpose-specific tables, and
refactor Koha::Calendar to consume them. This unblocks REST API CRUD endpoints
and a Vue-based rewrite of the holidays admin page in the future.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to