[Koha-bugs] [Bug 7560] SIP Self Checkout Ignoring Fines Thresholds for Not Being able to Check Out Books

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 17 18:57:18 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7560

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA
                 CC|                            |paul.poulain at biblibre.com

--- Comment #8 from Paul Poulain <paul.poulain at biblibre.com> ---
QA comment:

shouldn't 
+=head2 GetTotalFines
+
+    my $total_fines_owed = GetTotalFines( $borrowernumber );
+
+    Returns the total amount owed by the given borrower.

be in C4/Accounts.pm more than in C4/Overdues.pm ?

I know there is calcfine and UpdateFine in C4/Overdues.pm, but I think it's a
mistake !


If you agree with me and move GetTotalFines to C4/Accounts.pm, you're welcomed
to factorize getcharges, getcredits, getrefunds, that are Getting things in
accountlines table. Note this is not requested for earning QA, just a
suggestion

You're also welcomed to name your sub GetFines, as GetSomethings() is already
supposed to return a list of something, so the "Total" is useless

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list