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 A7DE1200CCF for ; Mon, 24 Jul 2017 14:26:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A49AD1650C9; Mon, 24 Jul 2017 12:26:05 +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 EBF901650C6 for ; Mon, 24 Jul 2017 14:26:04 +0200 (CEST) Received: (qmail 7372 invoked by uid 500); 24 Jul 2017 12:26:04 -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 7359 invoked by uid 99); 24 Jul 2017 12:26:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2017 12:26:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 414F61A07E9 for ; Mon, 24 Jul 2017 12:26:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id enfZLQZ7n7hB for ; Mon, 24 Jul 2017 12:26:02 +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 B7BBB60DB7 for ; Mon, 24 Jul 2017 12:26:01 +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 0AC8EE0E08 for ; Mon, 24 Jul 2017 12:26:01 +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 651A221EEB for ; Mon, 24 Jul 2017 12:26:00 +0000 (UTC) Date: Mon, 24 Jul 2017 12:26:00 +0000 (UTC) From: "Mexina Daniel (JIRA)" To: dev@fineract.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FINERACT-417) The interest distributed is not correct when "interest free period" has a value and interest method is flat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Jul 2017 12:26:05 -0000 [ https://issues.apache.org/jira/browse/FINERACT-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16098287#comment-16098287 ] Mexina Daniel commented on FINERACT-417: ---------------------------------------- [~santoshmath], the interest now are distributed equally but there is still something long with the logic used during implementation When you put '2' as a value in interest free period, i believe the first two repayments should be interest free and the rest repayment the system to calculate the normal interest expected. See the example https://staging.openmf.org/#/viewloanaccount/53 The 1% of the principal which is monthly interest is 100, this was the expected interest from the third repayment to the last repayment but the system took the total interest of 12 months and distributed them to the rest repayments(10 months) instead of considering the interest of only ten remained months > The interest distributed is not correct when "interest free period" has a value and interest method is flat > ----------------------------------------------------------------------------------------------------------- > > Key: FINERACT-417 > URL: https://issues.apache.org/jira/browse/FINERACT-417 > Project: Apache Fineract > Issue Type: Bug > Components: Loan > Reporter: Mexina Daniel > Assignee: Santosh Math > Labels: p1 > Fix For: 1.0.0 > > > When in loan product the "interest free period" has a value, In the Repayment Schedule, the total interest required is correct but the distribution of the interest is not. > Reproduce by: > 1 Create loan product: Admin->Products->Loan Product->Create > 2. Default amount 40,000, re-payed every 1 month, number of repayments 4., nominal interest rate 10, interest free period put 1, interest method : flat > 3.Submit > 4. Apply a loan to an active client and submit > When you view a repayment schedule, the interest in first installment is 0, the interest in rest of installment are not equal even though it gives the correct total interest. -- This message was sent by Atlassian JIRA (v6.4.14#64029)