adamsaghy commented on code in PR #4837:
URL: https://github.com/apache/fineract/pull/4837#discussion_r2213093188


##########
fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -528,13 +528,16 @@ public void createJournalEntriesForSavings(final 
Map<String, Object> accountingB
 
         final boolean cashBasedAccountingEnabled = (Boolean) 
accountingBridgeData.get("cashBasedAccountingEnabled");
         final boolean accrualBasedAccountingEnabled = (Boolean) 
accountingBridgeData.get("accrualBasedAccountingEnabled");
+        final boolean isNegativeBalance = 
(accountingBridgeData.get("isNegativeBalance") != null)
+                ? (Boolean) accountingBridgeData.get("isNegativeBalance")

Review Comment:
   What is "negative balance"? With GL accounting there should be no such thing!



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to