[Koha-bugs] [Bug 21673] Koha::Account::Lines->total_outstanding must be used when needed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 26 21:10:51 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21673
--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 81196
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81196
Bug 21673: Use Koha::Account::Lines->total_amountoutstanding when needed
Review of attachment 81196:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=21673&attachment=81196)
-----------------------------------------------------------------
::: Koha/Account/Lines.pm
@@ -46,4 @@
> sub total_outstanding {
> my ( $self ) = @_;
>
> - my $total = sum0( $self->get_column('amountoutstanding') );
You've removed the only use of sum0, but not removed the List::Util import
above ;)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list