mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-26 15:41:29 +01:00
* Remove Confirmed state in UI Closes #1789. * Add infobox & improve refund tooltip * Update BTCPayServer/Views/Invoice/ListInvoices.cshtml Add @dennisreimann suggestion Co-authored-by: d11n <mail@dennisreimann.de> * Add "don't show again" button Adds a "Don't Show Again" button to the infobox. Also a bugfix that was preventing the new status from showing in the invoice details page. * Add User blob and move invoice status notice to it Co-authored-by: d11n <mail@dennisreimann.de> Co-authored-by: Kukks <evilkukka@gmail.com>
32 lines
1 KiB
C#
32 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BTCPayServer.Client.Models;
|
|
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 InvoiceState Status { get; set; }
|
|
public bool CanMarkSettled { get; set; }
|
|
public bool CanMarkInvalid { get; set; }
|
|
public bool CanMarkStatus => CanMarkSettled || CanMarkInvalid;
|
|
public bool ShowCheckout { get; set; }
|
|
public string ExceptionStatus { get; set; }
|
|
public string AmountCurrency { get; set; }
|
|
|
|
public InvoiceDetailsModel Details { get; set; }
|
|
}
|
|
}
|