@model BTCPayServer.Models.PaymentRequestViewModels.ViewPaymentRequestViewModel @addTagHelper *, BundlerMinifier.TagHelpers @inject BTCPayServer.Services.BTCPayServerEnvironment env @inject BTCPayServer.HostedServices.CssThemeManager themeManager @{ ViewData["Title"] = Model.Title; Layout = null; } @Model.Title @if (Model.CustomCSSLink != null) { } @*We need to make sure btcpay.js is not bundled, else it will not work if there is a RootPath*@ @Safe.Raw(Model.EmbeddedCSS)

Invoice Summary

@if (!string.IsNullOrEmpty(Model.Description) && Model.Description != "
") { @Safe.Raw(Model.Description) }

Payment Details

Request amount: @Model.AmountFormatted
Paid so far: @Model.AmountCollectedFormatted
Amount due: @Model.AmountDueFormatted

Payment History

} else { foreach (var invoice in Model.Invoices) { if (invoice.Payments != null && invoice.Payments.Any()) { @foreach (var payment in invoice.Payments) { } } } }
Invoice Id Price Expiry Status
No payments made yet
@invoice.Id @invoice.Amount @invoice.Currency @invoice.ExpiryDate.ToString("g") @invoice.Status
TX Id Payment Method Amount
@if (!string.IsNullOrEmpty(payment.Link)) { @payment.Id } else { @payment.Id } @payment.PaymentMethod @payment.Amount