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