Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8FC8E200CB1 for ; Sat, 10 Jun 2017 07:24:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8E684160BD4; Sat, 10 Jun 2017 05:24:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D17E1160BCA for ; Sat, 10 Jun 2017 07:24:26 +0200 (CEST) Received: (qmail 3713 invoked by uid 500); 10 Jun 2017 05:24:25 -0000 Mailing-List: contact dev-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fineract.apache.org Delivered-To: mailing list dev@fineract.apache.org Received: (qmail 3702 invoked by uid 99); 10 Jun 2017 05:24:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jun 2017 05:24:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4B5D11813D5 for ; Sat, 10 Jun 2017 05:24:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id W3UPQFFUNMYN for ; Sat, 10 Jun 2017 05:24:24 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id ADD1D5FBA7 for ; Sat, 10 Jun 2017 05:24:23 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 173D0E0C0D for ; Sat, 10 Jun 2017 05:24:22 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9A82321E0D for ; Sat, 10 Jun 2017 05:24:19 +0000 (UTC) Date: Sat, 10 Jun 2017 05:24:19 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@fineract.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FINERACT-241) Include "Add Note" to Deposit and Withdrawal screen in savings account MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 10 Jun 2017 05:24:27 -0000 [ https://issues.apache.org/jira/browse/FINERACT-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045398#comment-16045398 ] ASF GitHub Bot commented on FINERACT-241: ----------------------------------------- Github user Ippezrobert commented on a diff in the pull request: https://github.com/apache/fineract/pull/359#discussion_r121250008 --- Diff: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/DepositAccountReadPlatformServiceImpl.java --- @@ -981,6 +983,12 @@ public SavingsAccountTransactionsMapper() { sqlBuilder.append("left join m_account_transfer_transaction totran on totran.to_savings_transaction_id = tr.id "); sqlBuilder.append("left join m_payment_detail pd on tr.payment_detail_id = pd.id "); sqlBuilder.append("left join m_payment_type pt on pd.payment_type_id = pt.id "); + sqlBuilder.append("left join m_appuser au on au.id=tr.appuser_id "); + sqlBuilder.append("left join m_note mn on mn.savings_account_id=sa.id "); + 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 comments.id=tr.savings_account_id "); --- 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 > Include "Add Note" to Deposit and Withdrawal screen in savings account > ---------------------------------------------------------------------- > > Key: FINERACT-241 > URL: https://issues.apache.org/jira/browse/FINERACT-241 > Project: Apache Fineract > Issue Type: Improvement > Reporter: Dayna Harp > Assignee: Markus Geiss > Labels: beginner, p3 > > https://mifosforge.jira.com/browse/MIFOSX-2620 > Refer to MIFOSX for images > Include "Add Note" to Deposit and Withdrawal screen in savings account so that narration can be added especially name of the person who has deposited which may not be necessarily the account holder. Its good for controls and follow ups. -- This message was sent by Atlassian JIRA (v6.3.15#6346)