[Koha-bugs] [Bug 33028] The decimal separator 'comma' and its consequences on the calculation of fines (crons)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 1 13:12:04 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33028

--- Comment #22 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Katrin Fischer from comment #21)
> (In reply to Kyle M Hall from comment #20)
> > Circ rules are not enforcing currency formats either. This might fix things
> > once, but does not keep the issue from coming back.
> 
> Hi Kyle, what do you suggest? A format check on the inputs in the circ
> rules? We could use the pattern check we use in other forms. Or did you
> think of something else?

Yes. Ideally we'd enforce the chosen format using javascript on the frontend,
and in perl on the backend. Since the js should enforce it on the frontend, the
backend could just die or throw an exception if it sees a violation.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list