From a7406ab5a0c3ac6ba781899c88b457fffbbbde8d Mon Sep 17 00:00:00 2001 From: KiruthigaManivannan <162679756+KiruthigaManivannan@users.noreply.github.com> Date: Tue, 21 May 2024 03:54:52 +0530 Subject: [PATCH] PM-8045 All Subscription plans can be selected same time (#9185) --- .../organization-plans.component.html | 245 +++++++++--------- 1 file changed, 124 insertions(+), 121 deletions(-) diff --git a/apps/web/src/app/billing/organizations/organization-plans.component.html b/apps/web/src/app/billing/organizations/organization-plans.component.html index bc46c14790..1bd6b99dd1 100644 --- a/apps/web/src/app/billing/organizations/organization-plans.component.html +++ b/apps/web/src/app/billing/organizations/organization-plans.component.html @@ -51,8 +51,8 @@

{{ "chooseYourPlan" | i18n }}

-
- + +
{{ selectableProduct.nameLocalizationKey | i18n }} - + @@ -176,6 +176,7 @@ !selectableProduct.PasswordManager.basePrice && selectableProduct.PasswordManager.hasAdditionalSeatsOption " + class="tw-pl-4" > {{ "costPerUser" @@ -188,11 +189,11 @@ }} /{{ "month" | i18n }} - {{ + {{ "freeForever" | i18n }} - -
+
+
- +

{{ "summary" | i18n }}

- - {{ (selectablePlan.isAnnual ? "annually" : "monthly") | i18n }} - -

- {{ "basePrice" | i18n }}: - {{ - (selectablePlan.isAnnual - ? selectablePlan.PasswordManager.basePrice / 12 - : selectablePlan.PasswordManager.basePrice - ) | currency: "$" - }} - × 12 - {{ "monthAbbr" | i18n }} - = - - {{ - selectablePlan.PasswordManager.basePrice | currency: "$" - }} - {{ "freeWithSponsorship" | i18n }} - - - {{ selectablePlan.PasswordManager.basePrice | currency: "$" }} +

+ + {{ (selectablePlan.isAnnual ? "annually" : "monthly") | i18n }} + +

+ {{ "basePrice" | i18n }}: + {{ + (selectablePlan.isAnnual + ? selectablePlan.PasswordManager.basePrice / 12 + : selectablePlan.PasswordManager.basePrice + ) | currency: "$" + }} + × 12 + {{ "monthAbbr" | i18n }} + = + + {{ + selectablePlan.PasswordManager.basePrice | currency: "$" + }} + {{ "freeWithSponsorship" | i18n }} + + + {{ selectablePlan.PasswordManager.basePrice | currency: "$" }} + /{{ "year" | i18n }} + +

+

+ {{ "additionalUsers" | i18n }}: + {{ "users" | i18n }}: + {{ formGroup.controls["additionalSeats"].value || 0 }} × + {{ + (selectablePlan.isAnnual + ? selectablePlan.PasswordManager.seatPrice / 12 + : selectablePlan.PasswordManager.seatPrice + ) | currency: "$" + }} + × 12 {{ "monthAbbr" | i18n }} = + {{ + passwordManagerSeatTotal(selectablePlan, formGroup.value.additionalSeats) + | currency: "$" + }} /{{ "year" | i18n }} - -

-

- {{ "additionalUsers" | i18n }}: +

- {{ "users" | i18n }}: - {{ formGroup.controls["additionalSeats"].value || 0 }} × - {{ - (selectablePlan.isAnnual - ? selectablePlan.PasswordManager.seatPrice / 12 - : selectablePlan.PasswordManager.seatPrice - ) | currency: "$" - }} - × 12 {{ "monthAbbr" | i18n }} = - {{ - passwordManagerSeatTotal(selectablePlan, formGroup.value.additionalSeats) - | currency: "$" - }} - /{{ "year" | i18n }} -

-

- {{ "additionalStorageGb" | i18n }}: - {{ formGroup.controls["additionalStorage"].value || 0 }} × - {{ - (selectablePlan.isAnnual - ? selectablePlan.PasswordManager.additionalStoragePricePerGb / 12 - : selectablePlan.PasswordManager.additionalStoragePricePerGb - ) | currency: "$" - }} - × 12 {{ "monthAbbr" | i18n }} = - {{ additionalStorageTotal(selectablePlan) | currency: "$" }} /{{ "year" | i18n }} -

-
- -

- {{ "basePrice" | i18n }}: - {{ selectablePlan.PasswordManager.basePrice | currency: "$" }} - {{ "monthAbbr" | i18n }} - = - {{ selectablePlan.PasswordManager.basePrice | currency: "$" }} - /{{ "month" | i18n }} -

-

- {{ "additionalUsers" | i18n }}: + + +

- {{ "users" | i18n }}: - {{ formGroup.controls["additionalSeats"].value || 0 }} × - {{ selectablePlan.PasswordManager.seatPrice | currency: "$" }} - {{ "monthAbbr" | i18n }} = - {{ - passwordManagerSeatTotal(selectablePlan, formGroup.value.additionalSeats) - | currency: "$" - }} - /{{ "month" | i18n }} -

-

- {{ "additionalStorageGb" | i18n }}: - {{ formGroup.controls["additionalStorage"].value || 0 }} × - {{ selectablePlan.PasswordManager.additionalStoragePricePerGb | currency: "$" }} - {{ "monthAbbr" | i18n }} = - {{ additionalStorageTotal(selectablePlan) | currency: "$" }} /{{ "month" | i18n }} -

-
-
+ {{ "basePrice" | i18n }}: + {{ selectablePlan.PasswordManager.basePrice | currency: "$" }} + {{ "monthAbbr" | i18n }} + = + {{ selectablePlan.PasswordManager.basePrice | currency: "$" }} + /{{ "month" | i18n }} +

+

+ {{ "additionalUsers" | i18n }}: + {{ "users" | i18n }}: + {{ formGroup.controls["additionalSeats"].value || 0 }} × + {{ selectablePlan.PasswordManager.seatPrice | currency: "$" }} + {{ "monthAbbr" | i18n }} = + {{ + passwordManagerSeatTotal(selectablePlan, formGroup.value.additionalSeats) + | currency: "$" + }} + /{{ "month" | i18n }} +

+

+ {{ "additionalStorageGb" | i18n }}: + {{ formGroup.controls["additionalStorage"].value || 0 }} × + {{ selectablePlan.PasswordManager.additionalStoragePricePerGb | currency: "$" }} + {{ "monthAbbr" | i18n }} = + {{ additionalStorageTotal(selectablePlan) | currency: "$" }} /{{ "month" | i18n }} +

+ + +