Bug #2996
Electricity bill details Report - Electricity Consumption Report - UI & API
Description
Electricity bill details Report - Electricity Consumption Report - UI & API
Updated by Yashaditya Singh about 3 hours ago
I worked on the Electricity Consumption Analytics report, implementing the new station-wise and billing-period reporting flow while keeping the existing Electricity Bill Details page unchanged. I updated the backend calculations to show Energy Consumed from charging_sessions.energy_consumed_kwh, Revenue from charging_sessions.net_amount, Total Units from electricity bills, and Total Bill Amount from the manual bills, with calculations based on each billing period. I also worked on station-level pagination and filters, billing-period history with time-range filtering, updated the DTOs and repository/service logic, and created the new frontend API integration for the analytics page. On the UI side, I worked on the new two-level station-to-billing-period layout, corrected the routing, and separated the new analytics page from the existing bill management page.