Skip to content

FINERACT-1982: Introduce a new type of ACTUAL during calculation of days in year#4407

Closed
somasorosdpc wants to merge 1 commit intoapache:developfrom
openMF:FINERACT-1982/Handling-of-leap-year-in-daily-charge-accrual-when-we-want-to-setup-charge-on-percentage-basis-and-with-annual-value-of-amount
Closed

FINERACT-1982: Introduce a new type of ACTUAL during calculation of days in year#4407
somasorosdpc wants to merge 1 commit intoapache:developfrom
openMF:FINERACT-1982/Handling-of-leap-year-in-daily-charge-accrual-when-we-want-to-setup-charge-on-percentage-basis-and-with-annual-value-of-amount

Conversation

@somasorosdpc
Copy link
Contributor

Description

Introduce new flag days_in_year_custom_strategy and calculations for values in case of Days In Years set to ACTUAL.

  • FULL_LEAP_YEAR: 366 days for full leap year. → This is the by default value!
  • FEB_29_PERIOD_ONLY: 366 days for period of February 29
  • Introduce new field for loan and loan product
  • Implement calculations in EMICalculator
  • With covering unittest for EMI Calculator

Check associated Apache Fineract JIRA ticket.

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests

  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

  • Create/update unit or integration tests for verifying the changes made.

  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@somasorosdpc somasorosdpc force-pushed the FINERACT-1982/Handling-of-leap-year-in-daily-charge-accrual-when-we-want-to-setup-charge-on-percentage-basis-and-with-annual-value-of-amount branch from ee8f329 to 97d0207 Compare March 3, 2025 16:30
@somasorosdpc somasorosdpc changed the title FINERACT-1982: Handling of leap year in daily charge accrual when we want to setup charge on percentage basis and with annual value of amount FINERACT-1982: Introduce a new type of ACTUAL during calculation of days in year Mar 3, 2025
@somasorosdpc somasorosdpc deleted the FINERACT-1982/Handling-of-leap-year-in-daily-charge-accrual-when-we-want-to-setup-charge-on-percentage-basis-and-with-annual-value-of-amount branch March 3, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant