Skip to content

Function: calculateFinanceProjectValues()

function calculateFinanceProjectValues(input): FinanceProjectCalculatedValues;

Defined in: shared/src/helper/financeHelper/calculateFinanceProjectValues.ts:33

Calculates the three derived values for a finance project:

  • calculated_start_amount: start_amount minus adjustments that are already included
  • total_value: start_amount plus adjustments not yet included
  • paid_amount: paid start (if any) plus paid adjustments not already in start

When is_already_included is true, the adjustment is already part of start_amount. Example: start 300 + adjustment 50 (included) → calculated_start = 250.

ParameterType
inputFinanceProjectValuesInput

FinanceProjectCalculatedValues