[Koha-bugs] [Bug 12063] New: Change date calculation for reserve expiration to skip all holidays

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 10 11:54:24 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12063

            Bug ID: 12063
           Summary: Change date calculation for reserve expiration to skip
                    all holidays
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Created attachment 26966
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26966&action=edit
Change date calculation for reserve expiration to skip all holidays

When calculating the last date before reserve expires, skip all days marked as
holidays.

Add a new <<lastpickupdate>> marker usable in RESERVESLIP and HOLD.


TODO:
  -Write testing procedure
  -Add tests to t/Calendar.t
  -Maybe a syspref to keep previous behaviour vs this new one.


This is more or less a proof-of-concept, posted here due to some interest in
this on IRC.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list