You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fineract-core/src/main/java/org/apache/fineract/portfolio/accountdetails/data/SavingsAccountSummaryData.java
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/accountdetails/service/AccountDetailsReadPlatformServiceJpaRepositoryImpl.java
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -311,6 +311,8 @@ private static final class SavingsAccountSummaryDataMapper implements RowMapper<
311
311
accountsSummary.append("sa.id as id, sa.account_no as accountNo, sa.external_id as externalId, sa.status_enum as statusEnum, ");
312
312
accountsSummary.append("sa.account_type_enum as accountType, ");
313
313
accountsSummary.append("sa.account_balance_derived as accountBalance, ");
314
+
accountsSummary.append("sa.on_hold_funds_derived as onHoldFunds, ");
315
+
accountsSummary.append("sa.total_savings_amount_on_hold as onHoldAmount, ");
314
316
315
317
accountsSummary.append("sa.submittedon_date as submittedOnDate,");
316
318
accountsSummary.append("sbu.username as submittedByUsername,");
@@ -377,6 +379,18 @@ public SavingsAccountSummaryData mapRow(final ResultSet rs, @SuppressWarnings("u
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/guarantor/service/GuarantorReadPlatformServiceImpl.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -130,9 +130,9 @@ private static final class GuarantorMapper implements RowMapper<GuarantorData> {
130
130
.append(" left JOIN m_code_value cv on g.client_reln_cv_id = cv.id")//
131
131
.append(" left JOIN m_guarantor_funding_details gfd on g.id = gfd.guarantor_id")//
132
132
.append(" left JOIN m_portfolio_account_associations aa on gfd.account_associations_id = aa.id and aa.is_active = true and aa.association_type_enum = ?")//
133
-
.append(" left JOIN m_savings_account sa on sa.id = aa.linked_savings_account_id ")//
134
133
.append(" left join m_guarantor_transaction gt on gt.guarantor_fund_detail_id = gfd.id") //
135
-
.append(" left join m_deposit_account_on_hold_transaction oht on oht.id = gt.deposit_on_hold_transaction_id");
134
+
.append(" left join m_deposit_account_on_hold_transaction oht on oht.id = gt.deposit_on_hold_transaction_id")//
135
+
.append(" left JOIN m_savings_account sa on sa.id = COALESCE(aa.linked_savings_account_id, oht.savings_account_id)");
0 commit comments