Supplying facility is automatically selected on the Manage PoD screen

Description

When a user has only one supplying facility assigned, then after clicking Search the "Supplying facility" field is automatically filled on the Manage Proof of Delivery screen.

Reproduction steps:

  1. Log in as divo1 and go to Orders > Manage Proof of Delivery.

  2. Select Requesting Facility (e.g. Depósito Distrital Cuamba) and Program.

  3. Click the Search button.

  4. The Supplying facility field is automatically selected.

Expected results:

  • The field shouldn't be populated automatically.

Note: This does not happen when there are at least two supplying facilities to choose from.

Environment

None

Activity

Show:
Joanna Szymańska
October 30, 2020, 12:49 PM

If user chooses "Requesting Facility" then "Supplying Facility" is no longer required and should be left blank, as in the example below:

Paulina Buzderewicz
October 30, 2020, 10:48 AM

I remember that it was reported by Siglus team. It is an issue, because after clicking on the “Search” button, Supplying facility should not be selected automatically. It results with wrong search result.

Klaudia Pałkowska
October 30, 2020, 10:37 AM

Actually, I’m not sure if it’s a bug if we have only one supplying facility available. Moreover, it’s selected by default when you access the page. What do you think ?

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Joanna Szymańska