Re: Getting rid of leading US from ofbizCurrency macro
Posted by BJ Freeman on
URL: http://ofbiz.116.s1.nabble.com/Getting-rid-of-leading-US-from-ofbizCurrency-macro-tp141284p141285.html
depends on how deep you want to go into ofbiz.
if you have just one page you want to change, you could just comment out
the line and make a new line with out
ofbizCurrency
or you can add a substring function in the bsh file and call it instead
of <@ofbizCurrency>
or you could make a screen widget for the page and not use ofbizCurrency.
or you could go to
framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java
and change the code.
Leon Torres sent the following on 8/8/2006 4:03 PM:
> Hey, how do I get rid of the leading "US" from the output of
> <@ofbizCurrency> when it generates "US$10.00"?
>
> - Leon
>