[Koha-bugs] [Bug 35440] Partial refund triggers a 500 error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 1 15:50:45 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35440
--- Comment #6 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Katrin Fischer from comment #5)
> We also see this in 22.11.10
>
> There were no partial refunds, but full refunds using the button in the
> transactions table:
>
> Exception 'Koha::Exceptions::ParameterTooHigh' thrown 'Combined reduction (2
> + -2) is higher than original amount (2)'
> Exception 'Koha::Exceptions::ParameterTooHigh' thrown 'Combined reduction (3
> + -3) is higher than original amount (3)'
> Exception 'Koha::Exceptions::ParameterTooHigh' thrown 'Combined reduction
> (3.00 + -3) is higher than original amount (3)'
>
> Which makes no mathematical sense to me actually?
The code uses absolute values which I think may be part of the issue.
--
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