Jump to content

Printing currency's and currency codes inconsistency


Recommended Posts

I've a question about the way WHMCS prints currency's and currency codes.

 

Here in the netherlands we have the € (EURO) and I selected EURO in whmcs confuguration. So far so good, but on (SOME) pages I get amouts printed like "€ 10.00 EUR". For euro this is not correct, it should be or "€ 10.00" or "10.00 EUR" but not both.

 

Now I have choosen "Custom" and only fill in the "€" sign, but in this way paypal is not working correctly because paypal thinks the amounts are $. When I only give the "EUR" and not the "€" the whole whmcs admin does not have the "EUR" added to there amounts.

 

Is there a way to have either the "€" OR the "EUR" in all cases?

 

In the tpl files the printing of amounts is inconsistent, sometimes the amount is build like this : "{$currencysymbol}{$addon.setupfee} {$currency}" there I just remove the {$currency} and it's ok. But most of the time amount is already in the format "€ 10.00 EUR" so there is no option to let the {$currency} away.

 

Is there someone who has some smarty trics that can strip out all "EUR"?

 

Thanks in advance!!

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...
I'd like to see this as well especially for £ and € as £4.99 GBP just looks silly and overly complicated for some people.

 

Except without the GBP it could be Gibraltar pounds, Egyption pounds etc

Same with dollars - australian, canadian, us etc

 

Personally I dont think the symbol is worth putting there, but the ISO ccy code certianly is needed

Link to comment
Share on other sites

  • 3 years later...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated