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

Delete a service "Сервіс" to the tariffs card #4426

Open
schIRIS opened this issue Jul 10, 2022 · 0 comments
Open

Delete a service "Сервіс" to the tariffs card #4426

schIRIS opened this issue Jul 10, 2022 · 0 comments

Comments

@schIRIS
Copy link

schIRIS commented Jul 10, 2022

As a Super Admin, I want to be able to delete/deactivate the "Сервіс" service in the pricing card so this service is not used to calculate the cost of services for customers.

User Flow
Main UBS menu -> Choose "Тарифи” -> Find the pricing cards

Preconditions
The user should be logged in as a Super Admin

Acceptance Criteria

  1. When the User wants to delete “Сервіс” service in the pricing card he/she should:
  • to find the necessary pricing card on the main page “Тарифи”, click on it to see the tariffs card
  • to click to the “trash can” (or another visual element for the deleting function) in a certain line of the deleting service in “Сервіси” section
  1. The pop-up window “Деактивувати сервіс” should be opened with fields:
Field title Field type Condition Text Validation
Action description Text Mandatory Ви дійсно хочете деактивувати сервіс “Name of service”? Інформація про цей сервіс буде прихована від клієнтів.  
“Скасувати” Button     Active by default.
“Деактивувати” Button     Active by default.
“Дата” Text Mandatory   Current data in the format mmm_dd,yyy
“Додано:” Text Mandatory   Name of logged Super Admin

Mockup:
https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=19776%3A60642

  1. When the User clicks on the button “Скасувати”- the pop-up is closed and the user will see the tariffs card previous view.

  2. When the User clicks on the button “Деактивувати” - the pop-up window “Деактивувати сервіс” should closed and the user will see the tariffs card previous view.

This service should be displayed in the corresponding fields of the “Сервіси” section of the tariffs card as inactive https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=24792%3A80162

  1. The User should press the button “Зберегти зміни” on the tariff card to save the tariffs in pricing card. After that the User stays at this page (tariffs card), but the button “Зберегти зміни” will be inactive.

Epic #2195

"User story", "Pricing card", "Tariffs card"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for testing
Development

No branches or pull requests

2 participants