@model BTCPayServer.Models.PaymentRequestViewModels.ViewPaymentRequestViewModel

@Model.Title @Model.Status

  • Request amount: @Model.AmountFormatted
  • Paid so far: @Model.AmountCollectedFormatted
  • Amount due: @Model.AmountDueFormatted
@Safe.Raw(Model.Description)
@if (Model.Invoices == null && !Model.Invoices.Any()) { } else { foreach (var invoice in Model.Invoices) { if (invoice.Payments != null && invoice.Payments.Any()) { } } } @if (Model.IsPending) { }
Invoice # Price Expiry Status
No payments made yet
@invoice.Id @invoice.Amount @invoice.Currency @invoice.ExpiryDate.ToString("g") @invoice.Status
@foreach (var payment in invoice.Payments) { }
Tx Id Payment Method Amount Link
@payment.Id
@payment.Id @payment.PaymentMethod @payment.Amount @if (!string.IsNullOrEmpty(payment.Link)) { Link } @payment.Link
@if (Model.AllowCustomPaymentAmounts && !Model.AnyPendingInvoice) {
@Model.Currency.ToUpper()
} else { Pay now if (Model.AnyPendingInvoice && !Model.PendingInvoiceHasPayments) {
} }