As a user I want my penalties only to apply to new loans that go overdue.

Description

Currently MifosX applies a penalty that is added to a product, also to all overdue uncompleted instalments of loans. This is leading to unexpected numbers of penalties being applied, and users want to be able to only do this moving forward.

The scope of this item is to:

  • add a parameter 'backdate-penalties' to the c_configuration table that defaults to 1 (current behaviour)

  • Adjust the job so that if the parameter is set to 0 only loans with due date of today will be picked.

Will send a PR for this shortly.

Environment

None

Activity

Show:
Ed Cable
November 18, 2015, 9:31 AM

Have you followed up with Sander on the specifics of why his PR was declined?

Adi Raju
November 19, 2015, 4:46 AM

Comments are provided as part of PR... I would expect the developer to get back.

Sander van der Heyden
November 26, 2015, 3:16 PM

PR resubmitted.

SSN
December 16, 2015, 12:58 PM

By default in Admin -> System -> Configurations -> backdate-penalties-enabled is enabled. and application behaves as before.
if the backdate-penalties-enabled is disabled, then for backdated transactions after running the scheduler job "Apply penalty for overdue loans", penalty is not getting applied.

Assignee

SSN

Reporter

Sander van der Heyden

Implementation Priority

Should

URL

None

Story Points

None

Team

Partner

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Priority

Minor
Configure