Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Mateusz Kwiatkowski
Mateusz KwiatkowskiReporter
Nikodem Graczewski
Nikodem GraczewskiLabels
Story Points
3
Original estimate
3d
Time tracking
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Created July 21, 2017 at 2:23 PM
Updated November 20, 2020 at 8:23 PM
Resolved August 22, 2017 at 3:53 PM
Acceptance Criteria:
UI for Functionality Status modal follows attached mockup
Each line contains a button for "Update status"
next to the displayed Functionality status value should be an Edit icon button
the button should only be visible if user has right yo edit
Clicking the Edit icon button brings up a modal for Update Functionality Status.
For the Update Functionality Status modal, the following should be true:
The title of the modal should be "Equipment Functional Status"
The text above the Update Status section should have the equipment's <Reference name> as the header (this is a new field that we are adding in https://openlmis.atlassian.net/browse/OLMIS-2619#icft=OLMIS-2619
The <facility name> should appear under a "Facility" subheading beneath the <Reference name> header (the same way you have <equipment type> appearing)
Make/model and serial number do not need to appear in this modal
Select options for Functionality Status are: Functioning, Nonfunctioning, Obsolete
Select options for Reasons for Not Working are: Awaiting repair, Needs spare parts, Unservicable, 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
If Functionality Status is "Obsolete," the field Year of decommission is also required
Year of decommission should be a 4-digit numeral calendar selection
For all functionality statuses EXCEPT "Obsolete," Date of decommission should be hidden
Test case is created in Zephyr for this scenario, and test case is linked to this ticket