[Koha-bugs] [Bug 35087] Discount rate does not accept comma as decimal separator
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 14 23:03:06 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35087
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oleonard at myacpl.org
--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I confirm that it does on longer break the other validation, but I am not sure
if it's the right way to do it. Adding Owen in hope of some guidance.
Also: Your hint displays as: % - Example: 7.5 % - that doesn't look quite
right yet.
I wonder if using a standard class of Validator would be better here? We could
use number like we do on Bug 34169 - Add validation for monetary input fields
in acquisition module, but maybe with its own class and hint?
That would also make it reusable - the discount is also set on the order form
and there might be other use cases like the search field weighting.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list