FINERACT-2455: Working Capital Breach grace days#5960
Open
alberto-art3ch wants to merge 1 commit into
Open
Conversation
Contributor
|
b435391 to
04e4bd1
Compare
adamsaghy
reviewed
Jun 10, 2026
|
|
||
| private LocalDate calculateToDate(final LocalDate fromDate, final Integer frequency, | ||
| final WorkingCapitalLoanPeriodFrequencyType frequencyType) { | ||
| final WorkingCapitalLoanPeriodFrequencyType frequencyType, final Integer graceDays) { |
Contributor
There was a problem hiding this comment.
This looks incorrect. calculateToDate is used to calculate not just the 1st period, but grace days only affecting first from date, nothing further.
Contributor
Author
There was a problem hiding this comment.
Done! code updated
adamsaghy
requested changes
Jun 10, 2026
adamsaghy
left a comment
Contributor
There was a problem hiding this comment.
Please review my concerns.
adamsaghy
reviewed
Jun 10, 2026
| private WorkingCapitalLoanDelinquencyStartType delinquencyStartType; | ||
|
|
||
| @Column(name = "breach_grace_days", nullable = true) | ||
| private Integer breachGraceDays = 0; |
Contributor
There was a problem hiding this comment.
no need to set default value
adamsaghy
reviewed
Jun 10, 2026
| private WorkingCapitalLoanDelinquencyStartType delinquencyStartType; | ||
|
|
||
| @Column(name = "breach_grace_days", nullable = true) | ||
| private Integer breachGraceDays = 0; |
Contributor
There was a problem hiding this comment.
no need to set default value
6a48f54 to
a62eb66
Compare
a62eb66 to
baee87d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
We are adding the Breach Grace Days field to Working Capital Loan product and account
This will be used, If Breach is allowed, the initial start date (start date of 1st period) is shifted by the number of grace days, and If the Near Breach is allowed, similarly the initial start date is shifted (implicitly included)
FINERACT-2455
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
Your assigned reviewer(s) will follow our guidelines for code reviews.