Skip to content

Commit

Permalink
F sf 12 15 qa (#965)
Browse files Browse the repository at this point in the history
* fix FSF-9

* fix FSF-4 (#945)

* Fix/fsf 11 (#947)

* fix FSF-4

* fix FSF-11

* Fix/fsf 11 (#950)

* fix FSF-4

* fix FSF-11

* fix FSF-11

* fix FSF-17 (#957)

* fix FSF-15

* fix FSF-12
  • Loading branch information
BrianMuhimbura authored Jul 31, 2024
1 parent 99ad4bb commit 086b396
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ private CheckValidationColor runCheck8(final GroupData groupData) {
reportParams.put("${prequalificationId}", prequalificationId);
reportParams.put("${loanProductId}", productId);
reportParams.put("${clientArea}", clientArea);
String categorization = groupData.getTopupMembers().size()>0?"RECREDITO":"NUEVO";
String categorization = groupData.getPreviousPrequalification()!=null?"RECREDITO":"NUEVO";
reportParams.put("${categorization}", categorization);
reportParams.put("${disparityRatio}", disparityRatio);
final GenericResultsetData result = this.readReportingService.retrieveGenericResultset(reportName, "report", reportParams, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,20 @@
</sql>
</changeSet>

<changeSet id="5" author="fineract">
<sql>
<![CDATA[
UPDATE stretchy_report SET report_sql = " SELECT CASE
WHEN (${loanProductId} IN (2,8)) AND ${requestedAmount} <= 6000 THEN 'GREEN'
WHEN (${loanProductId} IN (2,9,8,4,5,7)) AND (${photographs} <= 0 OR ${investmentPlan} <= 0) THEN 'RED'
ELSE 'GREEN'
END AS color"
WHERE report_name = "Mandatory to attach photographs and investment plan Policy Check";
]]>
</sql>
</changeSet>




</databaseChangeLog>

0 comments on commit 086b396

Please sign in to comment.