Merge pull request #1560 from minerals/mifosx-2384
MIFOSX-2384 - Fix incorrect total in repayment schedule
This commit is contained in:
+2
-2
@@ -1040,7 +1040,7 @@ public class LoanReadPlatformServiceImpl implements LoanReadPlatformService {
|
||||
// update totals with details of fees charged during disbursement
|
||||
totalFeeChargesCharged = totalFeeChargesCharged.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());
|
||||
|
||||
Integer loanTermInDays = Integer.valueOf(0);
|
||||
@@ -2050,4 +2050,4 @@ public class LoanReadPlatformServiceImpl implements LoanReadPlatformService {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user