Create new cards of receiving station for the pricing page "Тарифи"
Opened this issue · 0 comments
schIRIS commented
As a Super Admin, I want to be able to create new receiving station in "Тарифи", so receiving station could be set for each card
User Flow
Main UBS menu -> Choose "Тарифи” -> tools “Gear”-> “Додати”
Preconditions
The user should be logged in as a Super Admin
Acceptance Criteria
- When the user wants to create a new receiving station he/she should to tap on “Додати”, and then choose point “Станція приймання”.
- When the User click on “Станція приймання” will appear pop-up window named “Додати станцію приймання” with fields:
Field title | Field type | Condition | Prefilled text | Validation |
---|---|---|---|---|
“Станція приймання” | Input field | Mandatory | Placeholder “Введіть станцію приймання” | Only alphabetic characters and special characters “-” (hyphen), " " (space) and " ' " (apostrophe), numbers are allowed. From minimum 3 to maximum 40 characters are allowed.The “cross” in this field allow the User to delete all tapping text in this field |
Button “Скасувати” | Button | Mandatory | Active by default. When the User click on the button - the window “Додати станцію приймання” was closed and the user sees the previous page "Тарифи” view | |
Button “Додати” | Button | Mandatory | Inactive by default. When the user added a new receiving station - the button is active (excluding errors, see below).When the User click on the button - card should be saved and the window “Додати станцію приймання” was closed and the user sees the previous page "Тарифи” view” | |
“Дата” | Text | Mandatory | Current data in the format mmm_dd,yyy | |
“Додано:” | Text | Mandatory | Name of logged Super Admin |
Link of the mockup in Figma
https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=20069%3A61314
- When the User try to input existing receiving station, the validation message appears: “Станція приймання вже існує в системі” https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=20020%3A60380
- When the User click on the button “Додати” without filling the field “Станція приймання”, the validation message “Введіть станцію приймання” appears.
Epic #2195