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

--- Comment #1 from Nick Clemens <n...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to