https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39261
Bug ID: 39261
Summary: Category charge limits are integers in db but decimals
in form
Change sponsored?: ---
Product: Koha
Version: 24.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
The noissuescharge, noissueschargeguarantees, and
noissueschargeguarantorswithguarantees columns for patron categories are INT 10
in the database but presented as currency units with decimals in staff
interface. The form inputs are presented on the
/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt template.
For instance, if you save a patron category's "noissuescharge" value as "50.50"
it is rounded up to "51" in the database. This is unanticipated behavior for
administrators.
The alternative to making database changes is to remove the $Price on_editing
filters from the template, the decimal pattern regex, and make it clear that
these are integers representing a currency unit. This is obviously easier but I
don't know how important decimal charges are to other libraries (we could do
fine without them). The "noissuescharge" syspref is an integer.
--
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/