[PATCH] bug_7420: Added overduefinescap to issuingrules
authorElliott Davis <elliott@bywatersolutions.com>
Wed, 11 Jul 2012 03:38:28 +0000 (22:38 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 25 Jul 2012 16:33:20 +0000 (18:33 +0200)
commit381794ff4eeae020e96cfdae1c28572440853d34
treecfbbcea2f620a9e1f784b478a38372cd5d211e1e
parent54f363c0a6ff3fa14236e6d390d692929d3e04aa
[PATCH] bug_7420: Added overduefinescap to issuingrules

Replaced existing MaxFine syspref logic with overduefinescap.
Repurposed MaxFine to be the overall overdue limit for all items
overdue. Implemented new MaxFine logic in UpdateFine().

Signed-off-by: Elliott Davis <elliott@bywatersolutions.com>
Tested according to Srdjan's test plan and everything worked like he said it would.  I set fined equal to $2 and max fine equal to $1.      When I ran the fines script for overdue items fines assessed were only $1.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Circulation.pm
C4/Overdues.pm
admin/smart-rules.pl
installer/data/mysql/kohastructure.sql
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
misc/cronjobs/fines.pl
misc/cronjobs/staticfines.pl