Bug 12768: Fix bad merge resolution conflict

RM note:
I have applied
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68427
on top of other patches that were already pushed.
But it was supposed to replace them, this change revert what was in
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68417

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-10-23 16:59:11 -03:00
parent c63d560b04
commit 42c634745c
1 changed files with 1 additions and 6 deletions

View File

@ -301,15 +301,10 @@ sub manualinvoice {
}
)->store();
my $offset_type =
$type eq 'L' ? 'Lost Item'
: $type eq 'PF' ? 'Processing Fee'
: 'Manual Debit';
my $account_offset = Koha::Account::Offset->new(
{
debit_id => $accountline->id,
type => $offset_type,
type => 'Manual Debit',
amount => $amount,
}
)->store();