Erpnext: Currency symbol position

Created on 4 Jan 2017  Â·  10Comments  Â·  Source: frappe/erpnext

There should be a setting to define whether the currency symbol appears prefix or postfix.
For example "€ 100,00" is wrong and "100,00 €" is correct. Not sure if this should be a general setting for a currency or depending on print format language. The latter is probably more correct.
Thanks,
Matej

localization

Most helpful comment

I'm planning to work on a PR to make it on per-currency basis.

All 10 comments

Configurable (ON/OFF default behaviour) with making it interchangeable Prefix + Suffix positions will be useful in various situation but it may not be on priority right now.

This makes using ERPNext in Germany much harder, as you have to manually correct this in every document.

It's the same for PLN, where it should be formatted as suffix (for example _100 zł_, not _zł 100_).

Is anyone working on that?

There is a way to change this in the code for the whole system. I cannot remember where it was but modifying one of the helper functions that format money amounts did the trick for me. Ideally, this would be a system-wide setting switch.
Unfortunately, I don't have access to the code anymore to submit a pull request.

I'm planning to work on a PR to make it on per-currency basis.

a workaround to hide currency and show it in the header section using print format builder.

@MarekPikula any progress on the PR?

Sorry, I didn't finish working on it. Right now I don't use ERPNext and a
lot of going on in my life, so I'm not up to this task anymore.

@JChiyah any chance that you get access to your code or write it again from scratch?

@tillmo I haven't used ERPNext in a long time (since mid 2019) and don't have access to the code. Even then, I think that this would be better suited to somebody who knows more about ERPNext and, particularly, how to make this a configurable setting in options.
If I get a couple of free days in the next month or two, I could try doing it from scratch and submit a pull request, but can't promise it :/

Was this page helpful?
0 / 5 - 0 ratings