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

@@ -17,6 +17,10 @@ namespace BTCPayServer.Models.AppViewModels
public bool EnableShoppingCart { get; set; }
[Display(Name = "User can input custom amount")]
public bool ShowCustomAmount { get; set; }
[Display(Name = "User can input discount in %")]
public bool ShowDiscount { get; set; }
[Display(Name = "Enable tips")]
public bool EnableTips { get; set; }
public string Example1 { get; internal set; }
public string Example2 { get; internal set; }
public string ExampleCallback { get; internal set; }