From 5b1bf6cd886a093a351ee2f0dae4d83eb5a73cf4 Mon Sep 17 00:00:00 2001 From: Andrew Camilleri Date: Sun, 17 Feb 2019 10:33:40 +0100 Subject: [PATCH] add email to export (#583) --- BTCPayServer/Services/Invoices/Export/InvoiceExport.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BTCPayServer/Services/Invoices/Export/InvoiceExport.cs b/BTCPayServer/Services/Invoices/Export/InvoiceExport.cs index f0812b5f8..248f23e55 100644 --- a/BTCPayServer/Services/Invoices/Export/InvoiceExport.cs +++ b/BTCPayServer/Services/Invoices/Export/InvoiceExport.cs @@ -102,6 +102,7 @@ namespace BTCPayServer.Services.Invoices.Export InvoiceItemDesc = invoice.ProductInformation.ItemDesc, InvoicePrice = invoice.ProductInformation.Price, InvoiceCurrency = invoice.ProductInformation.Currency, + BuyerEmail = invoice.BuyerInformation?.BuyerEmail }; exportList.Add(target); @@ -139,5 +140,6 @@ namespace BTCPayServer.Services.Invoices.Export public string InvoiceFullStatus { get; set; } public string InvoiceStatus { get; set; } public string InvoiceExceptionStatus { get; set; } + public string BuyerEmail { get; set; } } }