Velocity Scripting to change displayed token value
Ok I am doing nothing very complicated. I am looking at a field which is a picklist of values (specifically currency type). Based on that I need to display a very specific value. I started to write a velocity scrip and tested it and got it to partially work, but when I changed the value to be the price it stopped working. If I could get advice on how to fix this I appreciate it. I put the never version of the script below and appreciate any advise on what I am doing wrong.
##contact currency preference and print specific currency value
#if(${lead.CurrencyIsoCode}=="USD")
#$180
#elseif(${lead.CurrencyIsoCode}=="EUR")
#€144
#elseif(${lead.CurrencyIsoCode}=="AUS")
#$277.20
#elseif(${lead.CurrencyIsoCode}=="JPY")
#¥18,000
#elseif(${lead.CurrencyIsoCode}=="CAD")
#$252
#elseif(${lead.CurrencyIsoCode}=="GBP")
#£144
#else(${lead.CurrencyIsoCode}==$NULL)
#{lead.CurrencyIsoCode}
#end