mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
* Invoice: Unify status display and functionality Consolidates the invoice status display and functionality (mark setted or invalid) across the dashboard, list and details pages. * Test fix --------- Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
17 lines
543 B
C#
17 lines
543 B
C#
using System;
|
|
using BTCPayServer.Models.InvoicingModels;
|
|
using BTCPayServer.Services.Invoices;
|
|
|
|
namespace BTCPayServer.Components.StoreRecentInvoices;
|
|
|
|
public class StoreRecentInvoiceViewModel
|
|
{
|
|
public string InvoiceId { get; set; }
|
|
public string OrderId { get; set; }
|
|
public decimal Amount { get; set; }
|
|
public string Currency { get; set; }
|
|
public InvoiceState Status { get; set; }
|
|
public DateTimeOffset Date { get; set; }
|
|
public InvoiceDetailsModel Details { get; set; }
|
|
public bool HasRefund { get; set; }
|
|
}
|