https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18677

--- Comment #3 from M. Tompsett <mtomp...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to