Realtime Loan Delinquency Classification

This commit is contained in:
Jose Alberto Hernandez
2022-09-04 16:24:04 -05:00
parent 240c388170
commit 0e178e8ab5
19 changed files with 509 additions and 213 deletions
@@ -110,7 +110,8 @@ export class CreateLoansAccountComponent implements OnInit {
...this.loansAccountDetailsStep.loansAccountDetails,
...this.loansAccountTermsStep.loansAccountTerms,
...this.loansAccountChargesStep.loansAccountCharges,
...this.loansAccountTermsStep.loanCollateral
...this.loansAccountTermsStep.loanCollateral,
...this.loansAccountTermsStep.disbursementData
};
}
@@ -169,9 +170,11 @@ export class CreateLoansAccountComponent implements OnInit {
delete loansAccountData.disbursementData;
}
delete loansAccountData.isValid;
loansAccountData.principal = loansAccountData.principalAmount;
delete loansAccountData.principalAmount;
this.loansService.createLoansAccount(loansAccountData).subscribe((response: any) => {
this.router.navigate(['../', response.resourceId], { relativeTo: this.route });
this.router.navigate(['../', response.resourceId, 'general'], { relativeTo: this.route });
});
}