diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 198c84c3a..3ed02fea7 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -2,7 +2,7 @@ Exe netcoreapp2.0 - 1.0.0.62 + 1.0.0.63 diff --git a/BTCPayServer/Controllers/InvoiceController.UI.cs b/BTCPayServer/Controllers/InvoiceController.UI.cs index 2b7725324..1a76a2899 100644 --- a/BTCPayServer/Controllers/InvoiceController.UI.cs +++ b/BTCPayServer/Controllers/InvoiceController.UI.cs @@ -86,6 +86,7 @@ namespace BTCPayServer.Controllers m.TransactionId = payment.Outpoint.Hash.ToString(); m.ReceivedTime = payment.ReceivedTime; m.TransactionLink = string.Format(paymentNetwork.BlockExplorerLink, m.TransactionId); + m.Replaced = !payment.Accounted; return m; }) .ToArray(); diff --git a/BTCPayServer/Models/InvoicingModels/InvoiceDetailsModel.cs b/BTCPayServer/Models/InvoicingModels/InvoiceDetailsModel.cs index d0f28cfb2..89eb0dff2 100644 --- a/BTCPayServer/Models/InvoicingModels/InvoiceDetailsModel.cs +++ b/BTCPayServer/Models/InvoicingModels/InvoiceDetailsModel.cs @@ -48,6 +48,8 @@ namespace BTCPayServer.Models.InvoicingModels get; set; } + + public bool Replaced { get; set; } } public string StatusMessage diff --git a/BTCPayServer/Views/Invoice/Invoice.cshtml b/BTCPayServer/Views/Invoice/Invoice.cshtml index b005dd4b2..3404cc8b6 100644 --- a/BTCPayServer/Views/Invoice/Invoice.cshtml +++ b/BTCPayServer/Views/Invoice/Invoice.cshtml @@ -178,6 +178,7 @@ Deposit address Transaction Id Confirmations + Replaced @@ -189,6 +190,7 @@ @payment.DepositAddress @payment.TransactionId @payment.Confirmations + @payment.Replaced }