FINERACT-1183: archive FD and RD products
Description
Describe the changes made and why they were made. (Ignore if these details are present on the associated Apache Fineract JIRA ticket.)
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
- [X] Write the commit message as per our guidelines
- [X] 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.
- [X] Create/update unit or integration tests for verifying the changes made.
- [X] Follow our coding conventions.
- [X] 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
- [X] This PR must not be a "code dump". Large changes can be made in a branch, with assistance. Ask for help on the developer mailing list.
Your assigned reviewer(s) will follow our guidelines for code reviews.
@San-43 This PR has nothing to do with: https://issues.apache.org/jira/browse/FINERACT-1315
@San-43 Can you please explain this PR and update the description + use correct Fineract JIRA ticket (or create new if needed)?
@San-43 Can you please explain this PR and update the description + use correct Fineract JIRA ticket (or create new if needed)?
Srry @adamsaghy, I referenced the wrong JIRA ticket. This PR addresses FINERACT-1183.
It adds optional validity dates to Fixed Deposit and Recurring Deposit products. Archived products remain visible for administration, but cannot be used for new accounts or reinvestments. Existing accounts remain unaffected.
Fixed the failing tests and rebased onto the latest develop.
@San-43 Please rebase the PR to resolve the conflicts.
@adamsaghy done
@San-43 Please review my comments and the failing checks.
Hello @adamsaghy sorry for the delay, but I won't be able to work on this PR until this Sunday.
@San-43 No worries ;)