bcgov / nr-spar

SPAR app from FDS (Forestry Digital Services)
https://www2.gov.bc.ca/gov/content/industry/forestry/managing-our-forest-resources/tree-seed/seed-planning-use/spar
Apache License 2.0
2 stars 0 forks source link

🏆 Submit seedlot review form #1267

Closed craigyu closed 2 months ago

craigyu commented 3 months ago

Task:

On the Seedlot Review page:

when users click on the "approve" or "send back to pending" button, the form should be saved and the status updated accordingly. Need to format the issue on the front end and send to the back. Depends issue #1091

Acceptance Criteria:

craigyu commented 2 months ago

also fix issues:

image

When edit mode is enabled, the effective pop size will be displayed with extra decimals, focus then blur will trigger the invalid state.

This should be fixed on the backend where it rounds it to 1 decimal place.

Originally posted by @craigyu in https://github.com/bcgov/nr-spar/issues/1320#issuecomment-2211145547

image

Pressing the re-calc button with an invalid tree causes errors, this is likely a bug from before, I can take a look at it in my task

Originally posted by @craigyu in https://github.com/bcgov/nr-spar/issues/1320#issuecomment-2211143411