Add refund badge to invoice lists (#3918)

* Add refund badge to invoice lists

* fix badge
This commit is contained in:
Andrew Camilleri
2022-07-01 06:26:00 +02:00
committed by GitHub
parent 4eabe91cee
commit 0970944ee4
9 changed files with 19 additions and 4 deletions

View File

@@ -570,7 +570,6 @@ namespace BTCPayServer.Services.Invoices
entity.ExceptionStatus = state.ExceptionStatus;
entity.Status = state.Status;
entity.RefundMail = invoice.CustomerEmail;
entity.Refundable = false;
if (invoice.AddressInvoices != null)
{
entity.AvailableAddressHashes = invoice.AddressInvoices.Select(a => a.GetAddress() + a.GetPaymentMethodId().ToString()).ToHashSet();