diff --git a/BTCPayServer/Views/Invoice/Invoice.cshtml b/BTCPayServer/Views/Invoice/Invoice.cshtml
index d2e5d39c5..0dc1ed26c 100644
--- a/BTCPayServer/Views/Invoice/Invoice.cshtml
+++ b/BTCPayServer/Views/Invoice/Invoice.cshtml
@@ -183,7 +183,48 @@
}
-
+
+
+
Paid summary
+
+
+
+ Payment method |
+ Rate |
+ Paid |
+ Due |
+ @if (Model.StatusException == InvoiceExceptionStatus.PaidOver)
+ {
+ Overpaid |
+ }
+
+
+
+ @foreach (var payment in Model.CryptoPayments)
+ {
+
+ @payment.PaymentMethod |
+ @payment.Rate |
+ @payment.Paid |
+ @payment.Due |
+ @if (Model.StatusException == InvoiceExceptionStatus.PaidOver)
+ {
+ @payment.Overpaid |
+ }
+
+ }
+
+
+
+
+ @{
+ var grouped = Model.Payments.GroupBy(payment => payment.GetPaymentMethodId().PaymentType);
+ }
+ @foreach (var paymentGroup in grouped)
+ {
+
+ }
+
diff --git a/BTCPayServer/Views/Invoice/InvoicePaymentsPartial.cshtml b/BTCPayServer/Views/Invoice/InvoicePaymentsPartial.cshtml
index 3d9d0806a..73b9e997b 100644
--- a/BTCPayServer/Views/Invoice/InvoicePaymentsPartial.cshtml
+++ b/BTCPayServer/Views/Invoice/InvoicePaymentsPartial.cshtml
@@ -40,8 +40,7 @@
@{
- var grouped = Model.Payments.GroupBy(payment => payment.GetPaymentMethodId().PaymentType);
-
+ var grouped = Model.Payments.GroupBy(payment => payment.GetPaymentMethodId().PaymentType);
}
@foreach (var paymentGroup in grouped)
{