Add Refunds list to Invoice details page

(this is missing the refunded badge and progress as I have another PR that makes this easier to compute to show)
This commit is contained in:
Kukks
2022-06-03 12:08:16 +02:00
committed by Andrew Camilleri
parent 04c3191795
commit 29080e9d7d
5 changed files with 413 additions and 304 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using BTCPayServer.Client.Models;
using BTCPayServer.Data;
using BTCPayServer.Payments;
using BTCPayServer.Payments.Bitcoin;
using BTCPayServer.Services.Invoices;
@@ -131,5 +132,6 @@ namespace BTCPayServer.Models.InvoicingModels
public bool CanMarkSettled { get; set; }
public bool CanMarkInvalid { get; set; }
public bool CanMarkStatus => CanMarkSettled || CanMarkInvalid;
public List<RefundData> Refunds { get; set; }
}
}