Project

General

Profile

Bug #3054

Add "Total Cost" Summary Card to Capital Fund Outstanding Report

Added by Shreya Agarwal about 2 months ago. Updated about 2 months ago.

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

0%

Estimated time:
Spent time:

Description

A summary card needs to be added to the "Outstanding Report" page under the Capital Fund module.

#1

Updated by Shreya Agarwal about 2 months ago

On Station Funding Report a dynamic Total Amount Summary Card was integrated into the Employee Expense Details drawer within the Station Capital Fund Outstanding Report (/stations/capital-fund/outstanding-report). The summary card dynamically binds total expenses from the API response (GET /api/v1/station/employee-expenses), prioritizing data.summary.totalExpenses while seamlessly falling back to a .reduce() sum of individual item amounts (totalAmount) to guarantee accurate data presentation across all stations even if the API summary object is absent. The drawer header flexbox layout was analyzed to ensure proper alignment and positioning of the card at the far right end. No hardcoded values were used, maintaining full dynamic data binding for all charging stations.
Also spent time on learning for enhance my skill

Also available in: Atom PDF