adamsaghy commented on code in PR #5940:
URL: https://github.com/apache/fineract/pull/5940#discussion_r3501092328
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/shareaccounts/domain/ShareAccountTransaction.java:
##########
@@ -114,7 +114,7 @@ public static ShareAccountTransaction
createChargeTransaction(final LocalDate tr
final BigDecimal unitPrice = null;
final Integer status = PurchasedSharesStatusType.APPROVED.getValue();
final Integer type =
PurchasedSharesStatusType.CHARGE_PAYMENT.getValue();
- BigDecimal amount = charge.percentageOrAmount();
+ BigDecimal amount = charge.amoutOutstanding();
Review Comment:
percentage should not be changed... only final, calculated charge amount.
--
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]