Jump to content
  • 0

Invoice - Exchange Rate


Question

Posted

Hello,

 

I'm trying to show an exchange rate on an invoice. The exchange rate should be from the time when the invoice was processed by Blesta (i.e. sent to the customer). Can I do that in Blesta? Or can I adjust Blesta somehow to achieve the described behaviour?

 

 

Thanks!

 

 

4 answers to this question

Recommended Posts

  • 0
Posted

Invoice line prices either come directly from the package pricing or are derived from the package pricing to the desired currency at the time the invoice is created. To determine the currency exchange rate at the time the invoice was created would require Blesta to store the exchange rate of the invoice currency in relation to the derived currency.

 

To do this you would need to handle the Invoices.add event, available in Blesta 3.1, and use a plugin to create a table to store exchange rates for invoices, then use that table to display that information in your Invoice Template.

Join the conversation

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

Guest
Answer this question...

×   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...