Fix datatable multirow multiple selection and deletion (#1764)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-06-06 21:54:13 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 75686c7f4c
commit 6bba522108
8 changed files with 45 additions and 25 deletions
@@ -127,7 +127,7 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
'fixedEmiAmount': this.loansAccountTermsData.fixedEmiAmount,
'maxOutstandingLoanBalance': this.loansAccountTermsData.maxOutstandingLoanBalance,
'transactionProcessingStrategyCode': this.loansAccountTermsData.transactionProcessingStrategyCode,
'interestRateDifferential':this.loansAccountTermsData.interestRateDifferential,
'interestRateDifferential': this.loansAccountTermsData.interestRateDifferential,
'multiDisburseLoan': this.loansAccountTermsData.multiDisburseLoan
});
@@ -211,7 +211,7 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
'fixedEmiAmount': this.loansAccountTermsData.fixedEmiAmount,
'maxOutstandingLoanBalance': this.loansAccountTermsData.maxOutstandingLoanBalance,
'transactionProcessingStrategyCode': this.loansAccountTermsData.transactionProcessingStrategyCode,
'interestRateDifferential':this.loansAccountTermsData.interestRateDifferential,
'interestRateDifferential': this.loansAccountTermsData.interestRateDifferential,
'multiDisburseLoan': this.loansAccountTermsData.multiDisburseLoan
});
}
@@ -273,9 +273,9 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
'fixedEmiAmount': [''],
'isTopup': [''],
'maxOutstandingLoanBalance': [''],
'interestRateDifferential':[''],
'interestRateDifferential': [''],
'transactionProcessingStrategyCode': ['', Validators.required],
'multiDisburseLoan': [false]
'multiDisburseLoan': [false]
});
}
+1 -1
View File
@@ -587,7 +587,7 @@ export class LoansService {
delete loansAccountData.isValid;
loansAccountData.principal = loansAccountData.principalAmount;
delete loansAccountData.principalAmount;
delete loansAccountData.multiDisburseLoan; //this was just added so that disbursement data can be send in the backend
delete loansAccountData.multiDisburseLoan; // this was just added so that disbursement data can be send in the backend
return loansAccountData;
}