diff --git a/src/lib/components/billing/estimatedTotalBox.svelte b/src/lib/components/billing/estimatedTotalBox.svelte index 932700919..88be7db6a 100644 --- a/src/lib/components/billing/estimatedTotalBox.svelte +++ b/src/lib/components/billing/estimatedTotalBox.svelte @@ -10,6 +10,7 @@ export let collaborators: string[]; export let couponData: Partial; export let billingBudget: number; + export let fixedCoupon = false; // If true, the coupon cannot be removed const today = new Date(); const billingPayDate = new Date(today.getTime() + 30 * 24 * 60 * 60 * 1000); @@ -30,7 +31,9 @@ ); -
+

{currentPlan.name} plan

{formatCurrency(currentPlan.price)}

@@ -53,20 +56,22 @@ >Credits applied
{/if}

- + {#if !fixedCoupon} + + {/if} {#if couponData.credits > 100}

diff --git a/src/lib/layout/wizardExitModal.svelte b/src/lib/layout/wizardExitModal.svelte index b9fd150a2..3d7c2d852 100644 --- a/src/lib/layout/wizardExitModal.svelte +++ b/src/lib/layout/wizardExitModal.svelte @@ -20,9 +20,8 @@ icon="exclamation" state="warning" headerDivider={false}> -

- Are you sure you want to exit from ? All data will be deleted. This action is - irreversible. +

+

diff --git a/src/lib/layout/wizardSecondaryHeader.svelte b/src/lib/layout/wizardSecondaryHeader.svelte index 00ee7cb3b..79b94a815 100644 --- a/src/lib/layout/wizardSecondaryHeader.svelte +++ b/src/lib/layout/wizardSecondaryHeader.svelte @@ -44,6 +44,9 @@ from: 'prompt' }); }}> - this process + + Are you sure you want to exit from this process? All data will be deleted. This action + is irreversible. + {/if} diff --git a/src/routes/console/apply-credit/+page.svelte b/src/routes/console/apply-credit/+page.svelte index e065e4d09..420fd20a3 100644 --- a/src/routes/console/apply-credit/+page.svelte +++ b/src/routes/console/apply-credit/+page.svelte @@ -156,7 +156,13 @@ - Apply credits + Apply credits + + You can apply your credits to an organization at a later date. All other data entered + will be lost. Credits expire {toLocaleDate(data.couponData.expiration)}. + + {#if $organizationList?.total} @@ -208,7 +214,7 @@ {#if selectedOrg?.billingPlan === BillingPlan.PRO} -
+

Credits will automatically be applied to your next invoice on {toLocaleDate(selectedOrg.billingNextInvoiceDate)}. @@ -216,6 +222,7 @@

{:else if selectedOrgId}