fineract-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ippezrobert <>
Subject [GitHub] fineract pull request #359: (FINERACT-241) Include "Add Note" to Deposit and...
Date Sat, 10 Jun 2017 05:24:17 GMT
Github user Ippezrobert commented on a diff in the pull request:
    --- Diff: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/
    @@ -981,6 +983,12 @@ public SavingsAccountTransactionsMapper() {
                 sqlBuilder.append("left join m_account_transfer_transaction totran on totran.to_savings_transaction_id
= ");
                 sqlBuilder.append("left join m_payment_detail pd on tr.payment_detail_id
= ");
                 sqlBuilder.append("left join m_payment_type pt on pd.payment_type_id =
    +			sqlBuilder.append("left join m_appuser au on ");
    +			sqlBuilder.append("left join m_note mn on ");
    +			sqlBuilder.append("left join (");
    +            sqlBuilder.append("select mn.savings_account_id id, mn.note Note");
    +            sqlBuilder.append(" from m_note mn ");
    +            sqlBuilder.append(") comments ON  ");
    --- End diff --
    @nazeer1100126 , we didn't have the skype call but however i tried to work things out.
Then challenge i got is that the query is not joining the note with the transaction id correctly.
Please have a look at it here before i make changes to send final PR. Thanks
    What happens is that it repeats one note for all transactions not particular to a transaction

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message