Add fee information in wallet tx report and tx list (#6857)

This commit is contained in:
Nicolas Dorier
2025-07-17 22:24:02 +09:00
committed by GitHub
parent 03c5f4bb3c
commit 86881ba5a3
8 changed files with 125 additions and 29 deletions

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using BTCPayServer.Data;
using BTCPayServer.Services.Invoices;
using BTCPayServer.Services.Wallets;
namespace BTCPayServer.Models.WalletViewModels
{
@@ -23,6 +24,7 @@ namespace BTCPayServer.Models.WalletViewModels
public RateBook WalletRateBook { get; set; }
public RateBook InvoiceRateBook { get; set; }
public string InvoiceId { get; set; }
public TransactionHistoryLine HistoryLine { get; set; }
}
public HashSet<(string Text, string Color, string TextColor)> Labels { get; set; } = new();
public List<TransactionViewModel> Transactions { get; set; } = new();