From acde55bb9d5246e092f7a06f21a233f591f4003d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 12 Jun 2019 15:11:04 +0000 Subject: [PATCH] JBAS-2297 SIP LOST fee type repairs Ensure a fee type is reported as LOST for "Lost Materials" only. E.g. avoid treating "lost part" as a LOST item. Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index 6fa4029a57..15b6c256b6 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm @@ -881,7 +881,7 @@ sub fine_items { my $fee_type; - if ($xact->last_billing_type =~ /^Lost/) { + if ($xact->last_billing_type eq 'Lost Materials') { $fee_type = 'LOST'; } elsif ($xact->last_billing_type =~ /^Overdue/) { $fee_type = 'FINE'; -- 2.11.0