You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by na...@apache.org on 2017/05/05 10:39:11 UTC

[1/2] incubator-fineract git commit: FINERACT-249 : PortfolioProductType.SAVING and PortfolioProductType.CLIENT have the same value

Repository: incubator-fineract
Updated Branches:
  refs/heads/develop 755d4d2f9 -> 29777ddfb


FINERACT-249 : PortfolioProductType.SAVING and PortfolioProductType.CLIENT have the same value


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

Branch: refs/heads/develop
Commit: bc1d3b41f37ef6dc7c40ce26631786a0afe5bb67
Parents: f59dacb
Author: nazeer1100126 <na...@confluxtechnologies.com>
Authored: Tue Mar 28 17:49:24 2017 +0530
Committer: nazeer1100126 <na...@confluxtechnologies.com>
Committed: Fri Mar 31 15:14:28 2017 +0530

----------------------------------------------------------------------
 .../producttoaccountmapping/domain/PortfolioProductType.java       | 2 +-
 .../core_db/V326__data_migration_for_client_tr_gl_entries.sql      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/bc1d3b41/fineract-provider/src/main/java/org/apache/fineract/accounting/producttoaccountmapping/domain/PortfolioProductType.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/accounting/producttoaccountmapping/domain/PortfolioProductType.java b/fineract-provider/src/main/java/org/apache/fineract/accounting/producttoaccountmapping/domain/PortfolioProductType.java
index f43f7e1..d7817a6 100755
--- a/fineract-provider/src/main/java/org/apache/fineract/accounting/producttoaccountmapping/domain/PortfolioProductType.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/accounting/producttoaccountmapping/domain/PortfolioProductType.java
@@ -22,7 +22,7 @@ import java.util.HashMap;
 import java.util.Map;
 
 public enum PortfolioProductType {
-    LOAN(1, "productType.loan"), SAVING(2, "productType.saving"), CLIENT(2, "productType.client"), PROVISIONING(3,
+    LOAN(1, "productType.loan"), SAVING(2, "productType.saving"), CLIENT(5, "productType.client"), PROVISIONING(3,
             "productType.provisioning"), SHARES(4, "productType.shares");
 
     private final Integer value;

http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/bc1d3b41/fineract-provider/src/main/resources/sql/migrations/core_db/V326__data_migration_for_client_tr_gl_entries.sql
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/resources/sql/migrations/core_db/V326__data_migration_for_client_tr_gl_entries.sql b/fineract-provider/src/main/resources/sql/migrations/core_db/V326__data_migration_for_client_tr_gl_entries.sql
new file mode 100644
index 0000000..a665109
--- /dev/null
+++ b/fineract-provider/src/main/resources/sql/migrations/core_db/V326__data_migration_for_client_tr_gl_entries.sql
@@ -0,0 +1 @@
+UPDATE acc_gl_journal_entry g SET g.entity_type_enum = 5 WHERE g.client_transaction_id IS NOT NULL AND g.entity_type_enum = 2;
\ No newline at end of file


[2/2] incubator-fineract git commit: Merge branch 'FINERACT-249' into develop

Posted by na...@apache.org.
Merge branch 'FINERACT-249' into develop


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

Branch: refs/heads/develop
Commit: 29777ddfbdebbda98c993b2b2643903f17350518
Parents: 755d4d2 bc1d3b4
Author: Nazeer Hussain Shaik <na...@confluxtechnologies.com>
Authored: Fri May 5 16:08:08 2017 +0530
Committer: Nazeer Hussain Shaik <na...@confluxtechnologies.com>
Committed: Fri May 5 16:08:08 2017 +0530

----------------------------------------------------------------------
 .../producttoaccountmapping/domain/PortfolioProductType.java       | 2 +-
 .../core_db/V326__data_migration_for_client_tr_gl_entries.sql      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------