Sanjeevkumar - Added APIs for financial summary of the Building Projects#1307
Closed
sanjeev30 wants to merge 2 commits into
Closed
Conversation
Contributor
KH07
approved these changes
Apr 18, 2025
Contributor
KH07
left a comment
There was a problem hiding this comment.
Tested functioned as intended. I checked out the current branch, ran npm install, ran npm run dev, and started the frontend. Logged in and obtained token from Inspect -> Storage -> Local Storage. In the Thunder Client extension on VS Code, filled in the third row under Headers, where key is ‘Authorization’ and value is the token. Send the GET request and API is responsive.





Contributor
gopikalakshmia
approved these changes
Apr 19, 2025
AnthonyWeathers
approved these changes
May 2, 2025
Contributor
|
Superseded by PR #1595 , which resolves the merge conflict and incorporates the same work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.













Description
This PR adds multiple backend APIs to provide financial data for building projects, including total costs and month-over-month percentage changes for materials, labor, and equipment. These endpoints support filtering by project type and date range to enhance project financial insights and reporting.
Implements: Financial Summary APIs for Phase 2 (WBS: FinancialReporting.2.1)
Related PRS (if any):
N/A
…
Main changes explained:
…
How to test:
npm installnpm run devto run this PR locallyScreenshots or videos of changes:
Note:
calculateLaborCostfor the last month currently uses a placeholder. If historical data is available, this logic can be extended in a future PR.