Merge branch 'feature/stripe' of github.com:ONLYOFFICE/AppServer into feature/stripe
This commit is contained in:
commit
bb2f5fbecd
@ -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; }
|
||||
}
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user