{% extends 'base.html' %} {% load static %} {% block title %}Complete Price List{% endblock %} {% block extra_js %} {% endblock %} {% block content %}

Complete Price List - All Service Variants

Filters
Clear Filters
{% if filter_cloud_provider or filter_service or filter_compute_plan_group or filter_service_level %}
Active Filters: {% if filter_cloud_provider %}Cloud Provider: {{ filter_cloud_provider }}{% endif %} {% if filter_service %}Service: {{ filter_service }}{% endif %} {% if filter_compute_plan_group %}Group: {{ filter_compute_plan_group }}{% endif %} {% if filter_service_level %}Service Level: {{ filter_service_level }}{% endif %}
{% endif %} {% if pricing_data_by_group_and_service_level %} {% for group_name, service_levels in pricing_data_by_group_and_service_level.items %}

{{ group_name }}

{# Display group description and node_label from first available plan #} {% for service_level, pricing_data in service_levels.items %} {% if pricing_data and forloop.first %} {% with pricing_data.0 as representative_plan %} {% if representative_plan.compute_plan_group_description %}

Description: {{ representative_plan.compute_plan_group_description }}

{% endif %} {% if representative_plan.compute_plan_group_node_label %}

Node Label: {{ representative_plan.compute_plan_group_node_label }}

{% endif %} {% endwith %} {% endif %} {% endfor %} {% for service_level, pricing_data in service_levels.items %}

SLA: {{ service_level }}

{% if pricing_data %} {# Display common values for this service level #} {% with pricing_data.0 as first_row %}
Cloud Provider: {{ first_row.cloud_provider }}
Service: {{ first_row.service }}
CPU/Memory Ratio: {{ first_row.cpu_mem_ratio }}
Variable Unit: {{ first_row.variable_unit }}
Replica Enforce: {{ first_row.replica_enforce }}
{% endwith %}
{% if show_discount_details %} {% endif %} {% for row in pricing_data %} {% if show_discount_details %} {% endif %} {% endfor %}
Compute Plan vCPUs RAM (GB) Term Currency Compute Plan Price Units SLA Base SLA Per Unit SLA PriceDiscount Model Discount DetailsFinal Price
{{ row.compute_plan }} {{ row.vcpus }} {{ row.ram }} {{ row.term }} {{ row.currency }} {{ row.compute_plan_price|floatformat:2 }} {{ row.units }} {{ row.sla_base|floatformat:2 }} {{ row.sla_per_unit|floatformat:4 }} {{ row.sla_price|floatformat:2 }} {% if row.has_discount %} {{ row.discount_model }} {% else %} None {% endif %} {% if row.has_discount %} Total Units: {{ row.total_units }}
Standard Price: {{ row.standard_sla_price|floatformat:2 }}
Discounted Price: {{ row.discounted_sla_price|floatformat:2 }}
Savings: {{ row.discount_savings|floatformat:2 }} ({{ row.discount_percentage|floatformat:1 }}%)
{% if row.discount_breakdown %} Breakdown:
{% for tier in row.discount_breakdown %} {{ tier.tier_range }} units: {{ tier.units }} × {{ tier.rate|floatformat:4 }} = {{ tier.subtotal|floatformat:2 }}
{% endfor %} {% endif %}
{% else %} No discount applied {% endif %}
{{ row.final_price|floatformat:2 }}
{# Price Chart #}
Price Chart - Units vs Final Price

{{ pricing_data|length }} variants for {{ service_level }} in {{ group_name }}

{% else %}

No pricing variants available for {{ service_level }} in {{ group_name }}.

{% endif %}
{% empty %}

No service levels with pricing data found for group: {{ group_name }}.

{% endfor %}
{% endfor %} {% else %}

No pricing data available

{% if filter_cloud_provider or filter_service or filter_compute_plan_group or filter_service_level %}No data matches the selected filters. Try adjusting your filter criteria.{% else %}Please ensure you have active compute plans with prices and VSHNAppCat price configurations.{% endif %}

{% endif %}
{% endblock %}