Skip to content

32870: legal-api - Use additional currency text if present#4353

Merged
loneil merged 1 commit intobcgov:mainfrom
loneil:3287outputCurrency
May 4, 2026
Merged

32870: legal-api - Use additional currency text if present#4353
loneil merged 1 commit intobcgov:mainfrom
loneil:3287outputCurrency

Conversation

@loneil
Copy link
Copy Markdown
Collaborator

@loneil loneil commented May 1, 2026

Issue #: /bcgov/entity#32870

Description of changes:
Just a small tweak to display other currency text if present.

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

Signed-off-by: Lucas <lucasoneil@gmail.com>
Copilot AI review requested due to automatic review settings May 1, 2026 23:12
@loneil loneil changed the title Use other currency 32870: legal-api - Use additional currency text if present May 1, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

@loneil loneil requested a review from ikrb01 May 1, 2026 23:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the share structure report template to display the “other currency” free-text value (when provided) instead of the literal currency code, improving readability for legacy/grandfathered share classes that use currency='OTHER'.

Changes:

  • In the share class row, show currencyAdditional when currency is OTHER (fallback to “Other”).
  • In the share series row (which uses share class par value/currency), apply the same display behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@loneil loneil merged commit ee37c46 into bcgov:main May 4, 2026
12 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