Jump to content

different currencies on one bill


marcsch

Recommended Posts

it's relatively easy to do that with regards to the invoice, but you would also have to store the daily values of the exchange rate in the database - because the pdf invoices are produced on the fly and not stored, if you don't do this, then a client could view a pdf on the site from weeks ago but it would use today's exchange rate to calculate the conversion - which will be different from the one used on the day of order.

 

there has been a request in marketplace for a similar solution - EUR & RON in that case, but the principle would be the same.

 

http://forum.whmcs.com/showthread.php?88390-Custom-invoice

Link to comment
Share on other sites

well I think the EUR/RON question has been asked by at least a couple of members for a while... seemingly as far back as 2009!

 

http://forum.whmcs.com/showthread.php?22112-Invoice-Currencies

 

the ironic thing is that WHMCS do something similar on their own pdf invoices - the VAT is shown is both USD and GBP on the pdf invoice (but not on the html invoice).... whatever their solution is, it would be a good starting point for your problem.

 

you could contact support about this and your pdf batch issue and see what they say.

 

I can only suggest keeping an eye on the thread in marketplace - if he finds a solution to his situation, your solution will be the same... though I see you've now created your own post in marketplace.

Link to comment
Share on other sites

We had the same problem... now we get exchange rates every morning from our national bank. Cron job saves the rates for every day to our database and from there we use pdf invoice template to make "dual currency" invoices (local and EUR/$).

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