Uploaded image for project: 'OpenLMIS General'
  1. OLMIS-5226

Sort component on the Approve screen in Requisitions

    Details

    • Sprint:
      Mind the Gap Sprint 108
    • Story Points:
      8

      Description

      As Apu the approver, I would like see my emergency requisitions on top so that I can quickly approve.
      AND
      As Apu the approver, I would like to quickly change the sort from the oldest to the most recently authorized requisitions so that I can decide which requisitions I would like to approve first.

      Acceptance Criteria

      • implement a sort component (user can select oldest or newest authorized requisitions to show up on the top)
      • Emergency requisitions should always appear on the top of the list, and default sorted by Newest Authorized first. Since they will always appear at the top of the list, there is no longer a need to filter by emergency or regular requisitions.
      • Regular requisitions will have a default sort by Newest Authorized first. (A regular requisition will always be below any emergency requisitions, even if the emergency requisition is not the newest authorized.)
      • When user selects sort by Newest Authorized or Oldest Authorized, the sort applies to both emergency and regular requisitions. The emergency requisitions must always appear on the top of the list.
      • The requisitions with several authorized status changes should be handled properly.
        • it should be shown as a single entry in the table on UI
        • the authorized column should show the latest authorized date

      Assumptions:

      • We will need to add sort component and options for Newest Authorized and Oldest Authorized to the Approve Requisitions page
      • We should add column for Authorized Date
      • We need to figure out how to find the authorized date without decreasing performance

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                llewczynski Łukasz Lewczyński
                Reporter:
                nidris Nuran Idris
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 2 days, 4 hours
                  1w 2d 4h
                  Remaining:
                  Time Spent - 4 days Remaining Estimate - 3 days, 4 hours
                  3d 4h
                  Logged:
                  Time Spent - 4 days Remaining Estimate - 3 days, 4 hours
                  4d