use of org.mifos.dto.screen.SavingsProductReferenceDto in project head by mifos.
the class CreateSavingsAccountController method loadProduct.
public void loadProduct(Integer productId, CreateSavingsAccountFormBean formBean) {
SavingsProductReferenceDto product = savingsServiceFacade.retrieveSavingsProductReferenceData(productId);
formBean.setProductId(productId);
formBean.setProduct(product);
formBean.setMandatoryDepositAmount(product.getSavingsProductDetails().getAmountForDeposit().toString());
formBean.setSavingsTypes(getSavingsTypes());
formBean.setRecurrenceTypes(getRecurrenceTypes());
formBean.setRecurrenceFrequencies(getRecurrenceFrequencies());
}
Aggregations