Fix layout_cshtml

This commit is contained in:
nicolas.dorier
2018-01-08 04:14:35 +09:00
parent e3a1eed8b3
commit 6ae6335c6d
7 changed files with 98 additions and 96 deletions

View File

@@ -98,7 +98,8 @@ namespace BTCPayServer.Controllers
entity.MonitoringExpiration = entity.ExpirationTime + TimeSpan.FromMinutes(storeBlob.MonitoringExpiration);
entity.OrderId = invoice.OrderId;
entity.ServerUrl = serverUrl;
entity.FullNotifications = invoice.FullNotifications;
entity.FullNotifications = invoice.FullNotifications || invoice.ExtendedNotifications;
entity.ExtendedNotifications = invoice.ExtendedNotifications;
entity.NotificationURL = notificationUri?.AbsoluteUri;
entity.BuyerInformation = Map<Invoice, BuyerInformation>(invoice);
//Another way of passing buyer info to support