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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Mon, 13 Feb 2023 09:19:39 +0000 (09:19 +0000)
commitdd2fedd2a1d06003091b052b220422fe8a5def7d
tree144de7fcefc6906c2450d4ff00ddee3c03f457ec
parent2b5b8fcc46dacff3ab25efeb714001dbbf6fc9e2
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>
C4/SIP/ILS/Patron.pm
t/db_dependent/SIP/Patron.t