Currently, if the last installment amount is less than 50% of the installment amount, then it gets added to the previous installment. This was done so that we can avoid having a small amount for the last installment.
I would suggest to add a global configuration (c_configuration): name: Include-last-loan-inst-in-previous-inst-threshold value: 50 enabled: 1 description: Specified in percentage. If the last installment is less than or equal to this percentage of the regular installment amount, then the last installment amount will be added to the previous installment and there will be no last installment due.
If this configuration is not enabled, then existing functionality continues. If enabled, then do the following processing: If the last installment is less than or equal to this percentage of the regular installment amount, then the last installment amount will be added to the previous installment and there will be no last installment in the repayment schedule.
|