Enable/Disable tips and discount. Fix custom amount. (#612)

This commit is contained in:
Mario Dian
2019-02-25 14:11:03 +08:00
committed by Nicolas Dorier
parent dd52075ff1
commit 1e7a2ffe97
7 changed files with 64 additions and 0 deletions

View File

@@ -62,6 +62,8 @@ namespace BTCPayServer.Controllers
Step = step.ToString(CultureInfo.InvariantCulture),
EnableShoppingCart = settings.EnableShoppingCart,
ShowCustomAmount = settings.ShowCustomAmount,
ShowDiscount = settings.ShowDiscount,
EnableTips = settings.EnableTips,
CurrencyCode = settings.Currency,
CurrencySymbol = numberFormatInfo.CurrencySymbol,
CurrencyInfo = new ViewPointOfSaleViewModel.CurrencyInfoData()