sap-labs-france/ev-dashboard

Never calculate the cost of OCPI transaction

Opened this issue · 0 comments

I noticed that total cost is not calculated in the ocpidata part of the transaction in case of ocpi connection. Inside the code I found that total_cost is always set to 0 with a comment beside it saying "Never calculate the cost of OCPI transaction".

Is there a logical reason for this or it is meant to be fixed in the future ?

Another remark is that I couldn't find anything related to the tariff in the dashboard UI, I don't really understand the connection between the pricingDefinations and tariff calculation used in OCPI, could you explain this to me ?

Thanks in Advance