Koha/reserve
Joonas Kylmälä 1eb6a02c2f Bug 29115: Fix syntax errors in club hold functionality
The code didn't previously correctly do the checks for patron
debarment status and whether the patron has fees, this caused the
intended warnings messages to not appear when they should have.

To test:
 1) Create a new club and add a patron to it who has manual debarment
    and a manual charge of over $5 (more than the maxoutstanding syspref).
 2) Try to create a new club hold for the previously created club and
    notice no warnings are listed for the patron.
 3) Apply patch
 4) Try to create now the club hold again and notice the warnings
    being shown in the hold page.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-10 21:33:17 -10:00
..
modrequest.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
modrequest_suspendall.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
placerequest.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
request.pl Bug 29115: Fix syntax errors in club hold functionality 2021-12-10 21:33:17 -10:00