nwfsc-fram / boatnet

At-Sea Field Data Collection Software Components for Scientific Surveys and Observers
8 stars 5 forks source link

refactor tripsApi formatter.js setIFQTripReporting #2418

Open sethgerou-noaa opened 2 years ago

sethgerou-noaa commented 2 years ago

once logbook is graded, if the review is partial, the logbook is used to populate the IFQTripReporting section of the trip-expansions doc. The minimal-trip-expansions doc should not have IFQTripReporting section populated.

If the review is complete + trip passes, use logbook data to populate IFQTripReporting. If the review is complete + trip fails, use review data to populate IFQTripReporting.