Skip to content

FINERACT-904 : Post Interest on Account Activation Date for Fixed Dep…#3260

Closed
DheerajKumar19 wants to merge 1 commit intoapache:developfrom
DheerajKumar19:f904
Closed

FINERACT-904 : Post Interest on Account Activation Date for Fixed Dep…#3260
DheerajKumar19 wants to merge 1 commit intoapache:developfrom
DheerajKumar19:f904

Conversation

@DheerajKumar19
Copy link
Copy Markdown

This PR implements
https://issues.apache.org/jira/browse/FINERACT-904

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.

}
periodEndDate = periodEndDate.with(TemporalAdjusters.lastDayOfMonth());
break;
case ACTIVATIONDATE:
Copy link
Copy Markdown
Contributor

@adamsaghy adamsaghy Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please explain the math here?
Quote from the story:
Assuming a customer's Fixed Deposit or Recurring Deposit account is activated on Jan 20, we post interest to the customer's account on Feb 20 and on the 20th of every subsequent month until the duration of the account lapses. So for a 6 month Fixed Deposit Account interest would be posted on Feb 20, Mar 20, Apr 20, May 20, June 20 and July 20.

So this is a kind of monthly interest posting...the difference is it is using the activation day + 1 month period, right? I am wondering whether an "ACTIVATION_DATE_MONTHLY" would be better name. Thoughts?
@bharathc27 FYI

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamsaghy Yes this is going to increment based on the activation day and increments monthly wrt date. As far as naming convention, please guide me here this is my first time around here at Fineract so please feel free to let me know what other changes I need to be doing here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My major concern is the story and the implementation is not matching... Please check the dates in the story and the dates in your test cases.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DheerajKumar19 Have you had the chance to check my concern regarding the implementation and the story requirement?

@github-actions
Copy link
Copy Markdown

This pull request seems to be stale. Are you still planning to work on it? We will automatically close it in 30 days.

@github-actions github-actions Bot added the stale label Aug 24, 2023
@github-actions github-actions Bot closed this Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants