Koha/koha-tmpl/intranet-tmpl
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
..
js Bug 28802: Untranslatable strings in browser.js 2021-08-18 12:40:49 +00:00
lib Bug 29478: Flatpickr - Restore 'Today' button 2021-11-22 11:48:46 +01:00
prog Bug 29115: Fix syntax errors in club hold functionality 2021-12-10 21:33:17 -10:00