Hello!
Looking for help with potentially and if else statement in the {item.rate} portion of a RMA. It is in the table and I need a ROUND function that will shorten the currency string. Example is 15.00076% and the % sign falls onto another line on the PDF row. I've tried <td align="right" colspan="2">${item.rate?string("##.##%")}</td>
or ${item.rate?string("##.##")}
or others like: The issue is this is a discount item and come into the same table with items that use the $ sign. I need a way to distinguish between the two and still display the proper currency signs.
<#if item.type=="discount">
<td align="right" colspan="2">${item.rate?string.percent}</td>
<#else>
<td align="right" colspan="2">${item.rate?string.currency}</td>
</#if>
Thank you!
Kyle