Locale::Currency::Format is used to format the overdue fine printed using items.fines in the overdue notices. I am not sure if it's used in other places. The module has not seen a new version in a longer while and is buggy for some currencies: COP (Colombian peso) - wrong currency symbol RSD (Serbian dinar) - wrong currency symbol TYR (Turkey) - amounts are rounded and printed without decimals What we do at the moment is adding "wrong" codes for those so the formatting is avoided... but when you want to use acq etc this could be a bigger issue. Maybe we shoudl replace the module by enabling the use of the price filter in all notices if not the case yet and treat the existing placeholder items.fine as if the price filter was used?
TYR also has a wrong currency symbol.
Hmm.. can we write some tests for this?
I've looked this up in our ticket system, what we had happen for TYR was: - Wrong currency symbol (₤ instead of TL or ₺) - 1.40 would display as 1 (rounded, cutting off the decimals)
Created attachment 107870 [details] Currency module test script A quick test script to show the various outputs of a couple of different currency modules.
Created attachment 114006 [details] Module Test Script