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>
}
)->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();