MIFOSX-2384 - Fix incorrect total in repayment schedule
Issue occurs when a non-disbursement charge is used.
This commit is contained in:
+1
-1
@@ -1040,7 +1040,7 @@ public class LoanReadPlatformServiceImpl implements LoanReadPlatformService {
|
|||||||
// update totals with details of fees charged during disbursement
|
// update totals with details of fees charged during disbursement
|
||||||
totalFeeChargesCharged = totalFeeChargesCharged.plus(disbursementPeriod.feeChargesDue());
|
totalFeeChargesCharged = totalFeeChargesCharged.plus(disbursementPeriod.feeChargesDue());
|
||||||
totalRepaymentExpected = totalRepaymentExpected.plus(disbursementPeriod.feeChargesDue());
|
totalRepaymentExpected = totalRepaymentExpected.plus(disbursementPeriod.feeChargesDue());
|
||||||
totalRepayment = totalRepayment.plus(totalPaidFeeCharges);
|
totalRepayment = totalRepayment.plus(disbursementPeriod.feeChargesPaid());
|
||||||
totalOutstanding = totalOutstanding.plus(disbursementPeriod.feeChargesDue()).minus(disbursementPeriod.feeChargesPaid());
|
totalOutstanding = totalOutstanding.plus(disbursementPeriod.feeChargesDue()).minus(disbursementPeriod.feeChargesPaid());
|
||||||
|
|
||||||
Integer loanTermInDays = Integer.valueOf(0);
|
Integer loanTermInDays = Integer.valueOf(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user