bcgov / lcfs

An online application for fuel suppliers to manage their compliance obligations under the Low Carbon Fuels Act
Apache License 2.0
5 stars 3 forks source link

LCFS - Compliance report, internal workflow, Recommended by manager status, IDIR Director role #1005

Open airinggov opened 3 weeks ago

airinggov commented 3 weeks ago

Compliance report, internal workflow, Recommended by manager status, IDIR Director role

Description:
The report will have two buttons to Issue assessment and Return to compliance manager. IDIR users in Analyst or Compliance manager roles will not see these buttons.

Once the Director has clicked the Issue assessment button the report is put into Assessed status, this transaction is recorded in the report history section above the compliance manger recommend info as per mock-up. Note the BCeID version displays different text. IDIR version • Assessed [date time stamp] PST by [IDIR director first name, last name].

BCeID version (government staff names are not displayed on BCeID version, the Recommended history is also not displayed, see card #1006 ) • Assessed [date time stamp] PST by the director under the Low Carbon Fuels Act.

The transaction ledger should be updated to capture the change in the suppliers compliance unit balance.

If the director clicks the return button the report will be put back into Recommended by analyst status for the compliance manger to action further. This action is not recorded in the report history. When the compliance manager recommends the report for the second time the original recommended history entry will be updated. This could be a different compliance manager so the name should also be updated if required.

Wireframe:
https://preview.uxpin.com/e0e2f15fc1b52987fd0287ad8c8103452dd16d60#/pages/186169277

Purpose and benefit to user:
The purpose of this workflow is to facilitate the review process for compliance reports by adding decision-making capabilities for the IDIR Director. The Director can either assess or return reports to a compliance manager, and the history of these actions will be appropriately recorded. This improves auditability and ensures that compliance reports are handled efficiently.

Acceptance Criteria:

Development Checklist:

Notes:

airinggov commented 6 days ago

Everything works great but the Issue assessment button gives a 500 error

Image