add notif Email to crowdfund and pos + add notif url to pos

closes #720
This commit is contained in:
Kukks
2019-03-29 07:51:00 +01:00
parent 5d9da82d8e
commit 275b590e80
8 changed files with 41 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using BTCPayServer.Validation;
namespace BTCPayServer.Models.AppViewModels
{
@@ -24,6 +25,13 @@ namespace BTCPayServer.Models.AppViewModels
public string Example2 { get; internal set; }
public string ExampleCallback { get; internal set; }
public string InvoiceUrl { get; internal set; }
[Display(Name = "Callback Notification Url")]
[Uri]
public string NotificationUrl { get; set; }
[Display(Name = "Invoice Email Notification")]
[EmailAddress]
public string NotificationEmail { get; set; }
[Required]
[MaxLength(30)]