remove all provider and all service option from pricelist
This commit is contained in:
parent
033eea92cd
commit
fbca67ef66
2 changed files with 8 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue