From 727fbb6731dbb724ab0abdf0b0f9eae08d57dd64 Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Wed, 18 Sep 2024 16:22:04 +0100 Subject: [PATCH] Ac 3030 discount is not included in the pricing breakdown when annual plan (#11126) * Resolve the discount issues * Resolve the payment cvv alignment * Resolve the wrong message for secrets manager * Remove unused commented code * resolve the display message bug on sm flow --- .../change-plan-dialog.component.html | 81 +++++-------------- .../change-plan-dialog.component.ts | 12 +-- .../shared/payment/payment.component.html | 6 +- apps/web/src/locales/en/messages.json | 4 +- 4 files changed, 26 insertions(+), 77 deletions(-) diff --git a/apps/web/src/app/billing/organizations/change-plan-dialog.component.html b/apps/web/src/app/billing/organizations/change-plan-dialog.component.html index 8420916c8e..1a7b390d21 100644 --- a/apps/web/src/app/billing/organizations/change-plan-dialog.component.html +++ b/apps/web/src/app/billing/organizations/change-plan-dialog.component.html @@ -318,7 +318,7 @@ type="info" title="SECRETS MANAGER SUBSCRIPTION" > - {{ "secretsManagerSubInfo" | i18n }} + {{ "secretsManagerSubscriptionInfo" | i18n }}

{{ "total" | i18n }}: {{ total | currency: "USD" : "$" }} USD{{ "total" | i18n }}: + {{ total - calculateTotalAppliedDiscount(total) | currency: "USD" : "$" }} USD / {{ selectedPlanInterval | i18n }}