MIFOSX-527-Display loan collaterals options in dropdown

This commit is contained in:
mifoscontributer
2013-07-05 17:37:04 +05:30
parent 2dd0087d87
commit e32bebf7d6
@@ -188,6 +188,7 @@ public class LoansApiResource {
final String errorMsg = "Loan template type must be provided";
throw new LoanTemplateTypeRequiredException(errorMsg);
} else if (templateType.equals("collateral")) {
loanCollateralOptions = this.codeValueReadPlatformService.retrieveCodeValuesByCode("LoanCollateral");
newLoanAccount = LoanAccountData.collateralTemplate(loanCollateralOptions);
} else {
// for JLG loan both client and group details are required