Merge pull request #433 from mifoscontributer/MIFOSX-527

MIFOSX-527-Display loan collaterals options in dropdown
This commit is contained in:
Keith Woodlock
2013-07-05 13:24:19 -07:00
@@ -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