diff --git a/src/lib/layout/header.svelte b/src/lib/layout/header.svelte index 8164c665c..ba77237d0 100644 --- a/src/lib/layout/header.svelte +++ b/src/lib/layout/header.svelte @@ -115,7 +115,7 @@
@@ -94,7 +98,7 @@

- {tierPro.name} - ${tierPro.price}/month per organization member + exta + {tierPro.name} - ${proPlan.price}/month per organization member + exta usage

@@ -116,7 +120,7 @@ class="u-flex u-flex-vertical u-gap-4 u-width-full-line" class:u-opacity-50={disabled}>

- {tierScale.name} - ${tierScale.price}/month + extra usage + {tierScale.name} - ${scalePlan.price}/month + extra usage

{tierScale.description} diff --git a/src/routes/console/wizard/cloudOrganizationChangeTier/choosePlan.svelte b/src/routes/console/wizard/cloudOrganizationChangeTier/choosePlan.svelte index 100615b30..464145999 100644 --- a/src/routes/console/wizard/cloudOrganizationChangeTier/choosePlan.svelte +++ b/src/routes/console/wizard/cloudOrganizationChangeTier/choosePlan.svelte @@ -86,6 +86,10 @@ $changeOrganizationTier.billingPlan = 'tier-1'; } }); + + $: freePlan = $plansInfo.plans.find((p) => p.$id === 'tier-0'); + $: proPlan = $plansInfo.plans.find((p) => p.$id === 'tier-1'); + $: scalePlan = $plansInfo.plans.find((p) => p.$id === 'tier-2'); @@ -114,7 +118,7 @@ class="u-flex u-flex-vertical u-gap-4 u-width-full-line" class:u-opacity-50={disabled}>

- {tierFree.name} - ${tierFree.price}/month + {tierFree.name} - ${freePlan.price}/month

{tierFree.description}

@@ -139,7 +143,7 @@ class="u-flex u-flex-vertical u-gap-4 u-width-full-line" class:u-opacity-50={disabled}>

- {tierPro.name} - ${tierPro.price}/month per organization member + extra + {tierPro.name} - ${proPlan.price}/month per organization member + extra usage

@@ -167,7 +171,7 @@ class="u-flex u-flex-vertical u-gap-4 u-width-full-line" class:u-opacity-50={disabled}>

- {tierScale.name} - ${tierScale.price}/month + extra usage + {tierScale.name} - ${scalePlan.price}/month + extra usage

{tierScale.description} diff --git a/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte b/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte index 3b403fc01..a6056d702 100644 --- a/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte +++ b/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte @@ -167,11 +167,21 @@

Additional members ({collaboratorsNumber})

${collaboratorPrice * collaboratorsNumber}

+ {#if showCoupon && couponData?.status !== 'error'} + +

Credits applied ({couponData.credits})

+

-${couponData.credits}

+
+ {/if} {/if}
-

Estimated total

-

${totalExpences}

+

Estimated total (in USD)

+

+ ${showCoupon && couponData?.status !== 'error' + ? totalExpences - couponData.credits || 0 + : totalExpences} +