remove all provider and all service option from pricelist
Some checks failed
Build and Deploy / build (push) Successful in 55s
Django Tests / test (push) Failing after 1m11s
Build and Deploy / deploy (push) Successful in 4s

This commit is contained in:
Tobias Brunner 2025-06-20 15:48:04 +02:00
parent 033eea92cd
commit fbca67ef66
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View file

@ -544,6 +544,12 @@ def pricelist(request):
all_compute_plan_groups.append("No Group") # Add option for plans without groups
all_service_levels = [choice[1] for choice in VSHNAppCatPrice.ServiceLevel.choices]
# If no filter is specified, select the first available provider/service by default
if not filter_cloud_provider and all_cloud_providers:
filter_cloud_provider = all_cloud_providers[0]
if not filter_service and all_services:
filter_service = all_services[0]
context = {
"pricing_data_by_group_and_service_level": final_context_data,
"show_discount_details": show_discount_details,