Bug 25812: Fines can be displayed on SIP checkin/checkout
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Wed, 25 Sep 2019 13:30:51 +0000 (15:30 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:21:52 +0000 (10:21 -0300)
commit60e6844bf0357d67ac56888578c48de3249572e6
tree33f2c8a9c1e56aa539c92b30f7531206632d6543
parentdded614fa1735f35b0ee34869f5e45b87262382b
Bug 25812: Fines can be displayed on SIP checkin/checkout

Test plan:

 - Enable show_outstanding_amount in SIPconfig.xml

 - Check that the total outstanding amout for the patron is displayed on SIP
   checkout (if it exists), for example:
   Patron has fines - You owe $10.00.

 - Check that the outstanding amout for a given item is displayed on SIP
   checkin (if it exists), for example:
   "You owe $10.00 for this item."

 - Check that it is not displayed when show_outstanding_amount is disabled.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/ILS.pm
etc/SIPconfig.xml
t/db_dependent/SIP/Transaction.t