[Koha-bugs] [Bug 12844] Introduce a centralized way to display prices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 31 10:07:34 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12844

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |katrin.fischer at bsz-bw.de

--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Jonathan Druart from comment #5)
> Yes of course, it's planned :)
> But I didn't understand some points (I highlighted them in the patch, search
> for FIXME):
> 1/ Why we don't use the symbol when the CurrencyFormat=='US'?

I think maybe we should have a 3rd option to display without a currency symbol.
Then people can keep the current display or switch to one of the nicer formats.

Should the codes be language codes or would it make more sense to use some kind
of description of the formatting? I guess formatting could be different by
country, even if some countries use the same currency or different currencies
but the same formatting.

> 2/ If CurrencyFormat==FR, we use the symbol (actually, only in
> admin/aqbudgets.pl) but it's bad placed. I didn't find a way to put the
> symbol at the end of the string (€3.00 vs 3.00€, in France we use the second
> form

I think the same is true here - I'd normally write the symbol at the end.

In overdue_notices.pl we use Locale::Currency::Format to format the fine in the
notices correctly. I am not sure if we should use this, but wanted to bring it
up.

Switching status for the tiny problem MARC found.

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


More information about the Koha-bugs mailing list