UI for viewing CCE inventory


This ticket has been split into OLMIS-2896 and OLMIS-2897.

As a DIVO, I want to interact with a CCE "view inventory" page so that I can see devices and update functionality statuses of all CCE in the facilities within my purview.

Acceptance Criteria:

  • User must have rights for CCE_INVENTORY_EDIT and CCE_INVENTORY_VIEW

  • UI for CCE Inventory list follows attached mockup

  • UI for Functionality Status modal follows attached mockup

  • Each line item is a CCE device

  • The list of CCE devices only includes devices at facilities the user supervises OR their home facility

  • List column headers are: (explanations in parentheticals)

    • District

    • Facility

    • Type

    • Make/Model

    • Serial number

    • Functionality status

    • Last updated

    • Year installed

    • Replacement year

    • View/edit details

  • Field values are pulled from the individual records of each CCE device

  • Field values in line item view are static and uneditable

  • Each line contains a button for "Update status"

  • Fields are static The editable fields are "Functionality Status" and "Remove." All other fields are static.

  • List is sortable by each column header

  • List is ordered first by Type and then by Serial number of device

  • System should track and display the name and timestamp of most recent edits to a device (including changes in functionality status) * MUST add auditing*

  • Functionality status has three options: Functioning, Nonfunctioning, Awaiting repair, Unservicable, Obsolete

  • For functionality status, the data will appear for each line item as follows:

    • large green circle/oval for status Functional

    • large red circle/oval for statuses Non functioning, Awaiting repair, and Unservicable.

    • large gray circle/oval for status Obsolete.

    • the value for Functionality status should appear as text next to the colored circle.

    • next to the displayed Functionality status value should be an Edit icon button

  • Clicking the Edit icon button brings up a modal for Update Functionality Status.

  • For the Update Functionality Status modal, the following should be true:

    • Select options for Functionality Status are: Functioning, Nonfunctioning, Awaiting repair, Unservicable, Obsolete

    • Select options for Reasons for Not Working are: Needs spare parts, No finance, No fuel, Surplus, Dead, Not applicable

    • For all functionality statuses EXCEPT "Functioning," Reason for not working is required.

    • If Functionality Status is "Functioning," options for Reasons for not working should be hidden

  • Hovering over a line item's Functionality Status will show Reason for not working.

  • As discussed in Q&A, we will have last modified date column as well

Notes/open questions:

  • “print” feature? — out of scope for now


Brandon Bowersox-Johnson
August 1, 2017, 10:34 PM

It looks like the questions about user permissions got answered in the ticket we split this into ().

Nick Reid
July 20, 2017, 9:39 PM

– did we talk about how users filter the list of results to a single facility? Was there also supposed to be a filter for individual programs?

Sam Im
July 20, 2017, 7:21 PM

, should the user only see the facilities that they are assigned to? If so that needs to be added to the AC.

Nick Reid
July 20, 2017, 3:28 PM

Please implement the last modified date without using Javers, as discussed in the QA meeting

Paweł Gesek
July 20, 2017, 2:37 PM

can you split this ticket?

Won't Fix




Rachel Powers