[Koha-bugs] [Bug 24454] currency formatting from JS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 31 10:41:44 CET 2020


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Hola Agustín,
As Martin said, there already is another include file doing more or less the
same things.

Several points:
1. Do you have an example that is using that code?
2. The existing include file is wrong (written 6 years ago), and is ignoring
Koha::Number::Price, in which we are defining the display option of prices.
3. See also bug 20352, this is where are should go, ie. all the parameters
defined in the currency table, not depending on the CurrencyFormat syspref (we
should get rid of it)
4. I have the feeling that the currency TT plugin should not exist, but Price
could be used instead, to retrieve the format_parameters.
5. Note that the copyright statement is wrong

Let me know if you have any questions!

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


More information about the Koha-bugs mailing list