FINERACT-2213: Client transfer from one branch to another leaves loans attached to the client in transfer.in.progress status instead of active
This commit is contained in:
committed by
Adam Saghy
parent
28fbaa920d
commit
d5958f36c7
+3
-1
@@ -97,6 +97,7 @@ public class AccountNumberGenerator {
|
||||
Map<String, String> propertyMap = new HashMap<>();
|
||||
propertyMap.put(ID, shareaccount.getId().toString());
|
||||
propertyMap.put(SHARE_PRODUCT_SHORT_NAME, shareaccount.getShareProduct().getShortName());
|
||||
propertyMap.put(ENTITY_TYPE, "shareAccount");
|
||||
return generateAccountNumber(propertyMap, accountNumberFormat);
|
||||
}
|
||||
|
||||
@@ -240,6 +241,7 @@ public class AccountNumberGenerator {
|
||||
Map<String, String> propertyMap = new HashMap<>();
|
||||
propertyMap.put(ID, group.getId().toString());
|
||||
propertyMap.put(OFFICE_NAME, group.getOffice().getName());
|
||||
propertyMap.put(ENTITY_TYPE, "group");
|
||||
return generateAccountNumber(propertyMap, accountNumberFormat);
|
||||
}
|
||||
|
||||
@@ -247,7 +249,7 @@ public class AccountNumberGenerator {
|
||||
Map<String, String> propertyMap = new HashMap<>();
|
||||
propertyMap.put(ID, group.getId().toString());
|
||||
propertyMap.put(OFFICE_NAME, group.getOffice().getName());
|
||||
propertyMap.put(ENTITY_TYPE, "center");
|
||||
return generateAccountNumber(propertyMap, accountNumberFormat);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user