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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 14 Feb 2023 22:45:07 +0000 (22:45 +0000)
commit9b0656a62c893573824a1acd7fc400a1bd4e8d0c
treebecc168767c55226a6d4ca0d9659963e7fe0c8a3
parent7d297f988817f8c648aedd9291b658d2c474c486
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>
(cherry picked from commit c6c2fe81a273cbb70af69dfa0b51b2f07b49a76c)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit dd2fedd2a1d06003091b052b220422fe8a5def7d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/SIP/ILS/Patron.pm
t/db_dependent/SIP/Patron.t