bcgov / bcgov/entity

UI - Unable to display legal type for business identifier starting with 'C'

Open
#24,198 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Some businesses have a business identifier (incorporation number) starting with the the letter 'C'. We did not include this situation in our i18n language file, so the legal type for this type of business cannot be displayed in the dashboard tombstone.

New Dashboard:
Screenshot 2024-11-04 at 11.16.29 AM.png

Current Dashboard:
Screenshot 2024-11-04 at 11.23.10 AM.png

Solution:
Instead of mapping a legal type code to a description, we can use the `GetCorpFullDescription` function imported from '@bcrs-shared-components/corp-type-module' to get the text to display. This is actually what the current dashboard is doing.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.