use of org.mifos.dto.screen.ListElement in project head by mifos.
the class SavingsProductFormBeanAssembler method populateDepositTypesDropdown.
private void populateDepositTypesDropdown(SavingsProductFormDto referenceData, SavingsProductFormBean formBean) {
Map<String, String> depositTypes = new LinkedHashMap<String, String>();
for (ListElement option : referenceData.getDepositTypes()) {
depositTypes.put(option.getId().toString(), option.getName());
}
formBean.setDepositTypeOptions(depositTypes);
}
Aggregations