Repository navigation
fix(core): report net revenue and complete dashboard counts - #148
Open
alexasomba wants to merge 1 commit into
Open
alexasomba wants to merge 1 commit into
alexasomba wants to merge 1 commit into
Conversation
Contributor
|
Thanks for this. It now conflicts with main in routes/admin-api.ts after the latest merges, could you rebase onto main? I'll merge it once CI is green. |
alexasomba
force-pushed
the
codex/dashboard-widget-totals
branch
from
December 4, 2026 05:39
9cd6500 to
b2985f3
Compare
Contributor
Author
|
Thanks for flagging the conflict. I rebased onto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Count net captured revenue after refunds and preserve each currency's own total. Use the payment date, fall back to the creation date for older orders, and follow every matching page. Count all past-due subscriptions while keeping the preview to five rows.
Validation
Core typecheck and all 366 Core tests passed. The route fixtures cover a partial refund, separate currencies, a second page, a legacy order missing its payment date, and the past-due count beyond the preview cap.