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

--- Comment #3 from Esther Melander <[email protected]> ---
Some additional insight on why this is happening. The library had a circulation
rule to refund lost item charge (only if unpaid).

To recreate
1. Set default refund policy to Refund lost item charge (only if unpaid)
2. Create a charge on a patron account of $150.00
3. Pay the charge as cash
4. Issue a refund, but only refund $5.00 as cash
5. See that it causes a 500 error

In this case Koha is trying to refund something that has already been paid,
which can't happen based on the circulation rule. Instead of a 500 error, there
should be "can't refund" warning.

As an extension of this bug, I can do a full refund, which also should not
happen based on the circulation rule.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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