Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/missing cost keys yearly breakdown #142

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

alexeh
Copy link
Collaborator

@alexeh alexeh commented Dec 9, 2024

This pull request includes changes to the CostCalculator class in the cost.calculator.ts file to enhance the normalization of cost plans by including additional financial metrics. The most important change is the modification of the normalizeCostPlan method call to include a broader set of cost-related data.

Enhancements to cost plan normalization:

  • api/src/modules/calculations/cost.calculator.ts: Modified the normalizeCostPlan method call to include totalCostPlan, estimatedRevenuePlan, creditsIssuedPlan, cumulativeNetIncomePlan, cumulativeNetIncomeCapexOpex, annualNetCashFlow, and annualNetIncome in the CostCalculator class.

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tnc-blue-carbon-cost-tool-ghps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 4:19am

@alexeh alexeh merged commit dccebc7 into dev Dec 9, 2024
4 checks passed
@alexeh alexeh deleted the fix/missing-cost-keys-yearly-breakdown branch December 9, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant