un-fao / calipseo-shiny

Calipseo is FAO web- based platform for national Fisheries Authorities to streamline management of fisheries data and the production, analysis and reporting of fishery statistics.
1 stars 0 forks source link

[CALR-47] Vessel Details module - Add warning on 'catches' and 'fishing trips' report for artisanal vessels #47

Closed eblondel closed 6 months ago

eblondel commented 6 months ago

Issue migrated from JIRA: https://sdlc.review.fao.org/jira/browse/CALR-47 Creator/Reporter: Emmanuel Blondel @eblondel Assignee: Brian Ojok @brianandy Priority: Medium Status: Done Date of creation: 2021-12-20T12:01:48.000+0000

In the case of vessels handling artisanal fisheries (cl_app_vessel_stat_type_id = 1) the 'catches' and 'fishing trips' report are not exhaustive and corresponds to the result of sample-based survey. For this we should handling a warning in the Catches vertical tab content.

The warning (in yellow - using [https://getbootstrap.com/docs/4.0/components/alerts/ )|https://getbootstrap.com/docs/4.0/components/alerts/)] should be put on top of the horizontal tabs (summary/history/breakdown by species) and says the following:

Catches reported here are the results of a sample-based survey (Artisanal Fisheries), and do not reflect the total catches of the selected vessel.

cc [~yann.laurent] in case he wants to rephrase the sentence.