Remove the field recalculationCompountFrequenceyDate from loan product request
This commit is contained in:
+3
-1
@@ -28,7 +28,9 @@ export class LoanProductChargesStepComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.chargeData = this.loanProductsTemplate.chargeOptions;
|
||||
this.overdueChargeData = this.loanProductsTemplate.penaltyOptions.filter((penalty: any) => penalty.chargeTimeType.code === 'chargeTimeType.overdueInstallment');
|
||||
this.overdueChargeData = this.loanProductsTemplate.penaltyOptions ?
|
||||
this.loanProductsTemplate.penaltyOptions.filter((penalty: any) => penalty.chargeTimeType.code === 'chargeTimeType.overdueInstallment') :
|
||||
[];
|
||||
|
||||
this.chargesDataSource = this.loanProductsTemplate.charges || [];
|
||||
this.pristine = true;
|
||||
|
||||
-4
@@ -387,10 +387,6 @@
|
||||
<div fxFlexFill *ngIf="loanProduct.recalculationCompoundingFrequencyType !== 1" fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
<span fxFlex="40%">Frequency Interval for compounding:</span>
|
||||
<span fxFlex="60%">{{ loanProduct.recalculationCompoundingFrequencyInterval }}</span>
|
||||
<div fxFlexFill *ngIf="loanProduct.recalculationCompoundingFrequencyDate">
|
||||
<span fxFlex="40%">Compounding Frequency Date:</span>
|
||||
<span fxFlex="60%">{{ loanProduct.recalculationCompoundingFrequencyDate }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div fxFlexFill fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
|
||||
@@ -400,10 +400,6 @@
|
||||
<div fxFlexFill *ngIf="loanProduct.interestRecalculationData.recalculationCompoundingFrequencyType.id !== 1" fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
<span fxFlex="40%">Frequency Interval for compounding:</span>
|
||||
<span fxFlex="60%">{{ loanProduct.interestRecalculationData.recalculationCompoundingFrequencyInterval }}</span>
|
||||
<div fxFlexFill *ngIf="loanProduct.recalculationCompoundingFrequencyDate">
|
||||
<span fxFlex="40%">Compounding Frequency Date:</span>
|
||||
<span fxFlex="60%">{{ loanProduct.interestRecalculationData.recalculationCompoundingFrequencyDate }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div fxFlexFill fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
|
||||
Reference in New Issue
Block a user