minor lint fixes
This commit is contained in:
@@ -68,11 +68,10 @@ export class CreateLoansAccountComponent implements OnInit {
|
||||
this.collateralOptions = response.loanCollateralOptions;
|
||||
});
|
||||
const clientId = this.loansAccountTemplate.clientId;
|
||||
const productId= this.loansAccountProductTemplate.loanProductId
|
||||
const productId = this.loansAccountProductTemplate.loanProductId;
|
||||
this.loansService.getLoansAccountTemplateResource(clientId, productId).subscribe((response: any) => {
|
||||
this.multiDisburseLoan = response.multiDisburseLoan;
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/** Get Loans Account Details Form Data */
|
||||
@@ -121,8 +120,8 @@ export class CreateLoansAccountComponent implements OnInit {
|
||||
type: collateralEle.type,
|
||||
value: collateralEle.value,
|
||||
description: collateralEle.description
|
||||
})),
|
||||
disbursementData:this.loansAccount.disbursementData.map((item: any) => ({
|
||||
})),
|
||||
disbursementData: this.loansAccount.disbursementData.map((item: any) => ({
|
||||
expectedDisbursementDate: this.dateUtils.formatDate(item.expectedDisbursementDate, dateFormat),
|
||||
principal: item.principal
|
||||
})),
|
||||
|
||||
+5
-5
@@ -17,7 +17,7 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
|
||||
@Input() loansAccountProductTemplate: any;
|
||||
/** Loans Account Template */
|
||||
@Input() loansAccountTemplate: any;
|
||||
/**Is Multi Disburse Loan */
|
||||
/** Is Multi Disburse Loan */
|
||||
@Input() multiDisburseLoan: any;
|
||||
|
||||
/** Minimum date allowed. */
|
||||
@@ -171,13 +171,13 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Gets the Disbursement Data form array.
|
||||
* @returns {FormArray} Disbursement Data form array.
|
||||
*/
|
||||
get disbursementData(): FormArray {
|
||||
return this.loansAccountTermsForm.get('disbursementData') as FormArray;
|
||||
}
|
||||
get disbursementData(): FormArray {
|
||||
return this.loansAccountTermsForm.get('disbursementData') as FormArray;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the Disbursement Data entry form to given Disbursement Data entry form array.
|
||||
|
||||
Reference in New Issue
Block a user