Jump to content

Recommended Posts

in Morocco we use it, and also can be a preference.

another reason is when we use RTL languages,  number like "1 586,12$" appear like this "586,12$ 1", and we are forced to use the format '#,###.##' but this format is not accepted by our accountant system now.

i think the best option is to allow admin add their custom format like wh*** do now .

 

Share this post


Link to post
Share on other sites

You use "####,##" but your accountant doesn't accept it because it really should be "# ###,##"?

The only currency formats I'm aware of are listed here, which Blesta supports.

If the problem is the display in RTL HTML documents, what if we treat just the currency format as LTR? So instead of seeing "586,12$ 1" you will see it as "1 586,12$" even when the rest of the document is RTL. Would that work?

Share this post


Link to post
Share on other sites
22 hours ago, Tyson said:

You use "####,##" but your accountant doesn't accept it because it really should be "# ###,##"?

 we use this format '#,###.##' , but our accountant need the format "####,##" or "# ###,##", the first one is the preferred .

22 hours ago, Tyson said:

The only currency formats I'm aware of are listed here, which Blesta supports.

 a lot of countries in the list has not yet a published format, i don't know why, but maybe to give him the ability to change the format as they want or they have a really custom format .

22 hours ago, Tyson said:

If the problem is the display in RTL HTML documents, what if we treat just the currency format as LTR? So instead of seeing "586,12$ 1" you will see it as "1 586,12$" even when the rest of the document is RTL. Would that work?

we can try this solution also.

but i insist to add option to allow custom format.

Share this post


Link to post
Share on other sites

Custom formats can require custom logic to format them correctly in the system. We would prefer to have a known list of formats. It looks like there aren't that many formats, so we can add any others like "####,##".

It does look like the formatted currencies displayed in HTML should be set to LTR whether the document is RTL or not. I think that would be a nice addition since HTML documents cannot determine whether it should do it or not if the currency format has a space in it like "# ###,##".

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...