From 65aacc1b1ded569a259f45c3abd5d1a73c3f37e6 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Sat, 23 Jun 2018 07:41:15 -0300 Subject: [PATCH] Bug 20980: (follow-up) Offset name consistency This patch makes 'credit' account types generate 'Manual Credit' offset. The original patch used 'Payment' but I think the code wants to distinguish between payments and manually added credits (otherwise they would've picked the same accounttype value, and they don't. Signed-off-by: Josef Moravec Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens --- Koha/Account.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Account.pm b/Koha/Account.pm index 1541998d68..8e3ed40798 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -481,7 +481,7 @@ sub non_issues_charges { =cut our $offset_type = { - 'credit' => 'Payment', + 'credit' => 'Manual Credit', 'forgiven' => 'Writeoff', 'lost_item_return' => 'Lost Item Return', 'payment' => 'Payment', -- 2.39.5