Bug 21584: Wrong offset type for Lost Item

Bug 2696 introduced account_offset_type.inc but 'Lost Item Return' doesn't match what is added on the database. Moreover, bug 20978 added references to this wrong value too in Koha::Account

This patch performs a trivial fix for this.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Patch matches what was outlined in test plan, also passes qa test tool

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>

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-10-16 15:15:10 -03:00 committed by Nick Clemens
parent ac09994339
commit bcf7fb4a1e
2 changed files with 2 additions and 2 deletions

View file

@ -535,7 +535,7 @@ sub non_issues_charges {
our $offset_type = {
'credit' => 'Manual Credit',
'forgiven' => 'Writeoff',
'lost_item_return' => 'Lost Item Return',
'lost_item_return' => 'Lost Item',
'payment' => 'Payment',
'writeoff' => 'Writeoff'
};

View file

@ -3,7 +3,7 @@
[% CASE 'Payment' %]Payment
[% CASE 'Manual Credit' %]Manual credit
[% CASE 'Manual Debit' %]Manual invoice
[% CASE 'Lost Item Return' %]Lost item returned
[% CASE 'Lost Item' %]Lost item returned
[% CASE 'Writeoff' %]Writeoff
[% CASE 'Void Payment' %]Void payment
[% CASE %][% account_offset.type | html %]