From: Bill Erickson Date: Wed, 12 Jun 2019 15:11:04 +0000 (+0000) Subject: JBAS-2297 SIP LOST fee type repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=acde55bb9d5246e092f7a06f21a233f591f4003d;p=working%2FEvergreen.git 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 --- 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';