[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
Mon Feb 12 18:49:20 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35087
PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #161704|0 |1
is obsolete| |
--- Comment #27 from PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> ---
Created attachment 162065
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162065&action=edit
Bug 35087: Discount rate only accepts a point as decimal separator
When a comma is used to define the discount rate of a vendor,
the data is not recorded (as NULL), it is however recorded if the
separator is a point.
Test plan:
1) Go to acqui module and edit a vendor
2) Set a discount rate with a comma as decimal separator
3) Edit again or request your database to see that there is no data
saved
4) Do it again with a point as decimal and see it works
5) Apply this patch and reloard the build for the templates
6) Repeat step 2 and see the warning to inform you that you must use a
point
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Sonia <sonia.bouis at univ-lyon3.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list