Skip to content

fix(billing): unify credits definition and add tooltips - #425

Open
karpikpl wants to merge 1 commit into
mainfrom
copilot/fix-issue-421
Open

fix(billing): unify credits definition and add tooltips#425
karpikpl wants to merge 1 commit into
mainfrom
copilot/fix-issue-421

Conversation

@karpikpl

Copy link
Copy Markdown
Collaborator

Fixes #421

Summary

  • Adds Vuetify info tooltips to the Billing aggregate tiles with source, time-window, and gross/net explanations.
  • Uses the per-user credits definition (netQuantity + discountQuantity) for the Total credits tile.
  • Adds a regression test proving aggregate tile credits and per-user credits use the same shared calculation.

Validation

  • npm test
  • npm run build

Note: I chose the per-user definition as the canonical credits calculation because it is the finer-grained attribution path called out in the issue.

…tiles (#421)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: bbf27d66-9aca-451b-85ee-3a32e0775d52
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.

Billing aggregate tiles lack tooltips and use an inconsistent "credits" definition vs. the per-user column

1 participant