diff --git a/src/lib/components/billing/emptyCardCloud.svelte b/src/lib/components/billing/emptyCardCloud.svelte
new file mode 100644
index 000000000..ff17d1174
--- /dev/null
+++ b/src/lib/components/billing/emptyCardCloud.svelte
@@ -0,0 +1,37 @@
+
+
+
+ Upgrade to a {tierToPlan(BillingPlan.PRO).name} plan to add {service} to your organization
+ Upgrade to add {service}
+
Total results: {total}
-Total results: {total}
+
Metrics are estimates updated every 24 hours and may not accurately reflect your invoice.
diff --git a/src/routes/console/organization-[organization]/usage/[[invoice]]/+page.ts b/src/routes/console/organization-[organization]/usage/[[invoice]]/+page.ts
index b1ef9a272..cb8264f1a 100644
--- a/src/routes/console/organization-[organization]/usage/[[invoice]]/+page.ts
+++ b/src/routes/console/organization-[organization]/usage/[[invoice]]/+page.ts
@@ -36,9 +36,10 @@ export const load: PageLoad = async ({ params, parent }) => {
endDate = currentInvoice.to;
}
- const [invoices, usage] = await Promise.all([
+ const [invoices, usage, organizationMembers] = await Promise.all([
sdk.forConsole.billing.listInvoices(org.$id, [Query.orderDesc('from')]),
- sdk.forConsole.billing.listUsage(params.organization, startDate, endDate)
+ sdk.forConsole.billing.listUsage(params.organization, startDate, endDate),
+ sdk.forConsole.teams.listMemberships(params.organization)
]);
const queries: string[] = [];
@@ -58,6 +59,7 @@ export const load: PageLoad = async ({ params, parent }) => {
organizationUsage: usage,
projectNames: projectNames.projects,
invoices,
- currentInvoice
+ currentInvoice,
+ organizationMembers
};
};
diff --git a/src/routes/console/organization-[organization]/usage/[[invoice]]/totalMembers.svelte b/src/routes/console/organization-[organization]/usage/[[invoice]]/totalMembers.svelte
new file mode 100644
index 000000000..950b4c30e
--- /dev/null
+++ b/src/routes/console/organization-[organization]/usage/[[invoice]]/totalMembers.svelte
@@ -0,0 +1,87 @@
+
+
+ The number of members in your organization.
+ {total}
+ Members
+
+ Unlimited
+
+