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

Delete order prompts displaying in wrong order for orders older than a day

    Details

      Description

      JAT
      Store 01580

      This sprint defect is for AC #4

      I created some Draft orders yesterday, 10/8, and forgot to test this functionality yesterday.
      Instead, I clicked on them today, when I did, the new modal was displayed, but the order behind it was an order that should be deleted due to it's age, with no other option.

      There are two checks:

      • Check for Stale Order (this feature)
      • Check to see if an order from yesterday has been placed

      The order in which these check should be run is:

      1. Check to see if a Draft order from yesterday has been placed, prompt the user to Delete the order
      2. Check for stale order

      However, something is amiss, when view an order from yesterday, I am seeing the Stale Order prompt , and then the screen is the other delete check

      Actually, looking at this, there is an order that was created today, and it to is showing the wrong messaging/screen

        Attachments

        1. Order Screen.png
          Order Screen.png
          57 kB
        2. WrongModal.png
          WrongModal.png
          73 kB
        3. screenshot-1.png
          screenshot-1.png
          55 kB
        4. screenshot-2.png
          screenshot-2.png
          79 kB
        5. screenshot-3.png
          screenshot-3.png
          141 kB
        6. screenshot-4.png
          screenshot-4.png
          122 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 9.25h
                  9.25h

                    PagerDuty

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