Koha/admin
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
..
admin-home.pl Bug 2505: Enabled warnings in admin-home.pl and roadtype.pl. 2009-09-06 09:13:14 -04:00
aqbudget_owner_search.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
aqbudgetperiods.pl Bug 4500 - remove commas from price formatting 2010-12-12 20:16:06 +13:00
aqbudgets.pl Fix for Bug 4913 - Budget pages should show currency name instead of symbol 2010-11-15 15:13:55 +13:00
aqcontract.pl Fix FSF address in directory admin/ 2010-03-16 20:17:50 -04:00
aqplan.pl Fix for Bug 4913 - Budget pages should show currency name instead of symbol 2010-11-15 15:13:55 +13:00
auth_subfields_structure.pl Bug 5462: modified intranet scripts to match templates 2011-02-03 09:57:24 +00:00
auth_tag_structure.pl Use placeholders in sql 2011-02-28 08:41:38 +13:00
authorised_values.pl Bug 5462: more dash fixing for variable names within scripts 2011-02-03 09:57:45 +00:00
authtypes.pl Fix FSF address in directory admin/ 2010-03-16 20:17:50 -04:00
biblio_framework.pl Fix for Bug 4424, MARC Framework deletion incorrectly reports usage count 2010-04-29 20:59:29 -04:00
branch_transfer_limits.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
branches.pl Bug 5462: modified intranet scripts to match templates 2011-02-03 09:57:24 +00:00
categorie.pl Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
check_budget_parent.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
check_parent_total.pl bug4438/MT5496 budget Exceeds total allocation 2011-03-14 20:45:58 +13:00
checkmarc.pl Bug 3768 (Bibliographic Framework Test) 2010-05-17 08:26:21 -04:00
cities.pl Fix for Bug 5004, Don't block deletion of cities when instances exist in borrowers table 2010-11-19 09:28:33 +13:00
classsources.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
clone-rules.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
currency.pl bug 4333 followup - fix an uninitialized value warning 2010-04-30 05:50:45 -04:00
env_tz_test.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
fieldmapping.pl Fix for Bug 4261 - keyword mapping should show which framework the map is for 2010-11-01 20:34:36 +13:00
item_circulation_alerts.pl bug 3581: fix staff permission for item circ alerts 2009-09-06 09:46:39 -04:00
itemtypes.pl Fix for Bug 5650, item type page key wrong 2011-01-26 19:50:49 +13:00
koha2marclinks.pl Using only default framework for koha2marclinks 2010-03-16 21:27:20 -04:00
marc_subfields_structure.pl Bug 5462: modified intranet scripts to match templates 2011-02-03 09:57:24 +00:00
marctagstructure.pl Bug 5462: modified intranet scripts to match templates 2011-02-03 09:57:24 +00:00
matching-rules.pl Fix FSF address in directory admin/ 2010-03-16 20:17:50 -04:00
patron-attr-types.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
preferences.pl Fix for Bug 4963, sys prefs need date hints and/or picker 2010-11-02 15:17:40 +13:00
printers.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
roadtype.pl Another bug 5004 fix, this time for road types 2010-11-19 09:29:48 +13:00
smart-rules.pl Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
stopwords.pl Fix FSF address in directory admin/ 2010-03-16 20:17:50 -04:00
systempreferences.pl Bug 5548: Hard Due Dates Circ Rule 2011-03-30 20:35:45 +13:00
z3950servers.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00