Main Koha release repository https://koha-community.org
Find a file
Colin Campbell 32c5ef613d Use hour or day deltas to calculate overdue durations
If durations are calculated by subtraction they will use units
larger than those we care about and these are not convertable
to the smaller units we are attempting to enumerate
Use the appropriate delta methods to calculate theee fines

Adds a separate hours_between method to calendar
This should strictly be checking opening hours (of which
closed days are a special case) of the relevant branch
These need adding to branches

http://bugs.koha-community.org/show_bug.cgi?id=7852
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Ian Walls <koha.sekjal@gmail.com>

QA comment: renamed "days_minus_grace" variable to "units_minus_grace"
Also added POD to _get_chargeable_units

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-04-03 17:59:56 +02:00
acqui Bug 7178: Acquisition item creation improvement 2012-03-26 11:07:23 +02:00
admin Bug 7799 - admin/marctagstructure.pl plack scoping 2012-03-26 18:15:56 +02:00
authorities Bug 7400: Add auto-completion on auth_finder 2012-03-19 18:20:30 +01:00
basket Bug 6050 Make calls to GetItemsInfo consistent 2011-06-14 14:12:02 +12:00
C4 Use hour or day deltas to calculate overdue durations 2012-04-03 17:59:56 +02:00
catalogue Bug 4032 XSLT systempreference takes a path to file rather than YesNo 2012-03-29 16:58:55 +02:00
cataloguing Bug 7485 - Cannot edit barcode on Fast Add 2012-03-29 10:01:35 +02:00
circ Bug 7641: Suspend Reserves 2012-03-29 14:37:49 +02:00
debian Bug 7532 - remove dependency on Date::ICal 2012-02-17 11:49:05 +01:00
docs welcome gaetan, you're 179th ! 2012-03-20 15:58:50 +01:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Bug 7617: Sort authority results by authid 2012-03-29 11:04:58 +02:00
install_misc Bug 7532 - remove dependency on Date::ICal 2012-02-17 11:49:05 +01:00
installer Bug 6434 - Ukrainian and Russian MARC sql-tables 2012-04-02 12:16:49 +02:00
Koha Use hour or day deltas to calculate overdue durations 2012-04-03 17:59:56 +02:00
koha-tmpl Bug 7836 - Poor English on Patron Attribute Form 2012-04-02 11:37:54 +02:00
labels Bug 7765 - labels/label-edit-layout.pl: plack $layout scoping 2012-03-22 18:01:15 +01:00
members Bug 7641: Suspend Reserves 2012-03-29 14:37:49 +02:00
misc bug 7641 follow-up: activate use strict (see coding guidelines) 2012-03-29 15:10:16 +02:00
offline_circ Bug 4976 - Status of item returned with process_koc.pl is empty in Intranet 2012-03-19 16:23:10 +01:00
opac Bug 4032 XSLT systempreference takes a path to file rather than YesNo 2012-03-29 16:58:55 +02:00
patroncards Bug 7318: Fixes category display in patroncards Patron Search results. 2012-02-27 18:01:00 +01:00
reports Bug 7829 - reports/ remove all exit(1) for plack 2012-03-28 16:25:24 +02:00
reserve Bug 7641: Suspend Reserves 2012-03-29 14:37:49 +02:00
reviews Bug 1623 - Provide view of approved comments 2011-12-27 18:26:50 +01:00
rotating_collections Bug 6553 : Follow up adding license statements 2011-08-13 19:54:38 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 5354 follow-up : dealing with a wrong regexp 2012-03-28 16:17:45 +02:00
services Bug 7178: Acquisition item creation improvement 2012-03-26 11:07:23 +02: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 7300 : Show working branch suggestions by default 2012-03-22 05:57:59 +01:00
svc Bug 7729 : svc/bib: support appending ?items=1 to the URL to fetch or modify items 2012-03-29 16:52:04 +02:00
t Bug 5549 : Fixing the test to only run if the test data exists 2012-03-27 09:18:37 +02:00
tags Bug 6933 follow-up, perltyding new script list.pl 2012-02-02 10:17:43 +01:00
test Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
tmp/modified_authorities
tools Bug 7775 - tools/upload-file.pl: scoping for plack 2012-03-26 18:17:45 +02:00
virtualshelves 7310 Indentation followup replacing leading tabs with spaces 2012-03-21 16:47:31 +01:00
xt Merge remote-tracking branch 'origin/new/bug_5327' 2012-02-15 13:55:48 +01:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap 7439 Mailmap for master 2012-01-27 12:27:58 +01:00
about.pl Bug 7164 follow-up history.txt and perlcritic compliance 2011-12-14 15:10:28 +01:00
changelanguage.pl Bug 6755 Problems with switching languages 2011-09-23 09:47:09 +12:00
edithelp.pl Bug 7038 Contextual help is always in English 2011-10-18 16:01:25 +13:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Bug 6628 : Stopping a potential vulnerability 2011-11-28 10:05:58 +01:00
INSTALL Updating main INSTALL instructions 2011-10-22 09:04:19 +13:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
INSTALL.debian Updating distro specific install files 2011-10-22 09:12:15 +13:00
INSTALL.fedora7 Bug 7532 - remove dependency on Date::ICal 2012-02-17 11:49:05 +01:00
INSTALL.opensuse Bug 7356 - Fix various typos and mis-spellings 2012-01-13 11:51:26 +01:00
INSTALL.ubuntu Updating distro specific install files 2011-10-22 09:12:15 +13:00
INSTALL.ubuntu.lucid Updating distro specific install files 2011-10-22 09:12:15 +13:00
koha_perl_deps.pl Bug 6914 - fixes for the color option of koha_perl_deps.pl 2011-12-03 07:47:38 +01:00
kohaversion.pl Bug 4032 follow-up: DBRev number 2012-03-29 16:59:13 +02: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 Bug 6875 cleaning mainpage.pl 2012-02-15 14:58:31 +01:00
Makefile.PL Bug 7698: Add CHR/ICU Zebra tokenization choice to installation 2012-03-13 16:08:04 +01: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 Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
rewrite-config.PL Bug 7698: Add CHR/ICU Zebra tokenization choice to installation 2012-03-13 16:08:04 +01: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/