rssidlowski / Pollution_Source_Tracking

City of Baltimore Pollution Source Tracking
0 stars 0 forks source link

Samples: allow only one Initial and one Source for each investigation #110

Closed rssidlowski closed 9 years ago

rssidlowski commented 9 years ago

From COB personnel: Is there a fail-safe way to not allow more than one initial point and source per investigation. There is only one initial sample. Old database asked if this is your first sample once you select this all other subsequent records for this investigation were by default samples.
sampletype

gjmkelly commented 9 years ago

user trying to change a sample to a source or initial, when that location type exists for the investigation, is prevented and informed how to proceed. I did not test that this works when selecting location type for new sample (not sure of work flow) I'll look into that.

rssidlowski commented 9 years ago

Unable to add a new sample. Getting that loading after select snap.

rssidlowski commented 9 years ago

Verified in COB devhttp://dpwdev.baltimorecity.gov/water/PSTwebapi/index.aspx I get this message which looks good. samplelocationdup

rssidlowski commented 9 years ago

After save and look at the sample, didn't select a type when I go to the location type field, nothing is displayed by when I click on the dropdown I see that source is checked. Can we make this a required field? locsource

rssidlowski commented 9 years ago

Verified in COB Dev.