{% comment %} "Renewal Forecast" home dashboard panel — total renewal cost in 30/90/365-day windows, grouped by currency. Powered by cost.renewal_cost_in_window. Context variables: - renewal_forecast: list of (window_label, dict[currency, Decimal]) tuples {% endcomment %} {% if perms.nautobot_contract_models.view_contract %} {% if renewal_forecast %} {% for label, totals in renewal_forecast %}
{{ label }} {% if totals %} {% for currency, total in totals.items %} {% endfor %}
{{ currency }} {{ total|floatformat:2 }}
{% else %}
Nothing renewing.
{% endif %}
{% endfor %} {% else %}
No upcoming renewals.
{% endif %}
View renewal calendar →
{% else %}
No permission
{% endif %}