fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [fineract] rrpawar96 commented on a change in pull request #738: GSIM and GLIM with test cases (FINERACT-603)
Date Mon, 04 May 2020 12:51:35 GMT

rrpawar96 commented on a change in pull request #738:
URL: https://github.com/apache/fineract/pull/738#discussion_r419411640



##########
File path: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccountAssembler.java
##########
@@ -147,6 +152,20 @@ public SavingsAccount assembleFrom(final JsonCommand command, final AppUser
subm
             accountType = AccountType.JLG;
         }
 
+        if((Boolean)command.booleanPrimitiveValueOfParameterNamed("isGSIM")!=null)
+        {
+             LOG.info("setting system to gsim");
+             if(command.booleanPrimitiveValueOfParameterNamed("isGSIM"))
+             {
+                  accountType = AccountType.GSIM;
+             }
+        }
+
+       /* if(((Boolean)command.booleanPrimitiveValueOfParameterNamed("isGSIM"))!=null)
+        {
+             accountType = AccountType.GSIM;
+        }*/

Review comment:
       These comment lines has been removed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message