Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Mateusz KwiatkowskiMateusz KwiatkowskiReporter
Łukasz LewczyńskiŁukasz Lewczyński(Deactivated)Labels
Story Points
5Original estimate
Time tracking
1w 2h 30m logged3d 1h 30m remainingComponents
Sprint
NoneFix versions
Priority
Critical
Details
Details
Assignee
Mateusz Kwiatkowski
Mateusz KwiatkowskiReporter
Łukasz Lewczyński
Łukasz Lewczyński(Deactivated)Labels
Story Points
5
Original estimate
Time tracking
1w 2h 30m logged3d 1h 30m remaining
Components
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Time Assistant
Created February 14, 2018 at 1:51 PM
Updated November 29, 2020 at 10:57 AM
Resolved March 16, 2018 at 2:05 PM
As a Spock or Phil I should be able to search for PoD. The PoDs that I have access to should include the ones that I have PoD supervision rights for (view & edit) and the PoDs for facilities that my facility ships to (view only).
There should be two facility dropdowns (requesting and supplying) and a program dropdown on the search screen. They should only display relevant information - the facilities and programs that I have rights for. Only one of the requesting/supplying facilities dropdown is required (any of those two) Use the:
/users/{userId}/fulfillmentFacilities /users/{userId}/facilities /users/{userId}/supportedPrograms
or permission strings endpoints as necessary to obtain those.
All users that can see the PoDs on the search PoD screen can also access it to see more details. If I only have POD_VIEW right or shipment rights, the details screen is not editable. The details screen is editable only if both:
a) I have POD_MANAGE right for the requesting facility PoD belongs to
b) The PoD is not confirmed yet.
Acceptance criteria
On the Manage Proofs of Delivery screen there's a dropdown to select requesting facility, supplying facility and a program
those filter option should be visible in the result table as columns
Users can navigate to the details view for any PoD
Details view is not editable if the PoD is confirmed
Details view is not editable if user does not have POD_MANAGE supervision right
/orders endpoint is updated - details in https://openlmis.atlassian.net/browse/OLMIS-4240#icft=OLMIS-4240