@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) {
@foreach (var sub in Model.Subscriptions) { }
Subscription Created Status Email
@sub.Value.Start.ToBrowserDate() @sub.Value.Status @sub.Value.Email
@foreach (var x in sub.Value.Payments) { }
Payment Request Period Start Period End Settled
@x.PeriodStart.ToBrowserDate() @x.PeriodEnd.ToBrowserDate() @x.Settled
}
Delete this app