bug 4036, 4405: overdue and fine day block improvements
authorGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 16:43:07 +0000 (12:43 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 3 May 2010 11:46:26 +0000 (07:46 -0400)
commitd575278cbaf59e0937632ae6abcc0eaca5852429
tree85add6cf5a74bb938d53ad0d1bbb93fe796441d3
parenta445e956ebfec3ce932533f51c2ace19db49e1f7
bug 4036, 4405: overdue and fine day block improvements

* Adopted wording suggested by Kyle Hall for the
  USERBLOCKEDREMAINING and USERBLOCKEDOVERDUE circulation blocks
* Updated IsMemberBlocked so that if a patron has accrued
  fine days, that will be tested for first before testing
  to see if the patron has current overdue items; this solves
  a problem introduced in the patch series for bug 4505 where
  accrued fine days would be ignored if (a) the patron has
  current overdue items but (b) the library has chosen to
  set the OverduesBlockCirc syspref to noblock.
* Now correctly assigns the USERBLOCKEDREMAINING and USERBLOCKEDOVERDUE
  blocks; prior to this patch, they had been swapped.

FIXME: IsMemberBlock ought to be split into two functions

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Circulation.pm
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl