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

User Story 3: Manage Employee's Record (Inactivation) #25

Open
Cogbonnia opened this issue Dec 3, 2024 · 0 comments
Open

User Story 3: Manage Employee's Record (Inactivation) #25

Cogbonnia opened this issue Dec 3, 2024 · 0 comments

Comments

@Cogbonnia
Copy link
Collaborator

User Story 3: Manage Employee's Record (Inactivation)

As an Administrator,
I want to manage an employee’s record when they leave the company,
so that the database remains up-to-date.

Acceptance Criteria:

  • The system should confirm the action to set an employee as inactive (soft delete).
  • An employee’s record should be marked as "inactive" by setting an "active" field to false in the database.
  • Employees marked as "inactive" should not appear in views that require only active employees.
  • The system should use start and end dates to automatically mark an employee as inactive if their end date has passed.
  • A success message should appear after the update.
  • In case of an employee returning to the company (e.g., after a layoff or internship), their status should be updated to "active" if they return within the specified period.
  • Employees may have multiple start and end dates, but they cannot overlap.
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

No branches or pull requests

1 participant