fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject incubator-fineract git commit: [FINERACT-160] - Not able to add any charges after the savings application is submitted
Date Tue, 24 May 2016 11:04:00 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop 7ae9b67d9 -> 66eb337e3


[FINERACT-160] - Not able to add any charges after the savings application is submitted


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/66eb337e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/66eb337e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/66eb337e

Branch: refs/heads/develop
Commit: 66eb337e33da9a5ccac98005f64fd09c5cbbc1e4
Parents: 7ae9b67
Author: Adi Narayana Raju <adi.raju@confluxtechnologies.com>
Authored: Mon May 23 11:54:45 2016 +0530
Committer: Adi Narayana Raju <adi.raju@confluxtechnologies.com>
Committed: Mon May 23 11:54:45 2016 +0530

----------------------------------------------------------------------
 .../portfolio/charge/service/ChargeReadPlatformServiceImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/66eb337e/fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeReadPlatformServiceImpl.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeReadPlatformServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeReadPlatformServiceImpl.java
index dcc4105..3366a24 100755
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeReadPlatformServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeReadPlatformServiceImpl.java
@@ -420,7 +420,7 @@ public class ChargeReadPlatformServiceImpl implements ChargeReadPlatformService
         final ChargeMapper rm = new ChargeMapper();
 
         String sql = "select " + rm.chargeSchema() + " join m_savings_account sa on sa.currency_code
= c.currency_code"
-                + " where c.is_deleted=0 and c.is_active=1 and c.charge_applies_to_enum=?
" + " and sa.account_no = ?";
+                + " where c.is_deleted=0 and c.is_active=1 and c.charge_applies_to_enum=?
" + " and sa.id = ?";
         sql += addInClauseToSQL_toLimitChargesMappedToOffice_ifOfficeSpecificProductsEnabled();
 
         return this.jdbcTemplate.query(sql, rm, new Object[] { ChargeAppliesTo.SAVINGS.getValue(),
savingsAccountId });


Mime
View raw message