Uploaded image for project: 'ui-orders'
  1. ui-orders
  2. UIOR-740

Add cancel POL action and display indication that POL is canceled.

    XMLWordPrintable

    Details

    • Template:
      Front-end User Story Template
    • Sprint:
      ACQ Sprint 138
    • Story Points:
      2
    • Development Team:
      Thunderjet
    • Release:
      Morning Glory R2 2022
    • Affected Institution:
      !!!ALL!!!, MI State University/Library of Michigan

      Description

      Purpose: ** When reviewing orders with multiple lines it is very difficult to see which lines are canceled and which are not. The ui should include some indicator in the PO view the clearly identifies each POL on the order that is canceled. 

      User story statement(s):

      As an ordering librarian
      I want to have the ability to easily mark a POL as canceled and see that is has been canceled
      so that i can easily keep track of what lines are active and what lines are not on ongoing orders

      Scenarios:

      1. Permission:
        • Given user has permission "Orders: Cancel order lines"
        • When user is viewing an order line and order status is "Open" or "Closed"
        • Then cancel action appears in actions menu
      2. Confirmation:
        • Given user is viewing order lines
        • When clicking cancel
        • Then confirmation modal is displayed
        • AND user can confirm or cancel action
      3. Update statuses:
        • Given user has clicked canceled POL
        • When confirming cancel action
        • Then the POL Payment status and Receipt status should be updated to "Canceled" with the following exceptions
          • If Payment status is set to "Payment not required" or "Fully paid" it is NOT changed to canceled
          • If Receipt status is set to "Receipt not required" or "Fully received" it is NOT changed to canceled
      4. Display icon to highlight canceled POLs:
        • Given user is viewing order
        • When ONE OF Payment status or Receipt status or BOTH = Canceled and the other is "_____ not required" or "Fully _____"
        • Then canceled icon appears at begining of that POL in the POL table
      5. Hide cancel POL action when POL is resolved:
        • Given user is viewing POL
        • When Payment and receipt status are both resolved
          • Resolved statuses are "Fully X" or "X not required" or "Canceled"
        • Then user does not have a cancel order option
      6. Allow user to manually set canceled status:
        • Given user is viewing POL on a Closed order
        • When Payment status is not canceled
        • Then us user can edit POL and change payment status to Canceled
      7. Allow user to manually set canceled status:
        • Given user is viewing POL on a Closed order
        • When Receipt status is not canceled
        • Then us user can edit POL and change Receipt status to Canceled

       

      For more detail see - https://wiki.folio.org/x/WIq8B

      Note icon example attached but need to modify to FOLIO design language

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                dennisbridges Dennis Bridges
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases