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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 17 Feb 2023 12:39:17 +0000 (13:39 +0100)
commit57f2cb78fa95854c5a54d34bcc877a5a5a513936
treefa67cd3276ee6d6f8b8bf29b8caf3ccd5f8f0c23
parente10bf8154831467d974c02b8ed611de57209df79
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>
(cherry picked from commit 9b0656a62c893573824a1acd7fc400a1bd4e8d0c)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
C4/SIP/ILS/Patron.pm
t/db_dependent/SIP/Patron.t