Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-6435

View Draft Order - Prompt for stale orders

    Details

    • 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

      Description

      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

      1. 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
      2. 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
      3. 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
      4. 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
        • Delete prompt:
      5. 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
      6. Confirm that the message in the modal contains the value specified in the configuration
      7. Confirm that the message can be changed through localization and the config hours will be displayed
      8. Confirm that it works on an iPad

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 28h Original Estimate - 28h
                  28h
                  Remaining:
                  Time Spent - 32h 5m Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 32h 5m Remaining Estimate - 1h
                  32h 5m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.