From 7add27a4ea85427a853c23c40d93edb7e8751619 Mon Sep 17 00:00:00 2001 From: Muhimbura Brian Mart Date: Wed, 3 Jul 2024 17:19:48 +0300 Subject: [PATCH] Fic 689 --- .../PrequalificationChecklistWritePlatformServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/organisation/prequalification/service/PrequalificationChecklistWritePlatformServiceImpl.java b/fineract-provider/src/main/java/org/apache/fineract/organisation/prequalification/service/PrequalificationChecklistWritePlatformServiceImpl.java index a30a4d3dfd1..6b1b5cc0375 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/organisation/prequalification/service/PrequalificationChecklistWritePlatformServiceImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/organisation/prequalification/service/PrequalificationChecklistWritePlatformServiceImpl.java @@ -542,7 +542,7 @@ private CheckValidationColor runCheck6(final GroupData groupData) { reportParams.put("${loanProductId}", productId); reportParams.put("${clientCategorization}", clientCategorization); reportParams.put("${clientArea}", clientArea); - reportParams.put("${categorization}", groupData.getTopupMembers().size() > 0 ? "RECREDITO" : "NUEVO"); + reportParams.put("${categorization}", recreditPercent.compareTo(BigDecimal.valueOf(50L)) >= 0 ? "RECREDITO" : "NUEVO"); reportParams.put("${numberOfMembers}", numberOfMembers); reportParams.put("${numberOfRecurringMembers}", numberOfRecurringMembers); reportParams.put("${recreditPercent}", recreditPercent.toPlainString());