Skip to content

Allow hardware desk staff to create requests on behalf of other users #101

@evan10s

Description

@evan10s

Add a way to create requests for other users from the hardware desk screen. The rough flow is as follows:

  1. Click the Create request button
  2. Have inputs to select item(s) and a user for the new request(s). Since there might be multiple items to process at once, allow multiple items to be selected on this screen,
  • Do not enforce the "max request quantity" limit, but instead show a warning if that value is exceeded.
  • Calculate if an item is available using the qtyAvailableForApproval value, which is the number of an item that is available to be allocated to requests waiting to be approved.
  • Autocomplete would be nice on both fields (example library for a different UI library)
  • Because the user may not initially exist in Bolt's database, do not require the user to be entered prior to the item selections being made. Ideally, calls to autocomplete will hit the server so that if a user is created while the dialog is open, that user can still be selected.
  1. Click Submit. A request is created for each item indicated and automatically placed in Ready to Prepare status. Be sure any backend functions involved in this restrict this functionality to administrators. (A specialized backend method may be valuable, but watch out for unnecessary code duplication/repetition).

The motivation here is to allow hardware desk staff to quickly create requests so that a person who walks up and needs something they haven't requested doesn't have to go off and figure out how to request the item in question.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions