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

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



    • Template:
      Front-end User Story Template
    • Sprint:
      ACQ Sprint 127
    • Development Team:
    • Affected Institution:
      MI State University/Library of Michigan


      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


      1. Scenario:
        • Given user has permission "Orders: Cancel order lines"
        • When user is viewing an order line
        • Then cancel action appears in actions menu
      2. Scenario:
        • Given user is viewing order lines
        • When clicking cancel
        • Then confirmation modal is displayed
        • AND user can confirm or cancel action
      3. Scenario:
        • Given user has clicked canceled POL
        • When confirming cancel action
        • Then Payment status and Receipt status are updated to "Canceled"
      4. Scenario:
        • Given user is viewing order
        • When order line with Payment status and Receipt status = Canceled
        • Then canceled icon appears at begining of that POL in the POL table

      BE needed -
      When Payment status and Receipt status transition to Canceled for all POLs on a single PO.
      Then Order is Closed and reason for closure is "Canceled"
      When POL payment status is set to canceled all POL encumbrances should be released

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

        TestRail: Results


          1. Icon example.png
            Icon example.png
            6 kB
          2. POL Cancel action.png
            POL Cancel action.png
            227 kB
          3. POL canceled.png
            POL canceled.png
            182 kB

            Issue Links



                Unassigned Unassigned
                dennisbridges Dennis Bridges
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                0 Vote for this issue
                1 Start watching this issue



                    TestRail: Runs

                      TestRail: Cases