Fix: missed labels in loan and loan product

This commit is contained in:
Jose Alberto Hernandez
2024-05-13 08:42:46 -06:00
committed by Jose Alberto Hernandez
parent a0d2b3e52d
commit 236034df41
17 changed files with 25 additions and 7 deletions
@@ -151,6 +151,11 @@
<span fxFlex="60%">{{ loansAccount.graceOnArrearsAgeing }}</span>
</div>
<div fxFlexFill>
<span fxFlex="40%"> {{"labels.inputs.Enable installment level Delinquency" | translate}} </span>
<span fxFlex="60%"> {{ loansAccount.enableInstallmentLevelDelinquency | yesNo }} </span>
</div>
<div fxFlexFill *ngIf="loansAccount.isTopup">
<span fxFlex="40%">{{"labels.inputs.Is Topup Loan" | translate}}? </span>
<span fxFlex="60%">{{ loansAccount.isTopup }}</span>
@@ -156,7 +156,8 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
});
}
if (this.isDelinquencyEnabled()) {
this.loansAccountTermsForm.addControl('enableInstallmentLevelDelinquency', new UntypedFormControl(this.loanProduct.enableInstallmentLevelDelinquency));
console.log("TEST " + this.loansAccountTermsData.enableInstallmentLevelDelinquency);
this.loansAccountTermsForm.addControl('enableInstallmentLevelDelinquency', new UntypedFormControl(this.loansAccountTermsData.enableInstallmentLevelDelinquency || this.loanProduct.enableInstallmentLevelDelinquency));
}
this.collateralDataSource = this.loansAccountTermsData.collateral || [];
@@ -63,7 +63,7 @@
</div>
<div fxFlexFill>
<span fxFlex="50%"> {{"labels.inputs.Enable Installment Level Delinquency" | translate}} </span>
<span fxFlex="50%"> {{"labels.inputs.Enable installment level Delinquency" | translate}} </span>
<span fxFlex="50%"> {{loanDetails.enableInstallmentLevelDelinquency | yesNo}} </span>
</div>
@@ -15,7 +15,7 @@
</div>
<div fxFlexFill *ngIf="loanProduct.fundId">
<span fxFlex="47%">{{ 'labels.inputs.Fund Name' | translate}}:</span>
<span fxFlex="47%">{{ 'labels.inputs.Fund' | translate}}:</span>
<span fxFlex="53%">{{ loanProduct.fundName }}</span>
</div>
@@ -86,7 +86,7 @@
</div>
<div fxFlexFill *ngIf="loanProduct.allowApprovedDisbursedAmountsOverApplied">
<span fxFlex="47%">{{ 'labels.inputs.Over Applied Amount' | translate}}:</span>
<span fxFlex="47%">{{ 'labels.inputs.Over Amount' | translate}}:</span>
<span fxFlex="53%" *ngIf="loanProduct.overAppliedCalculationType === 'percentage'">{{ loanProduct.overAppliedNumber
| formatNumber:0
}} %</span>
@@ -12,7 +12,7 @@
<div fxFlexFill>
<span fxFlex="40%">{{ 'labels.inputs.Future Installment Allocation Rule' | translate }}:</span>
<span fxFlex="60%">{{ futureInstallmentRuleValue(paymentAllocation.futureInstallmentAllocationRule) }}</span>
<span fxFlex="60%">{{ futureInstallmentRuleValue(paymentAllocation.futureInstallmentAllocationRule) | translateCatalog }}</span>
</div>
<div fxFlexFill>
@@ -28,7 +28,7 @@
<tbody>
<tr *ngFor="let paymentAllocation of paymentAllocation.paymentAllocationOrder; let idx = index;">
<td>{{ (idx + 1) }}</td>
<td>{{ allocationRuleValue(paymentAllocation.paymentAllocationRule) }}</td>
<td>{{ allocationRuleValue(paymentAllocation.paymentAllocationRule) | translateCatalog }}</td>
</tr>
</tbody>
</table>
@@ -61,7 +61,7 @@
<tbody>
<tr *ngFor="let creditAllocation of creditAllocation.creditAllocationOrder; let idx = index;">
<td>{{ (idx + 1) }}</td>
<td>{{ allocationRuleValue(creditAllocation.creditAllocationRule) }}</td>
<td>{{ allocationRuleValue(creditAllocation.creditAllocationRule) | translateCatalog}}</td>
</tr>
</tbody>
</table>