bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Add a unit field to the `RegulatedProduct` field #369

Open pbastia opened 2 weeks ago

pbastia commented 2 weeks ago

Description:

As an industrial reporter, I want to know which unit to report my production in, so that I can accurately fill out my report

We need a "unit" field on the RegulatedProduct model, and the data can be found in GGERR Schedule A.1

keywords: units product products

reference for the units is in the "Dropdown" tab of this file

Acceptance Criteria:

Given I am a developer When I read a RegulatedProduct object from the database Then I have access to a 'unit' field containing the unit in which this product is measured

Given I am an industrial reporter When I report production Then the form displays the unit for the product selected

Given I am an IRC analyst When I look at the data

Blocked by #203

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

-

pbastia commented 2 weeks ago

@patriciarussellCAS the units of production reported will be "tonnes" until this is done

rdromey commented 1 week ago

@pbastia to write AC