@using NUglify.Helpers @using BTCPayServer.Abstractions.Contracts @model BTCPayServer.Models.ViewPullPaymentModel @addTagHelper *, BundlerMinifier.TagHelpers @inject BTCPayServer.Services.BTCPayServerEnvironment env @inject ISettingsRepository _settingsRepository @{ ViewData["Title"] = Model.Title; Layout = null; var theme = await _settingsRepository.GetTheme(); string StatusTextClass(string status) { switch (status) { case "Completed": case "In Progress": return "bg-success"; case "Cancelled": return "bg-danger"; default: return "bg-warning"; } } } @ViewData["Title"] @if (Model.CustomCSSLink != null) { } @Safe.Raw(Model.EmbeddedCSS)
@if (Model.IsPending) { }
@if (!ViewContext.ModelState.IsValid) { @Html.ValidationSummary(string.Empty, new { @class = "alert alert-danger mb-4 pb-0 text-center" }) }
@if (!Model.Title.IsNullOrWhiteSpace()) {

@Model.Title

}
Start Date   @Model.StartDate.ToString("g")
Last Updated   @Model.LastRefreshed.ToString("g")
@if (!string.IsNullOrEmpty(Model.ResetIn)) {

Reset in   @Model.ResetIn

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

Payment Details

@Model.AmountDueFormatted
Available claim
@Model.AmountCollectedFormatted
Already claimed
@Model.AmountFormatted
Claim limit

Claims

@if (Model.Payouts.Any()) { @foreach (var invoice in Model.Payouts) { }
Destination Method Amount requested Status
@invoice.Destination @invoice.PaymentMethod.ToPrettyString() @invoice.AmountFormatted @if (!string.IsNullOrEmpty(invoice.Link)) { @invoice.Status.GetStateString() } else { @invoice.Status.GetStateString() }
} else {

No claim made yet.

}