Skip to content

Commit

Permalink
Merge pull request #748 from fiterlatam/fix/RELEASE-QA-45
Browse files Browse the repository at this point in the history
Fix/release qa 45
  • Loading branch information
BrianMuhimbura authored May 28, 2024
2 parents 6589f51 + 282883e commit 517f9d0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Binary file modified fineract-provider/pentahoReports/Pagare Libre Protesto Grupal.prpt
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ public Map<String, Object> update(JsonCommand command) {
public void updateApprovedAmount(BigDecimal newValue) {
this.approvedAmount = newValue;
}
public void updateOriginalAmount(BigDecimal newValue) {
this.originalAmount = newValue;
}

public void updatePresident(Boolean newValue) {
this.groupPresident = newValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ private PrequalificationGroupMember assembleMemberForUpdate(JsonElement memberEl
if (newValue != null) {
prequalificationGroupMember.updateAmountRequested(newValue);
prequalificationGroupMember.updateApprovedAmount(newValue);
prequalificationGroupMember.updateOriginalAmount(newValue);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public Page<LoanAccountData> retrieveAll(final SearchParameters searchParameters
final Set<Long> agencyIds = agencyOptions.stream().map(AgencyData::getId).collect(Collectors.toSet());
if (!agencyIds.isEmpty() && searchParameters.getAgencyId() == null) {
final String agencyIdParams = StringUtils.join(agencyIds, ", ");
sqlBuilder.append(" AND agency.id IN ( ").append(agencyIdParams).append(") ");
sqlBuilder.append(" AND (agency.id IN ( ").append(agencyIdParams).append(") OR agency.id is null )");
}

int arrayPos = 4;
Expand Down

0 comments on commit 517f9d0

Please sign in to comment.