@using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.Extensions @using BTCPayServer.Views.Apps @using Microsoft.AspNetCore.Routing @using BTCPayServer @using BTCPayServer.Abstractions.Models @using BTCPayServer.Components.TruncateCenter @using BTCPayServer.Forms @using BTCPayServer.Plugins.Subscriptions @using BTCPayServer.Services.Apps @using BTCPayServer.TagHelpers @model BTCPayServer.Plugins.Subscriptions.SubscriptionAppSettings @inject FormDataService FormDataService @{ var appId = Context.GetRouteValue("appId").ToString(); var storeId = Context.GetCurrentStoreId(); ViewData.SetActivePage(AppsNavPages.Update.ToString(), typeof(AppsNavPages).ToString(), "Update Subscription app", appId); var checkoutFormOptions = await FormDataService.GetSelect(storeId, Model.FormId); var archived = ViewData["Archived"] as bool? is true; }
@if (Model.Subscriptions?.Any() is true) {