gwm
This commit is contained in:
parent
a1acdf6f7a
commit
a833a0ead5
@ -94,6 +94,17 @@ async function ARRAY(Array , GenInfoObj , OverallKey) {
|
|||||||
Object.assign(ArrayObj,{ [Key] : Value })
|
Object.assign(ArrayObj,{ [Key] : Value })
|
||||||
if (OverallKey == "Borrower & Guarantor Details" && Key == "borrower_name" && element.borrower_type == "Main Applicant") { Object.assign(GenInfoObj,{name : element.borrower_name}); }
|
if (OverallKey == "Borrower & Guarantor Details" && Key == "borrower_name" && element.borrower_type == "Main Applicant") { Object.assign(GenInfoObj,{name : element.borrower_name}); }
|
||||||
}
|
}
|
||||||
|
if (OverallKey == "Borrower & Guarantor Details" && Key == "numbers_of_years_business_running" )
|
||||||
|
{
|
||||||
|
|
||||||
|
if(typeof element.numbers_of_years_business_running === 'number')
|
||||||
|
{
|
||||||
|
|
||||||
|
//RoundOfValue = Math.round(element.numbers_of_years_business_running,2).toString();
|
||||||
|
RoundOfValue = Number((element.numbers_of_years_business_running).toFixed(2).toString());
|
||||||
|
Object.assign(ArrayObj,{ numbers_of_years_business_running : RoundOfValue });
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
tempArr.push(ArrayObj)
|
tempArr.push(ArrayObj)
|
||||||
ArrayObj = { };
|
ArrayObj = { };
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user