Bug 21756: (QA follow-up) Add `Account Fee` mapping
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Feb 2019 09:29:49 +0000 (09:29 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 13 Mar 2019 03:58:31 +0000 (03:58 +0000)
Required for add_enrolement_fee_if_needed within Koha::Patron

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Account.pm

index 2bcd062..ef8a20f 100644 (file)
@@ -692,6 +692,7 @@ our $offset_type = {
     'lost_item_return' => 'Lost Item',
     'payment'          => 'Payment',
     'writeoff'         => 'Writeoff',
+    'account'          => 'Account Fee',
     'reserve'          => 'Reserve Fee',
     'processing'       => 'Processing Fee',
     'lost_item'        => 'Lost Item',
@@ -718,10 +719,10 @@ our $account_type_credit = {
 =cut
 
 our $account_type_debit = {
+    'account'       => 'A',
     'fine'          => 'FU',
     'lost_item'     => 'L',
     'new_card'      => 'N',
-    'account'       => 'A',
     'sundry'        => 'M',
     'processing'    => 'PF',
     'rent'          => 'Rent',