[Koha-bugs] [Bug 24146] Paying Accruing Fines prior to return causes another accruing fine when returned
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Dec 2 20:22:36 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24146
--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Specifically:
538 "SELECT * FROM accountlines
539 WHERE borrowernumber=? AND
540 (( accounttype IN ('F','M') AND amountoutstanding<>0 ) OR
541 accounttype = 'FU' )"
542 );
To:
523 my $overdues = Koha::Account::Lines->search(
524 {
525 borrowernumber => $borrowernumber,
526 accounttype => [ 'OVERDUE', 'M' ],
527 amountoutstanding => { '<>' => 0 }
528 }
In the first it is a closed fine more than 0 OR an accruing fine
After the patch it must be greater than 0, so if someone pays off an accruing
fine it will not be found.
Could we possibly just search by issue_id?
--
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