Comments from Nazeer Hussain Shaik :
While creating/updating a charge definition in Mifos x system, If the charge time type is TRANCHE_DISBURSEMENT, then allowed charge calculation type is only FLAT or PERCENT_OF_DISBURSEMENT_AMOUNT for rest of the charge calculation types it should throw appropriate error message.
You can find the methods in the ChargeWritePlatformServiceJpaRepositoryImpl.java 1) createCharge(final JsonCommand command) 2) updateCharge(final Long chargeId, final JsonCommand command)
|