From 1940256fe242da1b0d9edb98849b898169eac2da Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Wed, 18 Sep 2024 18:55:31 +0100 Subject: [PATCH] Resolve the discount issue (#11128) --- .../billing/organizations/change-plan-dialog.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 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 1a7b390d21..120b570cb1 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 @@ -21,8 +21,8 @@ >{{ "upgradeDiscount" | i18n - : (selectedInterval === planIntervals.Annually - ? discountPercentageFromSub + this.discountPercentage + : (selectedInterval === planIntervals.Annually && discountPercentageFromSub == 0 + ? this.discountPercentage : this.discountPercentageFromSub) }}