]> git.koha-community.org Git - koha.git/commit
Bug 11633 Return Correct status if patron blocked by fines
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 17 Apr 2014 15:07:20 +0000 (16:07 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 23 Sep 2014 18:30:12 +0000 (15:30 -0300)
commit04857ed68eff319f4b7b42508aeee8a240bde995
tree157d8429fdcf145386702031e8c5f1a657c64fe9
parent2bd151fab5c673a35ce06e511ae1f4b97513539f
Bug 11633 Return Correct status if patron blocked by fines

If the patron has amassed charges that block borrowing, but we
allow staff override the information that the patron cannot
issue should be included the patron information response

This patch sets the appropriate status fields in the patron object

It restores the fee_limit member to the patron object
and calls a local subroutine to set it.

This could be done more elegantly but that would require more
major refactoring of the rather messy initializer code
in ILS::Patron

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/SIP/ILS/Patron.pm