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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...