diff --git a/web/ASC.Web.Api/ApiModels/ResponseDto/QuotaDto.cs b/web/ASC.Web.Api/ApiModels/ResponseDto/QuotaDto.cs index 072b4ee3d7..96c1c21b0c 100644 --- a/web/ASC.Web.Api/ApiModels/ResponseDto/QuotaDto.cs +++ b/web/ASC.Web.Api/ApiModels/ResponseDto/QuotaDto.cs @@ -53,4 +53,12 @@ public class FeaturePriceDto public string CurrencySymbol { get; set; } public string Count { get; set; } public string Per { get; set; } + public FeaturePriceRangeDto Range { get; set; } +} + +public class FeaturePriceRangeDto +{ + public object Value { get; set; } + public object Min { get; set; } + public object Max { get; set; } } diff --git a/web/ASC.Web.Api/Core/TariffHelper.cs b/web/ASC.Web.Api/Core/TariffHelper.cs index 72bd5f1296..bf86b6f119 100644 --- a/web/ASC.Web.Api/Core/TariffHelper.cs +++ b/web/ASC.Web.Api/Core/TariffHelper.cs @@ -112,7 +112,13 @@ public class QuotaHelper Value = val, CurrencySymbol = currentRegion.CurrencySymbol, Per = string.Format(Resource.ResourceManager.GetString($"TariffsFeature_{id}_price_per"), GetPriceString(val, currentRegion)), - Count = Resource.ResourceManager.GetString($"TariffsFeature_{id}_price_count") + Count = Resource.ResourceManager.GetString($"TariffsFeature_{id}_price_count"), + Range = new FeaturePriceRangeDto + { + Value = 1, + Min = 1, + Max = 999, + } }; } diff --git a/web/ASC.Web.Core/WhiteLabel/AdditionalWhiteLabelSettings.cs b/web/ASC.Web.Core/WhiteLabel/AdditionalWhiteLabelSettings.cs index 8bc44f1fae..38d5c23cf7 100644 --- a/web/ASC.Web.Core/WhiteLabel/AdditionalWhiteLabelSettings.cs +++ b/web/ASC.Web.Core/WhiteLabel/AdditionalWhiteLabelSettings.cs @@ -169,7 +169,7 @@ public class AdditionalWhiteLabelSettingsHelper { get { - var email = _configuration["web:payment:email"]; + var email = _configuration["core:payment:email"]; return !string.IsNullOrEmpty(email) ? email : "sales@onlyoffice.com"; } }