We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3eff564 + bb61115 commit 1c0af8dCopy full SHA for 1c0af8d
src/routes/(console)/organization-[organization]/billing/planSummary.svelte
@@ -316,7 +316,7 @@
316
317
$: billingData = getBillingData(currentPlan, currentAggregation, $isSmallViewport);
318
319
- $: totalAmount = Math.max(currentPlan?.price - creditsApplied, 0);
+ $: totalAmount = Math.max(currentAggregation?.amount - creditsApplied, 0);
320
321
$: creditsApplied = Math.min(
322
currentAggregation?.amount ?? currentPlan?.price ?? 0,
0 commit comments