@using BTCPayServer.Abstractions.Extensions @using BTCPayServer.Client.Models @using BTCPayServer.Services @using BTCPayServer.Services.Invoices @inject DisplayFormatter DisplayFormatter @inject PaymentMethodHandlerDictionary PaymentMethodHandlerDictionary @model BTCPayServer.Components.StoreRecentInvoices.StoreRecentInvoicesViewModel

Recent Invoices

@if (Model.Invoices.Any()) { View All }
@if (Model.InitialRendering) {
Loading...
} else if (Model.Invoices.Any()) { @foreach (var invoice in Model.Invoices) { }
Date Invoice Id Status Amount
@invoice.Date.ToTimeAgo() @invoice.InvoiceId @DisplayFormatter.Currency(invoice.Amount, invoice.Currency)
} else {

There are no recent invoices.

Create Invoice }