Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

21650 Fixed invalid date for AGM year #662

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

severinbeauvais
Copy link
Collaborator

Issue #: bcgov/entity#21650

Description of changes:

  • app version = 7.2.11
  • fixed invalid date for AGM year

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).

- fixed invalid date for AGM year
Copy link

sonarcloud bot commented Jun 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

const date: string = this.origFiling.annualReport.annualReportDate
return date.slice(0, 4)
if (this.origFiling?.annualReport) {
return this.origFiling.header.ARFilingYear.toString()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

annualReportDate is the date the original filing was filed.

What we want is ARFilingYear.

image

@severinbeauvais
Copy link
Collaborator Author

/gcbrun

@bcregistry-sre
Copy link
Collaborator

bcregistry-sre commented Jun 6, 2024

Temporary Url for review: https://business-filings-dev--pr-662-d2yfg0pp.web.app

SB says, try this:

@severinbeauvais severinbeauvais merged commit 255b1d3 into bcgov:main Jun 6, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants