@model AddEditPlanViewModel @{ string storeId = (string)this.Context.GetRouteValue("storeId"); string offeringId = (string)this.Context.GetRouteValue("offeringId"); string submitLabel = ""; if (Model.PlanId is null) { ViewData.SetActivePage(AppsNavPages.Update, StringLocalizer["Add plan"], offeringId); submitLabel = StringLocalizer["Create"]; } else { ViewData.SetActivePage(AppsNavPages.Update, StringLocalizer["Edit plan"], offeringId); submitLabel = StringLocalizer["Save"]; } }
days
days
@if (Model.PlanChanges?.Any() is true) {

Plan changes

Allow the subscriber to downgrade or upgrade to a different plan.

@for (int i = 0; i < Model.PlanChanges.Count; i++) { var planChange = Model.PlanChanges[i]; }
Plan Change type
@planChange.PlanName
} @if (Model.Entitlements?.Any() is true) {

Entitlements

@for (int i = 0; i < Model.Entitlements.Count(); i++) { }
ID Description
@Model.Entitlements[i].CustomId @Model.Entitlements[i].ShortDescription
}