Bug #2863
Add Station Capital Tracking Module for Pre-Live Station Investment
Added by Yashaditya Singh about 24 hours ago.
Updated 3 minutes ago.
Description
Develop a new Station Capital Tracking module under the Station Service to track the financial progress of stations during the installation and development phase (before the station goes live).
This module is independent of the Expense Management system. All values will be entered manually by authorized users for financial tracking purposes.
Functional Requirements:
Station Cost Management
Allow users to manually add multiple station development cost entries.
Each entry should include:
Cost Head
Description
Amount
Date
Remarks (optional)
Fund Receipt Management
Allow users to manually record funds received from Partners or Investors.
Each entry should include:
Received From
Type (Partner/Investor)
Amount
Date
Payment Reference
Remarks (optional)
Capital Summary
Automatically calculate:
Total Station Cost
Total Received Amount
Outstanding Amount (Total Station Cost - Total Received Amount)
Display the current funding status:
NOT_FUNDED
PARTIALLY_FUNDED
FULLY_FUNDED
OVER_FUNDED (if received exceeds cost)
API Support
CRUD APIs for Station Cost entries.
CRUD APIs for Fund Receipt entries.
Summary API returning the aggregated capital position for each station.
Purpose:
Provide a simple financial tracking mechanism during station establishment so the business can monitor the total capital invested, funds received from partners/investors, and the remaining outstanding amount before the station becomes operational. This module will also serve as the foundation for future investment and funding reports.
I worked on the Station Capital Fund module by developing the Station Capital Cost, Station Capital Receipt, and Station Outstanding Report pages. I integrated the frontend with the respective APIs, corrected the API endpoints as per Swagger, and updated the implementation to use the project's shared API service. I also improved the UI using MUI components and project branding, investigated API integration and TypeScript issues, and identified the need to add a station selection dropdown to satisfy the backend stationId requirement.
I finalized the Station Outstanding Report by implementing critical UI and logic updates. I enhanced the station dropdown to automatically sort alphabetically and auto-load the first station by default. I also swapped the 'Apply' and 'Reset' buttons for better usability. For the data tables, I fixed the Grand Total calculation in the Receipt Entries section to correctly include pending amounts. Finally, I resolved UI inconsistencies between the Cost and Receipt tables, ensuring both have matching sticky headers, uniform background colors, and perfectly symmetrical summary footers for a polished look.
try to understand the Sales Site Visit workflow - how executives create visits, add expenses (travel/food), get manager approvals, and finally convert potential sites into live charging stations.
Still need to clarify some concept: the database linking between expenses and stations.
also continue learning react and project based code for understanding work flow for assigned tasks .
also transformed the station outstanding report tables from vertical to horizontal layout, placing Cost Entries and Receipt Entries side by side for better comparison. Implemented scrollable middle entries with fixed headers and footers (4 rows each) to handle large datasets while keeping totals visible. Added conditional display logic for Surplus Amount and Pending Amount , value in both tables. Fixed alignment issues so "Total Cost" and "Total Received" now appear perfectly on the same horizontal line.
Also available in: Atom
PDF