Upgrade your plan to add more {service}
- +{currentPlan.name} plan
+{formatCurrency(currentPlan.price)}
+ + +Additional seats ({collaborators?.length})
++ {formatCurrency(extraSeatsCost)} +
+ + {#if couponData?.status === 'active'} + ++ + {#if couponData.credits > 100} + {couponData.code.toUpperCase()} + {:else} + Credits applied + {/if} +
+ ++ Credits applied +
+ {:else} + -{formatCurrency(couponData.credits)} + {/if} + + {/if} + + +Estimated total
++ {formatCurrency(estimatedTotal)} +
+ + ++ Your payment method will be charged this amount plus usage fees every 30 days {!currentPlan.trialDays + ? `starting ${toLocaleDate(billingPayDate.toString())}` + : ` after your trial period ends on ${toLocaleDate(trialEndDate.toString())}`}. +
++ + No saved payment methods +
+ +Usage on the Pro plan will be charged at the end of each billing period at the following rates. Next billing period: {toLocaleDate(nextDate)}.
- {:else if tier === BillingPlan.SCALE} + {:else if org.billingPlan === BillingPlan.SCALE}
Usage on the Scale plan will be charged at the end of each billing period at the
following rates. Next billing period: {toLocaleDate(nextDate)}.
diff --git a/src/lib/components/billing/validateCreditModal.svelte b/src/lib/components/billing/validateCreditModal.svelte
new file mode 100644
index 000000000..961e04144
--- /dev/null
+++ b/src/lib/components/billing/validateCreditModal.svelte
@@ -0,0 +1,57 @@
+
+
+ Upgrade your plan to add more {service}