From 8e994cba4ed814d684e3871f30ccfafd6bcb7326 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 26 Jan 2025 06:21:08 +0000 Subject: [PATCH] remove old component --- .../billing/estimatedTotalBox.svelte | 132 ------------------ src/lib/components/billing/index.ts | 1 - 2 files changed, 133 deletions(-) delete mode 100644 src/lib/components/billing/estimatedTotalBox.svelte diff --git a/src/lib/components/billing/estimatedTotalBox.svelte b/src/lib/components/billing/estimatedTotalBox.svelte deleted file mode 100644 index 4d96f87c4..000000000 --- a/src/lib/components/billing/estimatedTotalBox.svelte +++ /dev/null @@ -1,132 +0,0 @@ - - -
- -
-

{selectedPlan.name} plan

-

{formatCurrency(selectedPlan.price)}

-
- -
-

Additional seats ({collaborators?.length})

-

- {formatCurrency( - isScaleDowngrade - ? (collaborators?.length ?? 0) * (selectedPlan?.addons?.seats?.price ?? 0) - : extraSeatsCost - )} -

-
- - {#if isScaleUpgrade} - {@const currentPlanName = currentOrgPlan.name} -
-
- Unused {currentPlanName} plan balance - - -
-

-{formatCurrency(unUsedBalances)}

-
- {/if} - - {#if couponData?.status === 'active'} - - {/if} -
-
-

- Upcoming charge
Due on {!selectedPlan.trialDays - ? toLocaleDate(billingPayDate.toString()) - : toLocaleDate(trialEndDate.toString())} -

-

- {formatCurrency(estimatedTotal)} -

-
- -

- You'll pay {formatCurrency(estimatedTotal)} now, with your first - billing cycle starting on - {!currentOrgPlan.trialDays - ? toLocaleDate(billingPayDate.toString()) - : toLocaleDate(trialEndDate.toString())}. Once your credits run out, you'll be charged - {formatCurrency(currentOrgPlan.price)} plus usage fees every 30 days. -

- - - - {#if budgetEnabled} -
- -
- {/if} -
-
-
diff --git a/src/lib/components/billing/index.ts b/src/lib/components/billing/index.ts index 0643e5922..f58efa250 100644 --- a/src/lib/components/billing/index.ts +++ b/src/lib/components/billing/index.ts @@ -2,7 +2,6 @@ export { default as PaymentBoxes } from './paymentBoxes.svelte'; export { default as CouponInput } from './couponInput.svelte'; export { default as SelectPaymentMethod } from './selectPaymentMethod.svelte'; export { default as UsageRates } from './usageRates.svelte'; -export { default as EstimatedTotalBox } from './estimatedTotalBox.svelte'; export { default as PlanComparisonBox } from './planComparisonBox.svelte'; export { default as EmptyCardCloud } from './emptyCardCloud.svelte'; export { default as CreditsApplied } from './creditsApplied.svelte';