msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 14 forks source link

GAPS: Add an edit modal which allows entry of custom field data for names #3906

Closed mark-prins closed 5 months ago

mark-prins commented 5 months ago

Part of epic #3660

User story B.1.1
As a… National EPI manager
I want… to be able to classify facilities into different 'administrative levels' (e.g. Primary, Sub-National, Lowest Distribution, Service Point etc)
So that… I can assess the current cold storage for each administrative level

Solution B.1.1 The system will allow central users to categorize facilities into ‘n’ customisable administrative levels. Each facility will only be able to belong to one administrative level.


User story B.1.2
As a… National EPI manager
I want… to be able to classify facilities into different 'facility types' (e.g. National Vaccine Store, Regional Vaccine Store, Municipal Warehouse, Referral Hospital, Maternity Clinic etc)
So that… I can assess the current cold storage by type of facility

Solution B.1.2 The system will allow central users to categorize facilities into ‘n’ customisable facility types. Each facility will only be able to belong to one facility type.


User story B.1.3
As a… National EPI manager
I want… to be able to classify facilities into different 'ownership types' (e.g. Government, NGO, Private, Faith-based etc)
So that… I can assess the current cold storage for each ownership type

Solution B.1.3 The system will allow central users to categorize facilities into ‘n’ customisable ownership types. Each facility will only be able to belong to one ownership type.


User story B.1.5
As a… National EPI manager
I want… all facilities to provide the central EPI office with details of the type (electricity, solar, gas etc) and availability (No availability, < 8 hours, 8-16 hours, > 16 hours) of energy infrastructure they have access to
So that… I have an idea of the available energy infrastructure situation

Solution B.1.5 The system will aggregate energy infrastructure data that has been captured by facilities to the central level. If the system is not distributed then all facility energy infrastructure data will be input by the central user(s).


User story B.1.5.1
As a… Health Care Worker (HCW) or warehouse worker
I want… to be able to detail the current energy infrastructure of my facility
So that… I can respond to the request for the collection of this data

Solution B.1.5.1 The system will allow facility users to indicate their current energy infrastructure by choosing each type of energy source (electricity, solar, gas, kerosene) and the availability The options to choose from will resemble:

Acceptance criteria

Describe the solution you'd like 🎁

Create a mutation to allow updating of the custom field data Create a query to fetch an individual store, along with the custom fields available to be completed, and values of currently entered custom fields

Additional context 💌

Moneyworks Jobcode 🧰

CCEIDEV

adamdewey commented 5 months ago

Nice!

@mark-prins Quick q - will users be able to update their own custom fields once their store is migrated to a remote site?