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 <josef.moravec@gmail.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Tomás Cohen Arazi 2018-06-23 07:41:15 -03:00 committed by Nick Clemens
parent 7b6c242d97
commit 65aacc1b1d

View file

@ -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',