From 97dc38604dd7b24b24dce66912e0eed9ab338810 Mon Sep 17 00:00:00 2001 From: Silke Date: Tue, 21 Dec 2021 15:06:32 +0100 Subject: [PATCH] fix: display of unlimited budget (phone view) (#950) --- .../user-budget/user-budget.component.html | 12 ++++++------ .../user-budget/user-budget.component.spec.ts | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/projects/organization-management/src/app/components/user-budget/user-budget.component.html b/projects/organization-management/src/app/components/user-budget/user-budget.component.html index ee7e41d081..7c045a8435 100644 --- a/projects/organization-management/src/app/components/user-budget/user-budget.component.html +++ b/projects/organization-management/src/app/components/user-budget/user-budget.component.html @@ -1,22 +1,22 @@
{{ 'account.user.new.order_spend_limit.label' | translate }}
-
+
{{ budget.orderSpentLimit | ishPrice }}
-
{{ 'account.budget.unlimited' | translate }}
+
{{ 'account.budget.unlimited' | translate }}
{{ 'account.budget.label' | translate: { '0': budget.budgetPeriod } }}
-
{{ budget.budget | ishPrice }}
+
{{ budget.budget | ishPrice }}
{{ 'account.budget.already_spent.label' | translate }}
-
{{ usedBudget | ishPrice }}
+
{{ usedBudget | ishPrice }}
@@ -57,7 +57,7 @@
-
{{ 'account.user.budget.label' | translate }}
-
{{ 'account.budget.unlimited' | translate }}
+
{{ 'account.user.budget.label' | translate }}
+
{{ 'account.budget.unlimited' | translate }}
diff --git a/projects/organization-management/src/app/components/user-budget/user-budget.component.spec.ts b/projects/organization-management/src/app/components/user-budget/user-budget.component.spec.ts index d90715e3fd..d1b1133b20 100644 --- a/projects/organization-management/src/app/components/user-budget/user-budget.component.spec.ts +++ b/projects/organization-management/src/app/components/user-budget/user-budget.component.spec.ts @@ -65,15 +65,15 @@ describe('User Budget Component', () => {
account.user.new.order_spend_limit.label
-
USD 100
+
USD 100
account.budget.label
-
USD 5000
+
USD 5000
account.budget.already_spent.label
-
USD 2500
+
USD 2500