-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2020R1
-
Component/s: Ordering
-
Labels:
-
Sprint:CFAMX 2020R1 Sprint 1, CFAMX 2020R1 - SA Sprint 2
-
SCRUM Team:Globogym Purple Cobras
-
Story Points:5
-
SOW (Time Tracking) Project:44918
-
Work Type Classification:Sustaining
As an operator, I want to be notified that an order has been in Draft for an extended period of time so that I can decide whether I want to regenerate the order or not
Notes
- Add configuration
- When a Draft order is viewed, check the config, and determine how long ago the order was created, if the order was created more than X hours in the past (where X comes from the config)
- Display the modal
- Mockup:
- Note: Just display the modal for this story, and continue on to the order, Delete will be a separate story
Acceptance Criteria
- Confirm that there is a new configuration:
- Mobile > Ordering > Create Order - Hours before warning for Draft Orders
- text - The hours specified in this setting are used to determine if a Draft Order is stale, and if so, prompt the user to delete the order or continue
- By default the value should be zero/Null/blank, meaning that it is not enabled
- To be enables a value greater than zero must be entered
- Confirm when the config is set to 2 (hours), and a Draft order is viewed that was created less than 2 hours ago, the modal is not shown
- Confirm when the config is set to 2 (hours), and a Draft order is viewed that was created more than 2 hours ago, the modal is shown
- Confirm when an old draft is viewed, that can no longer be submitted (I don't remember the timeline) the prompt to delete that order is shown, and not the new modal that is benign delivered as a part of this story
- Modal details:
- Header: Old Order
Body: This order was created more than X hours ago, do you want to Delete this order and start over, or Continue?- Body: This order was created more than X hours ago, and on-hand values may no longer be accurate. Would you like to Delete this order and start over, or Continue?
- Buttons:
- Delete - Does nothing with this story
- Continue - takes the user to the order
- Clicking on the X, or clicking off the modal is the same as clicking Continue
- Confirm that the message in the modal contains the value specified in the configuration
- Confirm that the message can be changed through localization and the config hours will be displayed
- Confirm that it works on an iPad
- implements
-
CFAMX-5982 SO - Stale Draft Order - Warning message when opening Draft/In Progress Order
- Closed
- is blocked by
-
CFAMX-6704 Delete order prompts displaying in wrong order for orders older than a day
- Done
- is related to
-
CFAMX-6630 Stale orders dialog has delete and continue buttons backwards
- Done
1.
|
Review Test Scripts | Done | Soma Dixon (Inactive) |
|
||||||||||
2.
|
Deploy | Done | Gareth Leibbrandt (Inactive) |
|
||||||||||
3.
|
Functional Review with QA | Done | Colin Wyatt-Goodall |
|
||||||||||
4.
|
DIT | Done | Colin Wyatt-Goodall |
|
||||||||||
5.
|
Create config setting | Done | Colin Wyatt-Goodall |
|
||||||||||
6.
|
Dev Testing | Done | Colin Wyatt-Goodall |
|
||||||||||
7.
|
Call modal | Done | Colin Wyatt-Goodall |
|
||||||||||
8.
|
Update api to do time check | Done | Colin Wyatt-Goodall |
|
||||||||||
9.
|
QA - Create Test Cases | Done | Gareth Leibbrandt (Inactive) |
|
||||||||||
10.
|
QA - Execute Test Cases | Done | Gareth Leibbrandt (Inactive) |
|