fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject [1/2] incubator-fineract git commit: commit for FINERACT-57 (Set closure properties of reactivated closed client entity to null)
Date Mon, 01 Aug 2016 06:01:44 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop f6fb56b94 -> 0a390f7a0


commit for FINERACT-57 (Set closure properties of reactivated closed client entity to null)


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

Branch: refs/heads/develop
Commit: af1ef23db4fd2793eab529d1cca409a941cb399b
Parents: 5ac0da0
Author: Emmanuel Nnaa <emmanuelnnaa@musoni.eu>
Authored: Thu Jul 21 16:01:19 2016 +0200
Committer: Emmanuel Nnaa <emmanuelnnaa@musoni.eu>
Committed: Thu Jul 21 16:01:19 2016 +0200

----------------------------------------------------------------------
 .../org/apache/fineract/portfolio/client/domain/Client.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/af1ef23d/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
index 70f205a..96aafba 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
@@ -409,6 +409,11 @@ public final class Client extends AbstractPersistable<Long> {
         this.activatedBy = currentUser;
         this.officeJoiningDate = this.activationDate;
         this.status = ClientStatus.ACTIVE.getValue();
+        
+        // in case a closed client is being re open
+        this.closureDate = null;
+        this.closureReason = null;
+        this.closedBy = null;
 
         validate();
     }


Mime
View raw message