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:
a7med3del1973
2025-06-24 15:20:08 +02:00
committed by Adam Saghy
parent 28fbaa920d
commit d5958f36c7
2 changed files with 148 additions and 1 deletions
@@ -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);
}
}