primeroIMS / primero

Primero is an application designed to help child protection workers and social workers in humanitarian and development contexts manage data on vulnerable children and survivors of violence. Please carefully read our LICENSE. If you would like access to the CPIMS+ and GBVIMS+ configurations, please contact: childprotectioninnovation@gmail.com
https://www.primero.org
Other
52 stars 59 forks source link

Enhancements in New Tracing Requests #27

Open NidhiKJha opened 4 years ago

NidhiKJha commented 4 years ago

Steps to reproduce:

  1. Click on Tracing Request and then click on New
  2. Fill the form of an Inquirer

Issues :

  1. While creating a new request the date in Calendar should start from this year. Not in the past years.
  2. Age can not be negative. There should be a minimum age value

Screenshot from 2020-03-23 23-15-24

For Nationality, Ethnicity and Religion we have dummy data in the dropdown. Is that data supposed to be replaced via fetching data from an API or can I add data?

Screenshot from 2020-03-23 23-20-04

NidhiKJha commented 4 years ago

@IanLawrence Can you please tell me how to proceed with this issue. I couldn't locate the exact react component for age here or do I need to make changes in the ruby file as I saw that the age is coming from age_range.rb

IanLawrence commented 4 years ago

The drop downs you mention are just some defaults (dropdowns are called lookups in primero terminology) and they are usually modified to suit the local context at implementation time for the specific Primero implementation (Government, Country, Refugee Camp etc) and/or the specific agencies (UNICEF, UNFPA, IRC, Save the Children etc) who are doing the roll out. This fine tuning is usually done by an admin using the admin interface. This interface allows forms, geographical locations. users and roles to be modified too (as well as the lookups I mentioned).