Bug 14882: Librarians are not warned if patron owe more than maxoutstanding when...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 23 Sep 2015 14:38:32 +0000 (10:38 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 25 Sep 2015 18:37:11 +0000 (15:37 -0300)
commitd46c13248741dc76e2e371d297a311f6143f459e
tree22d43ae66d2421e5b7df742725dc257cb234a6ff
parent0a95ba06f31cd9b648e01047126e2d2a93704209
Bug 14882: Librarians are not warned if patron owe more than maxoutstanding when placing holds

If a patron owes more than the system preference maxoutstanding in fees
and fines, the patron will be unable to place holds via the opac.
However, a librarian placing a hold for a patron is not even warned!

Test Plan:
1) Apply this patch
2) Set maxoutstanding to 1.00
3) Find a patron owing more than 1.00
4) Attempt to place a hold
5) Note the warning that the patron owes money

Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl