adamsaghy commented on code in PR #3973:
URL: https://github.com/apache/fineract/pull/3973#discussion_r1679162986
##########
fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/AccountingProcessorHelper.java:
##########
@@ -203,12 +203,13 @@ public SavingsDTO populateSavingsDtoFromMap(final
Map<String, Object> accounting
if (map.containsKey("savingsChargesPaid")) {
@SuppressWarnings("unchecked")
final List<Map<String, Object>> savingsChargesPaidData =
(List<Map<String, Object>>) map.get("savingsChargesPaid");
- for (final Map<String, Object> loanChargePaid :
savingsChargesPaidData) {
- final Long chargeId = (Long)
loanChargePaid.get("chargeId");
- final Long loanChargeId = (Long)
loanChargePaid.get("savingsChargeId");
- final boolean isPenalty = (Boolean)
loanChargePaid.get("isPenalty");
- final BigDecimal chargeAmountPaid = (BigDecimal)
loanChargePaid.get("amount");
+ for (final Map<String, Object> savingsChargesPaid :
savingsChargesPaidData) {
Review Comment:
nice catch! :)
--
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]