projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7928e3
)
JBAS-2297 SIP LOST fee type repairs
author
Bill Erickson
<berickxx@gmail.com>
Wed, 12 Jun 2019 15:11:04 +0000
(15:11 +0000)
committer
Bill Erickson
<berickxx@gmail.com>
Wed, 19 Jun 2019 16:33:49 +0000
(12:33 -0400)
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 <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
index
6fa4029
..
15b6c25
100644
(file)
--- 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';