Bug 25683: Patron with no accountlines should have 0 outstanding (not NULL)
Test plan:
- Have a patron with nothing in accountlines
- run update_patron_categories to find patrons with fines under $5 (-fu=5)
- Your patron is not found
- Give your patron a manual charge of $1
- rerun the cron, your patron is found
- pay off your patron's fine, putting their balance at $0
- rerun the cron, your patron is found
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit
09146f4a995d50206c7f1c2d80e797b3cb1175c5)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit
6ae42c8c3c7e402db20f424d16950a6162951ac1)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>