marcsch Posted April 30, 2014 Share Posted April 30, 2014 Hello, i want different currencies on one bill, in EUR and $. The EUR shoud be convert with the actualy exchange rate. is it possible, anybody a solution? regards, marc 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 30, 2014 Share Posted April 30, 2014 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 0 Quote Link to comment Share on other sites More sharing options...
marcsch Posted April 30, 2014 Author Share Posted April 30, 2014 yes, thats the way, but how can i intergrate it? Is there a solution? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 30, 2014 Share Posted April 30, 2014 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. 0 Quote Link to comment Share on other sites More sharing options...
omnigenus Posted May 1, 2014 Share Posted May 1, 2014 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/$). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.