@@ -, +, @@ and ensure fine is levied against the account --- Koha/Account.pm | 5 +++++ 1 file changed, 5 insertions(+) --- a/Koha/Account.pm +++ a/Koha/Account.pm @@ -164,6 +164,11 @@ sub pay { $fine->amountoutstanding( $old_amountoutstanding - $amount_to_pay ); $fine->store(); + if ( $fine->itemnumber && $fine->accounttype && ( $fine->accounttype eq 'Rep' || $fine->accounttype eq 'L' ) ) + { + C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ); + } + my $account_offset = Koha::Account::Offset->new( { debit_id => $fine->id, --