[MIFOSX-2731] Combined both savings charges and penalties into charges dropdown

This commit is contained in:
Vishwa
2016-09-01 11:05:40 +05:30
parent ca1adedd40
commit 95ebe210ee
2 changed files with 2 additions and 2 deletions
@@ -254,7 +254,7 @@ public class SavingsProductsApiResource {
.retrieveAccountMappingOptionsForSavingsProducts();
// charges
final boolean feeChargesOnly = true;
final boolean feeChargesOnly = false;
Collection<ChargeData> chargeOptions = this.chargeReadPlatformService.retrieveSavingsProductApplicableCharges(feeChargesOnly);
chargeOptions = CollectionUtils.isEmpty(chargeOptions) ? null : chargeOptions;
@@ -677,7 +677,7 @@ public class SavingsAccountReadPlatformServiceImpl implements SavingsAccountRead
final Collection<SavingsAccountTransactionData> transactions = null;
final Collection<SavingsAccountChargeData> charges = null;
final boolean feeChargesOnly = true;
final boolean feeChargesOnly = false;
final Collection<ChargeData> chargeOptions = this.chargeReadPlatformService
.retrieveSavingsProductApplicableCharges(feeChargesOnly);