Reported by Subramanya at https://mifosforge.jira.com/browse/MIFOSX-2031
1. Create loan product with out mentioning any thing in the "Principal Threshold (%) for Last Instalment" - by default it is getting set to zero
Instead it should get set to 50%
2, Create a client and submit new loan application wit the above mentioned loan product on 01 Jan 2015 with interest recalculation -> Approve and disburse on same date.
3. The last installment is getting collected more amount than EMI.
If the "Principal Threshold (%) for Last Instalment" is set to zero then then the last installment should never be combined with the previous installment even if the last installment amount is of a very small value.
But here it is displaying the amount>last installment amount