Skip to content

Show project and billing history in Sales opportunity modal -> dev - #2437

Merged
jmgasper merged 1 commit into
devfrom
feat/sales-opportunity-billing-history
Oct 6, 2026
Merged

jmgasper merged 1 commit into
devfrom
feat/sales-opportunity-billing-history

Conversation

@jmgasper

@jmgasper jmgasper commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Related JIRA Ticket

Not provided.

What's in this PR?

The Sales opportunity modal now shows the current billing account ID/name, an environment-specific Work link to /projects/{projectId}/challenges, and a list of past billing account IDs/names supplied by the Projects API.

All new fields are hidden when the opportunity has no billing account. The current account is omitted from the past-account list, an empty history has an explicit empty state, and unresolved names retain their IDs. A missing project does not produce a Work link. Includes URL validation, modal regression tests, and documentation.

Validation

  • yarn lint passed.
  • NODE_OPTIONS=--max-old-space-size=8192 yarn run build passed with existing warnings. The clean build exceeded Node's default 4 GB heap limit, so validation used an 8 GB limit.
  • Sales tests: 35 passed across four suites.

Dependencies and deployment

Deploy in this order:

  1. Add Salesforce opportunity filter for billing accounts billing-accounts-api-v6#29
  2. Add project billing history to Salesforce opportunity details projects-api-v6#52
  3. This PR.

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.

1 participant