[Koha-bugs] [Bug 18100] New: Pay amount, Pay selected and individual pay behaving differently

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 13 09:18:25 CET 2017


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

            Bug ID: 18100
           Summary: Pay amount, Pay selected and individual pay behaving
                    differently
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

This has been tested with the latest 3.22.x and still needs to be confirmed in
newer versions of Koha!

In the patron account, there are 3 different options for paying a fine. 2 show
the payment as positive in green, one as negative in red. To test:

1) Add manual fee of any type
2) Pay using the pay button next to the fine entry (individual)
==> Verify the payment is displayed in red as positive amount
3) Add manual fee of any type
4) Pay using the "Pay selected" button at the bottom
==> Verify the payment is displayed in green as a negative amount
5) Add manual fee of any type
6) Pay using the "Pay amount" button at the bottom
==> Verify the payment is displayed in green as a negative amount

Koha itself seems to deal with it somehow, as the sum at the bottom of the
table over all payments and fees is always correct.

But the difference is also visible in accountlines and can create quite a mess
for reporting. One way to work around it currently is using ABS() before
calculating with the amounts.

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


More information about the Koha-bugs mailing list