@using NUglify.Helpers @model BTCPayServer.Models.ViewPullPaymentModel @addTagHelper *, BundlerMinifier.TagHelpers @inject BTCPayServer.HostedServices.CssThemeManager themeManager @{ ViewData["Title"] = Model.Title; Layout = null; } @ViewData["Title"] @if (Model.CustomCSSLink != null) { } @Safe.Raw(Model.EmbeddedCSS)
@if (TempData.HasStatusMessage()) { } @if (!this.ViewContext.ModelState.IsValid) { @Html.ValidationSummary(string.Empty, new { @class = "alert alert-danger pb-0 text-center" }) }
@if (!Model.Title.IsNullOrWhiteSpace()) {

@Model.Title @Model.Status

} @if (Model.IsPending) {
@Model.Currency.ToUpper()
}
Pull payment details
@if (Model.ResetIn != String.Empty) { }
Claim limit: @Model.AmountFormatted
Already claimed: @Model.AmountCollectedFormatted
Available claim: @Model.AmountDueFormatted
Reset in: @Model.ResetIn
@if (Model.Description != null && Model.Description != "" && Model.Description != "
") {
@Safe.Raw(Model.Description)
}
Awaiting claims
@if (Model.Payouts.Any()) { foreach (var invoice in Model.Payouts) { @if (!String.IsNullOrEmpty(invoice.Link)) { }
Status @invoice.Status
Amount claimed @invoice.AmountFormatted
Destination @invoice.Destination
Transaction @invoice.TransactionId
} } else {

No claim made yet

}