Skip to content

fix auto calculation of days worked #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 23, 2021
Merged

fix auto calculation of days worked #220

merged 2 commits into from
Apr 23, 2021

Conversation

eisbilir
Copy link
Member

@eisbilir eisbilir commented Apr 22, 2021

Automatic created WP's will have daysWorked as null.
During update RB process, daysWorked will only be updated if it's value has already ben set (not null) and exceeds the maximum possible value based on the startDate / endDate of the RB, otherwise it'll be left as it is.
I recreated the unit tests and reorganised the test data.

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

Thank you @eisbilir. All works good as per local testing.

@maxceem maxceem merged commit a377dab into topcoder-platform:dev Apr 23, 2021
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