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

Deactivate employee #4615

Open
MartaKukharchuk opened this issue Sep 20, 2022 · 0 comments
Open

Deactivate employee #4615

MartaKukharchuk opened this issue Sep 20, 2022 · 0 comments

Comments

@MartaKukharchuk
Copy link

MartaKukharchuk commented Sep 20, 2022

Precondition:
Is applicable only for an admin role.

As an admin, I want to be able to deactivate the employee, so that I could manage the employees who works in the location.

Acceptance Criteria:

  1. User should see three dots on each employee card and be able to tap on them. The following actions should be displayed:
    1.1. “Edit employee data” (Редагувати дані працівника) - out of scope.
    1.2. “Set employee permissions” (Налаштувати права працівника) - out of scope.
    1.3. “Deactivte employee” (Деактивувати працівника).
  2. To deactivate employee user should tap on button “Deactivate employee” (Деактивувати працівника).
  3. When the button “Deactivate employee” (Деактивувати працівника) is tapped, the deactivate pop-up should be displayed.
  4. The deactivate pop-up should contain the following:
    4.1. Question: “Are you sure you want to deactivate this employee from the system” (Ви впевнені, що хочете деактивувати цього працівника?).
    4.2. Two buttons: “Cancel” (Скасувати) and “Deactivate” (Деактивувати).
  5. When the button “Cancel” (Скасувати) is tapped, the employee should be not deactivated, and the admin redirected to the employee page.
  6. When the button “Deactivate” (Деактивувати) is tapped, the employee should be deactivated, and the admin redirected to the employee page.

See mockups:

Actions:
https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=25175%3A84788
Deactivate pop-up:
https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=25423%3A84006

Epic:
UBS courier #2195
9. Feature: Employee [Admin cabinet]

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

No branches or pull requests

2 participants