percyashu commented on a change in pull request #987:
URL: https://github.com/apache/fineract/pull/987#discussion_r436417064
##########
File path:
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java
##########
@@ -2384,7 +2384,7 @@ public ChangedTransactionDetail disburse(final AppUser
currentUser, final JsonCo
**/
if (isNoneOrCashOrUpfrontAccrualAccountingEnabledOnLoanProduct()
- && (isMultiDisburmentLoan() &&
getDisbursedLoanDisbursementDetails().size() == 1 || !isMultiDisburmentLoan()))
{
+ && ((isMultiDisburmentLoan() &&
getDisbursedLoanDisbursementDetails().size() == 1) ||
!isMultiDisburmentLoan())) {
Review comment:
OK will try this but the parentheses grouping might change the logic of
the check
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]