From 6a2c7184090658baed509bcf020b7961e7733c8a Mon Sep 17 00:00:00 2001
From: Darshan
Date: Mon, 2 Dec 2024 17:46:58 +0530
Subject: [PATCH] updates: copy, misc.
---
src/lib/components/billing/usageRates.svelte | 2 +-
.../billing/availableCredit.svelte | 2 +-
.../billing/budgetAlert.svelte | 14 ++++++++++++--
.../billing/planSummary.svelte | 10 +++++++---
4 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/src/lib/components/billing/usageRates.svelte b/src/lib/components/billing/usageRates.svelte
index c2d5c73ae..d8f57849d 100644
--- a/src/lib/components/billing/usageRates.svelte
+++ b/src/lib/components/billing/usageRates.svelte
@@ -67,7 +67,7 @@
following rates. Next billing period: {toLocaleDate(nextDate)}.
{/if}
-
+
Resource
Limit
diff --git a/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte b/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte
index 6efbb5434..23275fe0f 100644
--- a/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte
+++ b/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte
@@ -91,7 +91,7 @@
- {$organization?.billingPlan === BillingPlan.FREE ? 'Credit' : 'Available credit'}
+ {$organization?.billingPlan === BillingPlan.FREE ? 'Credits' : 'Available credit'}
Appwrite credit will automatically be applied to your next invoice.
diff --git a/src/routes/(console)/organization-[organization]/billing/budgetAlert.svelte b/src/routes/(console)/organization-[organization]/billing/budgetAlert.svelte
index 9c391398b..116c72e47 100644
--- a/src/routes/(console)/organization-[organization]/billing/budgetAlert.svelte
+++ b/src/routes/(console)/organization-[organization]/billing/budgetAlert.svelte
@@ -82,8 +82,13 @@
Budget alerts
- Get notified by email when your organization reaches or exceeds a percent of your
- specified budget cap. You can set a maximum of 3 alerts.
+ {#if $organization?.billingPlan === BillingPlan.FREE}
+ Get notified by email when your organization meets a percentage of your budget cap. Free organizations will receive one notification at 75% resource usage.
+ {:else}
+ Get notified by email when your organization meets or exceeds a percentage of your
+ specified billing alert(s).
+ {/if}
{#if $organization?.billingPlan === BillingPlan.FREE}
@@ -101,6 +106,11 @@
{:else}
+
+
+ You can set a maximum of 4 billing alerts per organization.
+
+
Payment estimates
- A breakdown of your estimated upcoming payment for the current billing period.
+ A breakdown of your estimated upcoming payment for the current billing period. Totals
+ displayed exclude accumulated credits and applicable taxes.
@@ -196,11 +197,14 @@
{#if $organization?.billingPlan === BillingPlan.FREE}
-
-
+
+
+
View estimated usage