mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
* Improve invoices list view
* Pager: Only show options that make sense
* ListInvoices formatting
* Add separator for dropdown toggle split
* Minor ListInvoices improvement
* Improve payment requests list view
* Distinguish empty and filtered lists
* Properly align invoice details
* Add payment symbols to invoices list
* Improve payment symbols in invoices list
* Always display search on list pages
* Inline variable
* Move display logic to pager
e5040ede55 (commitcomment-41698272)
32 lines
995 B
C#
32 lines
995 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BTCPayServer.Services.Invoices;
|
|
|
|
namespace BTCPayServer.Models.InvoicingModels
|
|
{
|
|
public class InvoicesModel : BasePagingViewModel
|
|
{
|
|
public List<InvoiceModel> Invoices { get; set; } = new List<InvoiceModel>();
|
|
public string[] StoreIds { get; set; }
|
|
}
|
|
|
|
public class InvoiceModel
|
|
{
|
|
public DateTimeOffset Date { get; set; }
|
|
|
|
public string OrderId { get; set; }
|
|
public string RedirectUrl { get; set; }
|
|
public string InvoiceId { get; set; }
|
|
|
|
public InvoiceStatus Status { get; set; }
|
|
public bool CanMarkComplete { get; set; }
|
|
public bool CanMarkInvalid { get; set; }
|
|
public bool CanMarkStatus => CanMarkComplete || CanMarkInvalid;
|
|
public bool ShowCheckout { get; set; }
|
|
public string ExceptionStatus { get; set; }
|
|
public string AmountCurrency { get; set; }
|
|
|
|
public InvoiceDetailsModel Details { get; set; }
|
|
}
|
|
}
|