bcgov / tfrs

Transportation Fuels Reporting System
Apache License 2.0
23 stars 40 forks source link

TFRS - Delete / remove icon for Schedule D fuel entry remains visible after submitting a compliance report #2339

Open justin-lepitzki opened 1 year ago

justin-lepitzki commented 1 year ago

Describe the Bug The delete/remove icon for a fuel entry in Schedule D remains visible in the UI after the compliance report has been submitted to government (i.e., when it does not have a Draft status).

Expected Behaviour The delete/remove icon is not visible after the compliance report has been submitted to government (i.e., when the status is not Draft)

Actual Behaviour The delete/remove icon is visible at all times regardless of report status

Implications Gives the user the impression that entries can still be deleted after report submission

Steps To Reproduce Steps to reproduce the behaviour: User/Role: BCeID user with the Compliance Reporting role & all IDIR users

  1. Go to a Compliance Report that has a fuel entry within Schedule D and has been submitted to government (e.g., ID # 910 in Test env)
  2. Click on the Schedule D subtab
  3. See the delete/remove icon next to the fuel entry label

Screenshots: Screenshot 2023-05-26 2.png

kcabhar commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @jig-patel @prv-proton @tim738745