https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18677 --- Comment #3 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 74022 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74022 Bug 18677: issue_id is not added to accountlines for lost item fees Review of attachment 74022: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18677&attachment=74022) ----------------------------------------------------------------- ::: C4/Circulation.pm @@ +3633,5 @@
defined($fix) or warn "_FixOverduesOnReturn($borrowernumber, $itemnumber...) failed!"; # zero is OK, check defined } if (C4::Context->preference('WhenLostChargeReplacementFee')){ + my $checkout = Koha::Checkouts->find({ itemnumber => $itemnumber }); + C4::Accounts::chargelostitem($borrowernumber, $itemnumber, $checkout->id, $issues->{'replacementprice'}, "Lost Item $issues->{'title'} $issues->{'barcode'}");
There is no test code which triggers this change as far as I can tell. Please include a test which does. -- You are receiving this mail because: You are watching all bug changes.