[Koha-bugs] [Bug 24532] New: Some account types are converted to debits when they shouldn't be
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 29 15:55:56 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24532
Bug ID: 24532
Summary: Some account types are converted to debits when they
shouldn't be
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
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
Bug 23049 converts some credit types to debit types
The logic seems to be:
1 - Get all unique types where the accountline is a debit
2 - Convert all lines with these types to have debit codes
But in step 1 if we have any type 'Pay' or 'W' for example, where the amount is
greater than 0 (pathological credits which have debit amounts) then 'Pay' is
added as a debit type and all 'Pay' lines get that as a debit code.
--
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