Remove disableScheduleExtensionForDownPayment
This commit is contained in:
committed by
Adam Saghy
parent
e49006bc20
commit
3c68f98b84
-5
@@ -375,11 +375,6 @@
|
||||
<span fxFlex="53%">{{ loanProduct.enableAutoRepaymentForDownPayment | yesNo }}</span>
|
||||
</div>
|
||||
|
||||
<div fxFlexFill *ngIf="loanProduct.enableDownPayment" fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
<span fxFlex="47%">Do not extend loan schedule for multi disbursal:</span>
|
||||
<span fxFlex="53%">{{ loanProduct.disableScheduleExtensionForDownPayment | yesNo }}</span>
|
||||
</div>
|
||||
|
||||
<h3 class="mat-h3" fxFlexFill>Moratorium</h3>
|
||||
|
||||
<div fxFlexFill *ngIf="loanProduct.delinquencyBucket">
|
||||
|
||||
-7
@@ -136,13 +136,6 @@
|
||||
</mat-checkbox>
|
||||
</div>
|
||||
|
||||
<div *ngIf="loanProductSettingsForm.value.multiDisburseLoan && loanProductSettingsForm.value.enableDownPayment" fxFlexFill fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<mat-checkbox fxFlex="48%" labelPosition="before" formControlName="disableScheduleExtensionForDownPayment" matTooltip="Enable or disable If Fineract extends the
|
||||
repayment schedule to the exact number of repayments configured for that loan account" class="margin-b">
|
||||
Do not extend loan schedule for multi disbursal
|
||||
</mat-checkbox>
|
||||
</div>
|
||||
|
||||
<mat-divider fxFlex="98%"></mat-divider>
|
||||
|
||||
<span fxFlex="48%" fxHide.lt-md></span>
|
||||
|
||||
-5
@@ -392,11 +392,9 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
||||
if (enableDownPayment) {
|
||||
this.loanProductSettingsForm.addControl('disbursedAmountPercentageForDownPayment', new UntypedFormControl(0, [Validators.required, rangeValidator(0, 100) ]));
|
||||
this.loanProductSettingsForm.addControl('enableAutoRepaymentForDownPayment', new UntypedFormControl(false, []));
|
||||
this.loanProductSettingsForm.addControl('disableScheduleExtensionForDownPayment', new UntypedFormControl(false, []));
|
||||
} else {
|
||||
this.loanProductSettingsForm.removeControl('disbursedAmountPercentageForDownPayment');
|
||||
this.loanProductSettingsForm.removeControl('enableAutoRepaymentForDownPayment');
|
||||
this.loanProductSettingsForm.removeControl('disableScheduleExtensionForDownPayment');
|
||||
}
|
||||
});
|
||||
|
||||
@@ -508,9 +506,6 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
||||
|
||||
get loanProductSettings() {
|
||||
const productSettings = this.loanProductSettingsForm.value;
|
||||
if (!this.loanProductSettingsForm.value.multiDisburseLoan) {
|
||||
delete productSettings['disableScheduleExtensionForDownPayment'];
|
||||
}
|
||||
if (this.loanProductSettingsForm.value.useDueForRepaymentsConfigurations) {
|
||||
productSettings['dueDaysForRepaymentEvent'] = null;
|
||||
productSettings['overDueDaysForRepaymentEvent'] = null;
|
||||
|
||||
@@ -91,7 +91,6 @@ export interface LoanProduct {
|
||||
overDueDaysForRepaymentEvent: number;
|
||||
enableDownPayment: boolean;
|
||||
enableAutoRepaymentForDownPayment: boolean;
|
||||
disableScheduleExtensionForDownPayment: boolean;
|
||||
enableInstallmentLevelDelinquency: boolean;
|
||||
loanScheduleType: OptionData;
|
||||
loanScheduleProcessingType: OptionData;
|
||||
|
||||
Reference in New Issue
Block a user