Change Convert to Order screen to use separate facility and program selects

Description

On the Convert to Order screen we are using single text input named "search" to filter approved requisitions by both facilities and programs. This is inconsistent with our other screens. We should have 2 separate dropdowns for facilities and programs. Also endpoint is written wrong, it accepts 2 properties: "filterBy" and "filterValue". We should change it to accept "facilityId" and "programId".

ACC:

  • Convert to Order screen uses 2 not required dropdowns: program and facility,

  • api/requisitionsForConvert endpoint accepts facilityId and programId parameters that are optional

  • remove feature flag added in and make this new functionality a default implementation (don't forget to add changelog entry)

Assignee

Mateusz Kwiatkowski

Reporter

Mateusz Kwiatkowski

Labels

Story Points

3

Time tracking

24h

Components

Sprint

None

Fix versions

Priority

Minor
Configure