Project

General

Profile

Bug #2579

Charger Rate Correction

Added by Yashaditya Singh about 2 hours ago.

Status:
New
Priority:
Normal
Start date:
05/05/2026
Due date:
% Done:

0%

Estimated time:

Description

The charger rate displayed in the vendor sessions/revenue screen is not consistently correct when multiple rate fields are available. Currently, the system directly uses energy_rate, which can lead to incorrect or null values in scenarios where ocpi_energy_rate (markup rate) is present.

To ensure accurate pricing, the charger rate should follow a fallback logic:

Use ocpi_energy_rate (markup energy rate) if available
Otherwise fallback to energy_rate
If both are null, default to 0

No data to display

Also available in: Atom PDF