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