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 3124E20049D for ; Wed, 9 Aug 2017 15:35:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CA15F16924C; Wed, 9 Aug 2017 13:35:07 +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 1B857169249 for ; Wed, 9 Aug 2017 15:35:06 +0200 (CEST) Received: (qmail 47316 invoked by uid 500); 9 Aug 2017 13:35:06 -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 47305 invoked by uid 99); 9 Aug 2017 13:35:06 -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; Wed, 09 Aug 2017 13:35:06 +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 B4D1F1A0BE6 for ; Wed, 9 Aug 2017 13:35:05 +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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WeH88-hSp5ie for ; Wed, 9 Aug 2017 13:35:04 +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 D01D45F2EC for ; Wed, 9 Aug 2017 13:35:02 +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 27778E0E26 for ; Wed, 9 Aug 2017 13:35:02 +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 3520623E7B for ; Wed, 9 Aug 2017 13:35:01 +0000 (UTC) Date: Wed, 9 Aug 2017 13:35:01 +0000 (UTC) From: "Lionel Raymundi (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: Wed, 09 Aug 2017 13:35:08 -0000 [ https://issues.apache.org/jira/browse/FINERACT-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119907#comment-16119907 ] Lionel Raymundi commented on FINERACT-418: ------------------------------------------ Hi! I've tested it on my environment and it is working as expected, so I will close the issue. Nevertheless, I was not able to test it on staging. I couldnt configure a new Loan as the charges and overdue charges combos were empty. Maybe it's a bug after the reskin? I can see the options in the rest service reponse, but it is not being shown in mifos. Anyway, that is another issue. I will close this one. > 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.4.14#64029)