mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Code coloring invoice states
This commit is contained in:
committed by
Nicolas Dorier
parent
1d3ff143d2
commit
4bc03fbf06
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using BTCPayServer.Services.Invoices;
|
||||
|
||||
namespace BTCPayServer.Models.InvoicingModels
|
||||
{
|
||||
@@ -25,7 +26,8 @@ namespace BTCPayServer.Models.InvoicingModels
|
||||
public string RedirectUrl { get; set; }
|
||||
public string InvoiceId { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
public InvoiceStatus Status { get; set; }
|
||||
public string StatusString { get; set; }
|
||||
public bool CanMarkComplete { get; set; }
|
||||
public bool CanMarkInvalid { get; set; }
|
||||
public bool CanMarkStatus => CanMarkComplete || CanMarkInvalid;
|
||||
|
||||
Reference in New Issue
Block a user