[Koha-bugs] [Bug 28120] New: Koha Account pay is logging fine amountoutstanding as 0 when paying selected lines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 9 14:57:25 CEST 2021


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

            Bug ID: 28120
           Summary: Koha Account pay is logging fine amountoutstanding as
                    0 when paying selected lines
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

We have hardcoded a 0 into the logs in Koha/Account.pm
170  new_amountoutstanding => 0,

To recreate:
1 - Find a patron with debits, or charge a debit manually
2 - On the patron's accoutning tab Select 'Make a payment'
3 - Select the line and click 'Pay selected'
4 - Pay less than the full amount owed
5 - Go to Tools->log viewer
6 - Enter the patrons borrowernumber into 'Object' and hit enter
7 - Notice the fines log says 'new_amountoutstanding' => 0

-- 
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