[Koha-bugs] [Bug 8770] amount does not equal amountoutstanding on a fine with no payments or credits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 21 15:21:47 CET 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.poulain at biblibre.com

--- Comment #13 from Paul Poulain <paul.poulain at biblibre.com> ---
(In reply to comment #1)
> This is definitely a regression. Since this has worked for the 12 years up
> to now.
OK, interesting information.

Digging into changes in C4/Accounts:

* patch
5954631aeaf261a9bbbb44a7a7fcae225031eb24, 2012-10-03 17:58:56
just do:
-    $dbh->do(  $insert, undef, $borrowernumber, $nextaccntno, $amount,
+    $dbh->do(  $insert, undef, $borrowernumber, $nextaccntno, 0 - $amount,
=> can't be the origin of the problem 0-$amount populates amountoutstanding, if
it was the culprit, we had X and -X, not a small difference.

* patch a8b168dc63df9d60e8e562f368f8bdbec520ffd8, 2012-09-15 07:31:58 is
related to adding a primary key, nothing related to amountoutstanding

Patches before that have been pushed before 3.8, so should not be the culprit

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


More information about the Koha-bugs mailing list