Share with colleagues and friends who could benefit from our webinars too!
Adding a currency symbol to the Totals box
I just wanted to share with you a User Event script that I had written to add the currency symbol to the numbers in the Totals box, found on Estimates, Bills, and Sales Orders among others. It assumes that the current locale/currency is prefixed to the value rather than suffixed (as in some situations) but this can be easily changed per implementation.
It doesn't run intentionally on create or copy as the currency could be changed mid transaction and wouldn't reflect the value correctly. And relies on the jQuery engine being available 1.5 seconds after the script tag (from the inline html) is executed, to be able to load the necessary modules, extract the current currency, and inject the correct symbol. It also expects the totalbox to have a CSS class of "totallingtable".