Skip to content

FINERACT-2771: Tax - User should be able to set end date for a tax group - #6292

Open
rymghosn wants to merge 1 commit into
apache:developfrom
foodeveloper:port/CBS-125-tax-group-end-date-editable
Open

FINERACT-2771: Tax - User should be able to set end date for a tax group#6292
rymghosn wants to merge 1 commit into
apache:developfrom
foodeveloper:port/CBS-125-tax-group-end-date-editable

Conversation

@rymghosn

Copy link
Copy Markdown
Contributor

A tax group component's end date could only ever be set once: TaxValidator.validateTaxGroupEndDateAndTaxComponent()
rejected any attempt to change an end date to a different value if it had
already been set before, even when the new value was a perfectly valid
future date after the component's start date. This made it impossible to
correct or extend an end date once entered.

This PR removes that one-time restriction. An existing tax group
component's end date can now be updated repeatedly, with the only remaining
constraint being that each new end date must fall after the component's
start date.
PR:(https://issues.apache.org/jira/browse/FINERACT-2771)

A tax group component's end date could only ever be set once: any
attempt to change it to a different value after it had already been
set was rejected outright, even when the new date was a valid future
date. Removed that restriction so an end date can be updated
repeatedly, as long as each new value remains after the component's
start date.

@IOhacker IOhacker left a comment

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.

LGTM

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.

2 participants