Merge pull request #433 from mifoscontributer/MIFOSX-527
MIFOSX-527-Display loan collaterals options in dropdown
This commit is contained in:
+1
@@ -188,6 +188,7 @@ public class LoansApiResource {
|
|||||||
final String errorMsg = "Loan template type must be provided";
|
final String errorMsg = "Loan template type must be provided";
|
||||||
throw new LoanTemplateTypeRequiredException(errorMsg);
|
throw new LoanTemplateTypeRequiredException(errorMsg);
|
||||||
} else if (templateType.equals("collateral")) {
|
} else if (templateType.equals("collateral")) {
|
||||||
|
loanCollateralOptions = this.codeValueReadPlatformService.retrieveCodeValuesByCode("LoanCollateral");
|
||||||
newLoanAccount = LoanAccountData.collateralTemplate(loanCollateralOptions);
|
newLoanAccount = LoanAccountData.collateralTemplate(loanCollateralOptions);
|
||||||
} else {
|
} else {
|
||||||
// for JLG loan both client and group details are required
|
// for JLG loan both client and group details are required
|
||||||
|
|||||||
Reference in New Issue
Block a user