fix:not able to create a tranche loan account when "Disallow Expected Disbursements" checkbox is disabled  (#1763)

now we can create loan account when “disallow expected disbursements” is disabled

Fixes: #1752

LGTM tested locally all config working as expected
This commit is contained in:
pc_11
2023-06-01 12:55:29 +05:30
committed by GitHub
parent 00ad7c81ce
commit 75686c7f4c
3 changed files with 10 additions and 7 deletions
+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
return loansAccountData;
}