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
-
+
| Store |
@Model.StoreName |
@@ -93,10 +87,9 @@
Buyer information
-
+
- | Name
- |
+ | Name |
@Model.BuyerInformation.BuyerName |
@@ -134,7 +127,7 @@
Product information
-
+
| Item code |
@Model.ProductInformation.ItemCode |
@@ -153,27 +146,27 @@
Paid summary
-
+
- | Payment method |
+ Payment method |
Address |
- Rate |
- Paid |
- Due |
+ Rate |
+ Paid |
+ Due |
- @foreach(var payment in Model.CryptoPayments)
- {
-
- | @payment.PaymentMethod |
- @payment.Address |
- @payment.Rate |
- @payment.Paid |
- @payment.Due |
-
- }
+ @foreach (var payment in Model.CryptoPayments)
+ {
+
+ | @payment.PaymentMethod |
+ @payment.Address |
+ @payment.Rate |
+ @payment.Paid |
+ @payment.Due |
+
+ }
@@ -181,26 +174,26 @@
Payments
-
+
- | Payment method |
+ Payment method |
Deposit address |
Transaction Id |
- Confirmations |
+ Confirmations |
- @foreach(var payment in Model.Payments)
- {
- var replaced = payment.Replaced ? "text-decoration: line-through;" : "";
-
- | @payment.PaymentMethod |
- @payment.DepositAddress |
- @payment.TransactionId |
- @payment.Confirmations |
-
- }
+ @foreach (var payment in Model.Payments)
+ {
+ var linethrough = payment.Replaced ? "class='linethrough'" : "";
+
+ | @payment.PaymentMethod |
+ @payment.DepositAddress |
+ @payment.TransactionId |
+ @payment.Confirmations |
+
+ }
@@ -208,22 +201,22 @@
Addresses
-
+
- | Payment method |
+ Payment method |
Address |
- @foreach(var address in Model.Addresses)
+ @foreach (var address in Model.Addresses)
{
- var current = address.Current ? "font-weight: bold;" : "";
-
- | @address.PaymentMethod |
- @address.Destination |
-
- }
+ var current = address.Current ? "class='font-weight-bold'" : "";
+
+ | @address.PaymentMethod |
+ @address.Destination |
+
+ }
@@ -232,7 +225,7 @@
Events
-
+
| Date |
@@ -240,7 +233,7 @@
- @foreach(var evt in Model.Events)
+ @foreach (var evt in Model.Events)
{
| @evt.Timestamp |