Fix Loan product edition Loan Schedule Processing Type issue
This commit is contained in:
committed by
Adam Saghy
parent
0ca7d80df9
commit
f6261be8d5
+1
-1
@@ -406,7 +406,7 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
|||||||
this.isAdvancedTransactionProcessingStrategy = LoanProducts.isAdvancedPaymentAllocationStrategy(transactionProcessingStrategyCode);
|
this.isAdvancedTransactionProcessingStrategy = LoanProducts.isAdvancedPaymentAllocationStrategy(transactionProcessingStrategyCode);
|
||||||
if (this.isAdvancedTransactionProcessingStrategy) {
|
if (this.isAdvancedTransactionProcessingStrategy) {
|
||||||
this.loanProductSettingsForm.addControl('loanScheduleProcessingType', new UntypedFormControl(
|
this.loanProductSettingsForm.addControl('loanScheduleProcessingType', new UntypedFormControl(
|
||||||
LoanProducts.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL, [Validators.required]));
|
this.loanProductsTemplate.loanScheduleProcessingType.code || LoanProducts.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL, [Validators.required]));
|
||||||
} else {
|
} else {
|
||||||
this.loanProductSettingsForm.removeControl('loanScheduleProcessingType');
|
this.loanProductSettingsForm.removeControl('loanScheduleProcessingType');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user