https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34169
Bug ID: 34169
Summary: Add pattern check for monetary fields to acquisition
module
Change sponsored?: ---
Product: Koha
Version: 22.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
In the patron module we validate the input fields for monetary values using a
pattern check
(see
https://wiki.koha-community.org/wiki/Coding_Guidelines#ACC2:_Input_type_.22number.22_should_be_avoided),
but we don't do the same in acq.
Especially for countries that use decimal comma this can lead to problems. At
the moment Koha only accepts decimal point and a wrongly entered value might
get turned from 1,00 to 100 or similar easily.
Until we can fix the input formats properly, we should extend the pattern check
to fields in the acq module I think.
Also: We can use the pattern check later to identify any fields that needs work
for different input formats.
--
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/