mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
* Added toggle button to switch to store default currency * Replaced ["usd"] with the currency variable * Fix indentation and improve JS part * Update script and display * Improve chart display * Improve rate display * Address code review comments Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
20 lines
688 B
C#
20 lines
688 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Services.Rates;
|
|
using BTCPayServer.Services.Wallets;
|
|
|
|
namespace BTCPayServer.Components.StoreWalletBalance;
|
|
|
|
public class StoreWalletBalanceViewModel
|
|
{
|
|
public decimal? Balance { get; set; }
|
|
public string CryptoCode { get; set; }
|
|
public string DefaultCurrency { get; set; }
|
|
public CurrencyData CurrencyData { get; set; }
|
|
public StoreData Store { get; set; }
|
|
public WalletId WalletId { get; set; }
|
|
public WalletHistogramType Type { get; set; }
|
|
public IList<string> Labels { get; set; } = new List<string>();
|
|
public IList<decimal> Series { get; set; } = new List<decimal>();
|
|
}
|