Add a way to customize lightning invoice description

This commit is contained in:
nicolas.dorier
2018-04-07 16:27:46 +09:00
parent 21215dc537
commit d7cb6f1cca
11 changed files with 53 additions and 16 deletions

View File

@@ -91,6 +91,9 @@ namespace BTCPayServer.Models.StoreViewModels
get; set;
}
[Display(Name = "Description template of the lightning invoice")]
public string LightningDescriptionTemplate { get; set; }
public class LightningNode
{
public string CryptoCode { get; set; }
@@ -100,6 +103,5 @@ namespace BTCPayServer.Models.StoreViewModels
{
get; set;
} = new List<LightningNode>();
}
}