merge release/dyn-1999_check-bkk-agency-perc
This commit is contained in:
parent
024b6f6f71
commit
8f65fd198d
@ -82,11 +82,17 @@ export default function (this: ICalculationStore) {
|
||||
console.log('preparedData', preparedData);
|
||||
|
||||
const getAdditionalData = () => {
|
||||
let maxAllAgencyPerc: number | undefined;
|
||||
if (this.getValue('recalcWithRevision')) {
|
||||
maxAllAgencyPerc =
|
||||
this.getOption('selectQuote')?.evo_maximum_percentage_av;
|
||||
}
|
||||
return {
|
||||
//@ts-ignore
|
||||
minCashflowMSFONominal: this.irr().min,
|
||||
//@ts-ignore
|
||||
maxCashflowMSFONominal: this.irr().max,
|
||||
maxAllAgencyPerc,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -29,4 +29,5 @@ fragment quoteFieldsLite on quote {
|
||||
evo_program_import_subsidy_sum
|
||||
evo_equip_price
|
||||
evo_supplier_currency_price
|
||||
evo_maximum_percentage_av
|
||||
}
|
||||
|
||||
@ -186,6 +186,7 @@ export interface IQuote extends BaseEntity {
|
||||
evo_equip_price?: number;
|
||||
evo_accept_period?: number;
|
||||
evo_db_accept_registration?: number;
|
||||
evo_maximum_percentage_av?: number;
|
||||
}
|
||||
|
||||
export interface IEvoGraph extends BaseEntity {
|
||||
|
||||
Reference in New Issue
Block a user