[Koha-bugs] [Bug 22435] Clarify account_offset types by converting them to clear codes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 19 11:33:37 CEST 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122918|0                           |1
        is obsolete|                            |

--- Comment #191 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 122937
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122937&action=edit
Bug 22435: (follow-up) Set CREATE offset for credits to positive

The history view of an accountline shows increases and decreases in the
amount outstanding from the perspective of the credit/debit line you are
inspecting.

Apply creates a negative offset amount which acts to 'reduce' both the
outstanding 'debt' for the debit line and the outstanding 'credit' for
the credit line.  Starting with a negative offset for the credit thus
makes this nonsenical.

Void creates positive offset amounts which act to 'restore' both the
outstanding 'debt' for the debit line and the outstanding 'credit' for
the credit line.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

JD Amended patch: Remove trailing spaces

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


More information about the Koha-bugs mailing list