bcgov / bcgov/lcfs

LCFS - BUG - Transaction Effective date

Open
#624 0 comments 0 reactions 0 assignees View on GitHub
bug Medium
Dominant language
Python
Stars
6
Forks
6
Avg merge
2d 7h
Merged PRs (30d)
87

Description

**Describe the Bug**
The Effective date on the new Transaction page should default to null, yyyy-mm-dd, and allow a transaction to be saved with a null value.

Presently it defaults to todays date and cannot be saved with a null value.

**Implications**
The majority of transactions will not have an effective date, having to clear this fields makes for very probable errors in this date.

**Steps To Reproduce**
Steps to reproduce the behaviour:
User/Role: idir\analyst
1. Go to Transactions / New transaction

![Image](https://github.com/bcgov/lcfs/assets/20462387/a691f4ca-6230-4202-b37d-63ef505e5ea9)

Contributor guide

Open the contributing guide

Research direction

Start at Transactions / New transaction and reproduce the issue as an idir\analyst: check the default Effective date and whether the form can be saved after it is cleared. Done means the field defaults to null in yyyy-mm-dd form and a transaction saves successfully without an effective date.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.