JBAS-2248 SIP patron fines shows last billing type
authorBill Erickson <berickxx@gmail.com>
Wed, 29 May 2019 16:08:55 +0000 (16:08 +0000)
committerBill Erickson <berickxx@gmail.com>
Wed, 29 May 2019 16:08:58 +0000 (16:08 +0000)
Return the label of the last_billing_type for display of patron fines
via SIP2 instead of last_billing_note, which is inconsistent and may not
be intended for patron consumption.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 9de94b8..6fa4029 100644 (file)
@@ -941,7 +941,7 @@ sub fine_items {
             if ($xact->xact_type eq 'circulation') {
                 $line .= "$title";
             } else {
-                $line .= $xact->last_billing_note;
+                $line .= $xact->last_billing_type;
             }
 
         } elsif ($AV_format eq "swyer_b") {