Bug 20978: (follow-up) Another use case from C4::Circulation
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 Jun 2018 16:33:46 +0000 (13:33 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 6 Jul 2018 12:39:37 +0000 (12:39 +0000)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/Account.pm

index 6fe1a84..607d552 100644 (file)
@@ -476,10 +476,11 @@ sub non_issues_charges {
 =cut
 
 our $offset_type = {
-    'credit'   => 'Payment',
-    'forgiven' => 'Writeoff',
-    'payment'  => 'Payment',
-    'writeoff' => 'Writeoff'
+    'credit'           => 'Payment',
+    'forgiven'         => 'Writeoff',
+    'lost_item_return' => 'Lost Item Return',
+    'payment'          => 'Payment',
+    'writeoff'         => 'Writeoff'
 };
 
 =head3 $account_type
@@ -487,10 +488,11 @@ our $offset_type = {
 =cut
 
 our $account_type = {
-    'credit'   => 'C',
-    'forgiven' => 'FOR',
-    'payment'  => 'Pay',
-    'writeoff' => 'W'
+    'credit'           => 'C',
+    'forgiven'         => 'FOR',
+    'lost_item_return' => 'CR',
+    'payment'          => 'Pay',
+    'writeoff'         => 'W'
 };
 
 =head1 AUTHOR