Currency in Words

How to translate currency into words like sales invoice can this be done in client-side scripting?

i think this is done by a backend lib called num2word … maybe you dig on how the sales invoice doing it if its on the backend … maybe you can make it as internal api and call it onchange enent make ajax call to the internal api you made for num2word and set the value in the in word field …

is it possible to do in client side scripting?

Hello did you find a way to make this on client side?