@using BTCPayServer.Services.PaymentRequests @using System.Globalization @using BTCPayServer.Forms @using BTCPayServer.Services.Stores @using BTCPayServer.TagHelpers @using Microsoft.AspNetCore.Mvc.TagHelpers @inject FormDataService FormDataService @model BTCPayServer.Models.PaymentRequestViewModels.UpdatePaymentRequestViewModel @{ var checkoutFormOptions = await FormDataService.GetSelect(Model.StoreId, Model.FormId); ViewData.SetActivePage(PaymentRequestsNavPages.Create, $"{(string.IsNullOrEmpty(Model.Id) ? "Create" : "Edit")} Payment Request", Model.Id); } @section PageHeadContent { } @section PageFootContent { }
@if (!Model.AmountAndCurrencyEditable) {

Amount and currency are not editable once payment request has invoices

}
Receive updates for this payment request.
@if (Model.FormResponse is not null) {
}

Additional Options

@if (!string.IsNullOrEmpty(Model.Id)) {
Invoices Clone @if (!Model.Archived) { Archive } else { Unarchive }
}