Jump to content

Need help to customize viewinvoice / invoicepdf - space between amount and currency symbol


itoverblik

Recommended Posts

To WHMCS Community.

 

I have been trying to find a post on how to add space between the amount and currency symbol, but failed to do so.

Therefore I am writing this post.

 

Currently the amount and currency symbol is next to each other.

A space between would be easier to be read it.

 

Secondly, I would also like to re position it to be left aligned instead of centered.

 

Please see attached image on how it looks today. Image is from an development / UAT environment.

currency_amount.JPG

 

Thanks in advance for your help and input.

 

- Tim

Link to comment
Share on other sites

Tim,

 

I have been trying to find a post on how to add space between the amount and currency symbol, but failed to do so.

Therefore I am writing this post.

Currently the amount and currency symbol is next to each other.

A space between would be easier to be read it.

if you want to do it the easy way, just go to setup -> payments -> currencies, choose your currency and add a space before the suffix value...

 

2zXOtAN.png

 

that will have a site-wide change and so will show a space in pricing in the cart too... but it's going to be a lot easier doing in the setup, than doing it in the template... though you could if you really had to!

 

Secondly, I would also like to re position it to be left aligned instead of centered.

Please see attached image on how it looks today. Image is from an development / UAT environment.

for those parts of the invoice, it's just a HTML table with those cells aligned to the center, so you should just need to change references of align="center" to "align="left" (in those cells) and perhaps add some spacing/padding to the output.

Link to comment
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.

  • 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