sap-labs-france / ev-dashboard

The Open e-Mobility Charging Station management front-end Angular application (check also ev-server and ev-mobile)
https://open-e-mobility.fr/
Apache License 2.0
66 stars 102 forks source link

Never calculate the cost of OCPI transaction #3545

Open mokhairy2019 opened 1 year ago

mokhairy2019 commented 1 year ago

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