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

Complete Price List - All Service Variants

{% 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 %}

{{ service_level }}

{% if pricing_data %}
{% if show_discount_details %} {% endif %} {% for row in pricing_data %} {% if show_discount_details %} {% endif %} {% endfor %}
Cloud Provider Service Compute Plan vCPUs RAM (GB) CPU/Memory Ratio Term Currency Compute Plan Price Variable Unit Units Replica Enforce SLA Base SLA Per Unit SLA PriceDiscount Model Discount DetailsFinal Price
{{ row.cloud_provider }} {{ row.service }} {{ row.compute_plan }} {{ row.vcpus }} {{ row.ram }} {{ row.cpu_mem_ratio }} {{ row.term }} {{ row.currency }} {{ row.compute_plan_price|floatformat:2 }} {{ row.variable_unit }} {{ row.units }} {{ row.replica_enforce }} {{ 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 }}

{{ 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

Please ensure you have active compute plans with prices and VSHNAppCat price configurations.

{% endif %}
{% endblock %}