Main Koha release repository https://koha-community.org
Find a file
Ian Walls e57dadf762 Bug 5548: Hard Due Dates Circ Rule
Implements the RFC found at http://wiki.koha-community.org/wiki/Hard_Due_Dates_Circ_Rule_RFC.  See squashed commits
messages below for details of implementation.

Squashed commit of the following:

commit 871b91af00871146eb1216ebf5ce673dda2c5925
Author: Ian Walls <ian.walls@bywatersolutions.com>
Date:   Tue Dec 28 15:09:49 2010 -0500

    Hard Due Dates dev part 3: implementing the due dates in circ

    CalcDateDue now calls GetLoanLength, rather than each invocation running separately one after another.  Therefore, instead of
    the 'loanlength' param, CalcDateDue now takes 'itype', and uses the info to get both the issuelength and the hardduedate info (if it exists)

    Global Due Date no longer populates in the sticky due date field in Circ, since it can't be determined before the item is scanned.  Any specified
    due date still overrides the circulation rules, if allowed.

    Hard Due Dates in the past will return an error message, but can be manually specified if truly desired.

    Also, a small fix to updatedatabase.pl to allow the old data to populate if possible.

commit 14d5505f3c01287a2464a759f0076c1d4b665c49
Author: Ian Walls <ian.walls@bywatersolutions.com>
Date:   Mon Dec 27 18:28:11 2010 -0500

    HardDueDates dev part 2:  adding admin interface

    Adds columns to Smart Rules page, including calendar for easy date selection.

    Removes globalDueDate and ceilingDueDates from system preferences editors

commit 76e3e3d86a7a54c6ce4253e7f68278b4dc75a0bb
Author: Ian Walls <ian.walls@bywatersolutions.com>
Date:   Mon Dec 27 15:58:05 2010 -0500

    HardDueDates dev part 1: database changes

    Adds two new columns to issuingrules, a hardduedate and a hardduedatecompare.  If globalduedate is set, use that as the universal value
    for all circ rules.  Else, if ceilingduedate is set, use that as the universal value.  Adjust the comparison accordingly (-1 before, 0
    exact, 1 after).  the old system preferences globalDueDate and ceilingDueDate are then removed.

    Rebased onto 3.03.00.032

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-03-30 20:35:45 +13:00
acqui Bug 5466 On new orders get currency from vendor 2011-03-21 16:51:41 +13:00
admin Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
authorities Bug 5907 : MT 2538 : Using default authtypecode for authority display 2011-03-23 19:52:26 +13:00
basket Bug 3810: Ensure all calls to Mail::Sendmail handled consistently 2011-03-16 20:57:12 +13:00
C4 Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
catalogue Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
cataloguing Bug 5939: "Save and edit items" button broken 2011-03-24 13:33:13 +13:00
circ Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
debian Bug 5550 - correct filename referenced in docs 2011-01-01 07:43:30 +13:00
docs Adding 2 more developers to the history 137 now! 2011-03-21 16:42:49 +13:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Bug 3735: Wrong search results for a few fields in ccl.properties 2011-03-18 11:17:24 +13:00
install_misc Add .packages file for Ubuntu 10.10 2010-12-20 09:57:30 +13:00
installer Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
koha-tmpl Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
labels Bug 5865 - Labels wrap incorrectly when paper width is greater than height 2011-03-15 21:52:32 +13:00
members Bug 5900: GetAllIssues performance issues 2011-03-29 21:52:16 +13:00
misc Bug 5253: Add options to runreport.pl 2011-03-29 22:53:06 +13:00
offline_circ bug 2975: whitespace and formatting cleanup 2011-03-07 14:35:21 +13:00
opac Bug 3629 : search limit by group is not OK 2011-03-30 12:37:50 +13:00
patroncards Bug 5183 Incorrect hash dereferencing syntax causes an error to be thrown when attempting to export patron cards 2010-09-10 18:28:54 -04:00
reports Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
reserve Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
reviews Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
rotating_collections Bug 2505 - Add commented use warnings where missing in the rotating_collections/ directory 2010-04-21 20:25:39 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
svc bug 4896: granular permissions now always on (DB rev 138) 2010-06-19 07:56:03 -04:00
t Bug 5065 Add ability to choose framework on import 2011-03-21 20:36:35 +13:00
tags Fix for Bug 2377 - Review tags: format date according to system preference 2010-10-06 09:31:56 -04:00
test bug 5309: tweak so that background progress doesn't exit immediately 2010-10-26 12:14:46 -04:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Bug 5065 Add ability to choose framework on import 2011-03-21 20:36:35 +13:00
virtualshelves Bug 3810: Ensure all calls to Mail::Sendmail handled consistently 2011-03-16 20:57:12 +13:00
xt Fixing a utf8 issue with the translator tests 2011-03-06 08:05:40 +13:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
about.pl Enhancement Bug 4444: Centralize Code Handling Perl Dependencies 2010-05-17 09:01:51 -04:00
changelanguage.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
edithelp.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
INSTALL update INSTALL* to acknowledge the use of mod_deflate 2011-03-12 12:37:26 +13:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
INSTALL.debian update INSTALL* to acknowledge the use of mod_deflate 2011-03-12 12:37:26 +13:00
INSTALL.fedora7 fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
INSTALL.opensuse update INSTALL* to acknowledge the use of mod_deflate 2011-03-12 12:37:26 +13:00
INSTALL.ubuntu update INSTALL* to acknowledge the use of mod_deflate 2011-03-12 12:37:26 +13:00
INSTALL.ubuntu.lucid update INSTALL* to acknowledge the use of mod_deflate 2011-03-12 12:37:26 +13:00
koha_perl_deps.pl Bug 4844 Remove a circular dependency in koha_perl_deps.pl 2010-06-03 19:59:10 -04:00
kohaversion.pl Bug 5547 : Bumping db version 2011-03-30 20:21:50 +13:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
mainpage.pl remove last vestiges of NOTMARC mode 2010-10-21 21:06:52 -04:00
Makefile.PL bug 5033: Add a reference to xml_sax to the Makefile.PL 2010-12-14 20:34:38 +13:00
MANIFEST.SKIP Bug Fixing : 3334 2009-06-19 06:33:34 -05:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Add instructions to INSTALL and README.robots about robots.txt 2010-02-20 17:55:59 -05:00
rewrite-config.PL Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/