mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* Update price display As proposed by @dstrukt in #4364. * Update format * Unify price display across the app * Add DisplayFormatter * Replace DisplayFormatCurrency method * Use symbol currency format for invoice * Unify currency formats on backend pages * Revert recent changes * Do not show exchange rate and fiat order amount for crypto denominations * Fix test and add test cases
15 lines
447 B
C#
15 lines
447 B
C#
using System;
|
|
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 bool HasRefund { get; set; }
|
|
}
|