Bug 32624: Don't include guarantee or guarantor fines in BV (fines amount) in SIP...
authorNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jan 2023 19:27:04 +0000 (19:27 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 9 Feb 2023 13:21:27 +0000 (10:21 -0300)
commitc6c2fe81a273cbb70af69dfa0b51b2f07b49a76c
tree615b0c89aeef0ae7e73c3f73eea90d1a46648d2a
parent6acdfd0493a472232cc265d7b1cac8abcff94add
Bug 32624: Don't include guarantee or guarantor fines in BV (fines amount) in SIP messages

This patch chanegs the code to report only the patron's personal fines, and to report a block
from other fines in the screen message

This is to prevent overpayment on accounts from SIP machines

To test:
1 - prove t/db_dependent/SIP/Patron.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/ILS/Patron.pm
t/db_dependent/SIP/Patron.t