Skip to content

Commit

Permalink
include total cost, estimated revenue and credit issued yearly breakd…
Browse files Browse the repository at this point in the history
…own plan
  • Loading branch information
alexeh committed Dec 9, 2024
1 parent 34b718e commit 9aa5c2c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api/src/modules/calculations/cost.calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,12 @@ export class CostCalculator {
}
}

const yearNormalizedCostPlans: CostPlans =
this.normalizeCostPlan(costPlans);
const yearNormalizedCostPlans: CostPlans = this.normalizeCostPlan({
...costPlans,
totalCostPlan,
estimatedRevenuePlan,
creditsIssuedPlan,
});

const yearlyBreakdown: YearlyBreakdown[] = [];
for (const costName in yearNormalizedCostPlans) {
Expand Down

0 comments on commit 9aa5c2c

Please sign in to comment.