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 DE8BB200C49 for ; Fri, 17 Mar 2017 11:25:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DD0A9160B80; Fri, 17 Mar 2017 10:25:48 +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 337FE160B6D for ; Fri, 17 Mar 2017 11:25:48 +0100 (CET) Received: (qmail 52230 invoked by uid 500); 17 Mar 2017 10:25:47 -0000 Mailing-List: contact dev-help@fineract.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fineract.incubator.apache.org Delivered-To: mailing list dev@fineract.incubator.apache.org Received: (qmail 52219 invoked by uid 99); 17 Mar 2017 10:25:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 10:25:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DB222C1962 for ; Fri, 17 Mar 2017 10:25:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id YtHZ8RhTq-aj for ; Fri, 17 Mar 2017 10:25:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C38615FE0B for ; Fri, 17 Mar 2017 10:25:45 +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 A1B5CE0B21 for ; Fri, 17 Mar 2017 10:25:42 +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 DB2BC254C1 for ; Fri, 17 Mar 2017 10:25:41 +0000 (UTC) Date: Fri, 17 Mar 2017 10:25:41 +0000 (UTC) From: "Santosh Math (JIRA)" To: dev@fineract.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FINERACT-418) Penalties should be calculated until yesterday MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Mar 2017 10:25:49 -0000 [ https://issues.apache.org/jira/browse/FINERACT-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929709#comment-15929709 ] Santosh Math commented on FINERACT-418: --------------------------------------- [~lionel.raymundi], If previous penalties are not paid ,let's say, 01 Feb and 01 March are not paid then on 01 April, it should display summation of both charges rather than individual charges(in my opinion). > Penalties should be calculated until yesterday > ---------------------------------------------- > > Key: FINERACT-418 > URL: https://issues.apache.org/jira/browse/FINERACT-418 > Project: Apache Fineract > Issue Type: Improvement > Components: Loan > Reporter: Lionel Raymundi > Assignee: Markus Geiss > Labels: p2 > Attachments: tests_with_modified_penalties_calculation_process.odt, tests_with_monthly_penalties.ods > > > If the Apply Penalties to Overdued loans job is run on the N day, and considering that system properties Grace on Penalty posting = 0 and penalty-wait-period = 0, then charges should be generated until N-1 (the day before N). But I see only charges generated until N-2 (Two days before). > We have noticed that penalty charges are being generated one day late for some cases. For example: > .- Lets suppose the due date of an installment is on march the 5th. > .- Overdue penalty is configured as 1% of installment interest, charged daily. > .- System configuration has Grace on Penalty posting = 0 and penalty-wait-period = 0 > .- Run the Apply penalties to Overdued Loans job. > .- Today is march the 7th, so I would expect to see penalties on that installment on the repayment schedule considering the following: > a) Client didn't pay On march 5th. One penalty charge should be generated. > b) Client didn't pay On march 6th. Two penalty charges should be generated. > .- I would also expect to see the charge generated with due as of date 05 and 06 March 2017 under "Charges" tab. But I only see one penalty, as of 05. -- This message was sent by Atlassian JIRA (v6.3.15#6346)