Fix Collaterals on Loan: It is optional
This commit is contained in:
@@ -95,8 +95,7 @@ export class CreateLoansAccountComponent implements OnInit {
|
|||||||
get loansAccountFormValid() {
|
get loansAccountFormValid() {
|
||||||
return (
|
return (
|
||||||
this.loansAccountDetailsForm.valid &&
|
this.loansAccountDetailsForm.valid &&
|
||||||
this.loansAccountTermsForm.valid &&
|
this.loansAccountTermsForm.valid
|
||||||
this.loansAccountChargesStep.loansAccountCharges.isValid
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -174,7 +174,7 @@
|
|||||||
<fa-icon icon="arrow-left"></fa-icon>
|
<fa-icon icon="arrow-left"></fa-icon>
|
||||||
Previous
|
Previous
|
||||||
</button>
|
</button>
|
||||||
<button mat-raised-button matStepperNext [disabled]="!isCollateralSufficient">
|
<button mat-raised-button matStepperNext [disabled]="!loansAccountFormValid">
|
||||||
Next
|
Next
|
||||||
<fa-icon icon="arrow-right"></fa-icon>
|
<fa-icon icon="arrow-right"></fa-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
+1
-2
@@ -270,8 +270,7 @@ export class LoansAccountChargesStepComponent implements OnInit, OnChanges {
|
|||||||
get loansAccountCharges() {
|
get loansAccountCharges() {
|
||||||
return {
|
return {
|
||||||
charges: this.chargesDataSource,
|
charges: this.chargesDataSource,
|
||||||
collateral: this.collateralDataSource,
|
collateral: this.collateralDataSource
|
||||||
isValid: this.isCollateralSufficient
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user