Multi Disbursal Options for disallowExpectedDisbursements

This commit is contained in:
Jose Alberto Hernandez
2022-08-03 15:57:24 +02:00
committed by Arnold Gálovics
parent dce82fa92d
commit 1c8a772de6
4 changed files with 15 additions and 2 deletions
@@ -463,6 +463,11 @@
</div>
</div>
<div fxFlexFill>
<span fxFlex="40%">Disallow Expected Disbursements:</span>
<span fxFlex="60%">{{ loanProduct.disallowExpectedDisbursements ? 'Yes' : 'No' }}</span>
</div>
<h3 class="mat-h3" fxFlexFill>Configurable Terms and Settings</h3>
<mat-divider fxFlexFill></mat-divider>
@@ -367,12 +367,11 @@
<h3 fxFlex="23%" class="mat-h3">Loan Tranche Details</h3>
<mat-checkbox fxFlex="73%" labelPosition="before" formControlName="multiDisburseLoan" class="margin-b">
<mat-checkbox fxFlex="73%" labelPosition="before" formControlName="multiDisburseLoan" class="margin-b">
Enable Multiple Disbursals
</mat-checkbox>
<div *ngIf="loanProductSettingsForm.value.multiDisburseLoan" fxFlexFill fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column">
<mat-form-field fxFlex="48%">
<mat-label>Maximum Tranche count</mat-label>
<input type="number" matInput formControlName="maxTrancheCount" required>
@@ -386,6 +385,9 @@
<input type="number" matInput formControlName="outstandingLoanBalance">
</mat-form-field>
<mat-checkbox fxFlex="48%" labelPosition="before" formControlName="disallowExpectedDisbursements" class="margin-v">
Disallow Expected Disbursements
</mat-checkbox>
</div>
<mat-divider fxFlex="98%"></mat-divider>
@@ -74,6 +74,7 @@ export class LoanProductSettingsStepComponent implements OnInit {
'accountMovesOutOfNPAOnlyOnArrearsCompletion': this.loanProductsTemplate.accountMovesOutOfNPAOnlyOnArrearsCompletion,
'principalThresholdForLastInstallment': this.loanProductsTemplate.principalThresholdForLastInstallment,
'allowVariableInstallments': this.loanProductsTemplate.allowVariableInstallments,
'disallowExpectedDisbursements': this.loanProductsTemplate.disallowExpectedDisbursements,
'minimumGap': this.loanProductsTemplate.minimumGap,
'maximumGap': this.loanProductsTemplate.maximumGap,
'canUseForTopup': this.loanProductsTemplate.canUseForTopup,
@@ -154,6 +155,7 @@ export class LoanProductSettingsStepComponent implements OnInit {
'accountMovesOutOfNPAOnlyOnArrearsCompletion': [false],
'principalThresholdForLastInstallment': [''],
'allowVariableInstallments': [false],
'disallowExpectedDisbursements': [false],
'canUseForTopup': [false],
'isInterestRecalculationEnabled': [false],
'holdGuaranteeFunds': [false],
@@ -474,6 +474,10 @@
<span fxFlex="40%">Maximum allowed outstanding balance:</span>
<span fxFlex="60%">{{ loanProduct.outstandingLoanBalance }}</span>
</div>
<div fxFlexFill>
<span fxFlex="40%">Disallow Expected Disbursements:</span>
<span fxFlex="60%">{{ loanProduct.disallowExpectedDisbursements ? 'Yes' : 'No' }}</span>
</div>
</div>
<h3 class="mat-h3" fxFlexFill>Configurable Terms and Settings</h3>