From 2f82d119929c9e859732809cf5d05b351f9dcc23 Mon Sep 17 00:00:00 2001 From: Basil Kotov Date: Wed, 6 Nov 2024 18:09:31 +0100 Subject: [PATCH 1/2] use given currency symbol if it's set (#230) --- src/VirtoCommerce.CoreModule.Core/Currency/Currency.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/VirtoCommerce.CoreModule.Core/Currency/Currency.cs b/src/VirtoCommerce.CoreModule.Core/Currency/Currency.cs index 145b7cdb..dcbe1145 100644 --- a/src/VirtoCommerce.CoreModule.Core/Currency/Currency.cs +++ b/src/VirtoCommerce.CoreModule.Core/Currency/Currency.cs @@ -162,9 +162,12 @@ private void Initialize() } string symbol; - if (_code != null && _isoCurrencySymbolDict.TryGetValue(_code, out symbol) && symbol != null) + if (Symbol == null && _code != null && _isoCurrencySymbolDict.TryGetValue(_code, out symbol) && symbol != null) { Symbol = symbol; + } + if (Symbol != null) + { NumberFormat.CurrencySymbol = Symbol; } } From 52de3ada1886ddfc8d1193c227d83923e77d41b9 Mon Sep 17 00:00:00 2001 From: vc-ci Date: Wed, 6 Nov 2024 17:25:43 +0000 Subject: [PATCH 2/2] 3.811.0 --- Directory.Build.props | 2 +- src/VirtoCommerce.CoreModule.Web/module.manifest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 84805444..10360691 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ - 3.810.0 + 3.811.0 $(VersionSuffix)-$(BuildNumber) diff --git a/src/VirtoCommerce.CoreModule.Web/module.manifest b/src/VirtoCommerce.CoreModule.Web/module.manifest index 7dba8f9b..f948921f 100644 --- a/src/VirtoCommerce.CoreModule.Web/module.manifest +++ b/src/VirtoCommerce.CoreModule.Web/module.manifest @@ -1,7 +1,7 @@ VirtoCommerce.Core - 3.810.0 + 3.811.0 3.853.0 Commerce core module