Skip to content
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

[Home Page] - Create getOverdueWorkPackages Util #2808

Open
1 task
caiodasilva2005 opened this issue Sep 7, 2024 · 0 comments · May be fixed by #2842
Open
1 task

[Home Page] - Create getOverdueWorkPackages Util #2808

caiodasilva2005 opened this issue Sep 7, 2024 · 0 comments · May be fixed by #2842

Comments

@caiodasilva2005
Copy link
Contributor

Description

Create a new util function in work-package.utils that takes in a list of work packages and returns only the work packages that are overdue. We define an in progress work package as a work package with an end date that is earlier than the current day and the status is anything but complete.

Acceptance Criteria

  • util in work-package.utils function that takes a list of work packages and returns a list of all the work packages that have an end date that is that is earlier than the current date and is not complete

Proposed Solution

Each work package is a wbs element that has a status field. Check if the status is not complete. You can calculate the end date of a work package with the start date and duration

Mocks

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants