diff --git a/BTCPayServer/Views/Invoice/Invoice.cshtml b/BTCPayServer/Views/Invoice/Invoice.cshtml index feb6d5d71..8c4096897 100644 --- a/BTCPayServer/Views/Invoice/Invoice.cshtml +++ b/BTCPayServer/Views/Invoice/Invoice.cshtml @@ -4,14 +4,8 @@ } @@ -35,7 +29,7 @@

Information

- +
@@ -93,10 +87,9 @@

Buyer information

-
Store @Model.StoreName
+
- @@ -134,7 +127,7 @@
Name - + Name @Model.BuyerInformation.BuyerName

Product information

- +
@@ -153,27 +146,27 @@

Paid summary

-
Item code @Model.ProductInformation.ItemCode
+
- + - - - + + + - @foreach(var payment in Model.CryptoPayments) - { - - - - - - - - } + @foreach (var payment in Model.CryptoPayments) + { + + + + + + + + }
Payment methodPayment method AddressRatePaidDueRatePaidDue
@payment.PaymentMethod@payment.Address@payment.Rate@payment.Paid@payment.Due
@payment.PaymentMethod@payment.Address@payment.Rate@payment.Paid@payment.Due
@@ -181,26 +174,26 @@

Payments

- +
- + - + - @foreach(var payment in Model.Payments) - { - var replaced = payment.Replaced ? "text-decoration: line-through;" : ""; - - - - - - - } + @foreach (var payment in Model.Payments) + { + var linethrough = payment.Replaced ? "class='linethrough'" : ""; + + + + + + + }
Payment methodPayment method Deposit address Transaction IdConfirmationsConfirmations
@payment.PaymentMethod@payment.DepositAddress@payment.TransactionId@payment.Confirmations
@payment.PaymentMethod@payment.DepositAddress@payment.TransactionId@payment.Confirmations
@@ -208,22 +201,22 @@

Addresses

- +
- + - @foreach(var address in Model.Addresses) + @foreach (var address in Model.Addresses) { - var current = address.Current ? "font-weight: bold;" : ""; - - - - - } + var current = address.Current ? "class='font-weight-bold'" : ""; + + + + + }
Payment methodPayment method Address
@address.PaymentMethod@address.Destination
@address.PaymentMethod@address.Destination
@@ -232,7 +225,7 @@

Events

- +
@@ -240,7 +233,7 @@ - @foreach(var evt in Model.Events) + @foreach (var evt in Model.Events) {
Date
@evt.Timestamp