Task #16757
openTask #16343: Sprint Planning for 03/02/2025 - 17/02/2025
Maintenance: Add a submodule Department
37%
Description
Description
As a user I want to access a dedicated department page after clicking on the "Department" option in the Maintenance module.
So that I can¶
View, add, update, delete and disactivate department information efficiently.
Acceptance Criteria
-
Navigation to Department Page:
- When the user clicks on the "Department" option within the Maintenance module, they should be directed to the Department page.
-
Department Page Layout:
- The Department page should display a header 'Department' on the left side of the screen. The table should have the following columns:
- Department Code
- Department Name
- Enabled (indicating if the user is active or inactive)
- The Department page should display a header 'Department' on the left side of the screen. The table should have the following columns:
-
Add Functionality:
- The user should see an "Add" button on the Department page on the Top right corner.
- Clicking this button should open a Pop-up form with header 'Add Department' where the user can input:
- Department code
- Department Name
- Enabled (checkbox)
-
Update Functionality:
- Each row in the table should have an "Edit" button.
- Clicking "Edit" should allow users to modify the details of that specific department in a similar form as the Add functionality.
- Changes should be saved and reflected in the table upon submission.
-
Delete Functionality:
- Each row in the table should have a "delete" button.
- Clicking "Delete" should prompt a confirmation dialog (e.g., "Are you sure you want to delete this department?").
- If confirmed, the department's information should be removed from the table.
-
Error Handling:
- If any required fields are left blank during Add or Update, display an error message indicating which fields need attention.
GitLab Sync Log
[{"id": "15072", "author": "Cedric Roussel", "hours": 2.0, "created": "2025-02-06T06:26:24.279Z", "log_date": "2025-02-05", "comment": "Imported from GitLab by @Cedric Roussel on 2025-02-06T06:26:24.279Z: 2h-(2.0)h spend at: 2025-02-05", "status": "active", "deleted_by": "", "redmine_entry_id": 8204}, {"id": "15033", "author": "Cedric Roussel", "hours": 3.0, "created": "2025-02-05T11:40:10.726Z", "log_date": "2025-02-04", "comment": "Imported from GitLab by @Cedric Roussel on 2025-02-05T11:40:10.726Z: 3h-(3.0)h spend at: 2025-02-04", "status": "active", "deleted_by": "", "redmine_entry_id": 8205}, {"id": "14971", "author": "Cedric Roussel", "hours": 7.0, "created": "2025-02-05T08:13:28.133Z", "log_date": "2025-02-04", "comment": "Imported from GitLab by @Cedric Roussel on 2025-02-05T08:13:28.133Z: 7h-(7.0)h spend at: 2025-02-04", "status": "active", "deleted_by": "", "redmine_entry_id": 8206}]