% # Get all feature names and their display names all_feature_display_names = SuperAdmin::AccountFeaturesHelper.feature_display_names # Business and Enterprise plan features only premium_features = Enterprise::Billing::HandleStripeEventService::BUSINESS_PLAN_FEATURES + Enterprise::Billing::HandleStripeEventService::ENTERPRISE_PLAN_FEATURES # Get only premium features with display names premium_features_with_display = premium_features.map do |feature| [feature, all_feature_display_names[feature] || feature.humanize] end.sort_by { |_, display_name| display_name } # Get already selected features selected_features = field.selected_features %>
Features that remain enabled even when account plan is downgraded