[Koha-bugs] [Bug 21884] New: Writeoff "amount" changed from positive values to negative values.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 26 19:23:16 CET 2018


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

            Bug ID: 21884
           Summary: Writeoff "amount" changed from positive values to
                    negative values.
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alexanderchen530 at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Created attachment 82653
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82653&action=edit
Example of pos/neg writeoff values.

Hi,

This is not a recent issue, I discovered it either after 17.05 or 17.11 update.
Before the update, writeoff amounts were displayed in "red positive numbers",
but after the update, writeoff amounts became "green negative numbers" just
like payments.

This is not an issue if it's just humans reading it, but it becomes an issue
when doing accounting and stats, when I was totaling fines during a certain
time range, positive/negative values cancel each other and provide inaccurate
total fine amounts. I used ABS() as a workaround, but I hope it can be fixed
globally to keep it uniform.

Please see attached pics.
Also ticket "#49563: Difference in positive and negative values in writeoff
charges" has some discussion as well. I also spoke to Kyle regarding this issue
at KohaCon18.

Thanks.
Alex C

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