A user with authorization can update the state of a requisition that is identified by an ID number.
This ticket has multiple components:
Create a 'save' method in RequisitionController
This method is responsible for calling the API that will update the requisition object, displaying a loading icon while the HTTP call is running, and finally displaying a success or error message. Ideally the requisition controller wouldn't directly call the API — this should be done in a Factory (that directly deals with the Requisition Service's APIs), but the current implementation doesn't have this — and this ticket should focus on user-facing technology.
Add a semi-transparent toolbar with a 'save button' on it
When clicked, this button will call the RequisitionController's save method. This save button is visible on the requisition view page.
Desired save button and placement (taken from v2)
Save button always visible on requisition page
When save button pressed, a loading screen appears, and afterwards a success message is displayed
When the save button is pressed, and there is an error saving the object, an error message is shown
A simple way to create a save error would be to load the requisition page, and then turn off the Requisition Service