@using BTCPayServer.Services.PaymentRequests @using System.Globalization @using BTCPayServer.Client @using BTCPayServer.Forms @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

}
This will send notification mails to the recipient, as configured by the email rules. @if (Model.HasEmailRules is not true) { }
@if (Model.FormResponse is not null) {
}
@* We are deprecating the custom CSS options in favor of the store branding approach. Display this section only if these values are set. *@ @if (!string.IsNullOrWhiteSpace(Model.CustomCSSLink) || !string.IsNullOrWhiteSpace(Model.EmbeddedCSS)) {

Additional Options

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