mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
2846c38ff5
* 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>
18 lines
543 B
C#
18 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; }
|
|
}
|